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 add more boards to existing platformio.ini #167

gandy92 opened this Issue Apr 9, 2015 · 1 comment


None yet
3 participants

gandy92 commented Apr 9, 2015

In a fresh directory, platformio init --board A --boardB will create platformio.ini with environments for board A and board B. If the file platformio.ini already exists, we get an error:

Error: Project is already initialized. Process it with `platformio run` command

During development of a new project, it may be necessary, to add new environments supporting different boards. In that case, the user has to fill in all required fields manually, wihtout the benefit of the mechanims used with init command.

IMHO, it would be more user-friendly to provide a new command or extend the init command so that the user can add further boards to the platformio.ini.


This comment has been minimized.

ajford commented Apr 9, 2015

I agree with this. I ended up copy/pasting the existing entry and changing manually, but it would be nice if it was possible to do this via the interface.

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

@ivankravets ivankravets self-assigned this Apr 9, 2015

@ajford ajford referenced this issue Apr 9, 2015


PlatformIO 2.0 #159

11 of 11 tasks complete

@ivankravets ivankravets changed the title from Allow to add more boards to exisiting platformio.ini to Allow to add more boards to existing platformio.ini Apr 23, 2015

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