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

Allow to specify environment prefix when initialise project #182

Closed
ivankravets opened this issue Apr 23, 2015 · 0 comments
Closed

Allow to specify environment prefix when initialise project #182

ivankravets opened this issue Apr 23, 2015 · 0 comments
Assignees
Milestone

Comments

@ivankravets
Copy link
Member

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.

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

No branches or pull requests

1 participant