diff --git a/boards/modalai/voxl2/slpi.px4board b/boards/modalai/voxl2/slpi.px4board index 234fc1bfa4..dc88af3cde 100644 --- a/boards/modalai/voxl2/slpi.px4board +++ b/boards/modalai/voxl2/slpi.px4board @@ -37,6 +37,8 @@ CONFIG_DRIVERS_MAGNETOMETER_ISENTEK_IST8310=y CONFIG_DRIVERS_MAGNETOMETER_QMC5883L=y CONFIG_DRIVERS_MAGNETOMETER_ST_IIS2MDC=y CONFIG_DRIVERS_POWER_MONITOR_VOXLPM=y +CONFIG_DRIVERS_POWER_MONITOR_INA226=y +CONFIG_DRIVERS_POWER_MONITOR_INA228=y CONFIG_DRIVERS_QSHELL_QURT=y CONFIG_DRIVERS_RC_CRSF_RC=y CONFIG_DRIVERS_VOXL2_IO=y diff --git a/boards/modalai/voxl2/target/voxl-px4-start b/boards/modalai/voxl2/target/voxl-px4-start index 49fa87f8df..ec1eb73342 100755 --- a/boards/modalai/voxl2/target/voxl-px4-start +++ b/boards/modalai/voxl2/target/voxl-px4-start @@ -215,6 +215,12 @@ fi if [ "$POWER_MANAGER" == "VOXLPM" ]; then # APM power monitor qshell voxlpm start -X -b 2 +elif [ "$POWER_MANAGER" == "INA226" ]; then + /bin/echo "Starting INA226 power monitor" + qshell ina226 start -X -b 2 +elif [ "$POWER_MANAGER" == "INA228" ]; then + /bin/echo "Starting INA228 power monitor" + qshell ina228 start -X -b 2 fi if [ "$AIRSPEED_SENSOR" == "MS4525DO" ]; then