🐛 Fix Longer3D STM32 boot, add Maple test (#22473)

This commit is contained in:
Tanguy Pruvot
2021-08-04 08:14:54 +02:00
committed by Scott Lahteine
parent ac64d6915f
commit 2b2a8355c9
9 changed files with 1299 additions and 9 deletions

View File

@ -99,12 +99,19 @@
// Avoid nozzle heat and fan start before serial init
#define BOARD_OPENDRAIN_MOSFETS
#define BOARD_PREINIT() { \
#define BOARD_INIT_OD_PINS() { \
OUT_WRITE_OD(HEATER_0_PIN, 0); \
OUT_WRITE_OD(HEATER_BED_PIN, 0); \
OUT_WRITE_OD(FAN_PIN, 0); \
}
#ifdef MAPLE_STM32F1
// Only Maple Framework allow that early
#define BOARD_PREINIT BOARD_INIT_OD_PINS
#else
#define BOARD_INIT BOARD_INIT_OD_PINS
#endif
//
// PWM for a servo probe
// Other servo devices are not supported on this board!