mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
hwdef: added MatekL431-Serial
This commit is contained in:
parent
e5f1c6e27d
commit
1e626a70cb
@ -0,0 +1,2 @@
|
||||
include ../MatekL431/hwdef-bl.inc
|
||||
|
19
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Serial/hwdef.dat
Normal file
19
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Serial/hwdef.dat
Normal file
@ -0,0 +1,19 @@
|
||||
include ../MatekL431/hwdef.inc
|
||||
|
||||
define HAL_PERIPH_ENABLE_SERIAL_OPTIONS
|
||||
|
||||
# enable serial3 port with DMA
|
||||
undef PB10
|
||||
undef PB11
|
||||
PB10 USART3_TX USART3 SPEED_HIGH
|
||||
PB11 USART3_RX USART3 SPEED_HIGH
|
||||
|
||||
# larger CAN pool for faster serial
|
||||
undef HAL_CAN_POOL_SIZE
|
||||
define HAL_CAN_POOL_SIZE 12000
|
||||
|
||||
define HAL_USE_ADC FALSE
|
||||
|
||||
# make the UARTn numbers in parameters match the silkscreen
|
||||
undef SERIAL_ORDER
|
||||
SERIAL_ORDER EMPTY USART1 USART2 USART3
|
@ -335,7 +335,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef AP_UART_MONITOR_ENABLED
|
||||
#define AP_UART_MONITOR_ENABLED defined(HAL_PERIPH_ENABLE_GPS) && (GPS_MOVING_BASELINE || BOARD_FLASH_SIZE>=256)
|
||||
#define AP_UART_MONITOR_ENABLED defined(HAL_PERIPH_ENABLE_SERIAL_OPTIONS) || (defined(HAL_PERIPH_ENABLE_GPS) && (GPS_MOVING_BASELINE || BOARD_FLASH_SIZE>=256))
|
||||
#endif
|
||||
|
||||
#ifndef HAL_BOARD_LOG_DIRECTORY
|
||||
|
Loading…
Reference in New Issue
Block a user