File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ $(BUILD)/firmware.bin: $(BUILD)/bootloader.bin $(BUILD)/partitions.bin $(BUILD)/
578
578
579
579
deploy : $(BUILD ) /firmware.bin
580
580
$(ECHO ) " Writing $^ to the board"
581
- $(Q )$(ESPTOOL ) --chip esp32 --port $(PORT ) --baud $(BAUD ) write_flash -z --flash_mode $(FLASH_MODE ) --flash_freq $(FLASH_FREQ ) --flash_size $( FLASH_SIZE ) 0 $^
581
+ $(Q )$(ESPTOOL ) --chip esp32 --port $(PORT ) --baud $(BAUD ) write_flash -z --flash_mode $(FLASH_MODE ) --flash_freq $(FLASH_FREQ ) 0x1000 $^
582
582
583
583
erase :
584
584
$(ECHO ) " Erasing flash"
Original file line number Diff line number Diff line change 11
11
]
12
12
file_out = sys .argv [4 ]
13
13
14
- cur_offset = 0
14
+ cur_offset = OFFSET_BOOTLOADER
15
15
with open (file_out , 'wb' ) as fout :
16
16
for name , offset , file_in in files_in :
17
17
assert offset >= cur_offset
You can’t perform that action at this time.
0 commit comments