Browse Source

waf: allow opendroneid on sitl on cygwin and macos

should be now with the structure changes
master
Andrew Tridgell 3 years ago
parent
commit
a82758bc3e
  1. 2
      Tools/ardupilotwaf/boards.py

2
Tools/ardupilotwaf/boards.py

@ -575,8 +575,6 @@ class sitl(Board):
cfg.define('HAL_WITH_SPI', 1) cfg.define('HAL_WITH_SPI', 1)
cfg.define('HAL_WITH_RAMTRON', 1) cfg.define('HAL_WITH_RAMTRON', 1)
cfg.define('AP_GENERATOR_RICHENPOWER_ENABLED', 1) cfg.define('AP_GENERATOR_RICHENPOWER_ENABLED', 1)
if Utils.unversioned_sys_platform() != 'cygwin' and sys.platform != 'darwin':
# enable OpenDroneID, but not on cygwin or macos due to compiler version used
cfg.define('AP_OPENDRONEID_ENABLED', 1) cfg.define('AP_OPENDRONEID_ENABLED', 1)
if self.with_can: if self.with_can:

Loading…
Cancel
Save