HAL_ChibiOS: fixed Zubax bootloader debug

This commit is contained in:
Andrew Tridgell 2019-10-20 07:04:56 +11:00
parent e2e0468919
commit a78ba1d527
1 changed files with 4 additions and 3 deletions

View File

@ -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