Skip to content

Commit

Permalink
boards/rpi-pico: specify needed args when using jlink flasher
Browse files Browse the repository at this point in the history
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
  • Loading branch information
dylad committed May 3, 2023
1 parent c4b27d8 commit bd5cff5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boards/rpi-pico/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
CPU_MODEL := RP2040
PORT_LINUX ?= /dev/ttyUSB0

ifeq ($(PROGRAMMER),jlink)
JLINK_DEVICE = RP2040_M0_0
FLASHFILE = $(ELFFILE)
endif

0 comments on commit bd5cff5

Please sign in to comment.