Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L0/flash_api.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 168:9672193075cf
- Child:
- 175:af195413fb11
diff -r e131a1973e81 -r b96e65c34a4d targets/TARGET_STM/TARGET_STM32L0/flash_api.c --- a/targets/TARGET_STM/TARGET_STM32L0/flash_api.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32L0/flash_api.c Mon Oct 02 15:33:19 2017 +0100 @@ -128,7 +128,8 @@ } uint32_t flash_get_page_size(const flash_t *obj) { - return FLASH_PAGE_SIZE; + /* Page size is the minimum programable size, which 4 bytes */ + return 4; } uint32_t flash_get_start_address(const flash_t *obj) {