mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: set default PROGRAMMER value when flahsing on IoT-LAB
This will avoid to load edbg logic and especially adds it to the list of FLASHDEPS: it won't be unnecessarily built when flashing a samr21-xpro/arduino-zero board on IoT-LAB
This commit is contained in:
parent
fe6d892969
commit
06123ef85b
@ -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