waf: use ardupilot uploader for HAL_PX4

This commit is contained in:
Andrew Tridgell 2018-06-28 20:10:15 +10:00
parent c955d7b824
commit 95b2587c76

View File

@ -665,6 +665,9 @@ class px4(Board):
self.ROMFS_EXCLUDE = []
# use ardupilot version of px_uploader.py
os.environ['UPLOADER'] = os.path.realpath(os.path.join(os.path.dirname(__file__), 'px_uploader.py'))
def configure(self, cfg):
if not self.bootloader_name:
cfg.fatal('configure: px4: bootloader name is required')