rfc2217虚拟串口

记录烧录esp8266的配置.

${IDF_PAH}\components\esptool_py\esptool\esptool.py

 

DEFAULT_TIMEOUT = 3                   # timeout for most flash operations
START_FLASH_TIMEOUT = 20              # timeout for starting flash (may perform erase)
CHIP_ERASE_TIMEOUT = 120              # timeout for full chip erase
MAX_TIMEOUT = CHIP_ERASE_TIMEOUT * 2  # longest any command can run
SYNC_TIMEOUT = 2                    # timeout for syncing with bootloader
MD5_TIMEOUT_PER_MB = 8                # timeout (per megabyte) for calculating md5sum
ERASE_REGION_TIMEOUT_PER_MB = 30      # timeout (per megabyte) for erasing a region
MEM_END_ROM_TIMEOUT = 5            # special short timeout for ESP_MEM_END, as it may never respond

 

主要修改的是SYNC_TIMEOUT, MEM_END_ROM_TIMEOUT

posted @ 2024-12-28 09:13  richyhuang  阅读(66)  评论(0)    收藏  举报