1
0
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:
Alexandre Abadie 2021-02-18 18:10:51 +01:00
parent 64b0a6eed2
commit 3f02e3bd12
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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