mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/flash_api.c
- Revision:
- 167:e84263d55307
- Parent:
- 160:d5399cc887bb
- Child:
- 169:e3b6fe271b81
--- a/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/flash_api.c Thu Jun 08 15:02:37 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/flash_api.c Wed Jun 21 17:46:44 2017 +0100 @@ -16,9 +16,11 @@ #include "flash_api.h" #include "flash_data.h" -#include "mbed_critical.h" +#include "platform/mbed_critical.h" -// This file is automagically generated +// This file is automatically generated + +#if DEVICE_FLASH // This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM static uint32_t FLASH_ALGO[] = { @@ -72,3 +74,5 @@ obj->flash_algo = &flash_algo_config; obj->target_config = &flash_target_config; } + +#endif