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

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

Open
ai-bits opened this issue May 5, 2020 · 2 comments
Open

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

ai-bits opened this issue May 5, 2020 · 2 comments

Comments

@ai-bits
Copy link

ai-bits commented May 5, 2020

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.

@lewisxhe
Copy link
Owner

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

@ai-bits
Copy link
Author

ai-bits commented Jul 1, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants