Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1bbc389d
Commit
1bbc389d
authored
Nov 28, 2014
by
Paul Sokolovsky
Browse files
esp8266: Allow to override serial port.
parent
075d5974
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/Makefile
View file @
1bbc389d
...
...
@@ -10,6 +10,7 @@ ifeq ($(ESP_SDK),)
$(error
ESP_SDK
must
be
set)
endif
PORT
=
/dev/ttyACM0
CROSS_COMPILE
=
xtensa-lx106-elf-
INC
=
-I
.
...
...
@@ -72,9 +73,9 @@ all: $(BUILD)/firmware-combined.bin
deploy
:
$(BUILD)/firmware-combined.bin
$(ECHO)
"Writing
$<
to the board"
$(Q)
esptool.py
--port
/dev/ttyACM0
write_flash 0
$<
#
$(Q)
esptool.py
--port
/dev/ttyACM0
write_flash 0
$(BUILD)
/firmware.elf-0x00000.bin
#
$(Q)
esptool.py
--port
/dev/ttyACM0
write_flash 0x10000
$(BUILD)
/firmware.elf-0x10000.bin
$(Q)
esptool.py
--port
$(PORT)
write_flash 0
$<
#
$(Q)
esptool.py
--port
$(PORT)
write_flash 0
$(BUILD)
/firmware.elf-0x00000.bin
#
$(Q)
esptool.py
--port
$(PORT)
write_flash 0x10000
$(BUILD)
/firmware.elf-0x10000.bin
$(BUILD)/firmware-combined.bin
:
$(BUILD)/firmware.elf
$(ECHO)
"Create
$@
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment