We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7633cd4 commit 32ab02aCopy full SHA for 32ab02a
boards/arduino-mkrzero/Makefile.include
@@ -1,5 +1,9 @@
1
USEMODULE += arduino-mkr-common
2
3
+ifeq ($(PROGRAMMER),jlink)
4
+ export MKR_JLINK_DEVICE = atsamd21
5
+endif
6
+
7
include $(RIOTBOARD)/arduino-mkr-common/Makefile.include
8
9
# add arduino-mkrzero include path
boards/arduino-mkrzero/include/board.h
@@ -57,7 +57,7 @@ extern "C" {
57
#define LED0_PIN GPIO_PIN(PB, 8)
58
59
#define LED_PORT PORT->Group[PB]
60
-#define LED0_MASK (1 << 20)
+#define LED0_MASK (1 << 8)
61
62
#define LED0_ON (LED_PORT.OUTSET.reg = LED0_MASK)
63
#define LED0_OFF (LED_PORT.OUTCLR.reg = LED0_MASK)
0 commit comments