Skip to content

Commit

Permalink
waf: disable battery-balance features on simulated periphs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jan 27, 2025
1 parent b3bc052 commit b5ce6f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ def configure_env(self, cfg, env):
HAL_PERIPH_ENABLE_IMU = 1,
HAL_PERIPH_ENABLE_RANGEFINDER = 1,
AP_PERIPH_BATTERY_ENABLED = 1,
AP_PERIPH_BATTERY_BALANCE_ENABLED = 0,
HAL_PERIPH_ENABLE_EFI = 1,
HAL_PERIPH_ENABLE_RPM = 1,
HAL_PERIPH_ENABLE_RPM_STREAM = 1,
Expand Down Expand Up @@ -998,6 +999,7 @@ def configure_env(self, cfg, env):
APJ_BOARD_ID = 101,

AP_PERIPH_BATTERY_ENABLED = 1,
AP_PERIPH_BATTERY_BALANCE_ENABLED = 0,
)

class esp32(Board):
Expand Down

0 comments on commit b5ce6f1

Please sign in to comment.