File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1500,10 +1500,12 @@ $(PROJ_NAME).elf: $(OBJS) $(LINKER_FILE)
1500
1500
1501
1501
# binary image for idata0&iram0
1502
1502
$(PROJ_NAME ) _0x00000.bin : $(PROJ_NAME ) .elf
1503
+ # Note that ESPTOOL_CK always returns non zero, ignore errors
1503
1504
$(Q)$(ESPTOOL_CK) -eo $< -bo $@ -bs .text -bs .data -bs .rodata -bs .iram0.text -bc -ec || true
1504
1505
1505
1506
# binary image for irom0
1506
1507
$(PROJ_NAME ) _0x10000.bin : $(PROJ_NAME ) .elf
1508
+ # Note that ESPTOOL_CK always returns non zero, ignore errors
1507
1509
$(Q)$(ESPTOOL_CK) -eo $< -es .irom0.text $@ -ec || true
1508
1510
1509
1511
flash : all $(PROJ_NAME ) _0x00000.bin $(PROJ_NAME ) _0x10000.bin
@@ -1536,12 +1538,12 @@ $(PROJ_NAME).elf: $(OBJS) $(LINKER_FILE)
1536
1538
# binary image for idata0&iram0
1537
1539
$(PROJ_NAME ) _0x00000.bin : $(PROJ_NAME ) .elf
1538
1540
# 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
1540
1542
1541
1543
# binary image for irom0
1542
1544
$(PROJ_NAME ) _0x10000.bin : $(PROJ_NAME ) .elf
1543
1545
# 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
1545
1547
1546
1548
flash : all $(PROJ_NAME ) _0x00000.bin $(PROJ_NAME ) _0x10000.bin
1547
1549
ifndef COMPORT
You can’t perform that action at this time.
0 commit comments