px4/fmu-v5/6x: Upstream power manager for FMU

Detects and configures it correctly for the Auterion INA226-based power
modules.
This commit is contained in:
Niklas Hauser
2023-09-12 17:42:05 +02:00
committed by Daniel Agar
parent 23cf0a7317
commit 43d859313b
8 changed files with 396 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@ CONFIG_COMMON_OSD=y
CONFIG_DRIVERS_POWER_MONITOR_INA226=y
CONFIG_DRIVERS_POWER_MONITOR_INA228=y
CONFIG_DRIVERS_POWER_MONITOR_INA238=y
CONFIG_DRIVERS_POWER_MONITOR_PM_SELECTOR_AUTERION=y
CONFIG_DRIVERS_PWM_OUT=y
CONFIG_DRIVERS_PX4IO=y
CONFIG_COMMON_RC=y
+3
View File
@@ -94,6 +94,9 @@ else
# Internal magnetometer on I2c
bmm150 -I -R 6 start
# Auto start power monitors
pm_selector_auterion start
fi
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
+1
View File
@@ -35,6 +35,7 @@ CONFIG_COMMON_OSD=y
CONFIG_DRIVERS_POWER_MONITOR_INA226=y
CONFIG_DRIVERS_POWER_MONITOR_INA228=y
CONFIG_DRIVERS_POWER_MONITOR_INA238=y
CONFIG_DRIVERS_POWER_MONITOR_PM_SELECTOR_AUTERION=y
CONFIG_DRIVERS_PWM_OUT=y
CONFIG_DRIVERS_PX4IO=y
CONFIG_DRIVERS_RC_INPUT=y
+5
View File
@@ -47,6 +47,11 @@ then
fi
fi
#Start Auterion Power Module selector for Skynode boards
if ver hwtypecmp V6X009010 V6X010010
then
pm_selector_auterion start
fi
if ver hwtypecmp V6X000006 V6X004006 V6X005006
then