hwdef: enable an ADC on CubePilot-PPPGW

allows for mcu temp
This commit is contained in:
Andrew Tridgell 2024-03-17 18:40:38 +11:00 committed by Peter Barker
parent 98479658d4
commit bcfc273799
1 changed files with 9 additions and 0 deletions

View File

@ -12,4 +12,13 @@ PC11 UART8_CTS_GPIO UART8
SERIAL_ORDER OTG1 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 include ../include/network_PPPGW.inc