2024-01-11 23:23:25 -04:00
|
|
|
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
|
2024-03-14 06:05:10 -03:00
|
|
|
PA10 UART8_RTS UART8
|
|
|
|
PC11 UART8_CTS_GPIO UART8
|
2024-01-11 23:23:25 -04:00
|
|
|
|
|
|
|
SERIAL_ORDER OTG1 UART8
|
|
|
|
|
2024-03-17 04:40:38 -03:00
|
|
|
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
|
|
|
|
|
2024-01-17 04:38:42 -04:00
|
|
|
include ../include/network_PPPGW.inc
|