mirror of https://github.com/ArduPilot/ardupilot
waf: SITL: define bus+addr for LP5562
This commit is contained in:
parent
b019978e22
commit
52d5fbad39
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue