mirror of https://github.com/ARMmbed/mbed-os.git
Use correct IAR toolchain macro
parent
bcb8779362
commit
6c1ad4a4e4
|
|
@ -189,7 +189,7 @@ typedef struct _ARM_CFSTORE_STATUS {
|
||||||
}while(0)
|
}while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __MBED__ && defined TOOLCHAIN_IAR
|
#if defined __MBED__ && defined __ICCARM__
|
||||||
/** @brief Helper macro to swap 2 handles, which is useful for the Find() idiom. */
|
/** @brief Helper macro to swap 2 handles, which is useful for the Find() idiom. */
|
||||||
/* note, memory barriers may be required in the following implementation */
|
/* note, memory barriers may be required in the following implementation */
|
||||||
#define CFSTORE_HANDLE_SWAP(__a_HaNdLe, __b_HaNdLe) \
|
#define CFSTORE_HANDLE_SWAP(__a_HaNdLe, __b_HaNdLe) \
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
* FlashJournal_t. The caller will only allocate a FlashJournal_t and expect the
|
* FlashJournal_t. The caller will only allocate a FlashJournal_t and expect the
|
||||||
* Sequential Strategy to reuse that space for a SequentialFlashJournal_t.
|
* Sequential Strategy to reuse that space for a SequentialFlashJournal_t.
|
||||||
*/
|
*/
|
||||||
#ifndef TOOLCHAIN_IAR
|
#ifndef __ICCARM__
|
||||||
typedef char AssertStorageVolumeManagerMaxVolumesIsSane[(((MAX_VOLUMES) > 0) && ((MAX_VOLUMES) <= 8)) ? 0:-1];
|
typedef char AssertStorageVolumeManagerMaxVolumesIsSane[(((MAX_VOLUMES) > 0) && ((MAX_VOLUMES) <= 8)) ? 0:-1];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -554,7 +554,7 @@ void __rtos_env_unlock( struct _reent *_r )
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TOOLCHAIN_IAR) /******************** IAR ********************/
|
#if defined(__ICCARM__) /******************** IAR ********************/
|
||||||
|
|
||||||
extern void* __vector_table;
|
extern void* __vector_table;
|
||||||
extern int __low_level_init(void);
|
extern int __low_level_init(void);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue