diff --git a/src/main/target/NUCLEOH743/target.c b/src/main/target/NUCLEOH743/target.c index bd81f68f4d..0ea3955765 100644 --- a/src/main/target/NUCLEOH743/target.c +++ b/src/main/target/NUCLEOH743/target.c @@ -27,6 +27,8 @@ #include "drivers/timer.h" #include "drivers/timer_def.h" +#include "build/debug_pin.h" + const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { // DEF_TIM(TIM2, CH2, PB3, TIM_USE_LED, 0, 7, 0 ), // SPI1_SCK DEF_TIM(TIM12, CH2, PB15, TIM_USE_LED, 0, 0, 0 ), @@ -52,3 +54,7 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { // DEF_TIM(TIM4, CH4, PB9, TIM_USE_MOTOR, 0, 0, 0 ), // I2C1 // DEF_TIM(TIM9, CH2, PE6, TIM_USE_MOTOR, 0, 0, 0 ), }; + +dbgPin_t dbgPins[DEBUG_PIN_COUNT] = { + { .tag = IO_TAG(PG1) }, +}; diff --git a/src/main/target/NUCLEOH743/target.h b/src/main/target/NUCLEOH743/target.h index 0d421ee61c..422f20080a 100644 --- a/src/main/target/NUCLEOH743/target.h +++ b/src/main/target/NUCLEOH743/target.h @@ -25,6 +25,9 @@ #define USE_TARGET_CONFIG +#define USE_DEBUG_PIN +#define DEBUG_PIN_COUNT 1 + #define LED0_PIN PB0 #define LED1_PIN PB7 // PE1 on NUCLEO-H743ZI2 (may collide with UART8_TX) //#define LED2_PIN PB14 // SDMMC2_D0