zoul: default cc2538-bsl baudrate to 460800

This commit is contained in:
Antonio Lignan 2016-12-20 18:18:28 +01:00
parent 9ef28c7eae
commit 3594cf5167

View File

@ -18,6 +18,8 @@ endif
PYTHON = python
BSL_FLAGS += -e -w -v
BSL_SPEED ?= 460800
# Works in Linux and probably on OSX too (RTCC example)
CFLAGS += -DDATE="\"`date +"%02u %02d %02m %02y %02H %02M %02S"`\""
@ -98,7 +100,7 @@ define UPLOAD_RULE
@BSL_ADDRESS=`$(OBJDUMP) -h $$*.elf | grep -B1 LOAD | \
grep -Ev 'LOAD|\-\-' | awk '{print "0x" $$$$5}' | \
sort -g | head -1`; \
$(PYTHON) $(BSL) $(BSL_FLAGS) -a $$$${BSL_ADDRESS} -p $(MOTE) $$<
$(PYTHON) $(BSL) $(BSL_FLAGS) -b $(BSL_SPEED) -a $$$${BSL_ADDRESS} -p $(MOTE) $$<
endef
### Create an upload rule for every MOTE connected