1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/testbed-support: use BINFILE for flashing on iotlab

This is a new feature in cli-tools v3 and is supported by all boards except wsn430 and firefly
This commit is contained in:
Alexandre Abadie 2020-03-23 09:39:01 +01:00
parent 877db8c00e
commit 39ea73d48d
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -94,6 +94,14 @@ else
_NODES_DEPLOYED = $(shell iotlab-experiment --jmespath='"0"' --format='" ".join' get $(_IOTLAB_EXP_ID) --deployment)
_NODES_LIST_OPTION = --nodes
_NODES_FLASH_OPTION = --flash
ifneq (,$(filter-out wsn430-% firefly,$(BOARD)))
# All boards in IoT-LAB except firefly and WSN430 can be flashed using $(BINFILE).
# On IoT-LAB, firefly only accepts $(ELFFILE) and WSN320 boards on accept $(HEXFILE).
# Using $(BINFILE) speeds up the firmware upload since the file is much
# smaller than an elffile.
# This feature is only available in cli-tools version >= 3.
FLASHFILE = $(BINFILE)
endif
endif
# Try detecting the node automatically