Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
fd9fa715
Commit
fd9fa715
authored
Jun 21, 2016
by
Johny Mattsson
Browse files
Ensure ESP32 bins are created fresh.
Just appending to previously built bins was not a successful approach...
parent
d33945b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fd9fa715
...
@@ -165,6 +165,7 @@ $(BINODIR)/%.bin: $(IMAGEODIR)/%.out
...
@@ -165,6 +165,7 @@ $(BINODIR)/%.bin: $(IMAGEODIR)/%.out
ifeq
($(HW),ESP8266)
ifeq
($(HW),ESP8266)
$(ESPTOOL)
elf2image
$<
-o
$(FIRMWAREDIR)
$(ESPTOOL)
elf2image
$<
-o
$(FIRMWAREDIR)
else
ifeq
($(HW),ESP32)
else
ifeq
($(HW),ESP32)
@rm
-f
$(FIRMWAREDIR)/*
@$(OBJCOPY)
--only-section
.text
-O
binary
$<
eagle.app.v7.text.bin
@$(OBJCOPY)
--only-section
.text
-O
binary
$<
eagle.app.v7.text.bin
@$(OBJCOPY)
--only-section
.data
-O
binary
$<
eagle.app.v7.data.bin
@$(OBJCOPY)
--only-section
.data
-O
binary
$<
eagle.app.v7.data.bin
@$(OBJCOPY)
--only-section
.rodata
-O
binary
$<
eagle.app.v7.rodata.bin
@$(OBJCOPY)
--only-section
.rodata
-O
binary
$<
eagle.app.v7.rodata.bin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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