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 c81c1cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ 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
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 c81c1cc

Please sign in to comment.