diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat index d214a48ee9..a41af41cdc 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat @@ -24,17 +24,21 @@ OSCILLATOR_HZ 24000000 # assume the 128k flash part FLASH_SIZE_KB 128 +# UARTs disabled to save flash # order of UARTs -SERIAL_ORDER USART1 +# SERIAL_ORDER USART1 +SERIAL_ORDER +define HAL_USE_UART FALSE +define HAL_NO_UARTDRIVER TRUE define HAL_CAN_POOL_SIZE 6000 -STDOUT_SERIAL SD1 -STDOUT_BAUDRATE 57600 +# STDOUT_SERIAL SD1 +# STDOUT_BAUDRATE 57600 # USART1, telemetry -PB6 USART1_TX USART1 SPEED_HIGH -PB7 USART1_RX USART1 SPEED_HIGH +# PB6 USART1_TX USART1 SPEED_HIGH +# PB7 USART1_RX USART1 SPEED_HIGH # LEDs PA10 LED OUTPUT LOW