Skip to content

Commit

Permalink
hwdef: enable an ADC on CubePilot-PPPGW
Browse files Browse the repository at this point in the history
allows for mcu temp
  • Loading branch information
tridge authored and peterbarker committed Jun 27, 2024
1 parent 9847965 commit bcfc273
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubePilot-PPPGW/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@ 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

0 comments on commit bcfc273

Please sign in to comment.