micropython/ports
Andrew Leech 6804b6f54f stm32/boards/NUCLEO_WB55: Add error handling to firmware update scripts.
In-the-field use of these FUS/WS firmware update scripts has exposed some
weak points, causing corrupted FUS/WS firmware to be flashed to the unit.

The problems are mostly caused with the ST GUI application, but sometimes
from un-recognised failures during bin file transfer to the WB55 prior to
running the rfcore_firmware.py script.  Other failures were caused by
incorrect load addresses being used, again both from user error copying the
address from the HTML release notes to the GUI tool, but also from
similarly not updating the address correctly in rfcore_firmware.py

To guard against these errors and make it easier to prepare different
versions, this commit adds a few features to the rfcore firmware update
tools:
- When creating the bin file, automatically parse the release note in the
  folder to get the correct address.
- Add a footer to the bin file containing the name, version, CRC, address
  etc.
- Before flashing rfcore, check if the same version is already installed.
- Verify the CRC and obfuscation key before flashing bin.
- Log the name and version of file being flashed.
2022-08-08 23:42:20 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Remove unused mp_type_{fileio/textio} macros in mpconfigport.h. 2022-07-26 18:07:22 +10:00
esp32 extmod/ntptime: Factor out ntptime module from esp8266 port. 2022-08-06 00:08:32 +10:00
esp8266 extmod/ntptime: Factor out ntptime module from esp8266 port. 2022-08-06 00:08:32 +10:00
javascript shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
mimxrt ports: Always append to GIT_SUBMODULES. 2022-08-03 00:05:26 +10:00
minimal ports: Always include debug information in the ELF. 2022-07-29 11:24:00 +10:00
nrf ports: Always append to GIT_SUBMODULES. 2022-08-03 00:05:26 +10:00
pic16bit pic16bit/pic16bit_mphal: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
powerpc shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
qemu-arm extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
renesas-ra ports: Always include debug information in the ELF. 2022-07-29 11:24:00 +10:00
rp2 extmod/ntptime: Factor out ntptime module from esp8266 port. 2022-08-06 00:08:32 +10:00
samd ports: Always append to GIT_SUBMODULES. 2022-08-03 00:05:26 +10:00
stm32 stm32/boards/NUCLEO_WB55: Add error handling to firmware update scripts. 2022-08-08 23:42:20 +10:00
teensy ports: Always include debug information in the ELF. 2022-07-29 11:24:00 +10:00
unix unix/unix_mphal: Allow overriding hal time functions. 2022-07-29 11:06:12 +10:00
windows py/mkenv.mk: Use micropython-lib from submodule by default. 2022-08-03 00:08:41 +10:00
zephyr zephyr: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:35 +10:00