SmartEVSE / Sensorbox-2

Sensorbox-2 will measure three phase current with CT's or a Smart Meter connection, and send this data to a SmartEVSE
13 stars 16 forks source link

Binary files in releases? #10

Open henriterhofte opened 1 year ago

henriterhofte commented 1 year ago

Can you include binary files in releases? This would help deploying firmware to the Sensorbox-2 without the need to compile the firmware and/or when there is a problem during firmware compilation (see e.g. issue#9 )

Including the bin files similar to https://github.com/SmartEVSE/SmartEVSE-3/releases/tag/v3.0.1 would already help a lot.

Including firmware deployment instructions similar to the way we do it for our Twomes ESP32 measurement devices might even help a bit more.

Deployment could then be done with a statement similar to the one below, albeit with different hex addresses for the various partitions.


py -m esptool --chip esp32 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader.bin 0x18000 partitions.bin 0x1d000 ota_data_initial.bin 0x20000 firmware.bin````