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

Closed
gandy92 opened this issue Apr 9, 2015 · 1 comment
Closed

Allow to add more boards to existing platformio.ini #167

gandy92 opened this issue Apr 9, 2015 · 1 comment
Assignees
Milestone

Comments

@gandy92
Copy link

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.

@ajford
Copy link

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 mentioned this issue Apr 9, 2015
11 tasks
@ivankravets ivankravets changed the title Allow to add more boards to exisiting platformio.ini Allow to add more boards to existing platformio.ini Apr 23, 2015
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

3 participants