From 83f395c07cb0fa3981e0fff0db705b8e729d9b95 Mon Sep 17 00:00:00 2001 From: MS30 CCChang12 Date: Wed, 12 Jul 2017 11:01:03 +0800 Subject: [PATCH] [NANO130] Fix symbol of IAR toolchain --- targets/TARGET_NUVOTON/nu_bitutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_NUVOTON/nu_bitutil.h b/targets/TARGET_NUVOTON/nu_bitutil.h index 42708232a8..ff4745aabe 100644 --- a/targets/TARGET_NUVOTON/nu_bitutil.h +++ b/targets/TARGET_NUVOTON/nu_bitutil.h @@ -17,7 +17,7 @@ #ifndef NU_BIT_UTIL_H #define NU_BIT_UTIL_H -#if defined(TOOLCHAIN_IAR) && defined(TARGET_M0) +#if defined(__ICCARM__) && defined(TARGET_M0) #include #endif #include "cmsis.h"