️ BTT002 (STM32F407VET6) variant, MK3_FAN_PINS flag (#23093)

This commit is contained in:
Keith Bennett
2021-11-09 08:30:02 -08:00
committed by Scott Lahteine
parent 6f9f25dbb2
commit 17f853d99c
4 changed files with 73 additions and 3 deletions

View File

@ -616,7 +616,7 @@
#elif MB(BTT_GTR_V1_0)
#include "stm32f4/pins_BTT_GTR_V1_0.h" // STM32F4 env:BIGTREE_GTR_V1_0 env:BIGTREE_GTR_V1_0_usb_flash_drive
#elif MB(BTT_BTT002_V1_0)
#include "stm32f4/pins_BTT_BTT002_V1_0.h" // STM32F4 env:BIGTREE_BTT002
#include "stm32f4/pins_BTT_BTT002_V1_0.h" // STM32F4 env:BIGTREE_BTT002 env:BIGTREE_BTT002_VET6
#elif MB(BTT_E3_RRF)
#include "stm32f4/pins_BTT_E3_RRF.h" // STM32F4 env:BIGTREE_E3_RRF
#elif MB(BTT_SKR_V2_0_REV_A)

View File

@ -29,6 +29,8 @@
#define BOARD_INFO_NAME "BTT BTT002 V1.0"
//#define MK3_FAN_PINS
#define USES_DIAG_PINS
// Ignore temp readings during development.
@ -169,8 +171,22 @@
//
#define HEATER_0_PIN PE6 // Heater0
#define HEATER_BED_PIN PE5 // Hotbed
#define FAN_PIN PB8 // Fan1
#define FAN1_PIN PB9 // Fan0
#ifndef FAN_PIN
#ifdef MK3_FAN_PINS
#define FAN_PIN PB8 // Fan1
#else
#define FAN_PIN PB9 // Fan0
#endif
#endif
#ifndef FAN1_PIN
#ifdef MK3_FAN_PINS
#define FAN1_PIN PB9 // Fan0
#else
#define FAN1_PIN PB8 // Fan1
#endif
#endif
/**
* -----------------------------------BTT002 V1.0----------------------------------------