e2002 / yoradio

Web-radio based on ESP32-audioI2S library
GNU General Public License v3.0
293 stars 75 forks source link

Question about compiling firmware in PlatformIO #59

Open Victuar98 opened 6 months ago

Victuar98 commented 6 months ago

Dear community, how to compile firmware for YoRado in the Platformio environment, with a single bin file? Or how to update the firmware from three files via W-Fi? Thanks to everyone who responded!)

DonEugraf commented 4 months ago

unfortunately its not made for platformio :( you have to use arduino ide 1.9.x not even 2.x

bad040 commented 4 months ago

I have converted all files to platformio. Can easily be done

DonEugraf commented 4 months ago

would you mind sharing it please?

Victuar98 commented 4 months ago

The firmware compiles faster in the Platform than in the Arduino IDE, but only the monolithic bin file is updated over Wi-Fi, and I had to put up with it...

Victuar98 commented 3 months ago

platformio.ini

[env:esp-wrover-kit] platform = espressif32 board = esp-wrover-kit //(or your model board) board_build.mcu = esp32 board_build.f_cpu = 240000000L //(according to specification) framework = arduino monitor_speed = 115200 upload_port = COM4 //(your nomber port) upload_protocol = esptool lib_extra_dirs = ${workspacedir} // required libraries lib_deps = crankyoldgit/IRremoteESP8266 @ ^2.8.6 adafruit/Adafruit GFX Library@^1.11.9 adafruit/Adafruit BusIO@^1.14.5