Browse Source

Rename BOARD_STM32F4 to fix use with MB()

pull/1/head
Scott Lahteine 5 years ago
parent
commit
f8ad15fde8
  1. 2
      Marlin/src/core/boards.h
  2. 4
      Marlin/src/pins/pins.h
  3. 0
      Marlin/src/pins/stm32/pins_GENERIC_STM32F4.h
  4. 2
      config/examples/STM32/STM32F4/Configuration.h

2
Marlin/src/core/boards.h

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

4
Marlin/src/pins/pins.h

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

0
Marlin/src/pins/stm32/pins_STM32F4.h → Marlin/src/pins/stm32/pins_GENERIC_STM32F4.h

2
config/examples/STM32/STM32F4/Configuration.h

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

Loading…
Cancel
Save