Peter Barker
5bc3b629f4
AP_BattMonitor: add support for ina3221 triple-channel current/voltage sensor
2024-12-02 10:10:01 -06:00
Alfie Lockrey
8a6880711a
AP_Battery: include OPTIONS parameter on boards with SUM backend
...
Enable battx_options for periphs if useful.
Enable the options parameter for the battery monitor on AP_Periph devices if they could be useful - ie, battery summing is enabled and in use on a node with more than one source for battery inputs.
Only define options in a single place
Single definition for non periph builds or if AP_BATTERY_SUM_ENABLED
2024-11-20 08:52:51 +11:00
Henry Wurzburg
4b5f490e9f
Tools:remove BATTRY_SUM from <1K builds
2024-10-01 09:48:13 +10:00
Bob Long
fd855781d8
AP_BattMonitor: add scripting backend
...
AP_BattMonitor_Scripting: whitespace consistency
2024-01-09 07:53:59 +11:00
Tom Pittenger
6dcaf94c3d
AP_BattMon: add AP_BATTERY_WATT_MAX_ENABLED
2023-11-26 11:57:14 +11:00
Jonathan Loong
5e61e4cdc5
AP_BattMonitor: Addition of AD7091R5 ADC I2C Read Driver
...
This is an ADC extender based on I2C which is used to read the current and voltage. Enable AD7091R5 in config.h which was reserved previously
2023-11-08 18:24:41 +11:00
Tom Pittenger
21ead4e8e3
AP_Battery: add param _ESC_ID to write to ESC_Telem
2023-08-22 16:14:36 -07:00
Peter Barker
85aee2e44a
AP_BattMonitor: create and use AP_BATTERY_ENABLED
...
simply as a way to get HAL_PERIPH_ENABLE_BATTERY out of the main code
2023-06-21 22:28:48 +10:00
Andrew Tridgell
11a2f5ed9c
AP_BattMonitor: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Peter Barker
fab230cd50
AP_BattMonitor: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py
2023-03-12 09:35:35 +11:00
Peter Barker
85501f8219
AP_BattMonitor: add defines for all battery backends
2023-03-10 08:48:24 +11:00
Peter Barker
eab6ef72e1
AP_BattMonitor: add and use AP_BATTMON_SMBUS_SOLO_ENABLED
2023-01-25 22:42:55 +11:00
Peter Barker
6b088c6a83
AP_BattMonitor: add and use an AP_BattMonitor_Config.h
2023-01-25 22:42:55 +11:00