esptool: Remove tabs from KConfig.projbuild
This commit is contained in:
parent
e100acbb73
commit
2909fc182b
|
@ -1,10 +1,10 @@
|
||||||
menu "Serial flasher config"
|
menu "Serial flasher config"
|
||||||
|
|
||||||
config ESPTOOLPY_PORT
|
config ESPTOOLPY_PORT
|
||||||
string "Default serial port"
|
string "Default serial port"
|
||||||
depends on !IDF_CMAKE
|
depends on !IDF_CMAKE
|
||||||
default "/dev/ttyUSB0"
|
default "/dev/ttyUSB0"
|
||||||
help
|
help
|
||||||
The serial port that's connected to the ESP chip. This can be overridden by setting the ESPPORT
|
The serial port that's connected to the ESP chip. This can be overridden by setting the ESPPORT
|
||||||
environment variable.
|
environment variable.
|
||||||
|
|
||||||
|
@ -21,115 +21,115 @@ choice ESPTOOLPY_BAUD
|
||||||
This value is ignored when using the CMake-based build system or idf.py.
|
This value is ignored when using the CMake-based build system or idf.py.
|
||||||
|
|
||||||
config ESPTOOLPY_BAUD_115200B
|
config ESPTOOLPY_BAUD_115200B
|
||||||
bool "115200 baud"
|
bool "115200 baud"
|
||||||
config ESPTOOLPY_BAUD_230400B
|
config ESPTOOLPY_BAUD_230400B
|
||||||
bool "230400 baud"
|
bool "230400 baud"
|
||||||
config ESPTOOLPY_BAUD_921600B
|
config ESPTOOLPY_BAUD_921600B
|
||||||
bool "921600 baud"
|
bool "921600 baud"
|
||||||
config ESPTOOLPY_BAUD_2MB
|
config ESPTOOLPY_BAUD_2MB
|
||||||
bool "2Mbaud"
|
bool "2Mbaud"
|
||||||
config ESPTOOLPY_BAUD_OTHER
|
config ESPTOOLPY_BAUD_OTHER
|
||||||
bool "Other baud rate"
|
bool "Other baud rate"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config ESPTOOLPY_BAUD_OTHER_VAL
|
config ESPTOOLPY_BAUD_OTHER_VAL
|
||||||
int "Other baud rate value" if ESPTOOLPY_BAUD_OTHER
|
int "Other baud rate value" if ESPTOOLPY_BAUD_OTHER
|
||||||
default 115200
|
default 115200
|
||||||
|
|
||||||
config ESPTOOLPY_BAUD
|
config ESPTOOLPY_BAUD
|
||||||
int
|
int
|
||||||
depends on !IDF_CMAKE
|
depends on !IDF_CMAKE
|
||||||
default 115200 if ESPTOOLPY_BAUD_115200B
|
default 115200 if ESPTOOLPY_BAUD_115200B
|
||||||
default 230400 if ESPTOOLPY_BAUD_230400B
|
default 230400 if ESPTOOLPY_BAUD_230400B
|
||||||
default 921600 if ESPTOOLPY_BAUD_921600B
|
default 921600 if ESPTOOLPY_BAUD_921600B
|
||||||
default 2000000 if ESPTOOLPY_BAUD_2MB
|
default 2000000 if ESPTOOLPY_BAUD_2MB
|
||||||
default ESPTOOLPY_BAUD_OTHER_VAL if ESPTOOLPY_BAUD_OTHER
|
default ESPTOOLPY_BAUD_OTHER_VAL if ESPTOOLPY_BAUD_OTHER
|
||||||
|
|
||||||
config ESPTOOLPY_COMPRESSED
|
config ESPTOOLPY_COMPRESSED
|
||||||
bool "Use compressed upload"
|
bool "Use compressed upload"
|
||||||
depends on !IDF_CMAKE
|
depends on !IDF_CMAKE
|
||||||
default "y"
|
default "y"
|
||||||
help
|
help
|
||||||
The flasher tool can send data compressed using zlib, letting the ROM on the ESP chip
|
The flasher tool can send data compressed using zlib, letting the ROM on the ESP chip
|
||||||
decompress it on the fly before flashing it. For most payloads, this should result in a
|
decompress it on the fly before flashing it. For most payloads, this should result in a
|
||||||
speed increase.
|
speed increase.
|
||||||
|
|
||||||
choice FLASHMODE
|
choice FLASHMODE
|
||||||
prompt "Flash SPI mode"
|
prompt "Flash SPI mode"
|
||||||
default FLASHMODE_DIO
|
default FLASHMODE_DIO
|
||||||
help
|
help
|
||||||
Mode the flash chip is flashed in, as well as the default mode for the
|
Mode the flash chip is flashed in, as well as the default mode for the
|
||||||
binary to run in.
|
binary to run in.
|
||||||
|
|
||||||
config FLASHMODE_QIO
|
config FLASHMODE_QIO
|
||||||
bool "QIO"
|
bool "QIO"
|
||||||
config FLASHMODE_QOUT
|
config FLASHMODE_QOUT
|
||||||
bool "QOUT"
|
bool "QOUT"
|
||||||
config FLASHMODE_DIO
|
config FLASHMODE_DIO
|
||||||
bool "DIO"
|
bool "DIO"
|
||||||
config FLASHMODE_DOUT
|
config FLASHMODE_DOUT
|
||||||
bool "DOUT"
|
bool "DOUT"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
# Note: we use esptool.py to flash bootloader in
|
# Note: we use esptool.py to flash bootloader in
|
||||||
# dio mode for QIO/QOUT, bootloader then upgrades
|
# dio mode for QIO/QOUT, bootloader then upgrades
|
||||||
# itself to quad mode during initialisation
|
# itself to quad mode during initialisation
|
||||||
config ESPTOOLPY_FLASHMODE
|
config ESPTOOLPY_FLASHMODE
|
||||||
string
|
string
|
||||||
default "dio" if FLASHMODE_QIO
|
default "dio" if FLASHMODE_QIO
|
||||||
default "dio" if FLASHMODE_QOUT
|
default "dio" if FLASHMODE_QOUT
|
||||||
default "dio" if FLASHMODE_DIO
|
default "dio" if FLASHMODE_DIO
|
||||||
default "dout" if FLASHMODE_DOUT
|
default "dout" if FLASHMODE_DOUT
|
||||||
|
|
||||||
choice ESPTOOLPY_FLASHFREQ
|
choice ESPTOOLPY_FLASHFREQ
|
||||||
prompt "Flash SPI speed"
|
prompt "Flash SPI speed"
|
||||||
default ESPTOOLPY_FLASHFREQ_40M
|
default ESPTOOLPY_FLASHFREQ_40M
|
||||||
help
|
help
|
||||||
The SPI flash frequency to be used.
|
The SPI flash frequency to be used.
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHFREQ_80M
|
config ESPTOOLPY_FLASHFREQ_80M
|
||||||
bool "80 MHz"
|
bool "80 MHz"
|
||||||
config ESPTOOLPY_FLASHFREQ_40M
|
config ESPTOOLPY_FLASHFREQ_40M
|
||||||
bool "40 MHz"
|
bool "40 MHz"
|
||||||
config ESPTOOLPY_FLASHFREQ_26M
|
config ESPTOOLPY_FLASHFREQ_26M
|
||||||
bool "26 MHz"
|
bool "26 MHz"
|
||||||
config ESPTOOLPY_FLASHFREQ_20M
|
config ESPTOOLPY_FLASHFREQ_20M
|
||||||
bool "20 MHz"
|
bool "20 MHz"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHFREQ
|
config ESPTOOLPY_FLASHFREQ
|
||||||
string
|
string
|
||||||
default "80m" if ESPTOOLPY_FLASHFREQ_80M
|
default "80m" if ESPTOOLPY_FLASHFREQ_80M
|
||||||
default "40m" if ESPTOOLPY_FLASHFREQ_40M
|
default "40m" if ESPTOOLPY_FLASHFREQ_40M
|
||||||
default "26m" if ESPTOOLPY_FLASHFREQ_26M
|
default "26m" if ESPTOOLPY_FLASHFREQ_26M
|
||||||
default "20m" if ESPTOOLPY_FLASHFREQ_20M
|
default "20m" if ESPTOOLPY_FLASHFREQ_20M
|
||||||
|
|
||||||
|
|
||||||
choice ESPTOOLPY_FLASHSIZE
|
choice ESPTOOLPY_FLASHSIZE
|
||||||
prompt "Flash size"
|
prompt "Flash size"
|
||||||
default ESPTOOLPY_FLASHSIZE_2MB
|
default ESPTOOLPY_FLASHSIZE_2MB
|
||||||
help
|
help
|
||||||
SPI flash size, in megabytes
|
SPI flash size, in megabytes
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHSIZE_1MB
|
config ESPTOOLPY_FLASHSIZE_1MB
|
||||||
bool "1 MB"
|
bool "1 MB"
|
||||||
config ESPTOOLPY_FLASHSIZE_2MB
|
config ESPTOOLPY_FLASHSIZE_2MB
|
||||||
bool "2 MB"
|
bool "2 MB"
|
||||||
config ESPTOOLPY_FLASHSIZE_4MB
|
config ESPTOOLPY_FLASHSIZE_4MB
|
||||||
bool "4 MB"
|
bool "4 MB"
|
||||||
config ESPTOOLPY_FLASHSIZE_8MB
|
config ESPTOOLPY_FLASHSIZE_8MB
|
||||||
bool "8 MB"
|
bool "8 MB"
|
||||||
config ESPTOOLPY_FLASHSIZE_16MB
|
config ESPTOOLPY_FLASHSIZE_16MB
|
||||||
bool "16 MB"
|
bool "16 MB"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHSIZE
|
config ESPTOOLPY_FLASHSIZE
|
||||||
string
|
string
|
||||||
default "1MB" if ESPTOOLPY_FLASHSIZE_1MB
|
default "1MB" if ESPTOOLPY_FLASHSIZE_1MB
|
||||||
default "2MB" if ESPTOOLPY_FLASHSIZE_2MB
|
default "2MB" if ESPTOOLPY_FLASHSIZE_2MB
|
||||||
default "4MB" if ESPTOOLPY_FLASHSIZE_4MB
|
default "4MB" if ESPTOOLPY_FLASHSIZE_4MB
|
||||||
default "8MB" if ESPTOOLPY_FLASHSIZE_8MB
|
default "8MB" if ESPTOOLPY_FLASHSIZE_8MB
|
||||||
default "16MB" if ESPTOOLPY_FLASHSIZE_16MB
|
default "16MB" if ESPTOOLPY_FLASHSIZE_16MB
|
||||||
|
|
||||||
config ESPTOOLPY_FLASHSIZE_DETECT
|
config ESPTOOLPY_FLASHSIZE_DETECT
|
||||||
bool "Detect flash size when flashing bootloader"
|
bool "Detect flash size when flashing bootloader"
|
||||||
|
|
Loading…
Reference in a new issue