ardupilot/libraries/AP_HAL_ChibiOS/hwdef/CubePilot-PPPGW/hwdef.dat

27 lines
482 B
Plaintext

include ../CubePilot-CANMod/hwdef.dat
# we need RTS/CTS for the PPP link
undef PE0
undef PE1
# need to use UART8 to get RTS/CTS
PE1 UART8_TX UART8
PE0 UART8_RX UART8
PA10 UART8_RTS UART8
PC11 UART8_CTS_GPIO UART8
SERIAL_ORDER OTG1 UART8
PA4 VDD_5V_SENS ADC1 SCALE(2)
undef HAL_USE_ADC
define HAL_USE_ADC TRUE
define HAL_WITH_MCU_MONITORING 1
# can optionally run at half clock
# MCU_CLOCKRATE_MHZ 200
include ../include/network_PPPGW.inc
define HAL_MONITOR_THREAD_ENABLED 1