From d0b67baefd56a316b95f99f469ea5fd85c3b5e7b Mon Sep 17 00:00:00 2001 From: Hwurzburg Date: Fri, 3 Sep 2021 17:48:39 -0500 Subject: [PATCH] AP_HAL_ChibOS: add pin defs for RSSI to KakuteF7 --- libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat | 1 + 2 files changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat index 510f977233..6124043563 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat @@ -69,6 +69,7 @@ define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_CURR_SCALE 17.0 PC5 RSSI_ADC ADC1 +define BOARD_RSSI_ANA_PIN 15 PA2 LED0 OUTPUT LOW diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat index bca7d18b17..7615b49e26 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat @@ -69,6 +69,7 @@ define HAL_BATT_VOLT_SCALE 10.9 define HAL_BATT_CURR_SCALE 28.5 PC5 RSSI_ADC ADC1 +define BOARD_RSSI_ANA_PIN 15 PA2 LED0 OUTPUT LOW