F1p / Home-Assistant-Mitsubishi-Ecodan-CN105-to-MQTT

Originally based on the CN105 decode by m000c400, this fork provides CN105 control from basic microcontrollers like the ESP8266 or ESP32
6 stars 1 forks source link

Merge Binaries for Flashing #8

Open lboue opened 3 weeks ago

lboue commented 3 weeks ago

Hello,

Would it be possible to supply a single binary directly using the following command? This would simplify the flashing operation:

esptool.py --chip esp32s3 merge_bin -o merged-flash.bin --flash_mode dio --flash_size 4MB 0x0000 ECODAN_Bridge_v5.2.5.bootloader.bin 0x8000 ECODAN_Bridge_v5.2.5.partitions.bin 0x10000 ECODAN_Bridge_v5.2.5.bin

Doc: Merge Binaries for Flashing: merge_bin

The merge_bin command will merge multiple binary files (of any kind) into a single file that can be flashed to a device later. Any gaps between the input files are padded based on the selected output format.

F1p commented 3 weeks ago

Merged binary is only required for first flash, then you can use OTA and flash just the Vx.x.x.bin file

I have provided it here

Note, it is easier when moved to Core 3.0.5/IDF5.4, this build has a bug in the LED control and it is awaiting fix for issue FastLED

F1p commented 2 weeks ago

Sorry i had to revert 5.2.6 The issue linked above is still causing problems - once it is resolved i can publish merged builds

lboue commented 2 weeks ago

Thanks