Skip to content

Commit

Permalink
Merge pull request #5784 from PeterKietzmann/tools_update_cc2538-bsl
Browse files Browse the repository at this point in the history
dist/tools: update serial boot loader script
  • Loading branch information
cgundogan authored Aug 31, 2016
2 parents fad1467 + 5eafb07 commit 924f275
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 106 deletions.
2 changes: 1 addition & 1 deletion boards/cc2538dk/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export RESET = $(RIOTBOARD)/$(BOARD)/dist/reset.sh
export PROGRAMMER ?= cc2538-bsl

ifeq ($(PROGRAMMER),cc2538-bsl)
export FLASHER = python $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FLASHER = $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FFLAGS = -p "$(PORT)" -e -w -v $(HEXFILE)
else ifeq ($(PROGRAMMER),jlink)
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
Expand Down
2 changes: 1 addition & 1 deletion boards/openmote-cc2538/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ifeq ($(PROGRAMMER),jlink)
else
export OFLAGS = -O binary
export HEXFILE = $(ELFFILE:.elf=.bin)
export FLASHER = python $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FLASHER = $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FFLAGS = -p "$(PORT)" -e -w -v -b 460800 $(HEXFILE)
endif

Expand Down
2 changes: 1 addition & 1 deletion boards/remote-common/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ifeq ($(PROGRAMMER),cc2538-bsl)
else ifeq ($(OS),Darwin)
PORT_BSL ?= $(PORT_DARWIN)
endif
export FLASHER = python $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FLASHER = $(RIOTBASE)/dist/tools/cc2538-bsl/cc2538-bsl.py
export FFLAGS = -p "$(PORT_BSL)" -e -w -v -b 115200 $(HEXFILE)
else ifeq ($(PROGRAMMER),jlink)
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
Expand Down
Loading

0 comments on commit 924f275

Please sign in to comment.