[riot-notifications] [RIOT-OS/RIOT] Makefile.include: set default PROGRAMMER value when flashing on IoT-LAB (#12317)

Gaëtan Harter notifications at github.com
Fri Sep 27 19:12:20 CEST 2019

cladmi commented on this pull request.

> @@ -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

Keep it with `?=` to allow easily overwriting it from the environment in case it is required.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190927/dda10bdb/attachment.htm>

More information about the notifications mailing list