From 8c55f7bc49a4ff337ae0ac9565ef045bbc42dbfa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Feb 2019 16:37:37 +1100 Subject: [PATCH] HAL_ChibiOS: enable debug on SD7 for bootloader for NucleoH743 --- .../AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef-bl.dat | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef-bl.dat index dd219a87aa..9565856b76 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef-bl.dat @@ -27,6 +27,18 @@ STM32_VDD 330U # order of UARTs (and USB) UART_ORDER OTG1 +# UART7 is debug +PF6 UART7_RX UART7 NODMA +PE8 UART7_TX UART7 NODMA + +#PB0 LED_BOOTLOADER OUTPUT +#PB7 LED_ACTIVITY OUTPUT + +#define HAL_LED_ON 0 + +define STM32_SERIAL_USE_USART7 TRUE +define HAL_USE_SERIAL TRUE + PA11 OTG_FS_DM OTG1 PA12 OTG_FS_DP OTG1