diff options
| author | Damien George <damien@micropython.org> | 2022-01-31 16:40:15 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-01-31 18:26:55 +1100 |
| commit | c99ed8d6fa9d4429bf78bcd965ce60ee747e67c3 (patch) | |
| tree | 75a6ef425cbc535f832268ef49f623637b7edb5d /docs/esp8266 | |
| parent | 4a4f269a1ae0e23c0d9815c7f8b1b7ff6ba22cc1 (diff) | |
stm32/powerctrl: Write bootloader-state as 64-bit word to work on H7.
H7 MCUs have ECC and writes do not go through to SRAM until 64-bits have
been written (on another location is written). So use 64-bit writes for
the bootloader-state variable so it is committed before the system reset.
As part of this change, the lower byte of the bootloader address in
BL_STATE must now be the magic number 0x5a5 for the state to be valid
(previously this was 0x000 which is not as robust).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions
