esp32cam-rtsp icon indicating copy to clipboard operation
esp32cam-rtsp copied to clipboard

How to `pio run -t upload` only on one particular board?

Open theschles opened this issue 4 months ago • 1 comments

Hi there,

I'm uploading via pio run -t upload. That starts with the AI Thinker...and then tries to upload the next board on the list...and then the next...etc.

How do I tell it to just do the AI Thinker, for instance?

theschles avatar Feb 21 '24 01:02 theschles

Hi theschles,

This can be done by uncommenting the default_envs in the platformio.ini file for your board type...

Without modifications you can use the -e (--environment) option: https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#options

rzeldent avatar Feb 22 '24 20:02 rzeldent