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-27 10:39:31 -04: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)