PlatformIO Community

How to set default platformio.ini file

Hello!

Is there a way to add something like monitor_speed = 9600 automatically after generating a new PlatformIO project?

I am a newcomer to Arduino and this is my first post so sorry if this is a silly question.

Yes, see http://docs.platformio.org/en/latest/userguide/cmd_init.html#cmdoption-platformio-init-o

2 Likes

Wow, thanks a lot! Is there any way to get PlatformIO IDE to do this automatically when I create a new project with it?

This is a default speed. You don’t need to add it again into the project.

Sorry, currently there is no option for this case.

Sorry, currently there is no option for this case.

Oh, well. Thanks for the clarification!

1 Like

Hi there! sorry to refloat an year old one but has there been any advance on this?

It would be great to have a bunch of settings defaulted for each new project.
Event better would be to have a drop-down/file-select when creating the project to accommodate different repeatable project scenarios (say multiple ESP32 projects have one bunch of settings defaulted, another group for nRF52, etc, etc)

Thanks in advance.