diff --git a/targets/TARGET_Maxim/TARGET_MAX32630/device/mxc_device.h b/targets/TARGET_Maxim/TARGET_MAX32630/device/mxc_device.h index b3b9ffe5fb..4e018a7661 100644 --- a/targets/TARGET_Maxim/TARGET_MAX32630/device/mxc_device.h +++ b/targets/TARGET_Maxim/TARGET_MAX32630/device/mxc_device.h @@ -46,7 +46,9 @@ // Create a string definition for the TARGET #define STRING_ARG(arg) #arg #define STRING_NAME(name) STRING_ARG(name) +#if MBED_VERSION && MBED_VERSION < 51200 #define TARGET_NAME STRING_NAME(TARGET) +#endif // Define which revisions of the IP we are using #ifndef TARGET_REV