Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. menu "ESP serial flasher"
  2. config SERIAL_FLASHER_MD5_ENABLED
  3. bool "Enable MD5 check"
  4. default y
  5. help
  6. Select this option to enable MD5 hashsum check after flashing.
  7. choice SERIAL_FLASHER_INTERFACE
  8. prompt "Hardware interface to use for firmware download"
  9. default SERIAL_FLASHER_INTERFACE_UART
  10. help
  11. esp-serial-flasher can work with UART and SPI interfaces.
  12. config SERIAL_FLASHER_INTERFACE_UART
  13. bool "UART"
  14. config SERIAL_FLASHER_INTERFACE_SPI
  15. bool "SPI (Only supports downloading to RAM, experimental)"
  16. endchoice
  17. config SERIAL_FLASHER_RESET_HOLD_TIME_MS
  18. int "Time for which the reset pin is asserted when doing a hard reset"
  19. default 100
  20. config SERIAL_FLASHER_BOOT_HOLD_TIME_MS
  21. int "Time for which the boot pin is asserted when doing a hard reset"
  22. default 50
  23. config SERIAL_FLASHER_DEBUG_TRACE
  24. bool "Enable debug tracing output (only transfer data tracing is supported at the time)"
  25. default n
  26. config SERIAL_FLASHER_WRITE_BLOCK_RETRIES
  27. int "Number of retries when writing blocks either to target flash or RAM"
  28. default 3
  29. endmenu