stm32l0/l1: flash: support half page flashing

Tested on L1 and L0 using the "dapboot" project, see
https://github.com/devanlai/dapboot/pull/27 for L1
and
https://github.com/devanlai/dapboot/pull/30 for L0
This commit is contained in:
Karl Palsson
2020-10-16 10:35:07 +00:00
parent b88196f807
commit 43b3fa5ddc
4 changed files with 46 additions and 1 deletions

View File

@@ -55,6 +55,8 @@
/* --- FLASH_OPTR values ----------------------------------------------------- */
#define FLASH_OPTR_NBOOT1 (1 << 31)
#define FLASH_HALF_PAGE_SIZE 16
BEGIN_DECLS
END_DECLS