Merge pull request #3143 from marcuschangarm/config-store-fix

CFStore fix needed for the Cloud Client
pull/3184/head
Sam Grove 2016-11-01 14:08:39 -05:00 committed by GitHub
commit b777a9c145
1 changed files with 6 additions and 1 deletions

View File

@ -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)