hwdef: Hitec-Airspeed: disable UART to save flash
This commit is contained in:
parent
a0530a4816
commit
64d9413871
@ -24,17 +24,21 @@ OSCILLATOR_HZ 24000000
|
|||||||
# assume the 128k flash part
|
# assume the 128k flash part
|
||||||
FLASH_SIZE_KB 128
|
FLASH_SIZE_KB 128
|
||||||
|
|
||||||
|
# UARTs disabled to save flash
|
||||||
# order of UARTs
|
# 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
|
define HAL_CAN_POOL_SIZE 6000
|
||||||
|
|
||||||
STDOUT_SERIAL SD1
|
# STDOUT_SERIAL SD1
|
||||||
STDOUT_BAUDRATE 57600
|
# STDOUT_BAUDRATE 57600
|
||||||
|
|
||||||
# USART1, telemetry
|
# USART1, telemetry
|
||||||
PB6 USART1_TX USART1 SPEED_HIGH
|
# PB6 USART1_TX USART1 SPEED_HIGH
|
||||||
PB7 USART1_RX USART1 SPEED_HIGH
|
# PB7 USART1_RX USART1 SPEED_HIGH
|
||||||
|
|
||||||
# LEDs
|
# LEDs
|
||||||
PA10 LED OUTPUT LOW
|
PA10 LED OUTPUT LOW
|
||||||
|
Loading…
Reference in New Issue
Block a user