mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Debug - Add Debug pin to NucleoH743 target.
This commit is contained in:
parent
13a0037b18
commit
29a00aa57a
2 changed files with 9 additions and 0 deletions
|
@ -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) },
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue