diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/M2351.h b/targets/TARGET_NUVOTON/TARGET_M2351/device/M2351.h index 2b65428a3c9..35511361887 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/M2351.h +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/M2351.h @@ -62,8 +62,9 @@ typedef volatile unsigned short vu16; #define TRUE (1L) #define FALSE (0L) -#define ENABLE 1 -#define DISABLE 0 +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE 1 +//#define DISABLE 0 /* Bit Mask Definitions */ #define BIT0 0x00000001UL diff --git a/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h b/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h index 194364500e8..7503171d167 100644 --- a/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h +++ b/targets/TARGET_NUVOTON/TARGET_M251/device/M251.h @@ -578,8 +578,9 @@ typedef volatile unsigned short vu16; #define TRUE (1UL) ///< Boolean true, define to use in API parameters or return value #define FALSE (0UL) ///< Boolean false, define to use in API parameters or return value -#define ENABLE (1UL) ///< Enable, define to use in API parameters -#define DISABLE (0UL) ///< Disable, define to use in API parameters +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE (1UL) ///< Enable, define to use in API parameters +//#define DISABLE (0UL) ///< Disable, define to use in API parameters /* Define one bit mask */ #define BIT0 (0x00000001UL) ///< Bit 0 mask of an 32 bit integer diff --git a/targets/TARGET_NUVOTON/TARGET_M261/device/M261.h b/targets/TARGET_NUVOTON/TARGET_M261/device/M261.h index ab80e10e466..b6e03f2914e 100644 --- a/targets/TARGET_NUVOTON/TARGET_M261/device/M261.h +++ b/targets/TARGET_NUVOTON/TARGET_M261/device/M261.h @@ -518,8 +518,9 @@ typedef volatile unsigned short vu16; #define TRUE (1L) #define FALSE (0L) -#define ENABLE 1 -#define DISABLE 0 +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE 1 +//#define DISABLE 0 /* Bit Mask Definitions */ #define BIT0 0x00000001UL diff --git a/targets/TARGET_NUVOTON/TARGET_M480/device/M480.h b/targets/TARGET_NUVOTON/TARGET_M480/device/M480.h index 69a86f54e7a..84ff3510c72 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/device/M480.h +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/M480.h @@ -608,8 +608,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile #define TRUE (1UL) ///< Boolean true, define to use in API parameters or return value #define FALSE (0UL) ///< Boolean false, define to use in API parameters or return value -#define ENABLE (1UL) ///< Enable, define to use in API parameters -#define DISABLE (0UL) ///< Disable, define to use in API parameters +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE (1UL) ///< Enable, define to use in API parameters +//#define DISABLE (0UL) ///< Disable, define to use in API parameters /* Define one bit mask */ #define BIT0 (0x00000001UL) ///< Bit 0 mask of an 32 bit integer diff --git a/targets/TARGET_NUVOTON/TARGET_NANO100/device/Nano100Series.h b/targets/TARGET_NUVOTON/TARGET_NANO100/device/Nano100Series.h index 6a6520e57cd..9c6cfeb4569 100644 --- a/targets/TARGET_NUVOTON/TARGET_NANO100/device/Nano100Series.h +++ b/targets/TARGET_NUVOTON/TARGET_NANO100/device/Nano100Series.h @@ -11838,8 +11838,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile #define FALSE (0) ///< Boolean false, define to use in API parameters or return value #endif -#define ENABLE (1) ///< Enable, define to use in API parameters -#define DISABLE (0) ///< Disable, define to use in API parameters +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE (1) ///< Enable, define to use in API parameters +//#define DISABLE (0) ///< Disable, define to use in API parameters /* Define one bit mask */ #define BIT0 (0x00000001) ///< Bit 0 mask of an 32 bit integer diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/device/NUC472_442.h b/targets/TARGET_NUVOTON/TARGET_NUC472/device/NUC472_442.h index 6d44e48957b..e99b8167cd9 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/device/NUC472_442.h +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/device/NUC472_442.h @@ -32521,8 +32521,9 @@ typedef volatile unsigned long vu32; ///< Define 32-bit unsigned volatile #define FALSE (0) ///< Boolean false, define to use in API parameters or return value #endif -#define ENABLE (1) ///< Enable, define to use in API parameters -#define DISABLE (0) ///< Disable, define to use in API parameters +/* Not used on Mbed OS. Remove to get around name conflict */ +//#define ENABLE (1) ///< Enable, define to use in API parameters +//#define DISABLE (0) ///< Disable, define to use in API parameters /* Define one bit mask */ #define BIT0 (0x00000001) ///< Bit 0 mask of an 32 bit integer