From a78ba1d527417eb899357983c6e037a6891a5de5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 20 Oct 2019 07:04:56 +1100 Subject: [PATCH] HAL_ChibiOS: fixed Zubax bootloader debug --- libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat index ef13fef4d6..8850dd11f0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat @@ -17,6 +17,7 @@ env AP_PERIPH 1 define HAL_BOARD_AP_PERIPH_ZUBAXGNSS define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_ZubaxGNSS" +define HAL_CAN_DEFAULT_NODE_ID 114 # crystal frequency OSCILLATOR_HZ 16000000 @@ -26,8 +27,8 @@ define CH_CFG_ST_FREQUENCY 1000 FLASH_SIZE_KB 256 # USART3 for debug -STDOUT_SERIAL SD3 -STDOUT_BAUDRATE 115200 +#STDOUT_SERIAL SD3 +#STDOUT_BAUDRATE 115200 # USART3 for debug PB10 USART3_TX USART3 SPEED_HIGH NODMA @@ -110,7 +111,7 @@ define HAL_DEVICE_THREAD_STACK 768 define AP_PARAM_MAX_EMBEDDED_PARAM 0 # USART2 for GPS -#PA2 USART2_TX USART2 SPEED_HIGH NODMA +PA2 USART2_TX USART2 SPEED_HIGH NODMA PA3 USART2_RX USART2 SPEED_HIGH NODMA UART_ORDER