openlifu.io.LIFUDFU¶
LIFU Transmitter Firmware Update (DFU) support.
- Provides:
stm32_crc32()— STM32-compatible CRC32parse_signed_package()— parse/validate a signed firmware packageSTM32USBDFU— USB DFU client (PyUSB, for module 0)STM32I2CDFUviaMaster— I2C DFU via OW UART master passthrough (modules 1+)LIFUDFUManager— high-level firmware update orchestration
Functions
|
Parse and integrity-check a signed firmware package. |
|
Compute CRC32 compatible with the STM32 CRC peripheral (poly=0x04C11DB7). |
Classes
|
Orchestrates firmware updates for a single LIFU transmitter module. |
|
I2C DFU client that routes all I2C transactions through the USB-master module via the |
|
Minimal STM32 DfuSe USB client using PyUSB. |
|
Unit tests for |