serkri / SmartEVSE-3

Smart Electric Vehicle Charging Station (EVSE)
MIT License
71 stars 27 forks source link

Building Firmware fails due to missing bootloader #82

Closed ChristianSteffens closed 1 year ago

ChristianSteffens commented 1 year ago

Hello,

I just tried building your firmware using platformio run. I installed platform.io using brew on my Mac. Even though the dependencies seem to be fetched and used, the actual build process fails due to a missing bootloader file.

Building in release mode
*** [.pio/build/release/bootloader.bin] ...
 ... Source `/Users/FooBar/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader__80m.elf' ...
 ... not found, needed by target `.pio/build/release/bootloader.bin'.

Am I'm using the wrong release (the master branch of your repository).

dingo35 commented 1 year ago

I remember having had that same error message years ago, and I don't remember what solved it; it is a problem in your platformio - core installation.

I just installed a clean Ubuntu OS with a clean platformio 6.1.5 installation and with that everything compiled fine; you might try a pip install -U platformio as normal user, that might fix your installation... I'm sorry but python is not my native language :-)

EDIT: If you are just interested in running the firmware, you could get firmware.bin and spiffs.bin out of the assets part of release 1.5.0, that release is only a couple of days old: https://github.com/serkri/SmartEVSE-3/releases

ChristianSteffens commented 1 year ago

OK - I applied these changes. Now it's working. Thank you.

dingo35 commented 1 year ago

Committed 46f4f6c9c16c638064f074c7a12b6b61361924f7