More descriptive environment error message

This commit is contained in:
Scott Lahteine 2018-02-22 22:41:26 -06:00
parent b17982bde9
commit 5f8b2c2ff0
10 changed files with 13 additions and 11 deletions

View File

@ -25,7 +25,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -22,11 +22,11 @@
*/
/**
* MKS SBASE pin assignments
* Azteeg X5 GT pin assignments
*/
#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
#ifndef BOARD_NAME

View File

@ -31,7 +31,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -26,7 +26,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -26,7 +26,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -26,7 +26,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -45,7 +45,9 @@
*/
#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
#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)

View File

@ -37,7 +37,7 @@
// numbers in parenthesis () are the mega2560 equivalent pin numbers
#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
#ifndef BOARD_NAME

View File

@ -26,7 +26,7 @@
*/
#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
#ifndef BOARD_NAME

View File

@ -21,7 +21,7 @@
*/
#ifndef __STM32F1__
#error "Oops! Make sure you have an STM32F1 board selected from the 'Tools -> Boards' menu."
#error "Oops! Make sure you have an STM32F1 board selected from the 'Tools -> Boards' menu."
#endif
/**