From 03f7df39dddf3e46053fd78502483cdd417dcb40 Mon Sep 17 00:00:00 2001 From: Pradeep Date: Wed, 1 Jun 2022 14:43:38 +1000 Subject: [PATCH] hwdefs: choose node stats - CarbonixF405 and CarbonixL496 Added definition to enable node statistics AP_Periph: choose node stats - CarbonixF405 and CarbonixL496 Added definition to enable node statistics --- libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat | 2 ++ libraries/AP_HAL_ChibiOS/hwdef/CarbonixL496/hwdef.dat | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat index 25c37b9e7f..011bf96f83 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat @@ -108,6 +108,8 @@ PA6 VSENSE2 ADC1 SCALE(1) PB0 VSENSE3 ADC1 SCALE(1) PB1 VSENSE4 ADC1 SCALE(1) +define AP_STATS_ENABLED 1 + define HAL_NO_GCS define HAL_NO_MONITOR_THREAD diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixL496/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixL496/hwdef.dat index c81c43ad10..1b5ff08dc7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixL496/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixL496/hwdef.dat @@ -111,6 +111,8 @@ PA5 VSENSE2 ADC1 SCALE(1) PA6 VSENSE3 ADC1 SCALE(1) PB1 VSENSE4 ADC1 SCALE(1) +define AP_STATS_ENABLED 1 + define HAL_NO_GCS define HAL_NO_MONITOR_THREAD