Skip to content

Commit

Permalink
Makefile.include: set default PROGRAMMER value when flahsing on IoT-LAB
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aabadie committed Sep 27, 2019
1 parent aa84406 commit 556be74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ OS := $(shell uname)
# set python path, e.g. for tests
PYTHONPATH := $(RIOTBASE)/dist/pythonlibs/:$(PYTHONPATH)

# 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

# Include Docker settings near the top because we need to build the environment
# command line before some of the variable origins are overwritten below when
# using abspath, strip etc.
Expand Down

0 comments on commit 556be74

Please sign in to comment.