File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
features/storage/FEATURE_STORAGE/cfstore/configuration-store Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ typedef struct _ARM_CFSTORE_STATUS {
163
163
ARM_CFSTORE_HANDLE (__name) = (ARM_CFSTORE_HANDLE) (__name##_buf_cFsToRe); \
164
164
memset((__name##_buf_cFsToRe), 0, CFSTORE_HANDLE_BUFSIZE)
165
165
166
- #if defined __MBED__ && (defined TOOLCHAIN_GCC_ARM || defined TOOLCHAIN_ARMC6 )
166
+ #if defined __MBED__ && (defined TOOLCHAIN_GCC_ARM || ( defined( __ARMCC_VERSION ) && ( __ARMCC_VERSION >= 6010050 )) )
167
167
/** @brief Helper macro to swap 2 handles, which is useful for the Find() idiom. */
168
168
#define CFSTORE_HANDLE_SWAP (__a_HaNdLe , __b_HaNdLe ) \
169
169
do{ ARM_CFSTORE_HANDLE __temp_HaNdLe = (__a_HaNdLe); \
@@ -174,6 +174,7 @@ typedef struct _ARM_CFSTORE_STATUS {
174
174
__asm volatile("" ::: "memory"); \
175
175
}while(0)
176
176
177
+
177
178
#elif defined __MBED__ && defined TOOLCHAIN_ARM
178
179
/** @brief Helper macro to swap 2 handles, which is useful for the Find() idiom. */
179
180
#define CFSTORE_HANDLE_SWAP (__a_HaNdLe , __b_HaNdLe ) \
You can’t perform that action at this time.
0 commit comments