More descriptive environment error message

2.0.x
Scott Lahteine 7 years ago
parent b17982bde9
commit 5f8b2c2ff0

@ -25,7 +25,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -22,11 +22,11 @@
*/ */
/** /**
* MKS SBASE pin assignments * Azteeg X5 GT pin assignments
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -31,7 +31,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have Re-Arm selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -26,7 +26,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -26,7 +26,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -26,7 +26,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -45,7 +45,9 @@
*/ */
#if ENABLED(TARGET_LPC1768) #if ENABLED(TARGET_LPC1768)
#error "Oops! Use 'BOARD_RAMPS_RE_ARM' to build for Re-ARM." #error "Oops! Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."
#elif defined(__STM32F1__)
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
#endif #endif
#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768) #if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)

@ -37,7 +37,7 @@
// numbers in parenthesis () are the mega2560 equivalent pin numbers // numbers in parenthesis () are the mega2560 equivalent pin numbers
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

@ -26,7 +26,7 @@
*/ */
#ifndef TARGET_LPC1768 #ifndef TARGET_LPC1768
#error "Oops! Make sure you have LPC1768 selected." #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif #endif
#ifndef BOARD_NAME #ifndef BOARD_NAME

Loading…
Cancel
Save