mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ca2e2a4289
This enables OpenOCD for the CC1312 LaunchPad. All we need is: - The Texas Instruments version of OpenOCD (https://git.ti.com/cgit/sdo-emu/openocd) - Set the `PROGRAMMER` environment variable to `openocd`. - Connect a cc1312-launchpad and play with the commands. Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
11 lines
278 B
Makefile
11 lines
278 B
Makefile
# configure the flash tool
|
|
PROGRAMMER ?= uniflash
|
|
|
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/cc26x2_cc13x2/dist/openocd.cfg
|
|
|
|
ifeq ($(PROGRAMMER),uniflash)
|
|
include $(RIOTMAKE)/tools/uniflash.inc.mk
|
|
else ifeq ($(PROGRAMMER),openocd)
|
|
include $(RIOTMAKE)/tools/openocd.inc.mk
|
|
endif
|