mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3143 from marcuschangarm/config-store-fix
CFStore fix needed for the Cloud Clientpull/3184/head
commit
b777a9c145
|
@ -29,8 +29,13 @@
|
||||||
* so it can be called by the C-HAL implementation configuration_store.c
|
* so it can be called by the C-HAL implementation configuration_store.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef CFSTORE_SVM_VOL_01_START_OFFSET
|
||||||
#define CFSTORE_SVM_VOL_01_START_OFFSET 0x80000UL
|
#define CFSTORE_SVM_VOL_01_START_OFFSET 0x80000UL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CFSTORE_SVM_VOL_01_SIZE
|
||||||
#define CFSTORE_SVM_VOL_01_SIZE 0x80000UL
|
#define CFSTORE_SVM_VOL_01_SIZE 0x80000UL
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CFSTORE_CONFIG_BACKEND_FLASH_ENABLED
|
#ifdef CFSTORE_CONFIG_BACKEND_FLASH_ENABLED
|
||||||
extern ARM_DRIVER_STORAGE ARM_Driver_Storage_MTD_K64F;
|
extern ARM_DRIVER_STORAGE ARM_Driver_Storage_MTD_K64F;
|
||||||
|
@ -39,7 +44,7 @@ static ARM_DRIVER_STORAGE *cfstore_svm_storage_drv = &ARM_Driver_Storage_MTD_K64
|
||||||
#endif /* CFSTORE_CONFIG_BACKEND_FLASH_ENABLED */
|
#endif /* CFSTORE_CONFIG_BACKEND_FLASH_ENABLED */
|
||||||
|
|
||||||
/* the storage volume manager instance used to generate virtual mtd descriptors */
|
/* the storage volume manager instance used to generate virtual mtd descriptors */
|
||||||
static StorageVolumeManager volumeManager;
|
StorageVolumeManager volumeManager;
|
||||||
|
|
||||||
/* used only for the initialization of the volume-manager. */
|
/* used only for the initialization of the volume-manager. */
|
||||||
static void cfstore_svm_volume_manager_initialize_callback(int32_t status)
|
static void cfstore_svm_volume_manager_initialize_callback(int32_t status)
|
||||||
|
|
Loading…
Reference in New Issue