helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/flash_api.c
- Revision:
- 185:08ed48f1de7f
- Parent:
- 163:74e0ce7f98e8
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/flash_api.c Tue Mar 20 17:01:51 2018 +0000 +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/flash_api.c Thu Apr 19 17:12:19 2018 +0100 @@ -67,7 +67,8 @@ }; static const flash_target_config_t flash_target_config = { - .page_size = 0x800, // 2 KB + .page_size = 4, // 4 bytes + // Here page_size is program unit, which is different than FMC definition. .flash_start = 0x0, .flash_size = 0x80000, // 512 KB .sectors = sectors_info,