micropython/ports/stm32/boards
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
..
ADAFRUIT_F405_EXPRESS ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
ARDUINO_PORTENTA_H7 stm32/modmachine: Allow boards to provide custom bootloader code. 2022-06-17 13:36:55 +10:00
B_L072Z_LRWAN1 stm32/boards: Enable LTO by default on boards with smaller flash size. 2022-06-28 10:32:39 +10:00
B_L475E_IOT01A
CERB40 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
ESPRUINO_PICO
GARATRONIC_NADHAT_F405
GARATRONIC_PYBSTICK26_F411 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
HYDRABUS
LEGO_HUB_NO6 stm32/boards/LEGO_HUB_NO6/cc2564: Make timer configurable. 2022-08-06 00:01:28 +10:00
LEGO_HUB_NO7 stm32/boards/LEGO_HUB_NO7: Add LEGO Hub No. 7 board definition. 2022-08-06 00:01:31 +10:00
LIMIFROG ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
MIKROE_CLICKER2_STM32
MIKROE_QUAIL ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
NETDUINO_PLUS_2 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
NUCLEO_F091RC stm32/boards: Enable LTO by default on boards with smaller flash size. 2022-06-28 10:32:39 +10:00
NUCLEO_F401RE
NUCLEO_F411RE
NUCLEO_F412ZG
NUCLEO_F413ZH
NUCLEO_F429ZI
NUCLEO_F439ZI
NUCLEO_F446RE
NUCLEO_F722ZE
NUCLEO_F746ZG
NUCLEO_F767ZI
NUCLEO_G0B1RE stm32/boards: Enable LTO by default on boards with smaller flash size. 2022-06-28 10:32:39 +10:00
NUCLEO_G474RE ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
NUCLEO_H743ZI stm32/system_stm32: Allow boards to configure PLL VCI, VCO and FRACN. 2022-04-11 16:12:53 +10:00
NUCLEO_H743ZI2
NUCLEO_L073RZ stm32/boards: Enable LTO by default on boards with smaller flash size. 2022-06-28 10:32:39 +10:00
NUCLEO_L432KC stm32/boards: Enable LTO by default on boards with smaller flash size. 2022-06-28 10:32:39 +10:00
NUCLEO_L452RE
NUCLEO_L476RG
NUCLEO_WB55 stm32/boards/NUCLEO_WB55: Add error handling to firmware update scripts. 2022-08-08 23:42:20 +10:00
NUCLEO_WL55
OLIMEX_E407
OLIMEX_H407
PYBD_SF2 stm32/mboot: Pass initial_r0 to early-init and get-reset-mode funcs. 2022-06-02 14:30:51 +10:00
PYBD_SF3 stm32/boards/PYBD_SFx: Allow FROZEN_MANIFEST to be overridden. 2022-04-11 16:19:45 +10:00
PYBD_SF6 stm32/boards/PYBD_SFx: Allow FROZEN_MANIFEST to be overridden. 2022-04-11 16:19:45 +10:00
PYBLITEV10
PYBV3
PYBV4
PYBV10
PYBV11
SPARKFUN_MICROMOD_STM32 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32F4DISC
STM32F7DISC
STM32F411DISC ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32F429DISC ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32F439 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32F769DISC ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32H7B3I_DK stm32/system_stm32: Allow boards to configure PLL VCI, VCO and FRACN. 2022-04-11 16:12:53 +10:00
STM32L476DISC ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
STM32L496GDISC
USBDONGLE_WB55
VCC_GND_F407VE ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
VCC_GND_F407ZG ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
VCC_GND_H743VI stm32/system_stm32: Allow boards to configure PLL VCI, VCO and FRACN. 2022-04-11 16:12:53 +10:00
common_basic.ld
common_bl.ld
common_blifs.ld
common_bss_heap_stack.ld stm32: Use a separate symbol name for the bootloader state pointer. 2022-06-28 10:25:08 +10:00
common_extratext_data_in_flash.ld
common_extratext_data_in_flash_app.ld
common_extratext_data_in_flash_text.ld
common_ifs.ld
deploy.md
make-pins.py
manifest.py
openocd_stm32f4.cfg
openocd_stm32f7.cfg
openocd_stm32l4.cfg
pllvalues.py
stm32f0xx_hal_conf_base.h
stm32f4xx_hal_conf_base.h
stm32f4xx_prefix.c ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
stm32f7xx_hal_conf_base.h
stm32f091_af.csv
stm32f091xc.ld stm32/boards/stm32f091xc.ld: Allocate space for a small filesystem. 2022-06-17 21:27:32 +10:00
stm32f401_af.csv
stm32f401xd.ld
stm32f401xe.ld
stm32f405.ld
stm32f405_af.csv
stm32f411.ld
stm32f411_af.csv
stm32f412_af.csv
stm32f412zx.ld
stm32f413_af.csv
stm32f413xg.ld
stm32f413xh.ld
stm32f427xi.ld
stm32f429.ld
stm32f429_af.csv
stm32f439.ld
stm32f439_af.csv
stm32f479_af.csv
stm32f722.ld
stm32f722_af.csv
stm32f746.ld
stm32f746_af.csv
stm32f767.ld
stm32f767_af.csv
stm32f769.ld
stm32g0b1_af.csv stm32/boards/NUCLEO_G0B1RE: Add NUCLEO_G0B1RE board definition. 2022-04-28 11:56:15 +10:00
stm32g0b1xe.ld stm32/boards/NUCLEO_G0B1RE: Add NUCLEO_G0B1RE board definition. 2022-04-28 11:56:15 +10:00
stm32g0xx_hal_conf_base.h stm32: Add support for G0 MCUs. 2022-04-28 11:56:15 +10:00
stm32g4xx_hal_conf_base.h
stm32g474.ld
stm32g474_af.csv
stm32h7b3.ld
stm32h7b3_af.csv
stm32h7xx_hal_conf_base.h
stm32h743.ld
stm32h743_af.csv
stm32l0xx_hal_conf_base.h
stm32l4xx_hal_conf_base.h
stm32l072_af.csv
stm32l072xz.ld
stm32l432.ld
stm32l432_af.csv
stm32l452_af.csv
stm32l452xe.ld
stm32l476_af.csv
stm32l476xe.ld
stm32l476xg.ld
stm32l496_af.csv
stm32l496xg.ld
stm32wb55_af.csv
stm32wb55xg.ld
stm32wbxx_hal_conf_base.h
stm32wl55_af.csv
stm32wl55xc.ld
stm32wlxx_hal_conf_base.h