From 230896873776225e7f1005b88c57e9110a4cccff Mon Sep 17 00:00:00 2001 From: Hayden Donald Date: Mon, 18 Nov 2024 11:50:36 +1100 Subject: [PATCH] AP_HAL_ChibiOS: CubeNode-ETH add LEDs Added the LEDs for CubeNode-ETH to the hwdef --- libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat index 20af0387d0..e4dccc4a8e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeNode-ETH/hwdef.dat @@ -17,6 +17,11 @@ SERIAL_ORDER OTG1 UART8 PA4 VDD_5V_SENS ADC1 SCALE(2) +# LEDs +undef PC11 +PC11 LED0 OUTPUT LOW GPIO(0) +PB14 LED1 OUTPUT LOW GPIO(1) + undef HAL_USE_ADC define HAL_USE_ADC TRUE define HAL_WITH_MCU_MONITORING 1