Merge pull request #2008 from alignan/pull/change-baudrate-zoul
zoul: default cc2538-bsl baudrate to 460800
This commit is contained in:
commit
edec34f684
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue