Edzelf / ESP32-Radio

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

Where is the ino file? #493

Open ghost opened 2 years ago

ghost commented 2 years ago

Can't find any ino file to compile with the Arduino IDE. The documentation states there should be an ino file, but this repository only has a wrapper file. Read something about PlatformIO, but no instructions. Please advice.

Edzelf commented 2 years ago

The file does not longer exist. But you may rename the main.cpp file to ESP32-Radio.ino. Compiling with Arduino IDE is more complicated, as you need to install a number of libraries. So I advice to switch to PlatformIO. These libraries are required:

    SD(esp32) @^1.0.5
    knolleary/PubSubClient@^2.8
    adafruit/Adafruit BusIO@^1.9.3
    adafruit/Adafruit GFX Library@^1.10.4
    adafruit/Adafruit ILI9341 @ ^1.5.9
    adafruit/Adafruit ST7735 and ST7789 Library @ ^1.7.5
    ESP Async WebServer@^1.2.3
    AsyncTCP@^1.1.1
Edzelf commented 2 years ago

Correction. The .ino file is still available for the V1 version of the Radio. See here.

ghost commented 2 years ago

Thanks for the quick reply. Installing libraries is not such a problem, learning a new platform more and for me - being just a small tinkerer - I'd rather stick with the familiar Arduino IDE. But I get why a professional would choose PlatformIO.

Bedankt! En tot ziens.

eduszesz commented 2 years ago

Hi @Edzelf

Could I use the method you mentioned of renaming the main.cpp file in version 2 to compile it using the Arduino IDE?

I have version 1 running with chopping audio for some high bitrate stations and I would like to try version 2, but I have no experience with PlatformIO.

Thanks!

Edzelf commented 2 years ago

Yes.

eduszesz commented 2 years ago

Hi @Edzelf

Thanks for the quick replay!