Skip to content

Commit 107ee87

Browse files
author
Deepika
committed
Use correct IAR toolchain macro
1 parent af4235b commit 107ee87

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

features/storage/FEATURE_STORAGE/cfstore/configuration-store/configuration_store.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ typedef struct _ARM_CFSTORE_STATUS {
189189
}while(0)
190190
#endif
191191

192-
#if defined __MBED__ && defined TOOLCHAIN_IAR
192+
#if defined __MBED__ && defined __ICCARM__
193193
/** @brief Helper macro to swap 2 handles, which is useful for the Find() idiom. */
194194
/* note, memory barriers may be required in the following implementation */
195195
#define CFSTORE_HANDLE_SWAP(__a_HaNdLe, __b_HaNdLe) \

features/storage/FEATURE_STORAGE/storage-volume-manager/storage-volume-manager/storage_volume_manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* FlashJournal_t. The caller will only allocate a FlashJournal_t and expect the
3636
* Sequential Strategy to reuse that space for a SequentialFlashJournal_t.
3737
*/
38-
#ifndef TOOLCHAIN_IAR
38+
#ifndef __ICCARM__
3939
typedef char AssertStorageVolumeManagerMaxVolumesIsSane[(((MAX_VOLUMES) > 0) && ((MAX_VOLUMES) <= 8)) ? 0:-1];
4040
#endif
4141

rtos/mbed_boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ void __rtos_env_unlock( struct _reent *_r )
554554

555555
#endif
556556

557-
#if defined(TOOLCHAIN_IAR) /******************** IAR ********************/
557+
#if defined(__ICCARM__) /******************** IAR ********************/
558558

559559
extern void* __vector_table;
560560
extern int __low_level_init(void);

0 commit comments

Comments
 (0)