mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
Merge pull request #12317 from aabadie/pr/make/iotlab_node_flash
Makefile.include: set default PROGRAMMER value when flashing on IoT-LAB
This commit is contained in:
commit
c215deb952
@ -272,6 +272,13 @@ export TOOLCHAIN
|
||||
# will most likely not need to touch this.
|
||||
export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
|
||||
|
||||
# set default PROGRAMMER value if flashing a board on IoT-LAB
|
||||
# This must be done before parsing the Makefile.include of the board and cannot
|
||||
# be done in makefile.iotlab.single.inc.mk which is included after.
|
||||
ifneq (,$(IOTLAB_NODE))
|
||||
PROGRAMMER ?= iotlab
|
||||
endif
|
||||
|
||||
# Add standard include directories
|
||||
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user