Skip to content

Commit e571a8d

Browse files
committed
Fixup of missed entry in makefile.
1 parent 5411f78 commit e571a8d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,10 +1500,12 @@ $(PROJ_NAME).elf: $(OBJS) $(LINKER_FILE)
15001500

15011501
# binary image for idata0&iram0
15021502
$(PROJ_NAME)_0x00000.bin: $(PROJ_NAME).elf
1503+
# Note that ESPTOOL_CK always returns non zero, ignore errors
15031504
$(Q)$(ESPTOOL_CK) -eo $< -bo $@ -bs .text -bs .data -bs .rodata -bs .iram0.text -bc -ec || true
15041505

15051506
# binary image for irom0
15061507
$(PROJ_NAME)_0x10000.bin: $(PROJ_NAME).elf
1508+
# Note that ESPTOOL_CK always returns non zero, ignore errors
15071509
$(Q)$(ESPTOOL_CK) -eo $< -es .irom0.text $@ -ec || true
15081510

15091511
flash: all $(PROJ_NAME)_0x00000.bin $(PROJ_NAME)_0x10000.bin
@@ -1536,12 +1538,12 @@ $(PROJ_NAME).elf: $(OBJS) $(LINKER_FILE)
15361538
# binary image for idata0&iram0
15371539
$(PROJ_NAME)_0x00000.bin: $(PROJ_NAME).elf
15381540
# Note that ESPTOOL_CK always returns non zero, ignore errors
1539-
-$(Q)$(ESPTOOL_CK) -eo $< -bo $@ -bs .text -bs .data -bs .rodata -bs .iram0.text -bc -ec
1541+
$(Q)$(ESPTOOL_CK) -eo $< -bo $@ -bs .text -bs .data -bs .rodata -bs .iram0.text -bc -ec || true
15401542

15411543
# binary image for irom0
15421544
$(PROJ_NAME)_0x10000.bin: $(PROJ_NAME).elf
15431545
# Note that ESPTOOL_CK always returns non zero, ignore errors
1544-
-$(Q)$(ESPTOOL_CK) -eo $< -es .irom0.text $@ -ec
1546+
$(Q)$(ESPTOOL_CK) -eo $< -es .irom0.text $@ -ec || true
15451547

15461548
flash: all $(PROJ_NAME)_0x00000.bin $(PROJ_NAME)_0x10000.bin
15471549
ifndef COMPORT

0 commit comments

Comments
 (0)