Skip to content

Commit f894040

Browse files
simonqhughesadbridge
authored andcommitted
CFSTORE issue 3327: fix to build CFSTORE SRAM mode (disabling flash storage).
1 parent fc1f439 commit f894040

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
extern ARM_DRIVER_STORAGE ARM_Driver_Storage_MTD_K64F;
4242
static ARM_DRIVER_STORAGE *cfstore_svm_storage_drv = &ARM_Driver_Storage_MTD_K64F;
4343

44-
#endif /* CFSTORE_CONFIG_BACKEND_FLASH_ENABLED */
45-
4644
/* the storage volume manager instance used to generate virtual mtd descriptors */
4745
StorageVolumeManager volumeManager;
4846

@@ -79,3 +77,6 @@ int32_t cfstore_svm_init(struct _ARM_DRIVER_STORAGE *storage_mtd)
7977
}
8078
return ret;
8179
}
80+
81+
#endif /* CFSTORE_CONFIG_BACKEND_FLASH_ENABLED */
82+

0 commit comments

Comments
 (0)