hwdef: Hitec-Airspeed: disable UART to save flash

This commit is contained in:
Iampete1 2022-09-02 20:14:33 +01:00 committed by Andrew Tridgell
parent a0530a4816
commit 64d9413871

View File

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