mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
a single esptool command for erasing and flashing (#6765)
* esptool: a single command for erasing and flashing (and update to esptool-2.8) * fixes per review
This commit is contained in:
@ -942,7 +942,7 @@ macros = {
|
||||
( '.upload.tool', 'esptool' ),
|
||||
( '.upload.maximum_data_size', '81920' ),
|
||||
( '.upload.wait_for_upload_port', 'true' ),
|
||||
( '.upload.erase_cmd', 'flash_id'),
|
||||
( '.upload.erase_cmd', ''),
|
||||
( '.serial.disableDTR', 'true' ),
|
||||
( '.serial.disableRTS', 'true' ),
|
||||
( '.build.mcu', 'esp8266' ),
|
||||
@ -1170,7 +1170,7 @@ macros = {
|
||||
|
||||
'flash_erase_menu': collections.OrderedDict([
|
||||
( '.menu.wipe.none', 'Only Sketch' ),
|
||||
( '.menu.wipe.none.upload.erase_cmd', 'flash_id' ),
|
||||
( '.menu.wipe.none.upload.erase_cmd', '' ),
|
||||
( '.menu.wipe.sdk', 'Sketch + WiFi Settings' ),
|
||||
( '.menu.wipe.sdk.upload.erase_cmd', 'erase_region "{build.rfcal_addr}" 0x4000' ),
|
||||
( '.menu.wipe.all', 'All Flash Contents' ),
|
||||
|
Reference in New Issue
Block a user