mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/openmote*: introduce CC2538_BSL_FLASHFFILE variable
This allows to remove the last cc2538-bsl programmer conditional at board level
This commit is contained in:
parent
64b0a6eed2
commit
3f02e3bd12
@ -5,8 +5,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||
PROGRAMMER ?= cc2538-bsl
|
||||
|
||||
CC2538_BSL_FLAGS_OPTS ?= --bootloader-invert-lines
|
||||
ifeq ($(PROGRAMMER),cc2538-bsl)
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
endif
|
||||
CC2538_BSL_FLASHFILE ?= $(HEXFILE)
|
||||
|
||||
include $(RIOTBOARD)/common/cc2538/Makefile.include
|
||||
|
@ -3,9 +3,6 @@ PORT_LINUX ?= /dev/ttyUSB0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||
|
||||
PROGRAMMER ?= cc2538-bsl
|
||||
|
||||
ifeq ($(PROGRAMMER),cc2538-bsl)
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
endif
|
||||
CC2538_BSL_FLASHFILE ?= $(HEXFILE)
|
||||
|
||||
include $(RIOTBOARD)/common/cc2538/Makefile.include
|
||||
|
@ -1,4 +1,5 @@
|
||||
FLASHFILE ?= $(BINFILE)
|
||||
CC2538_BSL_FLASHFILE ?= $(BINFILE)
|
||||
FLASHFILE ?= $(CC2538_BSL_FLASHFILE)
|
||||
CC2538_BSL ?= $(RIOTTOOLS)/cc2538-bsl/cc2538-bsl.py
|
||||
PROG_BAUD ?= 500000 # default value in cc2538-bsl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user