Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theschles opened this issue Feb 21, 2024 · 1 comment
Open

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

theschles opened this issue Feb 21, 2024 · 1 comment

Comments

@theschles
Copy link

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 theschles changed the title How to pio run -t upload only one particular board? How to pio run -t upload only on one particular board? Feb 21, 2024
@rzeldent
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants