esp32-camera-series icon indicating copy to clipboard operation
esp32-camera-series copied to clipboard

platformio.ini suggests PIO, but it's Arduino IDE

Open ai-bits opened this issue 4 years ago • 2 comments

As I´m still struggling with coupla dozen things in Arduino and connected Android projects, it took me a loooong time to realize this is NOT a PlatformIO project -- despite the existence of platformio.ini in the sketch folder! On the wrong track, with the VERY limited PIO knowledge, I converted the .ino to .cpp as suggested by the PIO IDE, but failed with the compiler.

Could you please

  1. prominently note in the README that this is an Arduino IDE thing (despite the platformio.ini file)
  2. maybe state how it can be done in PIO

Thanks G.

ai-bits avatar May 05 '20 21:05 ai-bits

Just create a new src folder, change the ino to main.cpp, and then place the .ini at the same level as the src directory

lewisxhe avatar Jun 22 '20 01:06 lewisxhe

Thanks for the explanation. Sorry it took me a while to see it. Wouldn't it be worthwhile to add this to the Code > Readme.md? G.

ai-bits avatar Jul 01 '20 08:07 ai-bits