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

Allow to specify environment prefix when initialise project #182

ivankravets opened this Issue Apr 23, 2015 · 0 comments


None yet
1 participant

ivankravets commented Apr 23, 2015

Request is made by @ajford:

The ability to specify the env name given when running platformio init -b foo would be nice.

I have some overlapping boards (that confuse the auto-uploader, i.e. diecimilaatmega328 and sparkfun_redboard). Thus using -e is required to prevent the attempt to upload using the wrong env. But autogen_BOARDNAME is long and sometimes confusing to remember (diecimila is not easy to spell right the first time). I manually edited my platformio.ini to change my env names to easier names (i.e. freeduino, redboard, and pro16), but it would be useful if there was a way to do this when initing a project (or adding new boards, ala #167).

Implement --env-prefix option to platformio init command.

@ivankravets ivankravets self-assigned this Apr 23, 2015

@ivankravets ivankravets added this to the 2.0.0 milestone Apr 23, 2015

@ivankravets ivankravets referenced this issue Apr 23, 2015


PlatformIO 2.0 #159

11 of 11 tasks complete

ivankravets added a commit that referenced this issue May 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment