waf: use ardupilot uploader for HAL_PX4
This commit is contained in:
parent
c955d7b824
commit
95b2587c76
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user