mirror of https://github.com/ARMmbed/mbed-os.git
Remove TARGET prefix from the TARGET_BYPASS_NVSTORE_CHECK and leave it as BYPASS_NVSTORE_CHECK
parent
f0d828ce13
commit
608c79a207
|
@ -25,7 +25,7 @@
|
||||||
#include "mbed_wait_api.h"
|
#include "mbed_wait_api.h"
|
||||||
#include "MbedCRC.h"
|
#include "MbedCRC.h"
|
||||||
//Bypass the check of NVStore co existance if compiled for TARGET_TFM
|
//Bypass the check of NVStore co existance if compiled for TARGET_TFM
|
||||||
#if !(TARGET_BYPASS_NVSTORE_CHECK)
|
#if !(BYPASS_NVSTORE_CHECK)
|
||||||
#include "SystemStorage.h"
|
#include "SystemStorage.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -994,7 +994,7 @@ int TDBStore::init()
|
||||||
}
|
}
|
||||||
|
|
||||||
//Bypass the check of NVStore co existance if compiled for TARGET_TFM
|
//Bypass the check of NVStore co existance if compiled for TARGET_TFM
|
||||||
#if !(TARGET_BYPASS_NVSTORE_CHECK)
|
#if !(BYPASS_NVSTORE_CHECK)
|
||||||
|
|
||||||
//Check if we are on internal memory && try to set the internal memory for TDBStore use.
|
//Check if we are on internal memory && try to set the internal memory for TDBStore use.
|
||||||
if (strcmp(_bd->get_type(), "FLASHIAP") == 0 &&
|
if (strcmp(_bd->get_type(), "FLASHIAP") == 0 &&
|
||||||
|
|
Loading…
Reference in New Issue