mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: unexport JLINK_DEVICE variable
This commit is contained in:
parent
40e754c9d8
commit
1e9879fbcf
@ -7,7 +7,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# setup the flash tool used
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
||||
export JLINK_DEVICE := $(MKR_JLINK_DEVICE)
|
||||
JLINK_DEVICE = $(MKR_JLINK_DEVICE)
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
else
|
||||
# by default, we use BOSSA to flash this board and take into account the
|
||||
|
@ -15,6 +15,6 @@ ifeq ($(PROGRAMMER),openocd)
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
else ifeq ($(PROGRAMMER),jlink)
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := nrf51822
|
||||
JLINK_DEVICE = nrf51822
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
endif
|
||||
|
@ -14,7 +14,7 @@ include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
||||
PROGRAMMER ?= jlink
|
||||
ifeq (jlink,$(PROGRAMMER))
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := nrf52
|
||||
JLINK_DEVICE = nrf52
|
||||
|
||||
# special options when using SoftDevice
|
||||
ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
||||
|
@ -3,7 +3,7 @@ INCLUDES += -I$(RIOTBOARD)/common/silabs/drivers/include
|
||||
|
||||
PROGRAMMER ?= jlink
|
||||
|
||||
export JLINK_DEVICE ?= ${CPU_MODEL}
|
||||
JLINK_DEVICE ?= ${CPU_MODEL}
|
||||
OPENOCD_CONFIG ?= board/efm32.cfg
|
||||
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
|
@ -11,7 +11,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
include $(RIOTBOARD)/common/slwstk6000b/slwstk6000b.info.mk
|
||||
export JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))
|
||||
JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))
|
||||
|
||||
# include board common
|
||||
include $(RIOTBOARD)/common/silabs/Makefile.include
|
||||
|
@ -7,7 +7,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# setup the flash tool used
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
||||
export JLINK_DEVICE := atsamd21
|
||||
JLINK_DEVICE = atsamd21
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
else
|
||||
# by default, we use BOSSA to flash this board to take into account the
|
||||
|
@ -1,5 +1,5 @@
|
||||
# debugger config
|
||||
export JLINK_DEVICE := atsamr21e18a
|
||||
JLINK_DEVICE = atsamr21e18a
|
||||
OBJDUMPFLAGS += --disassemble --source --disassembler-options=force-thumb
|
||||
OFLAGS := --gap-fill 0xff
|
||||
|
||||
|
@ -7,7 +7,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
# export JLINK := JLink
|
||||
export JLINK_DEVICE := FE310
|
||||
JLINK_DEVICE = FE310
|
||||
export JLINK_IF := JTAG
|
||||
export FLASH_ADDR := 0x20010000
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
@ -3,7 +3,7 @@ PORT_LINUX ?= /dev/ttyACM0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := EFR32MG1PxxxF256
|
||||
JLINK_DEVICE = EFR32MG1PxxxF256
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
||||
# setup serial terminal
|
||||
|
@ -22,7 +22,7 @@ ifeq ($(PROGRAMMER),cc2538-bsl)
|
||||
else ifeq ($(PROGRAMMER),jlink)
|
||||
# Special flashing and reset scripts are required due to board hardware
|
||||
export FLASH_ADDR = 0x200000
|
||||
export JLINK_DEVICE = CC2538SF53
|
||||
JLINK_DEVICE = CC2538SF53
|
||||
export JLINK_IF = JTAG
|
||||
export JLINK_RESET_FILE = $(RIOTBOARD)/openmote-b/dist/hw_reset.seg
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
@ -9,7 +9,7 @@ PROGRAMMER ?= cc2538-bsl
|
||||
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := cc2538sf53
|
||||
JLINK_DEVICE = cc2538sf53
|
||||
export FLASH_ADDR := 0x200000
|
||||
export JLINK_IF := JTAG
|
||||
export TUI := 1
|
||||
|
@ -20,7 +20,7 @@ ifeq ($(PROGRAMMER),pic32prog)
|
||||
include $(RIOTMAKE)/tools/pic32prog.inc.mk
|
||||
else ifeq ($(PROGRAMMER),jlink)
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
export JLINK_DEVICE := PIC32MZ2048EFG100
|
||||
JLINK_DEVICE = PIC32MZ2048EFG100
|
||||
export JLINK_IF := JTAG
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
endif
|
||||
|
@ -7,7 +7,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# setup the flash tool used
|
||||
ifeq ($(PROGRAMMER),jlink)
|
||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
||||
export JLINK_DEVICE := atsamd21
|
||||
JLINK_DEVICE = atsamd21
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
else
|
||||
# by default, we use BOSSA to flash this board to take into account the
|
||||
|
@ -6,7 +6,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := EFR32MG1PxxxF256
|
||||
JLINK_DEVICE = EFR32MG1PxxxF256
|
||||
export JLINK_PRE_FLASH = r
|
||||
|
||||
# include board common
|
||||
|
@ -3,7 +3,7 @@ PORT_LINUX ?= /dev/ttyACM0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
# setup JLink for flashing
|
||||
export JLINK_DEVICE := ezr32wg330f256
|
||||
JLINK_DEVICE = ezr32wg330f256
|
||||
include $(RIOTMAKE)/tools/jlink.inc.mk
|
||||
|
||||
# setup serial terminal
|
||||
|
Loading…
Reference in New Issue
Block a user