Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
cfstore_config.h
00001 /** @file cfstore_debug.h 00002 * 00003 * component debug header file. 00004 */ 00005 00006 00007 #ifndef __CFSTORE_CONFIG_H 00008 #define __CFSTORE_CONFIG_H 00009 00010 /* 00011 * CFSTORE_CONFIG_BACKEND_FLASH_ENABLED 00012 * = 1 >1 build with the flash 00013 * CFSTORE_CONFIG_MBED_OS_VERSION 00014 * 3 => mbedosV3 00015 * 4 => morpheus 00016 */ 00017 00018 /* default values */ 00019 #define CFSTORE_CONFIG_MBED_OS_VERSION 3 00020 00021 /* default build config overridden by package manager configuration 00022 * 00023 * __MBED__ 00024 * Morpheus build system (mbed-classic) defines the __MBED__ symbol 00025 * 00026 * YOTTA_CFG_CFSTORE_BACKEND_SRAM 00027 * build only for sram backend (no flash integration) 00028 * 00029 * */ 00030 00031 #ifdef __MBED__ 00032 #undef CFSTORE_CONFIG_MBED_OS_VERSION 00033 #define CFSTORE_CONFIG_MBED_OS_VERSION 4 00034 00035 00036 /* at present time building for sram so set yotta symbol for sync mode i.e. async_ops = 0*/ 00037 #define YOTTA_CFG_CONFIG_HARDWARE_MTD_ASYNC_OPS 0 00038 #endif /* __MBED__ */ 00039 00040 /* DEVICE_STORAGE 00041 * defined by the mbed configuration system if a target supports flash storage 00042 * back-end. See targets.json for target flash support. 00043 * - If a target supports storage then by default cfstore will persist KVs to 00044 * storage. 00045 * - If a target does not support storage then (by default) cfstore will store KVs 00046 * in SRAM only (i.e. operate in SRAM in-memory mode). 00047 * 00048 * CFSTORE_STORAGE_DISABLE 00049 * Disable use of storage support (if present) 00050 */ 00051 #if defined DEVICE_STORAGE && CFSTORE_STORAGE_DISABLE==0 00052 #define CFSTORE_CONFIG_BACKEND_FLASH_ENABLED 00053 #endif 00054 00055 #if defined STORAGE_CONFIG_HARDWARE_MTD_K64F_ASYNC_OPS 00056 #define CFSTORE_STORAGE_DRIVER_CONFIG_HARDWARE_MTD_ASYNC_OPS STORAGE_CONFIG_HARDWARE_MTD_K64F_ASYNC_OPS 00057 #endif 00058 00059 00060 #endif /*__CFSTORE_CONFIG_H*/
Generated on Tue Aug 9 2022 00:37:04 by
1.7.2