1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/cc26x2_cc13x2/Makefile.include
Jean Pierre Dudey ca2e2a4289
boards/cc1312-launchpad: add OpenOCD configuration
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>
2020-03-03 13:42:29 -05:00

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