waf: SITL: define bus+addr for LP5562

This commit is contained in:
Peter Barker 2023-04-03 11:20:30 +10:00 committed by Peter Barker
parent b019978e22
commit 52d5fbad39
1 changed files with 3 additions and 0 deletions

View File

@ -642,6 +642,9 @@ class sitl(Board):
cfg.define('AP_OPENDRONEID_ENABLED', 1) cfg.define('AP_OPENDRONEID_ENABLED', 1)
cfg.define('AP_SIGNED_FIRMWARE', 0) cfg.define('AP_SIGNED_FIRMWARE', 0)
cfg.define('AP_NOTIFY_LP5562_BUS', 2)
cfg.define('AP_NOTIFY_LP5562_ADDR', 0x30)
if self.with_can: if self.with_can:
cfg.define('HAL_NUM_CAN_IFACES', 2) cfg.define('HAL_NUM_CAN_IFACES', 2)
env.DEFINES.update(CANARD_MULTI_IFACE=1, env.DEFINES.update(CANARD_MULTI_IFACE=1,