mirror of https://github.com/ARMmbed/mbed-os.git
Move DEVICE_FLASH define to avoid compilation issues for non FLASH devices
parent
44c8d16243
commit
9d0e9dd8de
|
@ -28,13 +28,13 @@
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if DEVICE_FLASH
|
||||||
#include "flash_api.h"
|
#include "flash_api.h"
|
||||||
#include "flash_data.h"
|
#include "flash_data.h"
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
|
|
||||||
// This file is automatically generated
|
// This file is automatically generated
|
||||||
|
|
||||||
#if DEVICE_FLASH
|
|
||||||
|
|
||||||
static uint32_t GetSector(uint32_t Address);
|
static uint32_t GetSector(uint32_t Address);
|
||||||
static uint32_t GetSectorSize(uint32_t Sector);
|
static uint32_t GetSectorSize(uint32_t Sector);
|
||||||
|
|
Loading…
Reference in New Issue