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:
@@ -55,6 +55,8 @@
|
||||
/* --- FLASH_OPTR values ----------------------------------------------------- */
|
||||
#define FLASH_OPTR_NBOOT1 (1 << 31)
|
||||
|
||||
#define FLASH_HALF_PAGE_SIZE 16
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user