Browse Source

More descriptive environment error message

Scott Lahteine 7 years ago
parent
commit
5f8b2c2ff0

+ 1
- 1
Marlin/src/pins/pins_AZSMZ_MINI.h View File

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

+ 2
- 2
Marlin/src/pins/pins_AZTEEG_X5_GT.h View File

@@ -22,11 +22,11 @@
22 22
  */
23 23
 
24 24
 /**
25
- * MKS SBASE pin assignments
25
+ * Azteeg X5 GT pin assignments
26 26
  */
27 27
 
28 28
 #ifndef TARGET_LPC1768
29
-  #error "Oops!  Make sure you have LPC1768 selected."
29
+  #error "Oops!  Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32 32
 #ifndef BOARD_NAME

+ 1
- 1
Marlin/src/pins/pins_BIQU_BQ111_A4.h View File

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

+ 1
- 1
Marlin/src/pins/pins_COHESION3D_MINI.h View File

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

+ 1
- 1
Marlin/src/pins/pins_COHESION3D_REMIX.h View File

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

+ 1
- 1
Marlin/src/pins/pins_MKS_SBASE.h View File

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

+ 3
- 1
Marlin/src/pins/pins_RAMPS.h View File

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

+ 1
- 1
Marlin/src/pins/pins_RAMPS_RE_ARM.h View File

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

+ 1
- 1
Marlin/src/pins/pins_SELENA_COMPACT.h View File

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

+ 1
- 1
Marlin/src/pins/pins_STM32F1R.h View File

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

Loading…
Cancel
Save