mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_Silicon_Labs/TARGET_EFM32/flash_api.c
- Revision:
- 189:f392fc9709a3
- Parent:
- 186:707f6e361f3e
--- a/targets/TARGET_Silicon_Labs/TARGET_EFM32/flash_api.c Thu Nov 08 11:46:34 2018 +0000 +++ b/targets/TARGET_Silicon_Labs/TARGET_EFM32/flash_api.c Wed Feb 20 22:31:08 2019 +0000 @@ -144,4 +144,16 @@ return FLASH_SIZE; } +/** Get the flash erase value + * + * @param obj The flash object + * @return The flash erase value + */ +uint8_t flash_get_erase_value(const flash_t *obj) +{ + (void)obj; + + return 0xFF; +} + #endif // DEVICE_FLASH