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

Default envs #120

Merged
merged 2 commits into from
Feb 16, 2021
Merged

Default envs #120

merged 2 commits into from
Feb 16, 2021

Conversation

ZwoCa
Copy link
Contributor

@ZwoCa ZwoCa commented Jan 9, 2021

Hi @Sammy1Am,

I once again have a little pull request. When you mentioned yesterday that you like that the default setting is still Arduino Uno, I thought "There must be a way to do this without having to comment out lines all the time.".

PlatformIO has a default_envs option, which seems to be really useful for this. It's still set to use Uno environment by default, but one can now simply use the PlatformIO: Switch Project Environment command of the PlatformIO IDE for changing the build environment:
grafik

There is also an extra button in the bottom toolbar for this:
grafik

Makes changing environments/platforms a breeze, no more (un-)commenting:
Simply use the "Switch PlatformIO Project Environment" control in
VSCode.
@Sammy1Am Sammy1Am merged commit f29bb48 into Sammy1Am:master Feb 16, 2021
@Sammy1Am
Copy link
Owner

Awesome! Thanks :)

hgrosic pushed a commit to hgrosic/Moppy2 that referenced this pull request Dec 29, 2022
* Make use of PlatformIO default_envs option

Makes changing environments/platforms a breeze, no more (un-)commenting:
Simply use the "Switch PlatformIO Project Environment" control in
VSCode.

* Updated README.md to mention ESP32
Sammy1Am pushed a commit that referenced this pull request Jul 16, 2024
* Make use of PlatformIO default_envs option

Makes changing environments/platforms a breeze, no more (un-)commenting:
Simply use the "Switch PlatformIO Project Environment" control in
VSCode.

* Updated README.md to mention ESP32
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

Successfully merging this pull request may close these issues.

2 participants