Skip to content

Default envs#120

Merged
samphonic merged 2 commits intosamphonic:masterfrom
ZwoCa:DefaultEnvs
Feb 16, 2021
Merged

Default envs#120
samphonic merged 2 commits intosamphonic:masterfrom
ZwoCa:DefaultEnvs

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

ZwoCa added 2 commits January 9, 2021 13:20
Makes changing environments/platforms a breeze, no more (un-)commenting:
Simply use the "Switch PlatformIO Project Environment" control in
VSCode.
@samphonic samphonic merged commit f29bb48 into samphonic:master Feb 16, 2021
@samphonic
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
samphonic 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