1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/cc1312-launchpad/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

12 lines
316 B
Makefile

XDEBUGGER = XDS110
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include