Skip to content

Commit 049b5f5

Browse files
author
Deepika
committed
Revert flash_get_value for M2351 done in PR#8589
`flash_get_erase_value` is added in hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.c duplicate copy of same function in targets/TARGET_NUVOTON/TARGET_M2351/flash_api.c resulted in build issues with secure build
1 parent 00fcdb8 commit 049b5f5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/flash_api.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,4 @@ void flash_set_target_config(flash_t *obj)
134134
}
135135

136136
#endif // #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
137-
138-
MBED_NONSECURE_ENTRY uint8_t flash_get_erase_value(const flash_t *obj)
139-
{
140-
(void)obj;
141-
142-
return 0xFF;
143-
}
144-
145137
#endif // #if DEVICE_FLASH

0 commit comments

Comments
 (0)