helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_M480/flash_api.c
- Revision:
- 185:08ed48f1de7f
- Parent:
- 172:7d866c31b3c5
diff -r 5166a824ec1a -r 08ed48f1de7f targets/TARGET_NUVOTON/TARGET_M480/flash_api.c --- a/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c Tue Mar 20 17:01:51 2018 +0000 +++ b/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c Thu Apr 19 17:12:19 2018 +0100 @@ -69,7 +69,8 @@ }; static const flash_target_config_t flash_target_config = { - .page_size = 0x200, // 512 bytes + .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,