Skip to content

Commit b777a9c

Browse files
authored
Merge pull request #3143 from marcuschangarm/config-store-fix
CFStore fix needed for the Cloud Client
2 parents 6893535 + 8876b7e commit b777a9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

features/storage/FEATURE_STORAGE/cfstore/source/cfstore_svm.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@
2929
* so it can be called by the C-HAL implementation configuration_store.c
3030
*/
3131

32+
#ifndef CFSTORE_SVM_VOL_01_START_OFFSET
3233
#define CFSTORE_SVM_VOL_01_START_OFFSET 0x80000UL
34+
#endif
35+
36+
#ifndef CFSTORE_SVM_VOL_01_SIZE
3337
#define CFSTORE_SVM_VOL_01_SIZE 0x80000UL
38+
#endif
3439

3540
#ifdef CFSTORE_CONFIG_BACKEND_FLASH_ENABLED
3641
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
3944
#endif /* CFSTORE_CONFIG_BACKEND_FLASH_ENABLED */
4045

4146
/* the storage volume manager instance used to generate virtual mtd descriptors */
42-
static StorageVolumeManager volumeManager;
47+
StorageVolumeManager volumeManager;
4348

4449
/* used only for the initialization of the volume-manager. */
4550
static void cfstore_svm_volume_manager_initialize_callback(int32_t status)

0 commit comments

Comments
 (0)