Browse Source

Rename BOARD_STM32F4 to fix use with MB()

Scott Lahteine 5 years ago
parent
commit
f8ad15fde8

+ 1
- 1
Marlin/src/core/boards.h View File

@@ -289,7 +289,7 @@
289 289
 //
290 290
 
291 291
 #define BOARD_BEAST                   4200  // STM32F4xxVxT6 Libmaple-based STM32F4 controller
292
-#define BOARD_STM32F4                 4201  // STM32 STM32GENERIC-based STM32F4 controller
292
+#define BOARD_GENERIC_STM32F4         4201  // STM32 STM32GENERIC-based STM32F4 controller
293 293
 #define BOARD_ARMED                   4202  // Arm'ed STM32F4-based controller
294 294
 #define BOARD_RUMBA32                 4203  // RUMBA32 STM32F4-based controller
295 295
 #define BOARD_BLACK_STM32F407VE       4204  // BLACK_STM32F407VE

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

@@ -498,8 +498,8 @@
498 498
 
499 499
 #elif MB(BEAST)
500 500
   #include "stm32/pins_BEAST.h"                 // STM32F4                                env:STM32F4
501
-#elif MB(STM32F4)
502
-  #include "stm32/pins_STM32F4.h"               // STM32F4                                env:STM32F4
501
+#elif MB(GENERIC_STM32F4)
502
+  #include "stm32/pins_GENERIC_STM32F4.h"       // STM32F4                                env:STM32F4
503 503
 #elif MB(ARMED)
504 504
   #include "stm32/pins_ARMED.h"                 // STM32F4                                env:ARMED
505 505
 #elif MB(RUMBA32)

Marlin/src/pins/stm32/pins_STM32F4.h → Marlin/src/pins/stm32/pins_GENERIC_STM32F4.h View File


+ 1
- 1
config/examples/STM32/STM32F4/Configuration.h View File

@@ -130,7 +130,7 @@
130 130
 
131 131
 // Choose the name from boards.h that matches your setup
132 132
 #ifndef MOTHERBOARD
133
-  #define MOTHERBOARD BOARD_STM32F4
133
+  #define MOTHERBOARD BOARD_GENERIC_STM32F4
134 134
 #endif
135 135
 
136 136
 // Name displayed in the LCD "Ready" message and Info menu

Loading…
Cancel
Save