Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
987 stars 229 forks source link

Project converted to Platformio [work in progress] #239

Open rafalmag opened 5 years ago

rafalmag commented 5 years ago

work in progress - I am open for comments.

pfeerick commented 5 years ago

It's not strictly necessary to rename the .ino file... you just lose some of the IntelliSense functionality. Also, you can drop the requirement to rename the src directory by using the following in platformio.ini

[platformio]
src_dir = Esp32_radio

Edit: (Doesn't work due to .ino also being compiled)Another thought... in efforts to minimise changes to the structure of the repo... could use a symbolic link (i.e. ln -s Esp32_radio.ino Esp32_radio.ino.cpp) so there's no renaming of files needed... and they'll always stay in sync since it's only a redirection.

Looks great otherwise... It just compiled for me on PIO v4, but I've yet to load it yet as its I'm in the process of putting this together.