mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/cc2650: use the common uniflash configuration
The content is exactly the same.
This commit is contained in:
parent
f7ec4b7c8a
commit
edaaa78851
@ -10,25 +10,4 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# configure the flash tool
|
||||
export UNIFLASH_PATH ?= "UNIFLASH_PATH unconfigured"
|
||||
# check which uniflash version is available, either 4.x or 3.x
|
||||
ifneq ("$(wildcard $(UNIFLASH_PATH)/dslite.sh)","")
|
||||
export FLASHER ?= $(UNIFLASH_PATH)/dslite.sh
|
||||
export FFLAGS = --config $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml $(ELFFILE)
|
||||
# configure uniflash for resetting target
|
||||
export RESET = $(UNIFLASH_PATH)/simplelink/gen2/bin/xds110reset
|
||||
export RESET_FLAGS
|
||||
else
|
||||
export FLASHER = $(UNIFLASH_PATH)/uniflash.sh
|
||||
export FFLAGS = -ccxml $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml -program $(ELFFILE)
|
||||
# configure uniflash for resetting target
|
||||
export RESET = $(UNIFLASH_PATH)/uniflash.sh
|
||||
export RESET_FLAGS = -ccxml $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml -reset
|
||||
endif
|
||||
# configure the debug server
|
||||
export DEBUGSERVER = $(UNIFLASH_PATH)/ccs_base/common/uscif/gdb_agent_console
|
||||
export DEBUGSERVER_FLAGS = -p 3333 $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).dat
|
||||
|
||||
# configure the debugging tool
|
||||
export DEBUGGER = $(PREFIX)gdb
|
||||
export DEBUGGER_FLAGS = -x $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_gdb.conf $(ELFFILE)
|
||||
include $(RIOTMAKE)/tools/uniflash.inc.mk
|
||||
|
@ -10,25 +10,4 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# configure the flash tool
|
||||
export UNIFLASH_PATH ?= "UNIFLASH_PATH unconfigured"
|
||||
# check which uniflash version is available, either 4.x or 3.x
|
||||
ifneq ("$(wildcard $(UNIFLASH_PATH)/dslite.sh)","")
|
||||
export FLASHER ?= $(UNIFLASH_PATH)/dslite.sh
|
||||
export FFLAGS = --config $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml $(ELFFILE)
|
||||
# configure uniflash for resetting target
|
||||
export RESET = $(UNIFLASH_PATH)/simplelink/gen2/bin/xds110reset
|
||||
export RESET_FLAGS
|
||||
else
|
||||
export FLASHER = $(UNIFLASH_PATH)/uniflash.sh
|
||||
export FFLAGS = -ccxml $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml -program $(ELFFILE)
|
||||
# configure uniflash for resetting target
|
||||
export RESET = $(UNIFLASH_PATH)/uniflash.sh
|
||||
export RESET_FLAGS = -ccxml $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).ccxml -reset
|
||||
endif
|
||||
# configure the debug server
|
||||
export DEBUGSERVER = $(UNIFLASH_PATH)/ccs_base/common/uscif/gdb_agent_console
|
||||
export DEBUGSERVER_FLAGS = -p 3333 $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_$(XDEBUGGER).dat
|
||||
|
||||
# configure the debugging tool
|
||||
export DEBUGGER = $(PREFIX)gdb
|
||||
export DEBUGGER_FLAGS = -x $(RIOTBOARD)/$(BOARD)/dist/$(CPU_MODEL)_gdb.conf $(ELFFILE)
|
||||
include $(RIOTMAKE)/tools/uniflash.inc.mk
|
||||
|
Loading…
Reference in New Issue
Block a user