PlatformIO Community

Convert Platformio project into Arduino sketch


Hello gentlemen,
I cannot find rest to a probably simple answer.
I have a platformio project.
And I would like to compile it on Arduino IDE.

Which mods must be done in order to be Arduino IDE compliant?
I was thinking of:

  1. rename main.cpp into .ino
  2. move the lib folder into Arduino libraries

Does it look I am getting closer to the solution? :slight_smile:




I am NOT looking on How to convert an Arduino sketch INTO a Platformio project.
I am asking about doing the opposite:
From Platformio into an Arduino sketch.


See an example of a project which works with PlatformIO and Arduino IDE without any changes:


Thanks :slight_smile:


The URL u suggested doesn’t work anymore.


Thanks, I updated link above.