BitFast

u/BitFast


r/esp32•

I just published a port of bsdiff/bspatch as a reusable component for esp-idf - we are using it in a project for compressed ota firmware deltas and I thought people may be interested in reusing it: https://github.com/Blockstream/esp32_bsdiff

I got inspired by detools which was ported in this project https://github.com/ESP32-Musings/esp32_compressed_delta_ota_update

The changes to bsdiff and bspatch are the following:

21

r/esp32•

Hello,

I figured some of you may be interested in the availability of the source code for an ESP32 eco v3 based project which takes advantages of a few features of the esp-idf (v4.2).

Features that may be relevant off the top of my head:

- Secure boot v2

- Flash encryption

- Serial and BLE (secure numeric comparison) CBOR based API

- Serial and BLE gzip compressed OTA

- Custom partition table with two ota slots (no factory)

​

Repo at github.com/blockstream/jade

Cheers!

p.s. Any suggestion on the code/use of API's etc is very welcome, and so are contributions. Code should run practically unchanged (minus `[idf.py](https://idf.

31