summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-04-28 15:35:38 +1000
committerDamien George <damien@micropython.org>2024-05-01 22:49:38 +1000
commitd3fe0a06e8799ef95716aaada0a95505aebab48c (patch)
tree39030f2d913a1e1089ff223019668c99f7611113 /docs/esp32/tutorial
parent64f28dc1eb542c90e38e89cd55b5452ed59290d0 (diff)
stm32/flash: Fix writing final words to flash on H5 and H7 MCUs.
The calculations `num_word32 / 4` and `num_word32 / 8` were rounding down the number of words to program to flash, and therefore possibly truncating the data (eg mboot could miss writing the final few words of the firmware). That's fixed in this commit by adding extra logic to program any remaining words. And the logic for H5 and H7 is combined. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions