mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/correct_kconfigs' into 'master'
Correct Kconfigs according to the coding style See merge request idf/esp-idf!4172
This commit is contained in:
commit
0a2b54d2e3
@ -1,22 +1,21 @@
|
||||
menu "Application manager"
|
||||
|
||||
config APP_COMPILE_TIME_DATE
|
||||
config APP_COMPILE_TIME_DATE
|
||||
bool "Use time/date stamp for app"
|
||||
default y
|
||||
help
|
||||
If set, then the app will be built with the current time/date stamp. It is stored in the app description structure.
|
||||
If not set, time/date stamp will be excluded from app image.
|
||||
This can be useful for getting the same binary image files made from the same source,
|
||||
but at different times.
|
||||
If set, then the app will be built with the current time/date stamp. It is stored in the app description
|
||||
structure. If not set, time/date stamp will be excluded from app image. This can be useful for getting the
|
||||
same binary image files made from the same source, but at different times.
|
||||
|
||||
config APP_EXCLUDE_PROJECT_VER_VAR
|
||||
config APP_EXCLUDE_PROJECT_VER_VAR
|
||||
bool "Exclude PROJECT_VER from firmware image"
|
||||
default n
|
||||
help
|
||||
The PROJECT_VER variable from the build system will not affect the firmware image.
|
||||
This value will not be contained in the esp_app_desc structure.
|
||||
|
||||
config APP_EXCLUDE_PROJECT_NAME_VAR
|
||||
config APP_EXCLUDE_PROJECT_NAME_VAR
|
||||
bool "Exclude PROJECT_NAME from firmware image"
|
||||
default n
|
||||
help
|
||||
|
@ -86,7 +86,7 @@ config AWS_IOT_MQTT_MAX_RECONNECT_WAIT_INTERVAL
|
||||
menu "Thing Shadow"
|
||||
depends on AWS_IOT_SDK
|
||||
|
||||
config AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
|
||||
config AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
|
||||
bool "Override Shadow RX buffer size"
|
||||
depends on AWS_IOT_SDK
|
||||
default n
|
||||
@ -95,9 +95,10 @@ config AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
|
||||
size. This is the maximum size of a Thing Shadow
|
||||
message in bytes, plus one.
|
||||
|
||||
If not overridden, the default value is the MQTT RX Buffer length plus one. If overriden, do not set higher than the default value.
|
||||
If not overridden, the default value is the MQTT RX Buffer length plus one. If overriden, do not set
|
||||
higher than the default value.
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER
|
||||
int "Maximum RX Buffer (bytes)"
|
||||
depends on AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
|
||||
default 513
|
||||
@ -108,7 +109,7 @@ config AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER
|
||||
plus one.
|
||||
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES
|
||||
int "Maximum unique client ID size (bytes)"
|
||||
depends on AWS_IOT_SDK
|
||||
default 80
|
||||
@ -116,38 +117,43 @@ config AWS_IOT_SHADOW_MAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES
|
||||
help
|
||||
Maximum size of the Unique Client Id.
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_ACKS
|
||||
config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_ACKS
|
||||
int "Maximum simultaneous responses"
|
||||
depends on AWS_IOT_SDK
|
||||
default 10
|
||||
range 1 100
|
||||
help
|
||||
At any given time we will wait for this many responses. This will correlate to the rate at which the shadow actions are requested
|
||||
At any given time we will wait for this many responses. This will correlate to the rate at which the
|
||||
shadow actions are requested
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_THINGNAMES
|
||||
config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_THINGNAMES
|
||||
int "Maximum simultaneous Thing Name operations"
|
||||
depends on AWS_IOT_SDK
|
||||
default 10
|
||||
range 1 100
|
||||
help
|
||||
We could perform shadow action on any thing Name and this is maximum Thing Names we can act on at any given time
|
||||
We could perform shadow action on any thing Name and this is maximum Thing Names we can act on at any
|
||||
given time
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_JSON_TOKEN_EXPECTED
|
||||
config AWS_IOT_SHADOW_MAX_JSON_TOKEN_EXPECTED
|
||||
int "Maximum expected JSON tokens"
|
||||
depends on AWS_IOT_SDK
|
||||
default 120
|
||||
help
|
||||
These are the max tokens that is expected to be in the Shadow JSON document. Includes the metadata which is published
|
||||
These are the max tokens that is expected to be in the Shadow JSON document. Includes the metadata which
|
||||
is published
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME
|
||||
config AWS_IOT_SHADOW_MAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME
|
||||
int "Maximum topic length (not including Thing Name)"
|
||||
depends on AWS_IOT_SDK
|
||||
default 60
|
||||
range 10 1000
|
||||
help
|
||||
All shadow actions have to be published or subscribed to a topic which is of the format $aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing Name
|
||||
All shadow actions have to be published or subscribed to a topic which is of the format
|
||||
$aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing
|
||||
Name
|
||||
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_THING_NAME
|
||||
config AWS_IOT_SHADOW_MAX_SIZE_OF_THING_NAME
|
||||
int "Maximum Thing Name length"
|
||||
depends on AWS_IOT_SDK
|
||||
default 20
|
||||
@ -156,4 +162,3 @@ config AWS_IOT_SHADOW_MAX_SIZE_OF_THING_NAME
|
||||
Maximum length of a Thing Name.
|
||||
|
||||
endmenu # Thing Shadow
|
||||
|
||||
|
@ -1,25 +1,25 @@
|
||||
menu "Bootloader config"
|
||||
choice LOG_BOOTLOADER_LEVEL
|
||||
choice LOG_BOOTLOADER_LEVEL
|
||||
bool "Bootloader log verbosity"
|
||||
default LOG_BOOTLOADER_LEVEL_INFO
|
||||
help
|
||||
Specify how much output to see in bootloader logs.
|
||||
|
||||
config LOG_BOOTLOADER_LEVEL_NONE
|
||||
config LOG_BOOTLOADER_LEVEL_NONE
|
||||
bool "No output"
|
||||
config LOG_BOOTLOADER_LEVEL_ERROR
|
||||
config LOG_BOOTLOADER_LEVEL_ERROR
|
||||
bool "Error"
|
||||
config LOG_BOOTLOADER_LEVEL_WARN
|
||||
config LOG_BOOTLOADER_LEVEL_WARN
|
||||
bool "Warning"
|
||||
config LOG_BOOTLOADER_LEVEL_INFO
|
||||
config LOG_BOOTLOADER_LEVEL_INFO
|
||||
bool "Info"
|
||||
config LOG_BOOTLOADER_LEVEL_DEBUG
|
||||
config LOG_BOOTLOADER_LEVEL_DEBUG
|
||||
bool "Debug"
|
||||
config LOG_BOOTLOADER_LEVEL_VERBOSE
|
||||
config LOG_BOOTLOADER_LEVEL_VERBOSE
|
||||
bool "Verbose"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config LOG_BOOTLOADER_LEVEL
|
||||
config LOG_BOOTLOADER_LEVEL
|
||||
int
|
||||
default 0 if LOG_BOOTLOADER_LEVEL_NONE
|
||||
default 1 if LOG_BOOTLOADER_LEVEL_ERROR
|
||||
@ -28,41 +28,41 @@ config LOG_BOOTLOADER_LEVEL
|
||||
default 4 if LOG_BOOTLOADER_LEVEL_DEBUG
|
||||
default 5 if LOG_BOOTLOADER_LEVEL_VERBOSE
|
||||
|
||||
config BOOTLOADER_SPI_WP_PIN
|
||||
int "SPI Flash WP Pin when customising pins via efuse (read help)"
|
||||
config BOOTLOADER_SPI_WP_PIN
|
||||
int "SPI Flash WP Pin when customising pins via eFuse (read help)"
|
||||
range 0 33
|
||||
default 7
|
||||
depends on FLASHMODE_QIO || FLASHMODE_QOUT
|
||||
help
|
||||
This value is ignored unless flash mode is set to QIO or QOUT *and* the SPI flash pins have been
|
||||
overriden by setting the efuses SPI_PAD_CONFIG_xxx.
|
||||
overriden by setting the eFuses SPI_PAD_CONFIG_xxx.
|
||||
|
||||
When this is the case, the Efuse config only defines 3 of the 4 Quad I/O data pins. The WP pin (aka ESP32
|
||||
pin "SD_DATA_3" or SPI flash pin "IO2") is not specified in Efuse. That pin number is compiled into the bootloader
|
||||
instead.
|
||||
When this is the case, the eFuse config only defines 3 of the 4 Quad I/O data pins. The WP pin (aka ESP32
|
||||
pin "SD_DATA_3" or SPI flash pin "IO2") is not specified in eFuse. That pin number is compiled into the
|
||||
bootloader instead.
|
||||
|
||||
The default value (GPIO 7) is correct for WP pin on ESP32-D2WD integrated flash.
|
||||
|
||||
choice BOOTLOADER_VDDSDIO_BOOST
|
||||
choice BOOTLOADER_VDDSDIO_BOOST
|
||||
bool "VDDSDIO LDO voltage"
|
||||
default BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||
help
|
||||
If this option is enabled, and VDDSDIO LDO is set to 1.8V (using EFUSE
|
||||
If this option is enabled, and VDDSDIO LDO is set to 1.8V (using eFuse
|
||||
or MTDI bootstrapping pin), bootloader will change LDO settings to
|
||||
output 1.9V instead. This helps prevent flash chip from browning out
|
||||
during flash programming operations.
|
||||
|
||||
This option has no effect if VDDSDIO is set to 3.3V, or if the internal
|
||||
VDDSDIO regulator is disabled via efuse.
|
||||
VDDSDIO regulator is disabled via eFuse.
|
||||
|
||||
config BOOTLOADER_VDDSDIO_BOOST_1_8V
|
||||
config BOOTLOADER_VDDSDIO_BOOST_1_8V
|
||||
bool "1.8V"
|
||||
depends on !ESPTOOLPY_FLASHFREQ_80M
|
||||
config BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||
config BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||
bool "1.9V"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config BOOTLOADER_FACTORY_RESET
|
||||
config BOOTLOADER_FACTORY_RESET
|
||||
bool "GPIO triggers factory reset"
|
||||
default N
|
||||
help
|
||||
@ -72,7 +72,7 @@ config BOOTLOADER_FACTORY_RESET
|
||||
The factory reset will occur if there is a GPIO input pulled low while device starts up.
|
||||
See settings below.
|
||||
|
||||
config BOOTLOADER_NUM_PIN_FACTORY_RESET
|
||||
config BOOTLOADER_NUM_PIN_FACTORY_RESET
|
||||
int "Number of the GPIO input for factory reset"
|
||||
depends on BOOTLOADER_FACTORY_RESET
|
||||
range 0 39
|
||||
@ -82,24 +82,26 @@ config BOOTLOADER_NUM_PIN_FACTORY_RESET
|
||||
To trigger a factory reset, this GPIO must be pulled low on reset.
|
||||
Note that GPIO34-39 do not have an internal pullup and an external one must be provided.
|
||||
|
||||
config BOOTLOADER_OTA_DATA_ERASE
|
||||
config BOOTLOADER_OTA_DATA_ERASE
|
||||
bool "Clear OTA data on factory reset (select factory partition)"
|
||||
depends on BOOTLOADER_FACTORY_RESET
|
||||
help
|
||||
The device will boot from "factory" partition (or OTA slot 0 if no factory partition is present) after a factory reset.
|
||||
The device will boot from "factory" partition (or OTA slot 0 if no factory partition is present) after a
|
||||
factory reset.
|
||||
|
||||
config BOOTLOADER_DATA_FACTORY_RESET
|
||||
config BOOTLOADER_DATA_FACTORY_RESET
|
||||
string "Comma-separated names of partitions to clear on factory reset"
|
||||
depends on BOOTLOADER_FACTORY_RESET
|
||||
default "nvs"
|
||||
help
|
||||
Allows customers to select which data partitions will be erased while factory reset.
|
||||
|
||||
Specify the names of partitions as a comma-delimited with optional spaces for readability. (Like this: "nvs, phy_init, ...")
|
||||
Specify the names of partitions as a comma-delimited with optional spaces for readability. (Like this:
|
||||
"nvs, phy_init, ...")
|
||||
Make sure that the name specified in the partition table and here are the same.
|
||||
Partitions of type "app" cannot be specified here.
|
||||
|
||||
config BOOTLOADER_APP_TEST
|
||||
config BOOTLOADER_APP_TEST
|
||||
bool "GPIO triggers boot from test app partition"
|
||||
default N
|
||||
help
|
||||
@ -107,7 +109,7 @@ config BOOTLOADER_APP_TEST
|
||||
A boot from "test" partition will occur if there is a GPIO input pulled low while device starts up.
|
||||
See settings below.
|
||||
|
||||
config BOOTLOADER_NUM_PIN_APP_TEST
|
||||
config BOOTLOADER_NUM_PIN_APP_TEST
|
||||
int "Number of the GPIO input to boot TEST partition"
|
||||
depends on BOOTLOADER_APP_TEST
|
||||
range 0 39
|
||||
@ -119,7 +121,7 @@ config BOOTLOADER_NUM_PIN_APP_TEST
|
||||
(factory or OTA[x]).
|
||||
Note that GPIO34-39 do not have an internal pullup and an external one must be provided.
|
||||
|
||||
config BOOTLOADER_HOLD_TIME_GPIO
|
||||
config BOOTLOADER_HOLD_TIME_GPIO
|
||||
int "Hold time of GPIO for reset/test mode (seconds)"
|
||||
depends on BOOTLOADER_FACTORY_RESET || BOOTLOADER_APP_TEST
|
||||
default 5
|
||||
@ -127,18 +129,20 @@ config BOOTLOADER_HOLD_TIME_GPIO
|
||||
The GPIO must be held low continuously for this period of time after reset
|
||||
before a factory reset or test partition boot (as applicable) is performed.
|
||||
|
||||
config BOOTLOADER_WDT_ENABLE
|
||||
config BOOTLOADER_WDT_ENABLE
|
||||
bool "Use RTC watchdog in start code"
|
||||
default y
|
||||
help
|
||||
Tracks the execution time of startup code.
|
||||
If the execution time is exceeded, the RTC_WDT will restart system.
|
||||
It is also useful to prevent a lock up in start code caused by an unstable power source.
|
||||
NOTE: Tracks the execution time starts from the bootloader code - re-set timeout, while selecting the source for slow_clk - and ends calling app_main.
|
||||
Re-set timeout is needed due to WDT uses a SLOW_CLK clock source. After changing a frequency slow_clk a time of WDT needs to re-set for new frequency.
|
||||
NOTE: Tracks the execution time starts from the bootloader code - re-set timeout, while selecting the
|
||||
source for slow_clk - and ends calling app_main.
|
||||
Re-set timeout is needed due to WDT uses a SLOW_CLK clock source. After changing a frequency slow_clk a
|
||||
time of WDT needs to re-set for new frequency.
|
||||
slow_clk depends on ESP32_RTC_CLOCK_SOURCE (INTERNAL_RC or EXTERNAL_CRYSTAL).
|
||||
|
||||
config BOOTLOADER_WDT_DISABLE_IN_USER_CODE
|
||||
config BOOTLOADER_WDT_DISABLE_IN_USER_CODE
|
||||
bool "Allows RTC watchdog disable in user code"
|
||||
depends on BOOTLOADER_WDT_ENABLE
|
||||
default n
|
||||
@ -148,7 +152,7 @@ config BOOTLOADER_WDT_DISABLE_IN_USER_CODE
|
||||
Use function rtc_wdt_feed() for resetting counter of rtc_wdt.
|
||||
Use function rtc_wdt_disable() for disabling rtc_wdt.
|
||||
|
||||
config BOOTLOADER_WDT_TIME_MS
|
||||
config BOOTLOADER_WDT_TIME_MS
|
||||
int "Timeout for RTC watchdog (ms)"
|
||||
depends on BOOTLOADER_WDT_ENABLE
|
||||
default 9000
|
||||
@ -159,16 +163,15 @@ config BOOTLOADER_WDT_TIME_MS
|
||||
- these options can increase the execution time.
|
||||
Note: RTC_WDT will reset while encryption operations will be performed.
|
||||
|
||||
config APP_ROLLBACK_ENABLE
|
||||
config APP_ROLLBACK_ENABLE
|
||||
bool "Enable app rollback support"
|
||||
default n
|
||||
help
|
||||
After updating the app, the bootloader runs a new app with the "ESP_OTA_IMG_PENDING_VERIFY" state set.
|
||||
This state prevents the re-run of this app.
|
||||
After the first boot of the new app in the user code, the function should be called to confirm
|
||||
the operability of the app or vice versa about its non-operability. If the app is working,
|
||||
then it is marked as valid. Otherwise, it is marked as not valid and rolls back to the previous working app.
|
||||
A reboot is performed, and the app is booted before the software update.
|
||||
This state prevents the re-run of this app. After the first boot of the new app in the user code, the
|
||||
function should be called to confirm the operability of the app or vice versa about its non-operability.
|
||||
If the app is working, then it is marked as valid. Otherwise, it is marked as not valid and rolls back to
|
||||
the previous working app. A reboot is performed, and the app is booted before the software update.
|
||||
Note: If during the first boot a new app the power goes out or the WDT works, then roll back will happen.
|
||||
|
||||
endmenu # Bootloader
|
||||
@ -176,103 +179,117 @@ endmenu # Bootloader
|
||||
|
||||
menu "Security features"
|
||||
|
||||
# These three are the actual options to check in code,
|
||||
# selected by the displayed options
|
||||
config SECURE_SIGNED_ON_BOOT
|
||||
# These three are the actual options to check in code,
|
||||
# selected by the displayed options
|
||||
config SECURE_SIGNED_ON_BOOT
|
||||
bool
|
||||
default y
|
||||
depends on SECURE_BOOT_ENABLED || SECURE_SIGNED_ON_BOOT_NO_SECURE_BOOT
|
||||
|
||||
config SECURE_SIGNED_ON_UPDATE
|
||||
config SECURE_SIGNED_ON_UPDATE
|
||||
bool
|
||||
default y
|
||||
depends on SECURE_BOOT_ENABLED || SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
|
||||
|
||||
config SECURE_SIGNED_APPS
|
||||
config SECURE_SIGNED_APPS
|
||||
bool
|
||||
default y
|
||||
depends on SECURE_SIGNED_ON_BOOT || SECURE_SIGNED_ON_UPDATE
|
||||
|
||||
|
||||
config SECURE_SIGNED_APPS_NO_SECURE_BOOT
|
||||
config SECURE_SIGNED_APPS_NO_SECURE_BOOT
|
||||
bool "Require signed app images"
|
||||
default n
|
||||
depends on !SECURE_BOOT_ENABLED
|
||||
help
|
||||
Require apps to be signed to verify their integrity.
|
||||
|
||||
This option uses the same app signature scheme as hardware secure boot, but unlike hardware secure boot it does not prevent the bootloader from being physically updated. This means that the device can be secured against remote network access, but not physical access. Compared to using hardware Secure Boot this option is much simpler to implement.
|
||||
This option uses the same app signature scheme as hardware secure boot, but unlike hardware secure boot it
|
||||
does not prevent the bootloader from being physically updated. This means that the device can be secured
|
||||
against remote network access, but not physical access. Compared to using hardware Secure Boot this option
|
||||
is much simpler to implement.
|
||||
|
||||
config SECURE_SIGNED_ON_BOOT_NO_SECURE_BOOT
|
||||
config SECURE_SIGNED_ON_BOOT_NO_SECURE_BOOT
|
||||
bool "Bootloader verifies app signatures"
|
||||
default n
|
||||
depends on SECURE_SIGNED_APPS_NO_SECURE_BOOT
|
||||
help
|
||||
If this option is set, the bootloader will be compiled with code to verify that an app is signed before booting it.
|
||||
If this option is set, the bootloader will be compiled with code to verify that an app is signed before
|
||||
booting it.
|
||||
|
||||
If hardware secure boot is enabled, this option is always enabled and cannot be disabled.
|
||||
If hardware secure boot is not enabled, this option doesn't add significant security by itself so most users will want to leave it disabled.
|
||||
If hardware secure boot is not enabled, this option doesn't add significant security by itself so most
|
||||
users will want to leave it disabled.
|
||||
|
||||
config SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
|
||||
config SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
|
||||
bool "Verify app signature on update"
|
||||
default y
|
||||
depends on SECURE_SIGNED_APPS_NO_SECURE_BOOT
|
||||
help
|
||||
If this option is set, any OTA updated apps will have the signature verified before being considered valid.
|
||||
|
||||
When enabled, the signature is automatically checked whenever the esp_ota_ops.h APIs are used for OTA updates,
|
||||
or esp_image_format.h APIs are used to verify apps.
|
||||
When enabled, the signature is automatically checked whenever the esp_ota_ops.h APIs are used for OTA
|
||||
updates, or esp_image_format.h APIs are used to verify apps.
|
||||
|
||||
If hardware secure boot is enabled, this option is always enabled and cannot be disabled.
|
||||
If hardware secure boot is not enabled, this option still adds significant security against network-based attackers by preventing spoofing of OTA updates.
|
||||
If hardware secure boot is not enabled, this option still adds significant security against network-based
|
||||
attackers by preventing spoofing of OTA updates.
|
||||
|
||||
config SECURE_BOOT_ENABLED
|
||||
config SECURE_BOOT_ENABLED
|
||||
bool "Enable hardware secure boot in bootloader (READ DOCS FIRST)"
|
||||
default n
|
||||
help
|
||||
Build a bootloader which enables secure boot on first boot.
|
||||
|
||||
Once enabled, secure boot will not boot a modified bootloader. The bootloader will only load a partition table or boot an app if the data has a verified digital signature. There are implications for reflashing updated apps once secure boot is enabled.
|
||||
Once enabled, secure boot will not boot a modified bootloader. The bootloader will only load a partition
|
||||
table or boot an app if the data has a verified digital signature. There are implications for reflashing
|
||||
updated apps once secure boot is enabled.
|
||||
|
||||
When enabling secure boot, JTAG and ROM BASIC Interpreter are permanently disabled by default.
|
||||
|
||||
Refer to https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html before enabling.
|
||||
|
||||
choice SECURE_BOOTLOADER_MODE
|
||||
choice SECURE_BOOTLOADER_MODE
|
||||
bool "Secure bootloader mode"
|
||||
depends on SECURE_BOOT_ENABLED
|
||||
default SECURE_BOOTLOADER_ONE_TIME_FLASH
|
||||
|
||||
config SECURE_BOOTLOADER_ONE_TIME_FLASH
|
||||
config SECURE_BOOTLOADER_ONE_TIME_FLASH
|
||||
bool "One-time flash"
|
||||
help
|
||||
On first boot, the bootloader will generate a key which is not readable externally or by software. A digest is generated from the bootloader image itself. This digest will be verified on each subsequent boot.
|
||||
On first boot, the bootloader will generate a key which is not readable externally or by software. A
|
||||
digest is generated from the bootloader image itself. This digest will be verified on each subsequent
|
||||
boot.
|
||||
|
||||
Enabling this option means that the bootloader cannot be changed after the first time it is booted.
|
||||
|
||||
config SECURE_BOOTLOADER_REFLASHABLE
|
||||
config SECURE_BOOTLOADER_REFLASHABLE
|
||||
bool "Reflashable"
|
||||
help
|
||||
Generate a reusable secure bootloader key, derived (via SHA-256) from the secure boot signing key.
|
||||
|
||||
This allows the secure bootloader to be re-flashed by anyone with access to the secure boot signing key.
|
||||
This allows the secure bootloader to be re-flashed by anyone with access to the secure boot signing
|
||||
key.
|
||||
|
||||
This option is less secure than one-time flash, because a leak of the digest key from one device allows reflashing of any device that uses it.
|
||||
This option is less secure than one-time flash, because a leak of the digest key from one device
|
||||
allows reflashing of any device that uses it.
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config SECURE_BOOT_BUILD_SIGNED_BINARIES
|
||||
config SECURE_BOOT_BUILD_SIGNED_BINARIES
|
||||
bool "Sign binaries during build"
|
||||
depends on SECURE_SIGNED_APPS
|
||||
default y
|
||||
help
|
||||
Once secure boot or signed app requirement is enabled, app images are required to be signed.
|
||||
|
||||
If enabled (default), these binary files are signed as part of the build process. The file named in "Secure boot private signing key" will be used to sign the image.
|
||||
If enabled (default), these binary files are signed as part of the build process. The file named in
|
||||
"Secure boot private signing key" will be used to sign the image.
|
||||
|
||||
If disabled, unsigned app/partition data will be built. They must be signed manually using espsecure.py (for example, on a remote signing server.)
|
||||
If disabled, unsigned app/partition data will be built. They must be signed manually using espsecure.py
|
||||
(for example, on a remote signing server.)
|
||||
|
||||
config SECURE_BOOT_SIGNING_KEY
|
||||
config SECURE_BOOT_SIGNING_KEY
|
||||
string "Secure boot private signing key"
|
||||
depends on SECURE_BOOT_BUILD_SIGNED_BINARIES
|
||||
default secure_boot_signing_key.pem
|
||||
@ -286,15 +303,15 @@ config SECURE_BOOT_SIGNING_KEY
|
||||
You can generate a new signing key by running the following command:
|
||||
espsecure.py generate_signing_key secure_boot_signing_key.pem
|
||||
|
||||
See docs/security/secure-boot.rst for details.
|
||||
See https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html for details.
|
||||
|
||||
config SECURE_BOOT_VERIFICATION_KEY
|
||||
config SECURE_BOOT_VERIFICATION_KEY
|
||||
string "Secure boot public signature verification key"
|
||||
depends on SECURE_SIGNED_APPS && !SECURE_BOOT_BUILD_SIGNED_BINARIES
|
||||
default signature_verification_key.bin
|
||||
help
|
||||
Path to a public key file used to verify signed images. This key is compiled into the bootloader and/or app,
|
||||
to verify app images.
|
||||
Path to a public key file used to verify signed images. This key is compiled into the bootloader and/or
|
||||
app, to verify app images.
|
||||
|
||||
Key file is in raw binary format, and can be extracted from a
|
||||
PEM formatted private key using the espsecure.py
|
||||
@ -302,39 +319,42 @@ config SECURE_BOOT_VERIFICATION_KEY
|
||||
|
||||
Refer to https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html before enabling.
|
||||
|
||||
choice SECURE_BOOTLOADER_KEY_ENCODING
|
||||
choice SECURE_BOOTLOADER_KEY_ENCODING
|
||||
bool "Hardware Key Encoding"
|
||||
depends on SECURE_BOOTLOADER_REFLASHABLE
|
||||
default SECURE_BOOTLOADER_NO_ENCODING
|
||||
help
|
||||
|
||||
In reflashable secure bootloader mode, a hardware key is derived from the signing key (with SHA-256) and can be written to efuse
|
||||
with espefuse.py.
|
||||
In reflashable secure bootloader mode, a hardware key is derived from the signing key (with SHA-256) and
|
||||
can be written to eFuse with espefuse.py.
|
||||
|
||||
Normally this is a 256-bit key, but if 3/4 Coding Scheme is used on the device then the efuse key is truncated to 192 bits.
|
||||
Normally this is a 256-bit key, but if 3/4 Coding Scheme is used on the device then the eFuse key is
|
||||
truncated to 192 bits.
|
||||
|
||||
This configuration item doesn't change any firmware code, it only changes the size of key binary which is generated at build time.
|
||||
This configuration item doesn't change any firmware code, it only changes the size of key binary which is
|
||||
generated at build time.
|
||||
|
||||
config SECURE_BOOTLOADER_KEY_ENCODING_256BIT
|
||||
config SECURE_BOOTLOADER_KEY_ENCODING_256BIT
|
||||
bool "No encoding (256 bit key)"
|
||||
|
||||
config SECURE_BOOTLOADER_KEY_ENCODING_192BIT
|
||||
config SECURE_BOOTLOADER_KEY_ENCODING_192BIT
|
||||
bool "3/4 encoding (192 bit key)"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config SECURE_BOOT_INSECURE
|
||||
config SECURE_BOOT_INSECURE
|
||||
bool "Allow potentially insecure options"
|
||||
depends on SECURE_BOOT_ENABLED
|
||||
default N
|
||||
help
|
||||
You can disable some of the default protections offered by secure boot, in order to enable testing or a custom combination of security features.
|
||||
You can disable some of the default protections offered by secure boot, in order to enable testing or a
|
||||
custom combination of security features.
|
||||
|
||||
Only enable these options if you are very sure.
|
||||
|
||||
Refer to https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html before enabling.
|
||||
|
||||
config FLASH_ENCRYPTION_ENABLED
|
||||
config FLASH_ENCRYPTION_ENABLED
|
||||
bool "Enable flash encryption on boot (READ DOCS FIRST)"
|
||||
default N
|
||||
help
|
||||
@ -345,27 +365,29 @@ config FLASH_ENCRYPTION_ENABLED
|
||||
|
||||
Read https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html before enabling.
|
||||
|
||||
config FLASH_ENCRYPTION_INSECURE
|
||||
config FLASH_ENCRYPTION_INSECURE
|
||||
bool "Allow potentially insecure options"
|
||||
depends on FLASH_ENCRYPTION_ENABLED
|
||||
default N
|
||||
help
|
||||
You can disable some of the default protections offered by flash encryption, in order to enable testing or a custom combination of security features.
|
||||
You can disable some of the default protections offered by flash encryption, in order to enable testing or
|
||||
a custom combination of security features.
|
||||
|
||||
Only enable these options if you are very sure.
|
||||
|
||||
Refer to docs/security/secure-boot.rst and docs/security/flash-encryption.rst for details.
|
||||
Refer to https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html and
|
||||
https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html for details.
|
||||
|
||||
menu "Potentially insecure options"
|
||||
menu "Potentially insecure options"
|
||||
visible if FLASH_ENCRYPTION_INSECURE || SECURE_BOOT_INSECURE
|
||||
|
||||
# NOTE: Options in this menu NEED to have SECURE_BOOT_INSECURE
|
||||
# and/or FLASH_ENCRYPTION_INSECURE in "depends on", as the menu
|
||||
# itself doesn't enable/disable its children (if it's not set,
|
||||
# it's possible for the insecure menu to be disabled but the insecure option
|
||||
# to remain on which is very bad.)
|
||||
# NOTE: Options in this menu NEED to have SECURE_BOOT_INSECURE
|
||||
# and/or FLASH_ENCRYPTION_INSECURE in "depends on", as the menu
|
||||
# itself doesn't enable/disable its children (if it's not set,
|
||||
# it's possible for the insecure menu to be disabled but the insecure option
|
||||
# to remain on which is very bad.)
|
||||
|
||||
config SECURE_BOOT_ALLOW_ROM_BASIC
|
||||
config SECURE_BOOT_ALLOW_ROM_BASIC
|
||||
bool "Leave ROM BASIC Interpreter available on reset"
|
||||
depends on SECURE_BOOT_INSECURE || FLASH_ENCRYPTION_INSECURE
|
||||
default N
|
||||
@ -374,68 +396,79 @@ config SECURE_BOOT_ALLOW_ROM_BASIC
|
||||
read from the flash.
|
||||
|
||||
When either flash encryption or secure boot are enabled, the default is to
|
||||
disable this BASIC fallback mode permanently via efuse.
|
||||
disable this BASIC fallback mode permanently via eFuse.
|
||||
|
||||
If this option is set, this efuse is not burned and the BASIC ROM Console may
|
||||
If this option is set, this eFuse is not burned and the BASIC ROM Console may
|
||||
remain accessible. Only set this option in testing environments.
|
||||
|
||||
config SECURE_BOOT_ALLOW_JTAG
|
||||
config SECURE_BOOT_ALLOW_JTAG
|
||||
bool "Allow JTAG Debugging"
|
||||
depends on SECURE_BOOT_INSECURE || FLASH_ENCRYPTION_INSECURE
|
||||
default N
|
||||
help
|
||||
If not set (default), the bootloader will permanently disable JTAG (across entire chip) on first boot when either secure boot or flash encryption is enabled.
|
||||
If not set (default), the bootloader will permanently disable JTAG (across entire chip) on first boot
|
||||
when either secure boot or flash encryption is enabled.
|
||||
|
||||
Setting this option leaves JTAG on for debugging, which negates all protections of flash encryption and some of the protections of secure boot.
|
||||
Setting this option leaves JTAG on for debugging, which negates all protections of flash encryption
|
||||
and some of the protections of secure boot.
|
||||
|
||||
Only set this option in testing environments.
|
||||
|
||||
config SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
|
||||
config SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
|
||||
bool "Allow app partition length not 64KB aligned"
|
||||
depends on SECURE_BOOT_INSECURE
|
||||
help
|
||||
If not set (default), app partition size must be a multiple of 64KB. App images are padded to 64KB length, and the bootloader checks any trailing bytes after the signature (before the next 64KB boundary) have not been written. This is because flash cache maps entire 64KB pages into the address space. This prevents an attacker from appending unverified data after the app image in the flash, causing it to be mapped into the address space.
|
||||
If not set (default), app partition size must be a multiple of 64KB. App images are padded to 64KB
|
||||
length, and the bootloader checks any trailing bytes after the signature (before the next 64KB
|
||||
boundary) have not been written. This is because flash cache maps entire 64KB pages into the address
|
||||
space. This prevents an attacker from appending unverified data after the app image in the flash,
|
||||
causing it to be mapped into the address space.
|
||||
|
||||
Setting this option allows the app partition length to be unaligned, and disables padding of the app image to this length. It is generally not recommended to set this option, unless you have a legacy partitioning scheme which doesn't support 64KB aligned partition lengths.
|
||||
Setting this option allows the app partition length to be unaligned, and disables padding of the app
|
||||
image to this length. It is generally not recommended to set this option, unless you have a legacy
|
||||
partitioning scheme which doesn't support 64KB aligned partition lengths.
|
||||
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_ENCRYPT
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_ENCRYPT
|
||||
bool "Leave UART bootloader encryption enabled"
|
||||
depends on FLASH_ENCRYPTION_INSECURE
|
||||
default N
|
||||
help
|
||||
If not set (default), the bootloader will permanently disable UART bootloader encryption access on first boot. If set, the UART bootloader will still be able to access hardware encryption.
|
||||
If not set (default), the bootloader will permanently disable UART bootloader encryption access on
|
||||
first boot. If set, the UART bootloader will still be able to access hardware encryption.
|
||||
|
||||
It is recommended to only set this option in testing environments.
|
||||
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_DECRYPT
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_DECRYPT
|
||||
bool "Leave UART bootloader decryption enabled"
|
||||
depends on FLASH_ENCRYPTION_INSECURE
|
||||
default N
|
||||
help
|
||||
If not set (default), the bootloader will permanently disable UART bootloader decryption access on first boot. If set, the UART bootloader will still be able to access hardware decryption.
|
||||
If not set (default), the bootloader will permanently disable UART bootloader decryption access on
|
||||
first boot. If set, the UART bootloader will still be able to access hardware decryption.
|
||||
|
||||
Only set this option in testing environments. Setting this option allows complete bypass of flash encryption.
|
||||
Only set this option in testing environments. Setting this option allows complete bypass of flash
|
||||
encryption.
|
||||
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_CACHE
|
||||
config FLASH_ENCRYPTION_UART_BOOTLOADER_ALLOW_CACHE
|
||||
bool "Leave UART bootloader flash cache enabled"
|
||||
depends on FLASH_ENCRYPTION_INSECURE
|
||||
default N
|
||||
help
|
||||
If not set (default), the bootloader will permanently disable UART bootloader flash cache access on first boot. If set, the UART bootloader will still be able to access the flash cache.
|
||||
If not set (default), the bootloader will permanently disable UART bootloader flash cache access on
|
||||
first boot. If set, the UART bootloader will still be able to access the flash cache.
|
||||
|
||||
Only set this option in testing environments.
|
||||
|
||||
config SECURE_BOOT_TEST_MODE
|
||||
bool "Secure boot test mode: don't permanently set any efuses"
|
||||
config SECURE_BOOT_TEST_MODE
|
||||
bool "Secure boot test mode: don't permanently set any eFuses"
|
||||
depends on SECURE_BOOT_INSECURE
|
||||
default N
|
||||
help
|
||||
If this option is set, all permanent secure boot changes (via Efuse) are disabled.
|
||||
If this option is set, all permanent secure boot changes (via eFuse) are disabled.
|
||||
|
||||
Log output will state changes which would be applied, but they will not be.
|
||||
|
||||
This option is for testing purposes only - it completely disables secure boot protection.
|
||||
|
||||
|
||||
endmenu # Potentially Insecure
|
||||
endmenu # Potentially Insecure
|
||||
endmenu # Security features
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
menu "Driver configurations"
|
||||
|
||||
menu "ADC configuration"
|
||||
menu "ADC configuration"
|
||||
|
||||
config ADC_FORCE_XPD_FSM
|
||||
config ADC_FORCE_XPD_FSM
|
||||
bool "Use the FSM to control ADC power"
|
||||
default n
|
||||
help
|
||||
@ -10,19 +10,20 @@ config ADC_FORCE_XPD_FSM
|
||||
be shut off when it is not working leading to lower power consumption. However
|
||||
using the FSM control ADC power will increase the noise of ADC.
|
||||
|
||||
config ADC2_DISABLE_DAC
|
||||
config ADC2_DISABLE_DAC
|
||||
bool "Disable DAC when ADC2 is used on GPIO 25 and 26"
|
||||
default y
|
||||
help
|
||||
If this is set, the ADC2 driver will disables the output of the DAC corresponding to the specified channel. This is the default value.
|
||||
If this is set, the ADC2 driver will disables the output of the DAC corresponding to the specified
|
||||
channel. This is the default value.
|
||||
|
||||
For testing, disable this option so that we can measure the output of DAC by internal ADC.
|
||||
|
||||
endmenu # ADC Configuration
|
||||
endmenu # ADC Configuration
|
||||
|
||||
menu "SPI configuration"
|
||||
menu "SPI configuration"
|
||||
|
||||
config SPI_MASTER_IN_IRAM
|
||||
config SPI_MASTER_IN_IRAM
|
||||
bool "Place transmitting functions of SPI master into IRAM"
|
||||
default n
|
||||
select SPI_MASTER_ISR_IN_IRAM
|
||||
@ -37,7 +38,7 @@ config SPI_MASTER_IN_IRAM
|
||||
|
||||
During unit test, this is enabled to measure the ideal case of api.
|
||||
|
||||
config SPI_MASTER_ISR_IN_IRAM
|
||||
config SPI_MASTER_ISR_IN_IRAM
|
||||
bool "Place SPI master ISR function into IRAM"
|
||||
default y
|
||||
help
|
||||
@ -46,7 +47,7 @@ config SPI_MASTER_ISR_IN_IRAM
|
||||
Also you can forbid the ISR being disabled during flash writing
|
||||
access, by add ESP_INTR_FLAG_IRAM when initializing the driver.
|
||||
|
||||
config SPI_SLAVE_IN_IRAM
|
||||
config SPI_SLAVE_IN_IRAM
|
||||
bool "Place transmitting functions of SPI slave into IRAM"
|
||||
default n
|
||||
select SPI_SLAVE_ISR_IN_IRAM
|
||||
@ -59,7 +60,7 @@ config SPI_SLAVE_IN_IRAM
|
||||
Enable this to put ``queue_trans``, ``get_trans_result`` and
|
||||
``transmit`` functions into the IRAM to avoid possible cache miss.
|
||||
|
||||
config SPI_SLAVE_ISR_IN_IRAM
|
||||
config SPI_SLAVE_ISR_IN_IRAM
|
||||
bool "Place SPI slave ISR function into IRAM"
|
||||
default y
|
||||
help
|
||||
@ -68,6 +69,6 @@ config SPI_SLAVE_ISR_IN_IRAM
|
||||
Also you can forbid the ISR being disabled during flash writing
|
||||
access, by add ESP_INTR_FLAG_IRAM when initializing the driver.
|
||||
|
||||
endmenu # SPI Configuration
|
||||
endmenu # SPI Configuration
|
||||
|
||||
endmenu # Driver configurations
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
menu "ADC-Calibration"
|
||||
|
||||
config ADC_CAL_EFUSE_TP_ENABLE
|
||||
config ADC_CAL_EFUSE_TP_ENABLE
|
||||
bool "Use Two Point Values"
|
||||
default "y"
|
||||
help
|
||||
@ -8,7 +8,7 @@ config ADC_CAL_EFUSE_TP_ENABLE
|
||||
This option will allow the ADC calibration component to characterize the
|
||||
ADC-Voltage curve using Two Point values if they are available.
|
||||
|
||||
config ADC_CAL_EFUSE_VREF_ENABLE
|
||||
config ADC_CAL_EFUSE_VREF_ENABLE
|
||||
bool "Use eFuse Vref"
|
||||
default "y"
|
||||
help
|
||||
@ -16,7 +16,7 @@ config ADC_CAL_EFUSE_VREF_ENABLE
|
||||
the ADC calibration component to characterize the ADC-Voltage curve using
|
||||
eFuse Vref if it is available.
|
||||
|
||||
config ADC_CAL_LUT_ENABLE
|
||||
config ADC_CAL_LUT_ENABLE
|
||||
bool "Use Lookup Tables"
|
||||
default "y"
|
||||
help
|
||||
|
@ -1,11 +1,11 @@
|
||||
menu "Event Loop Library"
|
||||
|
||||
config EVENT_LOOP_PROFILING
|
||||
config EVENT_LOOP_PROFILING
|
||||
bool "Enable event loop profiling"
|
||||
default n
|
||||
help
|
||||
Enables collections of statistics in the event loop library such as the number of events posted to/recieved by an event loop, number of
|
||||
callbacks involved, number of events dropped to to a full event loop queue, run time of event handlers, and number of times/run
|
||||
time of each event handler.
|
||||
Enables collections of statistics in the event loop library such as the number of events posted
|
||||
to/recieved by an event loop, number of callbacks involved, number of events dropped to to a full event
|
||||
loop queue, run time of event handlers, and number of times/run time of each event handler.
|
||||
|
||||
endmenu
|
@ -1,7 +1,7 @@
|
||||
menu "ESP HTTP client"
|
||||
|
||||
|
||||
config ESP_HTTP_CLIENT_ENABLE_HTTPS
|
||||
config ESP_HTTP_CLIENT_ENABLE_HTTPS
|
||||
bool "Enable https"
|
||||
default y
|
||||
help
|
||||
|
@ -1,12 +1,13 @@
|
||||
menu "HTTP Server"
|
||||
|
||||
config HTTPD_MAX_REQ_HDR_LEN
|
||||
config HTTPD_MAX_REQ_HDR_LEN
|
||||
int "Max HTTP Request Header Length"
|
||||
default 512
|
||||
help
|
||||
This sets the maximum supported size of headers section in HTTP request packet to be processed by the server
|
||||
This sets the maximum supported size of headers section in HTTP request packet to be processed by the
|
||||
server
|
||||
|
||||
config HTTPD_MAX_URI_LEN
|
||||
config HTTPD_MAX_URI_LEN
|
||||
int "Max HTTP URI Length"
|
||||
default 512
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Serial flasher config"
|
||||
|
||||
config ESPTOOLPY_PORT
|
||||
config ESPTOOLPY_PORT
|
||||
string "Default serial port"
|
||||
depends on !IDF_CMAKE
|
||||
default "/dev/ttyUSB0"
|
||||
@ -10,7 +10,7 @@ config ESPTOOLPY_PORT
|
||||
|
||||
This value is ignored when using the CMake-based build system or idf.py.
|
||||
|
||||
choice ESPTOOLPY_BAUD
|
||||
choice ESPTOOLPY_BAUD
|
||||
prompt "Default baud rate"
|
||||
depends on !IDF_CMAKE
|
||||
default ESPTOOLPY_BAUD_115200B
|
||||
@ -20,23 +20,23 @@ choice ESPTOOLPY_BAUD
|
||||
|
||||
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"
|
||||
config ESPTOOLPY_BAUD_230400B
|
||||
config ESPTOOLPY_BAUD_230400B
|
||||
bool "230400 baud"
|
||||
config ESPTOOLPY_BAUD_921600B
|
||||
config ESPTOOLPY_BAUD_921600B
|
||||
bool "921600 baud"
|
||||
config ESPTOOLPY_BAUD_2MB
|
||||
config ESPTOOLPY_BAUD_2MB
|
||||
bool "2Mbaud"
|
||||
config ESPTOOLPY_BAUD_OTHER
|
||||
config ESPTOOLPY_BAUD_OTHER
|
||||
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
|
||||
default 115200
|
||||
|
||||
config ESPTOOLPY_BAUD
|
||||
config ESPTOOLPY_BAUD
|
||||
int
|
||||
depends on !IDF_CMAKE
|
||||
default 115200 if ESPTOOLPY_BAUD_115200B
|
||||
@ -45,7 +45,7 @@ config ESPTOOLPY_BAUD
|
||||
default 2000000 if ESPTOOLPY_BAUD_2MB
|
||||
default ESPTOOLPY_BAUD_OTHER_VAL if ESPTOOLPY_BAUD_OTHER
|
||||
|
||||
config ESPTOOLPY_COMPRESSED
|
||||
config ESPTOOLPY_COMPRESSED
|
||||
bool "Use compressed upload"
|
||||
depends on !IDF_CMAKE
|
||||
default "y"
|
||||
@ -54,50 +54,50 @@ config ESPTOOLPY_COMPRESSED
|
||||
decompress it on the fly before flashing it. For most payloads, this should result in a
|
||||
speed increase.
|
||||
|
||||
choice FLASHMODE
|
||||
choice FLASHMODE
|
||||
prompt "Flash SPI mode"
|
||||
default FLASHMODE_DIO
|
||||
help
|
||||
Mode the flash chip is flashed in, as well as the default mode for the
|
||||
binary to run in.
|
||||
|
||||
config FLASHMODE_QIO
|
||||
config FLASHMODE_QIO
|
||||
bool "QIO"
|
||||
config FLASHMODE_QOUT
|
||||
config FLASHMODE_QOUT
|
||||
bool "QOUT"
|
||||
config FLASHMODE_DIO
|
||||
config FLASHMODE_DIO
|
||||
bool "DIO"
|
||||
config FLASHMODE_DOUT
|
||||
config FLASHMODE_DOUT
|
||||
bool "DOUT"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
# Note: we use esptool.py to flash bootloader in
|
||||
# dio mode for QIO/QOUT, bootloader then upgrades
|
||||
# itself to quad mode during initialisation
|
||||
config ESPTOOLPY_FLASHMODE
|
||||
# Note: we use esptool.py to flash bootloader in
|
||||
# dio mode for QIO/QOUT, bootloader then upgrades
|
||||
# itself to quad mode during initialisation
|
||||
config ESPTOOLPY_FLASHMODE
|
||||
string
|
||||
default "dio" if FLASHMODE_QIO
|
||||
default "dio" if FLASHMODE_QOUT
|
||||
default "dio" if FLASHMODE_DIO
|
||||
default "dout" if FLASHMODE_DOUT
|
||||
|
||||
choice ESPTOOLPY_FLASHFREQ
|
||||
choice ESPTOOLPY_FLASHFREQ
|
||||
prompt "Flash SPI speed"
|
||||
default ESPTOOLPY_FLASHFREQ_40M
|
||||
help
|
||||
The SPI flash frequency to be used.
|
||||
|
||||
config ESPTOOLPY_FLASHFREQ_80M
|
||||
config ESPTOOLPY_FLASHFREQ_80M
|
||||
bool "80 MHz"
|
||||
config ESPTOOLPY_FLASHFREQ_40M
|
||||
config ESPTOOLPY_FLASHFREQ_40M
|
||||
bool "40 MHz"
|
||||
config ESPTOOLPY_FLASHFREQ_26M
|
||||
config ESPTOOLPY_FLASHFREQ_26M
|
||||
bool "26 MHz"
|
||||
config ESPTOOLPY_FLASHFREQ_20M
|
||||
config ESPTOOLPY_FLASHFREQ_20M
|
||||
bool "20 MHz"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESPTOOLPY_FLASHFREQ
|
||||
config ESPTOOLPY_FLASHFREQ
|
||||
string
|
||||
default "80m" if ESPTOOLPY_FLASHFREQ_80M
|
||||
default "40m" if ESPTOOLPY_FLASHFREQ_40M
|
||||
@ -105,25 +105,25 @@ config ESPTOOLPY_FLASHFREQ
|
||||
default "20m" if ESPTOOLPY_FLASHFREQ_20M
|
||||
|
||||
|
||||
choice ESPTOOLPY_FLASHSIZE
|
||||
choice ESPTOOLPY_FLASHSIZE
|
||||
prompt "Flash size"
|
||||
default ESPTOOLPY_FLASHSIZE_2MB
|
||||
help
|
||||
SPI flash size, in megabytes
|
||||
|
||||
config ESPTOOLPY_FLASHSIZE_1MB
|
||||
config ESPTOOLPY_FLASHSIZE_1MB
|
||||
bool "1 MB"
|
||||
config ESPTOOLPY_FLASHSIZE_2MB
|
||||
config ESPTOOLPY_FLASHSIZE_2MB
|
||||
bool "2 MB"
|
||||
config ESPTOOLPY_FLASHSIZE_4MB
|
||||
config ESPTOOLPY_FLASHSIZE_4MB
|
||||
bool "4 MB"
|
||||
config ESPTOOLPY_FLASHSIZE_8MB
|
||||
config ESPTOOLPY_FLASHSIZE_8MB
|
||||
bool "8 MB"
|
||||
config ESPTOOLPY_FLASHSIZE_16MB
|
||||
config ESPTOOLPY_FLASHSIZE_16MB
|
||||
bool "16 MB"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESPTOOLPY_FLASHSIZE
|
||||
config ESPTOOLPY_FLASHSIZE
|
||||
string
|
||||
default "1MB" if ESPTOOLPY_FLASHSIZE_1MB
|
||||
default "2MB" if ESPTOOLPY_FLASHSIZE_2MB
|
||||
@ -131,14 +131,14 @@ config ESPTOOLPY_FLASHSIZE
|
||||
default "8MB" if ESPTOOLPY_FLASHSIZE_8MB
|
||||
default "16MB" if ESPTOOLPY_FLASHSIZE_16MB
|
||||
|
||||
config ESPTOOLPY_FLASHSIZE_DETECT
|
||||
config ESPTOOLPY_FLASHSIZE_DETECT
|
||||
bool "Detect flash size when flashing bootloader"
|
||||
default y
|
||||
help
|
||||
If this option is set, 'make flash' targets will automatically detect
|
||||
the flash size and update the bootloader image when flashing.
|
||||
|
||||
choice ESPTOOLPY_BEFORE
|
||||
choice ESPTOOLPY_BEFORE
|
||||
prompt "Before flashing"
|
||||
default ESPTOOLPY_BEFORE_RESET
|
||||
help
|
||||
@ -148,18 +148,18 @@ choice ESPTOOLPY_BEFORE
|
||||
wired from the serial port to the ESP32. Most USB development
|
||||
boards do this internally.
|
||||
|
||||
config ESPTOOLPY_BEFORE_RESET
|
||||
config ESPTOOLPY_BEFORE_RESET
|
||||
bool "Reset to bootloader"
|
||||
config ESPTOOLPY_BEFORE_NORESET
|
||||
config ESPTOOLPY_BEFORE_NORESET
|
||||
bool "No reset"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESPTOOLPY_BEFORE
|
||||
config ESPTOOLPY_BEFORE
|
||||
string
|
||||
default "default_reset" if ESPTOOLPY_BEFORE_RESET
|
||||
default "no_reset" if ESPTOOLPY_BEFORE_NORESET
|
||||
|
||||
choice ESPTOOLPY_AFTER
|
||||
choice ESPTOOLPY_AFTER
|
||||
prompt "After flashing"
|
||||
default ESPTOOLPY_AFTER_RESET
|
||||
help
|
||||
@ -169,18 +169,18 @@ choice ESPTOOLPY_AFTER
|
||||
wired from the serial port to the ESP32. Most USB development
|
||||
boards do this internally.
|
||||
|
||||
config ESPTOOLPY_AFTER_RESET
|
||||
config ESPTOOLPY_AFTER_RESET
|
||||
bool "Reset after flashing"
|
||||
config ESPTOOLPY_AFTER_NORESET
|
||||
config ESPTOOLPY_AFTER_NORESET
|
||||
bool "Stay in bootloader"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESPTOOLPY_AFTER
|
||||
config ESPTOOLPY_AFTER
|
||||
string
|
||||
default "hard_reset" if ESPTOOLPY_AFTER_RESET
|
||||
default "no_reset" if ESPTOOLPY_AFTER_NORESET
|
||||
|
||||
choice MONITOR_BAUD
|
||||
choice MONITOR_BAUD
|
||||
prompt "'make monitor' baud rate"
|
||||
default MONITOR_BAUD_115200B
|
||||
help
|
||||
@ -189,28 +189,28 @@ choice MONITOR_BAUD
|
||||
|
||||
Can override by setting the MONITORBAUD environment variable.
|
||||
|
||||
config MONITOR_BAUD_9600B
|
||||
config MONITOR_BAUD_9600B
|
||||
bool "9600 bps"
|
||||
config MONITOR_BAUD_57600B
|
||||
config MONITOR_BAUD_57600B
|
||||
bool "57600 bps"
|
||||
config MONITOR_BAUD_115200B
|
||||
config MONITOR_BAUD_115200B
|
||||
bool "115200 bps"
|
||||
config MONITOR_BAUD_230400B
|
||||
config MONITOR_BAUD_230400B
|
||||
bool "230400 bps"
|
||||
config MONITOR_BAUD_921600B
|
||||
config MONITOR_BAUD_921600B
|
||||
bool "921600 bps"
|
||||
config MONITOR_BAUD_2MB
|
||||
config MONITOR_BAUD_2MB
|
||||
bool "2 Mbps"
|
||||
config MONITOR_BAUD_OTHER
|
||||
config MONITOR_BAUD_OTHER
|
||||
bool "Custom baud rate"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MONITOR_BAUD_OTHER_VAL
|
||||
config MONITOR_BAUD_OTHER_VAL
|
||||
int "Custom baud rate value" if MONITOR_BAUD_OTHER
|
||||
default 115200
|
||||
|
||||
config MONITOR_BAUD
|
||||
config MONITOR_BAUD
|
||||
int
|
||||
default 9600 if MONITOR_BAUD_9600B
|
||||
default 57600 if MONITOR_BAUD_57600B
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "FAT Filesystem support"
|
||||
|
||||
choice FATFS_CHOOSE_CODEPAGE
|
||||
choice FATFS_CHOOSE_CODEPAGE
|
||||
prompt "OEM Code Page"
|
||||
default FATFS_CODEPAGE_437
|
||||
help
|
||||
@ -10,54 +10,54 @@ choice FATFS_CHOOSE_CODEPAGE
|
||||
f_setcp function. Note that choosing this option will increase
|
||||
application size by ~480kB.
|
||||
|
||||
config FATFS_CODEPAGE_DYNAMIC
|
||||
config FATFS_CODEPAGE_DYNAMIC
|
||||
bool "Dynamic (all code pages supported)"
|
||||
config FATFS_CODEPAGE_437
|
||||
config FATFS_CODEPAGE_437
|
||||
bool "US (CP437)"
|
||||
config FATFS_CODEPAGE_720
|
||||
config FATFS_CODEPAGE_720
|
||||
bool "Arabic (CP720)"
|
||||
config FATFS_CODEPAGE_737
|
||||
config FATFS_CODEPAGE_737
|
||||
bool "Greek (CP737)"
|
||||
config FATFS_CODEPAGE_771
|
||||
config FATFS_CODEPAGE_771
|
||||
bool "KBL (CP771)"
|
||||
config FATFS_CODEPAGE_775
|
||||
config FATFS_CODEPAGE_775
|
||||
bool "Baltic (CP775)"
|
||||
config FATFS_CODEPAGE_850
|
||||
config FATFS_CODEPAGE_850
|
||||
bool "Latin 1 (CP850)"
|
||||
config FATFS_CODEPAGE_852
|
||||
config FATFS_CODEPAGE_852
|
||||
bool "Latin 2 (CP852)"
|
||||
config FATFS_CODEPAGE_855
|
||||
config FATFS_CODEPAGE_855
|
||||
bool "Cyrillic (CP855)"
|
||||
config FATFS_CODEPAGE_857
|
||||
config FATFS_CODEPAGE_857
|
||||
bool "Turkish (CP857)"
|
||||
config FATFS_CODEPAGE_860
|
||||
config FATFS_CODEPAGE_860
|
||||
bool "Portugese (CP860)"
|
||||
config FATFS_CODEPAGE_861
|
||||
config FATFS_CODEPAGE_861
|
||||
bool "Icelandic (CP861)"
|
||||
config FATFS_CODEPAGE_862
|
||||
config FATFS_CODEPAGE_862
|
||||
bool "Hebrew (CP862)"
|
||||
config FATFS_CODEPAGE_863
|
||||
config FATFS_CODEPAGE_863
|
||||
bool "Canadian French (CP863)"
|
||||
config FATFS_CODEPAGE_864
|
||||
config FATFS_CODEPAGE_864
|
||||
bool "Arabic (CP864)"
|
||||
config FATFS_CODEPAGE_865
|
||||
config FATFS_CODEPAGE_865
|
||||
bool "Nordic (CP865)"
|
||||
config FATFS_CODEPAGE_866
|
||||
config FATFS_CODEPAGE_866
|
||||
bool "Russian (CP866)"
|
||||
config FATFS_CODEPAGE_869
|
||||
config FATFS_CODEPAGE_869
|
||||
bool "Greek 2 (CP869)"
|
||||
config FATFS_CODEPAGE_932
|
||||
config FATFS_CODEPAGE_932
|
||||
bool "Japanese (DBCS) (CP932)"
|
||||
config FATFS_CODEPAGE_936
|
||||
config FATFS_CODEPAGE_936
|
||||
bool "Simplified Chinese (DBCS) (CP936)"
|
||||
config FATFS_CODEPAGE_949
|
||||
config FATFS_CODEPAGE_949
|
||||
bool "Korean (DBCS) (CP949)"
|
||||
config FATFS_CODEPAGE_950
|
||||
config FATFS_CODEPAGE_950
|
||||
bool "Traditional Chinese (DBCS) (CP950)"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FATFS_CODEPAGE
|
||||
config FATFS_CODEPAGE
|
||||
int
|
||||
default 0 if FATFS_CODEPAGE_DYNAMIC
|
||||
default 437 if FATFS_CODEPAGE_437
|
||||
@ -83,7 +83,7 @@ config FATFS_CODEPAGE
|
||||
default 950 if FATFS_CODEPAGE_950
|
||||
default 437
|
||||
|
||||
choice FATFS_LONG_FILENAMES
|
||||
choice FATFS_LONG_FILENAMES
|
||||
prompt "Long filename support"
|
||||
default FATFS_LFN_NONE
|
||||
help
|
||||
@ -91,15 +91,15 @@ choice FATFS_LONG_FILENAMES
|
||||
memory usage. FATFS can be configured to store the buffer for
|
||||
long filename data in stack or heap.
|
||||
|
||||
config FATFS_LFN_NONE
|
||||
config FATFS_LFN_NONE
|
||||
bool "No long filenames"
|
||||
config FATFS_LFN_HEAP
|
||||
config FATFS_LFN_HEAP
|
||||
bool "Long filename buffer in heap"
|
||||
config FATFS_LFN_STACK
|
||||
config FATFS_LFN_STACK
|
||||
bool "Long filename buffer on stack"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FATFS_MAX_LFN
|
||||
config FATFS_MAX_LFN
|
||||
int "Max long filename length"
|
||||
depends on !FATFS_LFN_NONE
|
||||
default 255
|
||||
@ -107,7 +107,7 @@ config FATFS_MAX_LFN
|
||||
help
|
||||
Maximum long filename length. Can be reduced to save RAM.
|
||||
|
||||
choice FATFS_API_ENCODING
|
||||
choice FATFS_API_ENCODING
|
||||
prompt "API character encoding"
|
||||
depends on !FATFS_LFN_NONE
|
||||
default FATFS_API_ENCODING_ANSI_OEM
|
||||
@ -116,15 +116,15 @@ choice FATFS_API_ENCODING
|
||||
FATFS APIs. The encoding of arguments will usually depend on text
|
||||
editor settings.
|
||||
|
||||
config FATFS_API_ENCODING_ANSI_OEM
|
||||
config FATFS_API_ENCODING_ANSI_OEM
|
||||
bool "API uses ANSI/OEM encoding"
|
||||
config FATFS_API_ENCODING_UTF_16
|
||||
config FATFS_API_ENCODING_UTF_16
|
||||
bool "API uses UTF-16 encoding"
|
||||
config FATFS_API_ENCODING_UTF_8
|
||||
config FATFS_API_ENCODING_UTF_8
|
||||
bool "API uses UTF-8 encoding"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FATFS_FS_LOCK
|
||||
config FATFS_FS_LOCK
|
||||
int "Number of simultaneously open files protected by lock function"
|
||||
default 0
|
||||
range 0 65535
|
||||
@ -141,7 +141,7 @@ config FATFS_FS_LOCK
|
||||
|
||||
Note that the file lock control is independent of re-entrancy.
|
||||
|
||||
config FATFS_TIMEOUT_MS
|
||||
config FATFS_TIMEOUT_MS
|
||||
int "Timeout for acquiring a file lock, ms"
|
||||
default 10000
|
||||
help
|
||||
@ -152,7 +152,7 @@ config FATFS_TIMEOUT_MS
|
||||
and time out after amount of time set by this option.
|
||||
|
||||
|
||||
config FATFS_PER_FILE_CACHE
|
||||
config FATFS_PER_FILE_CACHE
|
||||
bool "Use separate cache for each file"
|
||||
default y
|
||||
help
|
||||
@ -169,7 +169,7 @@ config FATFS_PER_FILE_CACHE
|
||||
of read and write operations which FATFS needs to make.
|
||||
|
||||
|
||||
config FATFS_ALLOC_PREFER_EXTRAM
|
||||
config FATFS_ALLOC_PREFER_EXTRAM
|
||||
bool "Perfer external RAM when allocating FATFS buffers"
|
||||
default y
|
||||
depends on SPIRAM_USE_CAPS_ALLOC || SPIRAM_USE_MALLOC
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Modbus configuration"
|
||||
|
||||
config MB_QUEUE_LENGTH
|
||||
config MB_QUEUE_LENGTH
|
||||
int "Modbus serial task queue length"
|
||||
range 0 200
|
||||
default 20
|
||||
@ -8,7 +8,7 @@ config MB_QUEUE_LENGTH
|
||||
Modbus serial driver queue length. It is used by event queue task.
|
||||
See the serial driver API for more information.
|
||||
|
||||
config MB_SERIAL_TASK_STACK_SIZE
|
||||
config MB_SERIAL_TASK_STACK_SIZE
|
||||
int "Modbus serial task stack size"
|
||||
range 768 8192
|
||||
default 2048
|
||||
@ -16,7 +16,7 @@ config MB_SERIAL_TASK_STACK_SIZE
|
||||
Modbus serial task stack size for event queue task.
|
||||
It may be adjusted when debugging is enabled (for example).
|
||||
|
||||
config MB_SERIAL_BUF_SIZE
|
||||
config MB_SERIAL_BUF_SIZE
|
||||
int "Modbus serial task RX/TX buffer size"
|
||||
range 0 2048
|
||||
default 256
|
||||
@ -25,7 +25,7 @@ config MB_SERIAL_BUF_SIZE
|
||||
This buffer is used for Modbus frame transfer. The Modbus protocol maximum
|
||||
frame size is 256 bytes. Bigger size can be used for non standard implementations.
|
||||
|
||||
config MB_SERIAL_TASK_PRIO
|
||||
config MB_SERIAL_TASK_PRIO
|
||||
int "Modbus serial task priority"
|
||||
range 3 10
|
||||
default 10
|
||||
@ -33,14 +33,14 @@ config MB_SERIAL_TASK_PRIO
|
||||
Modbus UART driver event task priority.
|
||||
The priority of Modbus controller task is equal to (CONFIG_MB_SERIAL_TASK_PRIO - 1).
|
||||
|
||||
config MB_CONTROLLER_SLAVE_ID_SUPPORT
|
||||
config MB_CONTROLLER_SLAVE_ID_SUPPORT
|
||||
bool "Modbus controller slave ID support"
|
||||
default n
|
||||
help
|
||||
Modbus slave ID support enable.
|
||||
When enabled the Modbus <Report Slave ID> command is supported by stack.
|
||||
|
||||
config MB_CONTROLLER_SLAVE_ID
|
||||
config MB_CONTROLLER_SLAVE_ID
|
||||
hex "Modbus controller slave ID"
|
||||
range 0 4294967295
|
||||
default 0x00112233
|
||||
@ -51,7 +51,7 @@ config MB_CONTROLLER_SLAVE_ID
|
||||
Most significant byte of ID is used as short device ID and
|
||||
other three bytes used as long ID.
|
||||
|
||||
config MB_CONTROLLER_NOTIFY_TIMEOUT
|
||||
config MB_CONTROLLER_NOTIFY_TIMEOUT
|
||||
int "Modbus controller notification timeout (ms)"
|
||||
range 0 200
|
||||
default 20
|
||||
@ -59,7 +59,7 @@ config MB_CONTROLLER_NOTIFY_TIMEOUT
|
||||
Modbus controller notification timeout in milliseconds.
|
||||
This timeout is used to send notification about accessed parameters.
|
||||
|
||||
config MB_CONTROLLER_NOTIFY_QUEUE_SIZE
|
||||
config MB_CONTROLLER_NOTIFY_QUEUE_SIZE
|
||||
int "Modbus controller notification queue size"
|
||||
range 0 200
|
||||
default 20
|
||||
@ -67,7 +67,7 @@ config MB_CONTROLLER_NOTIFY_QUEUE_SIZE
|
||||
Modbus controller notification queue size.
|
||||
The notification queue is used to get information about accessed parameters.
|
||||
|
||||
config MB_CONTROLLER_STACK_SIZE
|
||||
config MB_CONTROLLER_STACK_SIZE
|
||||
int "Modbus controller stack size"
|
||||
range 0 8192
|
||||
default 4096
|
||||
@ -75,7 +75,7 @@ config MB_CONTROLLER_STACK_SIZE
|
||||
Modbus controller task stack size. The Stack size may be adjusted when
|
||||
debug mode is used which requires more stack size (for example).
|
||||
|
||||
config MB_EVENT_QUEUE_TIMEOUT
|
||||
config MB_EVENT_QUEUE_TIMEOUT
|
||||
int "Modbus stack event queue timeout (ms)"
|
||||
range 0 500
|
||||
default 20
|
||||
@ -83,14 +83,14 @@ config MB_EVENT_QUEUE_TIMEOUT
|
||||
Modbus stack event queue timeout in milliseconds. This may help to optimize
|
||||
Modbus stack event processing time.
|
||||
|
||||
config MB_TIMER_PORT_ENABLED
|
||||
config MB_TIMER_PORT_ENABLED
|
||||
bool "Modbus stack use timer for 3.5T symbol time measurement"
|
||||
default y
|
||||
help
|
||||
If this option is set the Modbus stack uses timer for T3.5 time measurement.
|
||||
Else the internal UART TOUT timeout is used for 3.5T symbol time measurement.
|
||||
|
||||
config MB_TIMER_GROUP
|
||||
config MB_TIMER_GROUP
|
||||
int "Modbus Timer group number"
|
||||
range 0 1
|
||||
depends on MB_TIMER_PORT_ENABLED
|
||||
@ -98,7 +98,7 @@ config MB_TIMER_GROUP
|
||||
help
|
||||
Modbus Timer group number that is used for timeout measurement.
|
||||
|
||||
config MB_TIMER_INDEX
|
||||
config MB_TIMER_INDEX
|
||||
int "Modbus Timer index in the group"
|
||||
range 0 1
|
||||
depends on MB_TIMER_PORT_ENABLED
|
||||
|
@ -1,7 +1,7 @@
|
||||
menu "FreeRTOS"
|
||||
|
||||
# This is actually also handled in the ESP32 startup code, not only in FreeRTOS.
|
||||
config FREERTOS_UNICORE
|
||||
# This is actually also handled in the ESP32 startup code, not only in FreeRTOS.
|
||||
config FREERTOS_UNICORE
|
||||
bool "Run FreeRTOS only on first core"
|
||||
default n
|
||||
help
|
||||
@ -10,14 +10,14 @@ config FREERTOS_UNICORE
|
||||
This is needed when e.g. another process needs complete control
|
||||
over the second core.
|
||||
|
||||
# This invisible config value sets the value of tskNO_AFFINITY in task.h.
|
||||
# Intended to be used as a constant from other Kconfig files.
|
||||
# Value is (32-bit) INT_MAX.
|
||||
config FREERTOS_NO_AFFINITY
|
||||
# This invisible config value sets the value of tskNO_AFFINITY in task.h.
|
||||
# Intended to be used as a constant from other Kconfig files.
|
||||
# Value is (32-bit) INT_MAX.
|
||||
config FREERTOS_NO_AFFINITY
|
||||
hex
|
||||
default 0x7FFFFFFF
|
||||
|
||||
choice FREERTOS_CORETIMER
|
||||
choice FREERTOS_CORETIMER
|
||||
prompt "Xtensa timer to use as the FreeRTOS tick source"
|
||||
default CONFIG_FREERTOS_CORETIMER_0
|
||||
help
|
||||
@ -26,26 +26,26 @@ choice FREERTOS_CORETIMER
|
||||
pre-emptive multitasking with. There are multiple timers available
|
||||
to do this, with different interrupt priorities. Check
|
||||
|
||||
config FREERTOS_CORETIMER_0
|
||||
config FREERTOS_CORETIMER_0
|
||||
bool "Timer 0 (int 6, level 1)"
|
||||
help
|
||||
Select this to use timer 0
|
||||
|
||||
config FREERTOS_CORETIMER_1
|
||||
config FREERTOS_CORETIMER_1
|
||||
bool "Timer 1 (int 15, level 3)"
|
||||
help
|
||||
Select this to use timer 1
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FREERTOS_HZ
|
||||
config FREERTOS_HZ
|
||||
int "Tick rate (Hz)"
|
||||
range 1 1000
|
||||
default 100
|
||||
help
|
||||
Select the tick rate at which FreeRTOS does pre-emptive context switching.
|
||||
|
||||
config FREERTOS_ASSERT_ON_UNTESTED_FUNCTION
|
||||
config FREERTOS_ASSERT_ON_UNTESTED_FUNCTION
|
||||
bool "Halt when an SMP-untested function is called"
|
||||
default y
|
||||
help
|
||||
@ -53,19 +53,19 @@ config FREERTOS_ASSERT_ON_UNTESTED_FUNCTION
|
||||
the SMP implementation of FreeRTOS. When this option is enabled, these fuctions
|
||||
will throw an assert().
|
||||
|
||||
choice FREERTOS_CHECK_STACKOVERFLOW
|
||||
choice FREERTOS_CHECK_STACKOVERFLOW
|
||||
prompt "Check for stack overflow"
|
||||
default FREERTOS_CHECK_STACKOVERFLOW_CANARY
|
||||
help
|
||||
FreeRTOS can check for stack overflows in threads and trigger an user function
|
||||
called vApplicationStackOverflowHook when this happens.
|
||||
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_NONE
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_NONE
|
||||
bool "No checking"
|
||||
help
|
||||
Do not check for stack overflows (configCHECK_FOR_STACK_OVERFLOW=0)
|
||||
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_PTRVAL
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_PTRVAL
|
||||
bool "Check by stack pointer value"
|
||||
help
|
||||
Check for stack overflows on each context switch by checking if
|
||||
@ -73,16 +73,16 @@ config FREERTOS_CHECK_STACKOVERFLOW_PTRVAL
|
||||
stack overflows that happened between context switches
|
||||
(configCHECK_FOR_STACK_OVERFLOW=1)
|
||||
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_CANARY
|
||||
config FREERTOS_CHECK_STACKOVERFLOW_CANARY
|
||||
bool "Check using canary bytes"
|
||||
help
|
||||
Places some magic bytes at the end of the stack area and on each
|
||||
context switch, check if these bytes are still intact. More thorough
|
||||
than just checking the pointer, but also slightly slower.
|
||||
(configCHECK_FOR_STACK_OVERFLOW=2)
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FREERTOS_WATCHPOINT_END_OF_STACK
|
||||
config FREERTOS_WATCHPOINT_END_OF_STACK
|
||||
bool "Set a debug watchpoint as a stack overflow check"
|
||||
default n
|
||||
help
|
||||
@ -95,12 +95,13 @@ config FREERTOS_WATCHPOINT_END_OF_STACK
|
||||
effectively only have one watchpoint; the 2nd one is overwritten as soon as a task switch happens.
|
||||
|
||||
This check only triggers if the stack overflow writes within 4 bytes of the end of the stack, rather than
|
||||
overshooting further, so it is worth combining this approach with one of the other stack overflow check methods.
|
||||
overshooting further, so it is worth combining this approach with one of the other stack overflow check
|
||||
methods.
|
||||
|
||||
When this watchpoint is hit, gdb will stop with a SIGTRAP message. When no JTAG OCD is attached, esp-idf
|
||||
will panic on an unhandled debug exception.
|
||||
|
||||
config FREERTOS_INTERRUPT_BACKTRACE
|
||||
config FREERTOS_INTERRUPT_BACKTRACE
|
||||
bool "Enable backtrace from interrupt to task context"
|
||||
default y
|
||||
help
|
||||
@ -112,7 +113,7 @@ config FREERTOS_INTERRUPT_BACKTRACE
|
||||
lower level interrupt.
|
||||
This option adds 4 instructions to the interrupt dispatching code.
|
||||
|
||||
config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
|
||||
config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
|
||||
int "Number of thread local storage pointers"
|
||||
range 1 256
|
||||
default 1
|
||||
@ -123,45 +124,45 @@ config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
|
||||
This value must be at least 1. Index 0 is reserved for use by the pthreads API
|
||||
thread-local-storage. Other indexes can be used for any desired purpose.
|
||||
|
||||
choice FREERTOS_ASSERT
|
||||
choice FREERTOS_ASSERT
|
||||
prompt "FreeRTOS assertions"
|
||||
default FREERTOS_ASSERT_FAIL_ABORT
|
||||
help
|
||||
Failed FreeRTOS configASSERT() assertions can be configured to
|
||||
behave in different ways.
|
||||
|
||||
config FREERTOS_ASSERT_FAIL_ABORT
|
||||
config FREERTOS_ASSERT_FAIL_ABORT
|
||||
bool "abort() on failed assertions"
|
||||
help
|
||||
If a FreeRTOS configASSERT() fails, FreeRTOS will abort() and
|
||||
halt execution. The panic handler can be configured to handle
|
||||
the outcome of an abort() in different ways.
|
||||
|
||||
config FREERTOS_ASSERT_FAIL_PRINT_CONTINUE
|
||||
config FREERTOS_ASSERT_FAIL_PRINT_CONTINUE
|
||||
bool "Print and continue failed assertions"
|
||||
help
|
||||
If a FreeRTOS assertion fails, print it out and continue.
|
||||
|
||||
config FREERTOS_ASSERT_DISABLE
|
||||
config FREERTOS_ASSERT_DISABLE
|
||||
bool "Disable FreeRTOS assertions"
|
||||
help
|
||||
FreeRTOS configASSERT() will not be compiled into the binary.
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FREERTOS_IDLE_TASK_STACKSIZE
|
||||
config FREERTOS_IDLE_TASK_STACKSIZE
|
||||
int "Idle Task stack size"
|
||||
range 768 32768
|
||||
default 1536
|
||||
help
|
||||
The idle task has its own stack, sized in bytes. The default size is enough for most uses. Size can be reduced
|
||||
to 768 bytes if no (or simple) FreeRTOS idle hooks are used and pthread local storage or FreeRTOS local storage
|
||||
cleanup callbacks are not used.
|
||||
The idle task has its own stack, sized in bytes. The default size is enough for most uses. Size can be
|
||||
reduced to 768 bytes if no (or simple) FreeRTOS idle hooks are used and pthread local storage or FreeRTOS
|
||||
local storage cleanup callbacks are not used.
|
||||
|
||||
The stack size may need to be increased above the default if the app installs idle or thread local storage
|
||||
cleanup hooks that use a lot of stack memory.
|
||||
|
||||
config FREERTOS_ISR_STACKSIZE
|
||||
config FREERTOS_ISR_STACKSIZE
|
||||
int "ISR stack size"
|
||||
range 1536 32768
|
||||
default 1536
|
||||
@ -169,7 +170,7 @@ config FREERTOS_ISR_STACKSIZE
|
||||
The interrupt handlers have their own stack. The size of the stack can be defined here.
|
||||
Each processor has its own stack, so the total size occupied will be twice this.
|
||||
|
||||
config FREERTOS_LEGACY_HOOKS
|
||||
config FREERTOS_LEGACY_HOOKS
|
||||
bool "Use FreeRTOS legacy hooks"
|
||||
default n
|
||||
help
|
||||
@ -179,7 +180,7 @@ config FREERTOS_LEGACY_HOOKS
|
||||
hooks can also still be enabled. Please enable this only if you have code that for some
|
||||
reason can't be migrated to the esp_register_freertos_xxx_hook system.
|
||||
|
||||
config FREERTOS_MAX_TASK_NAME_LEN
|
||||
config FREERTOS_MAX_TASK_NAME_LEN
|
||||
int "Maximum task name length"
|
||||
range 1 256
|
||||
default 16
|
||||
@ -191,7 +192,7 @@ config FREERTOS_MAX_TASK_NAME_LEN
|
||||
|
||||
For most uses, the default of 16 is OK.
|
||||
|
||||
config SUPPORT_STATIC_ALLOCATION
|
||||
config SUPPORT_STATIC_ALLOCATION
|
||||
bool "Enable FreeRTOS static allocation API"
|
||||
default n
|
||||
help
|
||||
@ -212,14 +213,14 @@ config SUPPORT_STATIC_ALLOCATION
|
||||
the application, and the preference of the application writer. Both methods have pros
|
||||
and cons, and both methods can be used within the same RTOS application.
|
||||
|
||||
Creating RTOS objects using statically allocated RAM has the benefit of providing the
|
||||
application writer with more control: RTOS objects can be placed at specific memory locations.
|
||||
The maximum RAM footprint can be determined at link time, rather than run time.
|
||||
The application writer does not need to concern themselves with graceful handling of memory allocation failures.
|
||||
It allows the RTOS to be used in applications that simply don't allow any dynamic memory allocation
|
||||
(although FreeRTOS includes allocation schemes that can overcome most objections).
|
||||
Creating RTOS objects using statically allocated RAM has the benefit of providing the application writer
|
||||
with more control: RTOS objects can be placed at specific memory locations. The maximum RAM footprint can
|
||||
be determined at link time, rather than run time. The application writer does not need to concern
|
||||
themselves with graceful handling of memory allocation failures. It allows the RTOS to be used in
|
||||
applications that simply don't allow any dynamic memory allocation (although FreeRTOS includes allocation
|
||||
schemes that can overcome most objections).
|
||||
|
||||
config ENABLE_STATIC_TASK_CLEAN_UP_HOOK
|
||||
config ENABLE_STATIC_TASK_CLEAN_UP_HOOK
|
||||
bool "Enable static task clean up hook"
|
||||
depends on SUPPORT_STATIC_ALLOCATION
|
||||
default n
|
||||
@ -232,7 +233,7 @@ config ENABLE_STATIC_TASK_CLEAN_UP_HOOK
|
||||
// place clean up code here
|
||||
}
|
||||
|
||||
config TIMER_TASK_PRIORITY
|
||||
config TIMER_TASK_PRIORITY
|
||||
int "FreeRTOS timer task priority"
|
||||
range 1 25
|
||||
default 1
|
||||
@ -243,7 +244,7 @@ config TIMER_TASK_PRIORITY
|
||||
|
||||
Use this constant to define the priority that the timer task will run at.
|
||||
|
||||
config TIMER_TASK_STACK_DEPTH
|
||||
config TIMER_TASK_STACK_DEPTH
|
||||
int "FreeRTOS timer task stack size"
|
||||
range 1536 32768
|
||||
default 2048
|
||||
@ -254,7 +255,7 @@ config TIMER_TASK_STACK_DEPTH
|
||||
|
||||
Use this constant to define the size (in bytes) of the stack allocated for the timer task.
|
||||
|
||||
config TIMER_QUEUE_LENGTH
|
||||
config TIMER_QUEUE_LENGTH
|
||||
int "FreeRTOS timer queue length"
|
||||
range 5 20
|
||||
default 10
|
||||
@ -266,7 +267,7 @@ config TIMER_QUEUE_LENGTH
|
||||
|
||||
For most uses the default value of 10 is OK.
|
||||
|
||||
config FREERTOS_QUEUE_REGISTRY_SIZE
|
||||
config FREERTOS_QUEUE_REGISTRY_SIZE
|
||||
int "FreeRTOS queue registry size"
|
||||
range 0 20
|
||||
default 0
|
||||
@ -276,7 +277,7 @@ config FREERTOS_QUEUE_REGISTRY_SIZE
|
||||
within a debugging GUI. A value of 0 will disable queue registry functionality, and a value larger than 0
|
||||
will specify the number of queues/semaphores/mutexes that the registry can hold.
|
||||
|
||||
config FREERTOS_USE_TRACE_FACILITY
|
||||
config FREERTOS_USE_TRACE_FACILITY
|
||||
bool "Enable FreeRTOS trace facility"
|
||||
default n
|
||||
help
|
||||
@ -284,7 +285,7 @@ config FREERTOS_USE_TRACE_FACILITY
|
||||
This will allow the usage of trace facility functions such as
|
||||
uxTaskGetSystemState().
|
||||
|
||||
config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
|
||||
config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
|
||||
bool "Enable FreeRTOS stats formatting functions"
|
||||
depends on FREERTOS_USE_TRACE_FACILITY
|
||||
default n
|
||||
@ -293,7 +294,7 @@ config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
|
||||
FreeRTOS. This will allow the usage of stats formatting functions such
|
||||
as vTaskList().
|
||||
|
||||
config FREERTOS_VTASKLIST_INCLUDE_COREID
|
||||
config FREERTOS_VTASKLIST_INCLUDE_COREID
|
||||
bool "Enable display of xCoreID in vTaskList"
|
||||
depends on FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
|
||||
default n
|
||||
@ -301,7 +302,7 @@ config FREERTOS_VTASKLIST_INCLUDE_COREID
|
||||
If enabled, this will include an extra column when vTaskList is called
|
||||
to display the CoreID the task is pinned to (0,1) or -1 if not pinned.
|
||||
|
||||
config FREERTOS_GENERATE_RUN_TIME_STATS
|
||||
config FREERTOS_GENERATE_RUN_TIME_STATS
|
||||
bool "Enable FreeRTOS to collect run time stats"
|
||||
default n
|
||||
select FREERTOS_USE_TRACE_FACILITY
|
||||
@ -319,7 +320,7 @@ config FREERTOS_GENERATE_RUN_TIME_STATS
|
||||
CPUs (task run time / no of CPUs) / (total run time / 100 )
|
||||
|
||||
|
||||
choice FREERTOS_RUN_TIME_STATS_CLK
|
||||
choice FREERTOS_RUN_TIME_STATS_CLK
|
||||
prompt "Choose the clock source for run time stats"
|
||||
depends on FREERTOS_GENERATE_RUN_TIME_STATS
|
||||
default FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER
|
||||
@ -330,7 +331,7 @@ choice FREERTOS_RUN_TIME_STATS_CLK
|
||||
but will overflow much quicker. Note that run time stats are only valid
|
||||
until the clock source overflows.
|
||||
|
||||
config FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER
|
||||
config FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER
|
||||
bool "Use ESP TIMER for run time stats"
|
||||
help
|
||||
ESP Timer will be used as the clock source for FreeRTOS run time stats.
|
||||
@ -338,7 +339,7 @@ config FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER
|
||||
Frequency Scaling. Therefore the ESP Timer will overflow in
|
||||
approximately 4290 seconds.
|
||||
|
||||
config FREERTOS_RUN_TIME_STATS_USING_CPU_CLK
|
||||
config FREERTOS_RUN_TIME_STATS_USING_CPU_CLK
|
||||
bool "Use CPU Clock for run time stats"
|
||||
help
|
||||
CPU Clock will be used as the clock source for the generation of run
|
||||
@ -351,9 +352,9 @@ config FREERTOS_RUN_TIME_STATS_USING_CPU_CLK
|
||||
clock consistently runs at the maximum frequency of 240MHz, it will
|
||||
overflow in approximately 17 seconds.
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FREERTOS_USE_TICKLESS_IDLE
|
||||
config FREERTOS_USE_TICKLESS_IDLE
|
||||
bool "Tickless idle support"
|
||||
depends on PM_ENABLE
|
||||
default n
|
||||
@ -368,7 +369,7 @@ config FREERTOS_USE_TICKLESS_IDLE
|
||||
|
||||
If disabled, automatic light sleep support will be disabled.
|
||||
|
||||
config FREERTOS_IDLE_TIME_BEFORE_SLEEP
|
||||
config FREERTOS_IDLE_TIME_BEFORE_SLEEP
|
||||
int "Minimum number of ticks to enter sleep mode for"
|
||||
depends on FREERTOS_USE_TICKLESS_IDLE
|
||||
default 3
|
||||
@ -378,16 +379,16 @@ config FREERTOS_IDLE_TIME_BEFORE_SLEEP
|
||||
FreeRTOS will enter light sleep mode if no tasks need to run for this number
|
||||
of ticks.
|
||||
|
||||
menuconfig FREERTOS_DEBUG_INTERNALS
|
||||
menuconfig FREERTOS_DEBUG_INTERNALS
|
||||
bool "Debug FreeRTOS internals"
|
||||
default n
|
||||
help
|
||||
Enable this option to show the menu with internal FreeRTOS debugging features.
|
||||
This option does not change any code by itself, it just shows/hides some options.
|
||||
|
||||
if FREERTOS_DEBUG_INTERNALS
|
||||
if FREERTOS_DEBUG_INTERNALS
|
||||
|
||||
config FREERTOS_PORTMUX_DEBUG
|
||||
config FREERTOS_PORTMUX_DEBUG
|
||||
bool "Debug portMUX portENTER_CRITICAL/portEXIT_CRITICAL"
|
||||
depends on FREERTOS_DEBUG_INTERNALS
|
||||
default n
|
||||
@ -395,19 +396,19 @@ config FREERTOS_PORTMUX_DEBUG
|
||||
If enabled, debug information (including integrity checks) will be printed
|
||||
to UART for the port-specific MUX implementation.
|
||||
|
||||
if !FREERTOS_UNICORE
|
||||
config FREERTOS_PORTMUX_DEBUG_RECURSIVE
|
||||
if !FREERTOS_UNICORE
|
||||
config FREERTOS_PORTMUX_DEBUG_RECURSIVE
|
||||
bool "Debug portMUX Recursion"
|
||||
depends on FREERTOS_PORTMUX_DEBUG
|
||||
default n
|
||||
help
|
||||
If enabled, additional debug information will be printed for recursive
|
||||
portMUX usage.
|
||||
endif #FREERTOS_UNICORE
|
||||
endif #FREERTOS_UNICORE
|
||||
|
||||
endif # FREERTOS_DEBUG_INTERNALS
|
||||
endif # FREERTOS_DEBUG_INTERNALS
|
||||
|
||||
config FREERTOS_TASK_FUNCTION_WRAPPER
|
||||
config FREERTOS_TASK_FUNCTION_WRAPPER
|
||||
bool "Enclose all task functions in a wrapper function"
|
||||
depends on OPTIMIZATION_LEVEL_DEBUG
|
||||
default y
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Heap memory debugging"
|
||||
|
||||
choice HEAP_CORRUPTION_DETECTION
|
||||
choice HEAP_CORRUPTION_DETECTION
|
||||
prompt "Heap corruption detection"
|
||||
default HEAP_POISONING_DISABLED
|
||||
help
|
||||
@ -9,24 +9,24 @@ choice HEAP_CORRUPTION_DETECTION
|
||||
See the "Heap Memory Debugging" page of the IDF documentation
|
||||
for a description of each level of heap corruption detection.
|
||||
|
||||
config HEAP_POISONING_DISABLED
|
||||
config HEAP_POISONING_DISABLED
|
||||
bool "Basic (no poisoning)"
|
||||
config HEAP_POISONING_LIGHT
|
||||
config HEAP_POISONING_LIGHT
|
||||
bool "Light impact"
|
||||
config HEAP_POISONING_COMPREHENSIVE
|
||||
config HEAP_POISONING_COMPREHENSIVE
|
||||
bool "Comprehensive"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config HEAP_TRACING
|
||||
config HEAP_TRACING
|
||||
bool "Enable heap tracing"
|
||||
help
|
||||
Enables the heap tracing API defined in esp_heap_trace.h.
|
||||
|
||||
This function causes a moderate increase in IRAM code side and a minor increase in heap function
|
||||
(malloc/free/realloc) CPU overhead, even when the tracing feature is not used. So it's best to keep it disabled
|
||||
unless tracing is being used.
|
||||
(malloc/free/realloc) CPU overhead, even when the tracing feature is not used. So it's best to keep it
|
||||
disabled unless tracing is being used.
|
||||
|
||||
config HEAP_TRACING_STACK_DEPTH
|
||||
config HEAP_TRACING_STACK_DEPTH
|
||||
int "Heap tracing stack depth"
|
||||
range 0 10
|
||||
default 2
|
||||
@ -37,7 +37,7 @@ config HEAP_TRACING_STACK_DEPTH
|
||||
More stack frames uses more memory in the heap trace buffer (and slows down allocation), but
|
||||
can provide useful information.
|
||||
|
||||
config HEAP_TASK_TRACKING
|
||||
config HEAP_TASK_TRACKING
|
||||
bool "Enable heap task tracking"
|
||||
depends on !HEAP_POISONING_DISABLED
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "libsodium"
|
||||
|
||||
config LIBSODIUM_USE_MBEDTLS_SHA
|
||||
config LIBSODIUM_USE_MBEDTLS_SHA
|
||||
bool "Use mbedTLS SHA256 & SHA512 implementations"
|
||||
default y
|
||||
depends on !MBEDTLS_HARDWARE_SHA
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Log output"
|
||||
|
||||
choice LOG_DEFAULT_LEVEL
|
||||
choice LOG_DEFAULT_LEVEL
|
||||
bool "Default log verbosity"
|
||||
default LOG_DEFAULT_LEVEL_INFO
|
||||
help
|
||||
@ -13,21 +13,21 @@ choice LOG_DEFAULT_LEVEL
|
||||
"Warning" would mean that changing log level to "Debug"
|
||||
at runtime will not be possible.
|
||||
|
||||
config LOG_DEFAULT_LEVEL_NONE
|
||||
config LOG_DEFAULT_LEVEL_NONE
|
||||
bool "No output"
|
||||
config LOG_DEFAULT_LEVEL_ERROR
|
||||
config LOG_DEFAULT_LEVEL_ERROR
|
||||
bool "Error"
|
||||
config LOG_DEFAULT_LEVEL_WARN
|
||||
config LOG_DEFAULT_LEVEL_WARN
|
||||
bool "Warning"
|
||||
config LOG_DEFAULT_LEVEL_INFO
|
||||
config LOG_DEFAULT_LEVEL_INFO
|
||||
bool "Info"
|
||||
config LOG_DEFAULT_LEVEL_DEBUG
|
||||
config LOG_DEFAULT_LEVEL_DEBUG
|
||||
bool "Debug"
|
||||
config LOG_DEFAULT_LEVEL_VERBOSE
|
||||
config LOG_DEFAULT_LEVEL_VERBOSE
|
||||
bool "Verbose"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config LOG_DEFAULT_LEVEL
|
||||
config LOG_DEFAULT_LEVEL
|
||||
int
|
||||
default 0 if LOG_DEFAULT_LEVEL_NONE
|
||||
default 1 if LOG_DEFAULT_LEVEL_ERROR
|
||||
@ -36,7 +36,7 @@ config LOG_DEFAULT_LEVEL
|
||||
default 4 if LOG_DEFAULT_LEVEL_DEBUG
|
||||
default 5 if LOG_DEFAULT_LEVEL_VERBOSE
|
||||
|
||||
config LOG_COLORS
|
||||
config LOG_COLORS
|
||||
bool "Use ANSI terminal colors in log output"
|
||||
default "y"
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "LWIP"
|
||||
|
||||
config L2_TO_L3_COPY
|
||||
config L2_TO_L3_COPY
|
||||
bool "Enable copy between Layer2 and Layer3 packets"
|
||||
default n
|
||||
help
|
||||
@ -16,7 +16,7 @@ config L2_TO_L3_COPY
|
||||
Please make sure you fully understand the impact of this feature before
|
||||
enabling it.
|
||||
|
||||
config LWIP_IRAM_OPTIMIZATION
|
||||
config LWIP_IRAM_OPTIMIZATION
|
||||
bool "Enable LWIP IRAM optimization"
|
||||
default n
|
||||
help
|
||||
@ -27,7 +27,7 @@ config LWIP_IRAM_OPTIMIZATION
|
||||
|
||||
If this feature is disabled, all lwip functions will be put into FLASH.
|
||||
|
||||
config LWIP_MAX_SOCKETS
|
||||
config LWIP_MAX_SOCKETS
|
||||
int "Max number of open sockets"
|
||||
range 1 16
|
||||
default 10
|
||||
@ -37,7 +37,7 @@ config LWIP_MAX_SOCKETS
|
||||
the maximum amount of sockets here. The valid value is from 1
|
||||
to 16.
|
||||
|
||||
config USE_ONLY_LWIP_SELECT
|
||||
config USE_ONLY_LWIP_SELECT
|
||||
bool "Support LWIP socket select() only"
|
||||
default n
|
||||
help
|
||||
@ -47,14 +47,14 @@ config USE_ONLY_LWIP_SELECT
|
||||
will be redirected to lwip_select(), therefore, select can be used
|
||||
for sockets only.
|
||||
|
||||
config LWIP_SO_REUSE
|
||||
config LWIP_SO_REUSE
|
||||
bool "Enable SO_REUSEADDR option"
|
||||
default y
|
||||
help
|
||||
Enabling this option allows binding to a port which remains in
|
||||
TIME_WAIT.
|
||||
|
||||
config LWIP_SO_REUSE_RXTOALL
|
||||
config LWIP_SO_REUSE_RXTOALL
|
||||
bool "SO_REUSEADDR copies broadcast/multicast to all matches"
|
||||
depends on LWIP_SO_REUSE
|
||||
default y
|
||||
@ -68,13 +68,13 @@ config LWIP_SO_REUSE_RXTOALL
|
||||
disable it if you don't plan to receive broadcast or multicast
|
||||
traffic on more than one socket at a time.
|
||||
|
||||
config LWIP_SO_RCVBUF
|
||||
config LWIP_SO_RCVBUF
|
||||
bool "Enable SO_RCVBUF option"
|
||||
default n
|
||||
help
|
||||
Enabling this option allows checking for available data on a netconn.
|
||||
|
||||
config LWIP_DHCP_MAX_NTP_SERVERS
|
||||
config LWIP_DHCP_MAX_NTP_SERVERS
|
||||
int "Maximum number of NTP servers"
|
||||
default 1
|
||||
range 1 16
|
||||
@ -83,26 +83,26 @@ config LWIP_DHCP_MAX_NTP_SERVERS
|
||||
First argument of sntp_setserver/sntp_setservername functions
|
||||
is limited to this value.
|
||||
|
||||
config LWIP_IP_FRAG
|
||||
config LWIP_IP_FRAG
|
||||
bool "Enable fragment outgoing IP packets"
|
||||
default n
|
||||
help
|
||||
Enabling this option allows fragmenting outgoing IP packets if their size
|
||||
exceeds MTU.
|
||||
|
||||
config LWIP_IP_REASSEMBLY
|
||||
config LWIP_IP_REASSEMBLY
|
||||
bool "Enable reassembly incoming fragmented IP packets"
|
||||
default n
|
||||
help
|
||||
Enabling this option allows reassemblying incoming fragmented IP packets.
|
||||
|
||||
config LWIP_STATS
|
||||
config LWIP_STATS
|
||||
bool "Enable LWIP statistics"
|
||||
default n
|
||||
help
|
||||
Enabling this option allows LWIP statistics
|
||||
|
||||
config LWIP_ETHARP_TRUST_IP_MAC
|
||||
config LWIP_ETHARP_TRUST_IP_MAC
|
||||
bool "Enable LWIP ARP trust"
|
||||
default n
|
||||
help
|
||||
@ -128,7 +128,7 @@ config LWIP_ETHARP_TRUST_IP_MAC
|
||||
So the recommendation is to disable this option.
|
||||
Here the LAN peer means the other side to which the ESP station or soft-AP is connected.
|
||||
|
||||
config ESP_GRATUITOUS_ARP
|
||||
config ESP_GRATUITOUS_ARP
|
||||
bool "Send gratuitous ARP periodically"
|
||||
default y
|
||||
help
|
||||
@ -138,14 +138,14 @@ config ESP_GRATUITOUS_ARP
|
||||
doesn't send ARP request to update it's ARP table, this will lead to the STA sending IP packet fail.
|
||||
Thus we send gratuitous ARP periodically to let AP update it's ARP table.
|
||||
|
||||
config GARP_TMR_INTERVAL
|
||||
config GARP_TMR_INTERVAL
|
||||
int "GARP timer interval(seconds)"
|
||||
default 60
|
||||
depends on ESP_GRATUITOUS_ARP
|
||||
help
|
||||
Set the timer interval for gratuitous ARP. The default value is 60s
|
||||
|
||||
config TCPIP_RECVMBOX_SIZE
|
||||
config TCPIP_RECVMBOX_SIZE
|
||||
int "TCPIP task receive mail box size"
|
||||
default 32
|
||||
range 6 64
|
||||
@ -153,24 +153,24 @@ config TCPIP_RECVMBOX_SIZE
|
||||
Set TCPIP task receive mail box size. Generally bigger value means higher throughput
|
||||
but more memory. The value should be bigger than UDP/TCP mail box size.
|
||||
|
||||
config LWIP_DHCP_DOES_ARP_CHECK
|
||||
config LWIP_DHCP_DOES_ARP_CHECK
|
||||
bool "DHCP: Perform ARP check on any offered address"
|
||||
default y
|
||||
help
|
||||
Enabling this option performs a check (via ARP request) if the offered IP address
|
||||
is not already in use by another host on the network.
|
||||
|
||||
config LWIP_DHCP_RESTORE_LAST_IP
|
||||
config LWIP_DHCP_RESTORE_LAST_IP
|
||||
bool "DHCP: Restore last IP obtained from DHCP server"
|
||||
default n
|
||||
help
|
||||
When this option is enabled, DHCP client tries to re-obtain last valid IP address obtained from DHCP server.
|
||||
Last valid DHCP configuration is stored in nvs and restored after reset/power-up. If IP is still available,
|
||||
there is no need for sending discovery message to DHCP server and save some time.
|
||||
When this option is enabled, DHCP client tries to re-obtain last valid IP address obtained from DHCP
|
||||
server. Last valid DHCP configuration is stored in nvs and restored after reset/power-up. If IP is still
|
||||
available, there is no need for sending discovery message to DHCP server and save some time.
|
||||
|
||||
menu "DHCP server"
|
||||
menu "DHCP server"
|
||||
|
||||
config LWIP_DHCPS_LEASE_UNIT
|
||||
config LWIP_DHCPS_LEASE_UNIT
|
||||
int "Multiplier for lease time, in seconds"
|
||||
range 1 3600
|
||||
default 60
|
||||
@ -179,7 +179,7 @@ config LWIP_DHCPS_LEASE_UNIT
|
||||
and received times by this number of seconds per unit.
|
||||
The default is 60, that equals one minute.
|
||||
|
||||
config LWIP_DHCPS_MAX_STATION_NUM
|
||||
config LWIP_DHCPS_MAX_STATION_NUM
|
||||
int "Maximum number of stations"
|
||||
range 1 64
|
||||
default 8
|
||||
@ -188,9 +188,9 @@ config LWIP_DHCPS_MAX_STATION_NUM
|
||||
After this number is exceeded, DHCP server removes of the oldest device
|
||||
from it's address pool, without notification.
|
||||
|
||||
endmenu # DHCPS
|
||||
endmenu # DHCPS
|
||||
|
||||
menuconfig LWIP_AUTOIP
|
||||
menuconfig LWIP_AUTOIP
|
||||
bool "Enable IPV4 Link-Local Addressing (AUTOIP)"
|
||||
default n
|
||||
help
|
||||
@ -199,7 +199,7 @@ menuconfig LWIP_AUTOIP
|
||||
|
||||
See RFC 3927.
|
||||
|
||||
config LWIP_AUTOIP_TRIES
|
||||
config LWIP_AUTOIP_TRIES
|
||||
int "DHCP Probes before self-assigning IPv4 LL address"
|
||||
range 1 100
|
||||
default 2
|
||||
@ -213,7 +213,7 @@ config LWIP_AUTOIP_TRIES
|
||||
changing IP address when DHCP overrides AutoIP." (In the case of
|
||||
ESP-IDF, this means multiple SYSTEM_EVENT_STA_GOT_IP events.)
|
||||
|
||||
config LWIP_AUTOIP_MAX_CONFLICTS
|
||||
config LWIP_AUTOIP_MAX_CONFLICTS
|
||||
int "Max IP conflicts before rate limiting"
|
||||
range 1 100
|
||||
default 9
|
||||
@ -222,7 +222,7 @@ config LWIP_AUTOIP_MAX_CONFLICTS
|
||||
If the AUTOIP functionality detects this many IP conflicts while
|
||||
self-assigning an address, it will go into a rate limited mode.
|
||||
|
||||
config LWIP_AUTOIP_RATE_LIMIT_INTERVAL
|
||||
config LWIP_AUTOIP_RATE_LIMIT_INTERVAL
|
||||
int "Rate limited interval (seconds)"
|
||||
range 5 120
|
||||
default 20
|
||||
@ -231,7 +231,7 @@ config LWIP_AUTOIP_RATE_LIMIT_INTERVAL
|
||||
If rate limiting self-assignment requests, wait this long between
|
||||
each request.
|
||||
|
||||
menuconfig LWIP_NETIF_LOOPBACK
|
||||
menuconfig LWIP_NETIF_LOOPBACK
|
||||
bool "Support per-interface loopback"
|
||||
default y
|
||||
help
|
||||
@ -239,7 +239,7 @@ menuconfig LWIP_NETIF_LOOPBACK
|
||||
address equal to the interface's own IP address, it will "loop back" and
|
||||
be received by this interface.
|
||||
|
||||
config LWIP_LOOPBACK_MAX_PBUFS
|
||||
config LWIP_LOOPBACK_MAX_PBUFS
|
||||
int "Max queued loopback packets per interface"
|
||||
range 0 16
|
||||
default 8
|
||||
@ -249,9 +249,9 @@ config LWIP_LOOPBACK_MAX_PBUFS
|
||||
loopback on a given interface. Reducing this number may cause packets
|
||||
to be dropped, but will avoid filling memory with queued packet data.
|
||||
|
||||
menu "TCP"
|
||||
menu "TCP"
|
||||
|
||||
config LWIP_MAX_ACTIVE_TCP
|
||||
config LWIP_MAX_ACTIVE_TCP
|
||||
int "Maximum active TCP Connections"
|
||||
range 1 1024
|
||||
default 16
|
||||
@ -264,7 +264,7 @@ config LWIP_MAX_ACTIVE_TCP
|
||||
change the memory usage of LWIP, except for preventing
|
||||
new TCP connections after the limit is reached.
|
||||
|
||||
config LWIP_MAX_LISTENING_TCP
|
||||
config LWIP_MAX_LISTENING_TCP
|
||||
int "Maximum listening TCP Connections"
|
||||
range 1 1024
|
||||
default 16
|
||||
@ -278,21 +278,21 @@ config LWIP_MAX_LISTENING_TCP
|
||||
new listening TCP connections after the limit is reached.
|
||||
|
||||
|
||||
config TCP_MAXRTX
|
||||
config TCP_MAXRTX
|
||||
int "Maximum number of retransmissions of data segments"
|
||||
default 12
|
||||
range 3 12
|
||||
help
|
||||
Set maximum number of retransmissions of data segments.
|
||||
|
||||
config TCP_SYNMAXRTX
|
||||
config TCP_SYNMAXRTX
|
||||
int "Maximum number of retransmissions of SYN segments"
|
||||
default 6
|
||||
range 3 12
|
||||
help
|
||||
Set maximum number of retransmissions of SYN segments.
|
||||
|
||||
config TCP_MSS
|
||||
config TCP_MSS
|
||||
int "Maximum Segment Size (MSS)"
|
||||
default 1436
|
||||
range 1220 1436
|
||||
@ -301,13 +301,13 @@ config TCP_MSS
|
||||
|
||||
Can be set lower to save RAM, the default value 1436 will give best throughput.
|
||||
|
||||
config TCP_MSL
|
||||
config TCP_MSL
|
||||
int "Maximum segment lifetime (MSL)"
|
||||
default 60000
|
||||
help
|
||||
Set maximum segment lifetime in in milliseconds.
|
||||
|
||||
config TCP_SND_BUF_DEFAULT
|
||||
config TCP_SND_BUF_DEFAULT
|
||||
int "Default send buffer size"
|
||||
default 5744 # 4 * default MSS
|
||||
range 2440 65535
|
||||
@ -323,7 +323,7 @@ config TCP_SND_BUF_DEFAULT
|
||||
Setting a smaller default SNDBUF size can save some RAM, but
|
||||
will decrease performance.
|
||||
|
||||
config TCP_WND_DEFAULT
|
||||
config TCP_WND_DEFAULT
|
||||
int "Default receive window size"
|
||||
default 5744 # 4 * default MSS
|
||||
range 2440 65535
|
||||
@ -336,7 +336,7 @@ config TCP_WND_DEFAULT
|
||||
Setting a smaller default receive window size can save some RAM,
|
||||
but will significantly decrease performance.
|
||||
|
||||
config TCP_RECVMBOX_SIZE
|
||||
config TCP_RECVMBOX_SIZE
|
||||
int "Default TCP receive mail box size"
|
||||
default 6
|
||||
range 6 64
|
||||
@ -356,7 +356,7 @@ config TCP_RECVMBOX_SIZE
|
||||
mail box is full, the LWIP drops the packets. So generally we need to make sure the TCP
|
||||
receive mail box is big enough to avoid packet drop between LWIP core and application.
|
||||
|
||||
config TCP_QUEUE_OOSEQ
|
||||
config TCP_QUEUE_OOSEQ
|
||||
bool "Queue incoming out-of-order segments"
|
||||
default y
|
||||
help
|
||||
@ -365,7 +365,7 @@ config TCP_QUEUE_OOSEQ
|
||||
Disable this option to save some RAM during TCP sessions, at the expense
|
||||
of increased retransmissions if segments arrive out of order.
|
||||
|
||||
config ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES
|
||||
config ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES
|
||||
bool "Keep TCP connections when IP changed"
|
||||
default n
|
||||
help
|
||||
@ -375,7 +375,7 @@ config ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES
|
||||
Disable this option to keep consistent with the original LWIP code behavior.
|
||||
|
||||
|
||||
choice TCP_OVERSIZE
|
||||
choice TCP_OVERSIZE
|
||||
prompt "Pre-allocate transmit PBUF size"
|
||||
default TCP_OVERSIZE_MSS
|
||||
help
|
||||
@ -390,20 +390,20 @@ choice TCP_OVERSIZE
|
||||
have worst performance and fragmentation characteristics, but uses
|
||||
least RAM overall.
|
||||
|
||||
config TCP_OVERSIZE_MSS
|
||||
config TCP_OVERSIZE_MSS
|
||||
bool "MSS"
|
||||
config TCP_OVERSIZE_QUARTER_MSS
|
||||
config TCP_OVERSIZE_QUARTER_MSS
|
||||
bool "25% MSS"
|
||||
config TCP_OVERSIZE_DISABLE
|
||||
config TCP_OVERSIZE_DISABLE
|
||||
bool "Disabled"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu # TCP
|
||||
endmenu # TCP
|
||||
|
||||
menu "UDP"
|
||||
menu "UDP"
|
||||
|
||||
config LWIP_MAX_UDP_PCBS
|
||||
config LWIP_MAX_UDP_PCBS
|
||||
int "Maximum active UDP control blocks"
|
||||
range 1 1024
|
||||
default 16
|
||||
@ -413,7 +413,7 @@ config LWIP_MAX_UDP_PCBS
|
||||
The practical maximum limit is determined by available
|
||||
heap memory at runtime.
|
||||
|
||||
config UDP_RECVMBOX_SIZE
|
||||
config UDP_RECVMBOX_SIZE
|
||||
int "Default UDP receive mail box size"
|
||||
default 6
|
||||
range 6 64
|
||||
@ -430,9 +430,9 @@ config UDP_RECVMBOX_SIZE
|
||||
mail box is full, the LWIP drops the packets. So generally we need to make sure the UDP
|
||||
receive mail box is big enough to avoid packet drop between LWIP core and application.
|
||||
|
||||
endmenu # UDP
|
||||
endmenu # UDP
|
||||
|
||||
config TCPIP_TASK_STACK_SIZE
|
||||
config TCPIP_TASK_STACK_SIZE
|
||||
int "TCP/IP Task Stack Size"
|
||||
default 3072
|
||||
# for high log levels, tcpip_adapter API calls can end up
|
||||
@ -443,7 +443,7 @@ config TCPIP_TASK_STACK_SIZE
|
||||
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
|
||||
Setting this stack too small will result in stack overflow crashes.
|
||||
|
||||
choice TCPIP_TASK_AFFINITY
|
||||
choice TCPIP_TASK_AFFINITY
|
||||
prompt "TCP/IP task affinity"
|
||||
default TCPIP_TASK_AFFINITY_NO_AFFINITY
|
||||
help
|
||||
@ -451,24 +451,24 @@ choice TCPIP_TASK_AFFINITY
|
||||
CPU0, pinned to CPU1, or allowed to run on any CPU.
|
||||
Currently this applies to "TCP/IP" task and "Ping" task.
|
||||
|
||||
config TCPIP_TASK_AFFINITY_NO_AFFINITY
|
||||
config TCPIP_TASK_AFFINITY_NO_AFFINITY
|
||||
bool "No affinity"
|
||||
config TCPIP_TASK_AFFINITY_CPU0
|
||||
config TCPIP_TASK_AFFINITY_CPU0
|
||||
bool "CPU0"
|
||||
config TCPIP_TASK_AFFINITY_CPU1
|
||||
config TCPIP_TASK_AFFINITY_CPU1
|
||||
bool "CPU1"
|
||||
depends on !FREERTOS_UNICORE
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config TCPIP_TASK_AFFINITY
|
||||
config TCPIP_TASK_AFFINITY
|
||||
hex
|
||||
default FREERTOS_NO_AFFINITY if TCPIP_TASK_AFFINITY_NO_AFFINITY
|
||||
default 0x0 if TCPIP_TASK_AFFINITY_CPU0
|
||||
default 0x1 if TCPIP_TASK_AFFINITY_CPU1
|
||||
|
||||
|
||||
menuconfig PPP_SUPPORT
|
||||
menuconfig PPP_SUPPORT
|
||||
bool "Enable PPP support (new/experimental)"
|
||||
default n
|
||||
help
|
||||
@ -476,63 +476,63 @@ menuconfig PPP_SUPPORT
|
||||
|
||||
PPP over serial support is experimental and unsupported.
|
||||
|
||||
config PPP_NOTIFY_PHASE_SUPPORT
|
||||
config PPP_NOTIFY_PHASE_SUPPORT
|
||||
bool "Enable Notify Phase Callback"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable to set a callback which is called on change of the internal PPP state machine.
|
||||
|
||||
config PPP_PAP_SUPPORT
|
||||
config PPP_PAP_SUPPORT
|
||||
bool "Enable PAP support"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable Password Authentication Protocol (PAP) support
|
||||
|
||||
config PPP_CHAP_SUPPORT
|
||||
config PPP_CHAP_SUPPORT
|
||||
bool "Enable CHAP support"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable Challenge Handshake Authentication Protocol (CHAP) support
|
||||
|
||||
config PPP_MSCHAP_SUPPORT
|
||||
config PPP_MSCHAP_SUPPORT
|
||||
bool "Enable MSCHAP support"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable Microsoft version of the Challenge-Handshake Authentication Protocol (MSCHAP) support
|
||||
|
||||
config PPP_MPPE_SUPPORT
|
||||
config PPP_MPPE_SUPPORT
|
||||
bool "Enable MPPE support"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable Microsoft Point-to-Point Encryption (MPPE) support
|
||||
|
||||
config PPP_DEBUG_ON
|
||||
config PPP_DEBUG_ON
|
||||
bool "Enable PPP debug log output"
|
||||
depends on PPP_SUPPORT
|
||||
default n
|
||||
help
|
||||
Enable PPP debug log output
|
||||
|
||||
menu "ICMP"
|
||||
menu "ICMP"
|
||||
|
||||
config LWIP_MULTICAST_PING
|
||||
config LWIP_MULTICAST_PING
|
||||
bool "Respond to multicast pings"
|
||||
default n
|
||||
|
||||
config LWIP_BROADCAST_PING
|
||||
config LWIP_BROADCAST_PING
|
||||
bool "Respond to broadcast pings"
|
||||
default n
|
||||
|
||||
endmenu # ICMP
|
||||
endmenu # ICMP
|
||||
|
||||
menu "LWIP RAW API"
|
||||
menu "LWIP RAW API"
|
||||
|
||||
config LWIP_MAX_RAW_PCBS
|
||||
config LWIP_MAX_RAW_PCBS
|
||||
int "Maximum LWIP RAW PCBs"
|
||||
range 1 1024
|
||||
default 16
|
||||
@ -541,6 +541,6 @@ config LWIP_MAX_RAW_PCBS
|
||||
RAW protocol control blocks. The practical maximum
|
||||
limit is determined by available heap memory at runtime.
|
||||
|
||||
endmenu # LWIP RAW API
|
||||
endmenu # LWIP RAW API
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "mbedTLS"
|
||||
|
||||
choice MBEDTLS_MEM_ALLOC_MODE
|
||||
choice MBEDTLS_MEM_ALLOC_MODE
|
||||
prompt "Memory allocation strategy"
|
||||
default MBEDTLS_INTERNAL_MEM_ALLOC
|
||||
help
|
||||
@ -19,22 +19,22 @@ choice MBEDTLS_MEM_ALLOC_MODE
|
||||
allow sufficient free internal memory then alternate mode can be
|
||||
selected.
|
||||
|
||||
config MBEDTLS_INTERNAL_MEM_ALLOC
|
||||
config MBEDTLS_INTERNAL_MEM_ALLOC
|
||||
bool "Internal memory"
|
||||
|
||||
config MBEDTLS_EXTERNAL_MEM_ALLOC
|
||||
config MBEDTLS_EXTERNAL_MEM_ALLOC
|
||||
bool "External SPIRAM"
|
||||
depends on SPIRAM_SUPPORT
|
||||
|
||||
config MBEDTLS_DEFAULT_MEM_ALLOC
|
||||
config MBEDTLS_DEFAULT_MEM_ALLOC
|
||||
bool "Default alloc mode"
|
||||
|
||||
config MBEDTLS_CUSTOM_MEM_ALLOC
|
||||
config MBEDTLS_CUSTOM_MEM_ALLOC
|
||||
bool "Custom alloc mode"
|
||||
|
||||
endchoice #MBEDTLS_MEM_ALLOC_MODE
|
||||
endchoice #MBEDTLS_MEM_ALLOC_MODE
|
||||
|
||||
config MBEDTLS_SSL_MAX_CONTENT_LEN
|
||||
config MBEDTLS_SSL_MAX_CONTENT_LEN
|
||||
int "TLS maximum message content length"
|
||||
default 16384
|
||||
range 512 16384
|
||||
@ -55,7 +55,7 @@ config MBEDTLS_SSL_MAX_CONTENT_LEN
|
||||
handshake or a return value of MBEDTLS_ERR_SSL_INVALID_RECORD
|
||||
(-0x7200).
|
||||
|
||||
config MBEDTLS_ASYMMETRIC_CONTENT_LEN
|
||||
config MBEDTLS_ASYMMETRIC_CONTENT_LEN
|
||||
bool "Asymmetric in/out fragment length"
|
||||
default n
|
||||
help
|
||||
@ -63,7 +63,7 @@ config MBEDTLS_ASYMMETRIC_CONTENT_LEN
|
||||
in asymmetric way. Please note that enabling this with default values
|
||||
saves 12KB of dynamic memory per TLS connection.
|
||||
|
||||
config MBEDTLS_SSL_IN_CONTENT_LEN
|
||||
config MBEDTLS_SSL_IN_CONTENT_LEN
|
||||
int "TLS maximum incoming fragment length"
|
||||
default 16384
|
||||
range 512 16384
|
||||
@ -72,7 +72,7 @@ config MBEDTLS_SSL_IN_CONTENT_LEN
|
||||
This defines maximum incoming fragment length, overriding default
|
||||
maximum content length (MBEDTLS_SSL_MAX_CONTENT_LEN).
|
||||
|
||||
config MBEDTLS_SSL_OUT_CONTENT_LEN
|
||||
config MBEDTLS_SSL_OUT_CONTENT_LEN
|
||||
int "TLS maximum outgoing fragment length"
|
||||
default 4096
|
||||
range 512 16384
|
||||
@ -81,7 +81,7 @@ config MBEDTLS_SSL_OUT_CONTENT_LEN
|
||||
This defines maximum outgoing fragment length, overriding default
|
||||
maximum content length (MBEDTLS_SSL_MAX_CONTENT_LEN).
|
||||
|
||||
config MBEDTLS_DEBUG
|
||||
config MBEDTLS_DEBUG
|
||||
bool "Enable mbedTLS debugging"
|
||||
default n
|
||||
help
|
||||
@ -92,7 +92,7 @@ config MBEDTLS_DEBUG
|
||||
at runtime in order to enable mbedTLS debug output via the ESP
|
||||
log mechanism.
|
||||
|
||||
config MBEDTLS_HARDWARE_AES
|
||||
config MBEDTLS_HARDWARE_AES
|
||||
bool "Enable hardware AES acceleration"
|
||||
default y
|
||||
help
|
||||
@ -101,7 +101,7 @@ config MBEDTLS_HARDWARE_AES
|
||||
Note that if the ESP32 CPU is running at 240MHz, hardware AES does not
|
||||
offer any speed boost over software AES.
|
||||
|
||||
config MBEDTLS_HARDWARE_MPI
|
||||
config MBEDTLS_HARDWARE_MPI
|
||||
bool "Enable hardware MPI (bignum) acceleration"
|
||||
default n
|
||||
help
|
||||
@ -112,7 +112,7 @@ config MBEDTLS_HARDWARE_MPI
|
||||
|
||||
These operations are used by RSA.
|
||||
|
||||
config MBEDTLS_MPI_USE_INTERRUPT
|
||||
config MBEDTLS_MPI_USE_INTERRUPT
|
||||
bool "Use interrupt for MPI operations"
|
||||
depends on MBEDTLS_HARDWARE_MPI
|
||||
default n
|
||||
@ -122,7 +122,7 @@ config MBEDTLS_MPI_USE_INTERRUPT
|
||||
This allows other code to run on the CPU while an MPI operation is pending.
|
||||
Otherwise the CPU busy-waits.
|
||||
|
||||
config MBEDTLS_HARDWARE_SHA
|
||||
config MBEDTLS_HARDWARE_SHA
|
||||
bool "Enable hardware SHA acceleration"
|
||||
default n
|
||||
help
|
||||
@ -137,7 +137,7 @@ config MBEDTLS_HARDWARE_SHA
|
||||
SHA hardware acceleration is faster than software in some situations but
|
||||
slower in others. You should benchmark to find the best setting for you.
|
||||
|
||||
config MBEDTLS_HAVE_TIME
|
||||
config MBEDTLS_HAVE_TIME
|
||||
bool "Enable mbedtls time"
|
||||
depends on !ESP32_TIME_SYSCALL_USE_NONE
|
||||
default y
|
||||
@ -145,7 +145,7 @@ config MBEDTLS_HAVE_TIME
|
||||
System has time.h and time().
|
||||
The time does not need to be correct, only time differences are used.
|
||||
|
||||
config MBEDTLS_HAVE_TIME_DATE
|
||||
config MBEDTLS_HAVE_TIME_DATE
|
||||
bool "Enable mbedtls certificate expiry check"
|
||||
depends on MBEDTLS_HAVE_TIME
|
||||
default n
|
||||
@ -157,7 +157,7 @@ config MBEDTLS_HAVE_TIME_DATE
|
||||
|
||||
It is suggested that you should get the real time by "SNTP".
|
||||
|
||||
choice MBEDTLS_TLS_MODE
|
||||
choice MBEDTLS_TLS_MODE
|
||||
bool "TLS Protocol Role"
|
||||
default MBEDTLS_TLS_SERVER_AND_CLIENT
|
||||
help
|
||||
@ -166,34 +166,34 @@ choice MBEDTLS_TLS_MODE
|
||||
|
||||
Reducing the number of TLS roles supported saves code size.
|
||||
|
||||
config MBEDTLS_TLS_SERVER_AND_CLIENT
|
||||
config MBEDTLS_TLS_SERVER_AND_CLIENT
|
||||
bool "Server & Client"
|
||||
select MBEDTLS_TLS_SERVER
|
||||
select MBEDTLS_TLS_CLIENT
|
||||
config MBEDTLS_TLS_SERVER_ONLY
|
||||
config MBEDTLS_TLS_SERVER_ONLY
|
||||
bool "Server"
|
||||
select MBEDTLS_TLS_SERVER
|
||||
config MBEDTLS_TLS_CLIENT_ONLY
|
||||
config MBEDTLS_TLS_CLIENT_ONLY
|
||||
bool "Client"
|
||||
select MBEDTLS_TLS_CLIENT
|
||||
config MBEDTLS_TLS_DISABLED
|
||||
config MBEDTLS_TLS_DISABLED
|
||||
bool "None"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MBEDTLS_TLS_SERVER
|
||||
config MBEDTLS_TLS_SERVER
|
||||
bool
|
||||
select MBEDTLS_TLS_ENABLED
|
||||
config MBEDTLS_TLS_CLIENT
|
||||
config MBEDTLS_TLS_CLIENT
|
||||
bool
|
||||
select MBEDTLS_TLS_ENABLED
|
||||
config MBEDTLS_TLS_ENABLED
|
||||
config MBEDTLS_TLS_ENABLED
|
||||
bool
|
||||
|
||||
menu "TLS Key Exchange Methods"
|
||||
menu "TLS Key Exchange Methods"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
|
||||
config MBEDTLS_PSK_MODES
|
||||
config MBEDTLS_PSK_MODES
|
||||
bool "Enable pre-shared-key ciphersuites"
|
||||
default n
|
||||
help
|
||||
@ -201,47 +201,47 @@ config MBEDTLS_PSK_MODES
|
||||
|
||||
Leaving this options disabled will save code size if they are not used.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_PSK
|
||||
config MBEDTLS_KEY_EXCHANGE_PSK
|
||||
bool "Enable PSK based ciphersuite modes"
|
||||
depends on MBEDTLS_PSK_MODES
|
||||
default n
|
||||
help
|
||||
Enable to support symmetric key PSK (pre-shared-key) TLS key exchange modes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_PSK
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_PSK
|
||||
bool "Enable DHE-PSK based ciphersuite modes"
|
||||
depends on MBEDTLS_PSK_MODES
|
||||
default y
|
||||
help
|
||||
Enable to support Diffie-Hellman PSK (pre-shared-key) TLS authentication modes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
|
||||
bool "Enable ECDHE-PSK based ciphersuite modes"
|
||||
depends on MBEDTLS_PSK_MODES
|
||||
default y
|
||||
help
|
||||
Enable to support Elliptic-Curve-Diffie-Hellman PSK (pre-shared-key) TLS authentication modes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA_PSK
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA_PSK
|
||||
bool "Enable RSA-PSK based ciphersuite modes"
|
||||
depends on MBEDTLS_PSK_MODES
|
||||
default y
|
||||
help
|
||||
Enable to support RSA PSK (pre-shared-key) TLS authentication modes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA
|
||||
bool "Enable RSA-only based ciphersuite modes"
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-RSA-WITH-
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_RSA
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_RSA
|
||||
bool "Enable DHE-RSA based ciphersuite modes"
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-DHE-RSA-WITH-
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE
|
||||
config MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE
|
||||
bool "Support Elliptic Curve based ciphersuites"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
@ -252,37 +252,37 @@ config MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE
|
||||
can give slightly faster TLS handshakes, provided the server supports
|
||||
RSA-only ciphersuite modes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_RSA
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_RSA
|
||||
bool "Enable ECDHE-RSA based ciphersuite modes"
|
||||
depends on MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE && MBEDTLS_ECDH_C
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-ECDHE-RSA-WITH-
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
|
||||
bool "Enable ECDHE-ECDSA based ciphersuite modes"
|
||||
depends on MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE && MBEDTLS_ECDH_C && MBEDTLS_ECDSA_C
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-ECDHE-RSA-WITH-
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA
|
||||
bool "Enable ECDH-ECDSA based ciphersuite modes"
|
||||
depends on MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE && MBEDTLS_ECDH_C && MBEDTLS_ECDSA_C
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-ECDHE-RSA-WITH-
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_RSA
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_RSA
|
||||
bool "Enable ECDH-RSA based ciphersuite modes"
|
||||
depends on MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE && MBEDTLS_ECDH_C
|
||||
default y
|
||||
help
|
||||
Enable to support ciphersuites with prefix TLS-ECDHE-RSA-WITH-
|
||||
|
||||
endmenu # TLS key exchange modes
|
||||
endmenu # TLS key exchange modes
|
||||
|
||||
config MBEDTLS_SSL_RENEGOTIATION
|
||||
config MBEDTLS_SSL_RENEGOTIATION
|
||||
bool "Support TLS renegotiation"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default y
|
||||
@ -292,7 +292,7 @@ config MBEDTLS_SSL_RENEGOTIATION
|
||||
If you don't need renegotiation, disabling it will save code size and
|
||||
reduce the possibility of abuse/vulnerability.
|
||||
|
||||
config MBEDTLS_SSL_PROTO_SSL3
|
||||
config MBEDTLS_SSL_PROTO_SSL3
|
||||
bool "Legacy SSL 3.0 support"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default n
|
||||
@ -300,22 +300,22 @@ config MBEDTLS_SSL_PROTO_SSL3
|
||||
Support the legacy SSL 3.0 protocol. Most servers will speak a newer
|
||||
TLS protocol these days.
|
||||
|
||||
config MBEDTLS_SSL_PROTO_TLS1
|
||||
config MBEDTLS_SSL_PROTO_TLS1
|
||||
bool "Support TLS 1.0 protocol"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default y
|
||||
|
||||
config MBEDTLS_SSL_PROTO_TLS1_1
|
||||
config MBEDTLS_SSL_PROTO_TLS1_1
|
||||
bool "Support TLS 1.1 protocol"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default y
|
||||
|
||||
config MBEDTLS_SSL_PROTO_TLS1_2
|
||||
config MBEDTLS_SSL_PROTO_TLS1_2
|
||||
bool "Support TLS 1.2 protocol"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default y
|
||||
|
||||
config MBEDTLS_SSL_PROTO_DTLS
|
||||
config MBEDTLS_SSL_PROTO_DTLS
|
||||
bool "Support DTLS protocol (all versions)"
|
||||
default n
|
||||
depends on MBEDTLS_SSL_PROTO_TLS1_1 || MBEDTLS_SSL_PROTO_TLS1_2
|
||||
@ -323,14 +323,14 @@ config MBEDTLS_SSL_PROTO_DTLS
|
||||
Requires TLS 1.1 to be enabled for DTLS 1.0
|
||||
Requires TLS 1.2 to be enabled for DTLS 1.2
|
||||
|
||||
config MBEDTLS_SSL_ALPN
|
||||
config MBEDTLS_SSL_ALPN
|
||||
bool "Support ALPN (Application Layer Protocol Negotiation)"
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
default y
|
||||
help
|
||||
Disabling this option will save some code size if it is not needed.
|
||||
|
||||
config MBEDTLS_SSL_SESSION_TICKETS
|
||||
config MBEDTLS_SSL_SESSION_TICKETS
|
||||
bool "TLS: Support RFC 5077 SSL session tickets"
|
||||
default y
|
||||
depends on MBEDTLS_TLS_ENABLED
|
||||
@ -339,17 +339,17 @@ config MBEDTLS_SSL_SESSION_TICKETS
|
||||
|
||||
Disabling this option will save some code size.
|
||||
|
||||
menu "Symmetric Ciphers"
|
||||
menu "Symmetric Ciphers"
|
||||
|
||||
config MBEDTLS_AES_C
|
||||
config MBEDTLS_AES_C
|
||||
bool "AES block cipher"
|
||||
default y
|
||||
|
||||
config MBEDTLS_CAMELLIA_C
|
||||
config MBEDTLS_CAMELLIA_C
|
||||
bool "Camellia block cipher"
|
||||
default n
|
||||
|
||||
config MBEDTLS_DES_C
|
||||
config MBEDTLS_DES_C
|
||||
bool "DES block cipher (legacy, insecure)"
|
||||
default n
|
||||
help
|
||||
@ -358,7 +358,7 @@ config MBEDTLS_DES_C
|
||||
3DES is vulnerable to the Sweet32 attack and should only be enabled
|
||||
if absolutely necessary.
|
||||
|
||||
choice MBEDTLS_RC4_MODE
|
||||
choice MBEDTLS_RC4_MODE
|
||||
prompt "RC4 Stream Cipher (legacy, insecure)"
|
||||
default MBEDTLS_RC4_DISABLED
|
||||
help
|
||||
@ -367,15 +367,15 @@ choice MBEDTLS_RC4_MODE
|
||||
|
||||
Please consider the security implications before enabling RC4.
|
||||
|
||||
config MBEDTLS_RC4_DISABLED
|
||||
config MBEDTLS_RC4_DISABLED
|
||||
bool "Disabled"
|
||||
config MBEDTLS_RC4_ENABLED_NO_DEFAULT
|
||||
config MBEDTLS_RC4_ENABLED_NO_DEFAULT
|
||||
bool "Enabled, not in default ciphersuites"
|
||||
config MBEDTLS_RC4_ENABLED
|
||||
config MBEDTLS_RC4_ENABLED
|
||||
bool "Enabled"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MBEDTLS_BLOWFISH_C
|
||||
config MBEDTLS_BLOWFISH_C
|
||||
bool "Blowfish block cipher (read help)"
|
||||
default n
|
||||
help
|
||||
@ -385,14 +385,14 @@ config MBEDTLS_BLOWFISH_C
|
||||
used for other purposes. Read up on the limitations of Blowfish (including
|
||||
Sweet32) before enabling.
|
||||
|
||||
config MBEDTLS_XTEA_C
|
||||
config MBEDTLS_XTEA_C
|
||||
bool "XTEA block cipher"
|
||||
default n
|
||||
help
|
||||
Enables the XTEA block cipher.
|
||||
|
||||
|
||||
config MBEDTLS_CCM_C
|
||||
config MBEDTLS_CCM_C
|
||||
bool "CCM (Counter with CBC-MAC) block cipher modes"
|
||||
default y
|
||||
depends on MBEDTLS_AES_C || MBEDTLS_CAMELLIA_C
|
||||
@ -401,7 +401,7 @@ config MBEDTLS_CCM_C
|
||||
|
||||
Disabling this option saves some code size.
|
||||
|
||||
config MBEDTLS_GCM_C
|
||||
config MBEDTLS_GCM_C
|
||||
bool "GCM (Galois/Counter) block cipher modes"
|
||||
default y
|
||||
depends on MBEDTLS_AES_C || MBEDTLS_CAMELLIA_C
|
||||
@ -410,17 +410,17 @@ config MBEDTLS_GCM_C
|
||||
|
||||
This option is generally faster than CCM.
|
||||
|
||||
endmenu # Symmetric Ciphers
|
||||
endmenu # Symmetric Ciphers
|
||||
|
||||
config MBEDTLS_RIPEMD160_C
|
||||
config MBEDTLS_RIPEMD160_C
|
||||
bool "Enable RIPEMD-160 hash algorithm"
|
||||
default n
|
||||
help
|
||||
Enable the RIPEMD-160 hash algorithm.
|
||||
|
||||
menu "Certificates"
|
||||
menu "Certificates"
|
||||
|
||||
config MBEDTLS_PEM_PARSE_C
|
||||
config MBEDTLS_PEM_PARSE_C
|
||||
bool "Read & Parse PEM formatted certificates"
|
||||
default y
|
||||
help
|
||||
@ -429,7 +429,7 @@ config MBEDTLS_PEM_PARSE_C
|
||||
If your certificates are all in the simpler DER format, disabling
|
||||
this option will save some code size.
|
||||
|
||||
config MBEDTLS_PEM_WRITE_C
|
||||
config MBEDTLS_PEM_WRITE_C
|
||||
bool "Write PEM formatted certificates"
|
||||
default y
|
||||
help
|
||||
@ -438,123 +438,123 @@ config MBEDTLS_PEM_WRITE_C
|
||||
If writing certificate data only in DER format, disabling this
|
||||
option will save some code size.
|
||||
|
||||
config MBEDTLS_X509_CRL_PARSE_C
|
||||
config MBEDTLS_X509_CRL_PARSE_C
|
||||
bool "X.509 CRL parsing"
|
||||
default y
|
||||
help
|
||||
Support for parsing X.509 Certifificate Revocation Lists.
|
||||
|
||||
config MBEDTLS_X509_CSR_PARSE_C
|
||||
config MBEDTLS_X509_CSR_PARSE_C
|
||||
bool "X.509 CSR parsing"
|
||||
default y
|
||||
help
|
||||
Support for parsing X.509 Certifificate Signing Requests
|
||||
|
||||
endmenu # Certificates
|
||||
endmenu # Certificates
|
||||
|
||||
menuconfig MBEDTLS_ECP_C
|
||||
menuconfig MBEDTLS_ECP_C
|
||||
bool "Elliptic Curve Ciphers"
|
||||
default y
|
||||
|
||||
config MBEDTLS_ECDH_C
|
||||
config MBEDTLS_ECDH_C
|
||||
bool "Elliptic Curve Diffie-Hellman (ECDH)"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable ECDH. Needed to use ECDHE-xxx TLS ciphersuites.
|
||||
|
||||
config MBEDTLS_ECDSA_C
|
||||
config MBEDTLS_ECDSA_C
|
||||
bool "Elliptic Curve DSA"
|
||||
depends on MBEDTLS_ECDH_C
|
||||
default y
|
||||
help
|
||||
Enable ECDSA. Needed to use ECDSA-xxx TLS ciphersuites.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
bool "Enable SECP192R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP192R1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
bool "Enable SECP224R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP224R1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
bool "Enable SECP256R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP256R1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||
bool "Enable SECP384R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP384R1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||
bool "Enable SECP521R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP521R1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||
bool "Enable SECP192K1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP192K1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||
bool "Enable SECP224K1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP224K1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||
config MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||
bool "Enable SECP256K1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for SECP256K1 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_BP256R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_BP256R1_ENABLED
|
||||
bool "Enable BP256R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
support for DP Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_BP384R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_BP384R1_ENABLED
|
||||
bool "Enable BP384R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
support for DP Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_BP512R1_ENABLED
|
||||
config MBEDTLS_ECP_DP_BP512R1_ENABLED
|
||||
bool "Enable BP512R1 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
support for DP Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||
config MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||
bool "Enable CURVE25519 curve"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
help
|
||||
Enable support for CURVE25519 Elliptic Curve.
|
||||
|
||||
config MBEDTLS_ECP_NIST_OPTIM
|
||||
config MBEDTLS_ECP_NIST_OPTIM
|
||||
bool "NIST 'modulo p' optimisations"
|
||||
depends on MBEDTLS_ECP_C
|
||||
default y
|
||||
@ -563,6 +563,6 @@ config MBEDTLS_ECP_NIST_OPTIM
|
||||
|
||||
Disabling this option saves some code size.
|
||||
|
||||
# end of Elliptic Curve options
|
||||
# end of Elliptic Curve options
|
||||
|
||||
endmenu # mbedTLS
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "mDNS"
|
||||
|
||||
config MDNS_MAX_SERVICES
|
||||
config MDNS_MAX_SERVICES
|
||||
int "Max number of services"
|
||||
range 1 64
|
||||
default 10
|
||||
|
@ -1,24 +1,24 @@
|
||||
menu "ESP-MQTT Configurations"
|
||||
|
||||
config MQTT_PROTOCOL_311
|
||||
config MQTT_PROTOCOL_311
|
||||
bool "Enable MQTT protocol 3.1.1"
|
||||
default y
|
||||
help
|
||||
If not, this library will use MQTT protocol 3.1
|
||||
|
||||
config MQTT_TRANSPORT_SSL
|
||||
config MQTT_TRANSPORT_SSL
|
||||
bool "Enable MQTT over SSL"
|
||||
default y
|
||||
help
|
||||
Enable MQTT transport over SSL with mbedtls
|
||||
|
||||
config MQTT_TRANSPORT_WEBSOCKET
|
||||
config MQTT_TRANSPORT_WEBSOCKET
|
||||
bool "Enable MQTT over Websocket"
|
||||
default y
|
||||
help
|
||||
Enable MQTT transport over Websocket.
|
||||
|
||||
config MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||
config MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||
bool "Enable MQTT over Websocket Secure"
|
||||
default y
|
||||
depends on MQTT_TRANSPORT_WEBSOCKET
|
||||
@ -26,20 +26,20 @@ config MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||
help
|
||||
Enable MQTT transport over Websocket Secure.
|
||||
|
||||
config MQTT_USE_CUSTOM_CONFIG
|
||||
config MQTT_USE_CUSTOM_CONFIG
|
||||
bool "MQTT Using custom configurations"
|
||||
default n
|
||||
help
|
||||
Custom MQTT configurations.
|
||||
|
||||
config MQTT_TCP_DEFAULT_PORT
|
||||
config MQTT_TCP_DEFAULT_PORT
|
||||
int "Default MQTT over TCP port"
|
||||
default 1883
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
help
|
||||
Default MQTT over TCP port
|
||||
|
||||
config MQTT_SSL_DEFAULT_PORT
|
||||
config MQTT_SSL_DEFAULT_PORT
|
||||
int "Default MQTT over SSL port"
|
||||
default 8883
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
@ -47,7 +47,7 @@ config MQTT_SSL_DEFAULT_PORT
|
||||
help
|
||||
Default MQTT over SSL port
|
||||
|
||||
config MQTT_WS_DEFAULT_PORT
|
||||
config MQTT_WS_DEFAULT_PORT
|
||||
int "Default MQTT over Websocket port"
|
||||
default 80
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
@ -55,7 +55,7 @@ config MQTT_WS_DEFAULT_PORT
|
||||
help
|
||||
Default MQTT over Websocket port
|
||||
|
||||
config MQTT_WSS_DEFAULT_PORT
|
||||
config MQTT_WSS_DEFAULT_PORT
|
||||
int "Default MQTT over Websocket Secure port"
|
||||
default 443
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
@ -64,27 +64,27 @@ config MQTT_WSS_DEFAULT_PORT
|
||||
help
|
||||
Default MQTT over Websocket Secure port
|
||||
|
||||
config MQTT_BUFFER_SIZE
|
||||
config MQTT_BUFFER_SIZE
|
||||
int "Default MQTT Buffer Size"
|
||||
default 1024
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
help
|
||||
This buffer size using for both transmit and receive
|
||||
|
||||
config MQTT_TASK_STACK_SIZE
|
||||
config MQTT_TASK_STACK_SIZE
|
||||
int "MQTT task stack size"
|
||||
default 6144
|
||||
depends on MQTT_USE_CUSTOM_CONFIG
|
||||
help
|
||||
MQTT task stack size
|
||||
|
||||
config MQTT_TASK_CORE_SELECTION_ENABLED
|
||||
config MQTT_TASK_CORE_SELECTION_ENABLED
|
||||
bool "Enable MQTT task core selection"
|
||||
default false
|
||||
help
|
||||
This will enable core selection
|
||||
|
||||
choice MQTT_TASK_CORE_SELECTION
|
||||
choice MQTT_TASK_CORE_SELECTION
|
||||
depends on MQTT_TASK_CORE_SELECTION_ENABLED
|
||||
prompt "Core to use ?"
|
||||
config MQTT_USE_CORE_0
|
||||
@ -93,10 +93,11 @@ choice MQTT_TASK_CORE_SELECTION
|
||||
bool "Core 1"
|
||||
endchoice
|
||||
|
||||
config MQTT_CUSTOM_OUTBOX
|
||||
config MQTT_CUSTOM_OUTBOX
|
||||
bool "Enable custom outbox implementation"
|
||||
default n
|
||||
help
|
||||
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or similar).
|
||||
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
|
||||
similar).
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu NVS
|
||||
|
||||
config NVS_ENCRYPTION
|
||||
config NVS_ENCRYPTION
|
||||
bool "Enable NVS encryption"
|
||||
default n
|
||||
depends on FLASH_ENCRYPTION_ENABLED
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "OpenSSL"
|
||||
|
||||
config OPENSSL_DEBUG
|
||||
config OPENSSL_DEBUG
|
||||
bool "Enable OpenSSL debugging"
|
||||
default n
|
||||
help
|
||||
@ -8,7 +8,7 @@ config OPENSSL_DEBUG
|
||||
|
||||
If the option is enabled, "SSL_DEBUG" works.
|
||||
|
||||
config OPENSSL_DEBUG_LEVEL
|
||||
config OPENSSL_DEBUG_LEVEL
|
||||
int "OpenSSL debugging level"
|
||||
default 0
|
||||
range 0 255
|
||||
@ -19,17 +19,19 @@ config OPENSSL_DEBUG_LEVEL
|
||||
Only function whose debugging level is higher than "OPENSSL_DEBUG_LEVEL" works.
|
||||
|
||||
For example:
|
||||
If OPENSSL_DEBUG_LEVEL = 2, you use function "SSL_DEBUG(1, "malloc failed")". Because 1 < 2, it will not print.
|
||||
If OPENSSL_DEBUG_LEVEL = 2, you use function "SSL_DEBUG(1, "malloc failed")". Because 1 < 2, it will not
|
||||
print.
|
||||
|
||||
config OPENSSL_LOWLEVEL_DEBUG
|
||||
config OPENSSL_LOWLEVEL_DEBUG
|
||||
bool "Enable OpenSSL low-level module debugging"
|
||||
default n
|
||||
depends on OPENSSL_DEBUG
|
||||
select MBEDTLS_DEBUG
|
||||
help
|
||||
If the option is enabled, low-level module debugging function of OpenSSL is enabled, e.g. mbedtls internal debugging function.
|
||||
If the option is enabled, low-level module debugging function of OpenSSL is enabled, e.g. mbedtls internal
|
||||
debugging function.
|
||||
|
||||
choice OPENSSL_ASSERT
|
||||
choice OPENSSL_ASSERT
|
||||
prompt "Select OpenSSL assert function"
|
||||
default CONFIG_OPENSSL_ASSERT_EXIT
|
||||
help
|
||||
@ -37,34 +39,34 @@ choice OPENSSL_ASSERT
|
||||
|
||||
If you want to use assert debugging function, "OPENSSL_DEBUG" should be enabled.
|
||||
|
||||
config OPENSSL_ASSERT_DO_NOTHING
|
||||
config OPENSSL_ASSERT_DO_NOTHING
|
||||
bool "Do nothing"
|
||||
help
|
||||
Do nothing and "SSL_ASSERT" does not work.
|
||||
|
||||
config OPENSSL_ASSERT_EXIT
|
||||
config OPENSSL_ASSERT_EXIT
|
||||
bool "Check and exit"
|
||||
help
|
||||
Enable assert exiting, it will check and return error code.
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG
|
||||
config OPENSSL_ASSERT_DEBUG
|
||||
bool "Show debugging message"
|
||||
depends on OPENSSL_DEBUG
|
||||
help
|
||||
Enable assert debugging, it will check and show debugging message.
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG_EXIT
|
||||
config OPENSSL_ASSERT_DEBUG_EXIT
|
||||
bool "Show debugging message and exit"
|
||||
depends on OPENSSL_DEBUG
|
||||
help
|
||||
Enable assert debugging and exiting, it will check, show debugging message and return error code.
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG_BLOCK
|
||||
config OPENSSL_ASSERT_DEBUG_BLOCK
|
||||
bool "Show debugging message and block"
|
||||
depends on OPENSSL_DEBUG
|
||||
help
|
||||
Enable assert debugging and blocking, it will check, show debugging message and block by "while (1);".
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Partition Table"
|
||||
|
||||
choice PARTITION_TABLE_TYPE
|
||||
choice PARTITION_TABLE_TYPE
|
||||
prompt "Partition Table"
|
||||
default PARTITION_TABLE_SINGLE_APP
|
||||
help
|
||||
@ -12,22 +12,22 @@ choice PARTITION_TABLE_TYPE
|
||||
in the components/partition_table directory. Otherwise it's
|
||||
possible to create a new custom partition CSV for your application.
|
||||
|
||||
config PARTITION_TABLE_SINGLE_APP
|
||||
config PARTITION_TABLE_SINGLE_APP
|
||||
bool "Single factory app, no OTA"
|
||||
config PARTITION_TABLE_TWO_OTA
|
||||
config PARTITION_TABLE_TWO_OTA
|
||||
bool "Factory app, two OTA definitions"
|
||||
config PARTITION_TABLE_CUSTOM
|
||||
config PARTITION_TABLE_CUSTOM
|
||||
bool "Custom partition table CSV"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config PARTITION_TABLE_CUSTOM_FILENAME
|
||||
config PARTITION_TABLE_CUSTOM_FILENAME
|
||||
string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
|
||||
default partitions.csv
|
||||
help
|
||||
Name of the custom partition CSV filename. This path is evaluated
|
||||
relative to the project root directory.
|
||||
|
||||
config PARTITION_TABLE_FILENAME
|
||||
config PARTITION_TABLE_FILENAME
|
||||
string
|
||||
default partitions_singleapp.csv if PARTITION_TABLE_SINGLE_APP && !ESP32_ENABLE_COREDUMP_TO_FLASH
|
||||
default partitions_singleapp_coredump.csv if PARTITION_TABLE_SINGLE_APP && ESP32_ENABLE_COREDUMP_TO_FLASH
|
||||
@ -35,7 +35,7 @@ config PARTITION_TABLE_FILENAME
|
||||
default partitions_two_ota_coredump.csv if PARTITION_TABLE_TWO_OTA && ESP32_ENABLE_COREDUMP_TO_FLASH
|
||||
default PARTITION_TABLE_CUSTOM_FILENAME if PARTITION_TABLE_CUSTOM
|
||||
|
||||
config PARTITION_TABLE_OFFSET
|
||||
config PARTITION_TABLE_OFFSET
|
||||
hex "Offset of partition table"
|
||||
default 0x8000
|
||||
help
|
||||
@ -45,10 +45,11 @@ config PARTITION_TABLE_OFFSET
|
||||
|
||||
This number should be a multiple of 0x1000.
|
||||
|
||||
Note that partition offsets in the partition table CSV file may need to be changed if this value is set to a higher value. To have
|
||||
each partition offset adapt to the configured partition table offset, leave all partition offsets blank in the CSV file.
|
||||
Note that partition offsets in the partition table CSV file may need to be changed if this value is set to
|
||||
a higher value. To have each partition offset adapt to the configured partition table offset, leave all
|
||||
partition offsets blank in the CSV file.
|
||||
|
||||
config PARTITION_TABLE_MD5
|
||||
config PARTITION_TABLE_MD5
|
||||
bool "Generate an MD5 checksum for the partition table"
|
||||
default y
|
||||
help
|
||||
@ -58,5 +59,3 @@ config PARTITION_TABLE_MD5
|
||||
table.
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
|
@ -1,46 +1,46 @@
|
||||
menu "PThreads"
|
||||
|
||||
config ESP32_PTHREAD_TASK_PRIO_DEFAULT
|
||||
config ESP32_PTHREAD_TASK_PRIO_DEFAULT
|
||||
int "Default task priority"
|
||||
range 0 255
|
||||
default 5
|
||||
help
|
||||
Priority used to create new tasks with default pthread parameters.
|
||||
|
||||
config ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT
|
||||
config ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT
|
||||
int "Default task stack size"
|
||||
default 3072
|
||||
help
|
||||
Stack size used to create new tasks with default pthread parameters.
|
||||
|
||||
config PTHREAD_STACK_MIN
|
||||
config PTHREAD_STACK_MIN
|
||||
int "Minimum allowed pthread stack size"
|
||||
default 768
|
||||
help
|
||||
Minimum allowed pthread stack size set in attributes passed to pthread_create
|
||||
|
||||
choice ESP32_PTHREAD_TASK_CORE_DEFAULT
|
||||
choice ESP32_PTHREAD_TASK_CORE_DEFAULT
|
||||
bool "Default pthread core affinity"
|
||||
default ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY
|
||||
depends on !FREERTOS_UNICORE
|
||||
help
|
||||
The default core to which pthreads are pinned.
|
||||
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY
|
||||
bool "No affinity"
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_0
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_0
|
||||
bool "Core 0"
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_1
|
||||
config ESP32_DEFAULT_PTHREAD_CORE_1
|
||||
bool "Core 1"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESP32_PTHREAD_TASK_CORE_DEFAULT
|
||||
config ESP32_PTHREAD_TASK_CORE_DEFAULT
|
||||
int
|
||||
default -1 if ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY || FREERTOS_UNICORE
|
||||
default 0 if ESP32_DEFAULT_PTHREAD_CORE_0
|
||||
default 1 if ESP32_DEFAULT_PTHREAD_CORE_1
|
||||
|
||||
config ESP32_PTHREAD_TASK_NAME_DEFAULT
|
||||
config ESP32_PTHREAD_TASK_NAME_DEFAULT
|
||||
string "Default name of pthreads"
|
||||
default "pthread"
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "SPI Flash driver"
|
||||
|
||||
config SPI_FLASH_VERIFY_WRITE
|
||||
config SPI_FLASH_VERIFY_WRITE
|
||||
bool "Verify SPI flash writes"
|
||||
default n
|
||||
help
|
||||
@ -8,7 +8,7 @@ config SPI_FLASH_VERIFY_WRITE
|
||||
back and verified. This can catch hardware problems with SPI flash, or flash which
|
||||
was not erased before verification.
|
||||
|
||||
config SPI_FLASH_LOG_FAILED_WRITE
|
||||
config SPI_FLASH_LOG_FAILED_WRITE
|
||||
bool "Log errors if verification fails"
|
||||
depends on SPI_FLASH_VERIFY_WRITE
|
||||
default n
|
||||
@ -17,7 +17,7 @@ config SPI_FLASH_LOG_FAILED_WRITE
|
||||
will be written with the address, expected & actual values. This can be useful when
|
||||
debugging hardware SPI flash problems.
|
||||
|
||||
config SPI_FLASH_WARN_SETTING_ZERO_TO_ONE
|
||||
config SPI_FLASH_WARN_SETTING_ZERO_TO_ONE
|
||||
bool "Log warning if writing zero bits to ones"
|
||||
depends on SPI_FLASH_VERIFY_WRITE
|
||||
default n
|
||||
@ -31,7 +31,7 @@ config SPI_FLASH_WARN_SETTING_ZERO_TO_ONE
|
||||
optimisation, relying on the data in flash becoming a bitwise AND of the new data and any existing data.
|
||||
Such software will log spurious warnings if this option is enabled.
|
||||
|
||||
config SPI_FLASH_ENABLE_COUNTERS
|
||||
config SPI_FLASH_ENABLE_COUNTERS
|
||||
bool "Enable operation counters"
|
||||
default 0
|
||||
help
|
||||
@ -44,7 +44,7 @@ config SPI_FLASH_ENABLE_COUNTERS
|
||||
These APIs may be used to collect performance data for spi_flash APIs
|
||||
and to help understand behaviour of libraries which use SPI flash.
|
||||
|
||||
config SPI_FLASH_ROM_DRIVER_PATCH
|
||||
config SPI_FLASH_ROM_DRIVER_PATCH
|
||||
bool "Enable SPI flash ROM driver patched functions"
|
||||
default y
|
||||
help
|
||||
@ -52,7 +52,7 @@ config SPI_FLASH_ROM_DRIVER_PATCH
|
||||
This option is needed to write to flash on ESP32-D2WD, and any configuration
|
||||
where external SPI flash is connected to non-default pins.
|
||||
|
||||
choice SPI_FLASH_WRITING_DANGEROUS_REGIONS
|
||||
choice SPI_FLASH_WRITING_DANGEROUS_REGIONS
|
||||
bool "Writing to dangerous flash regions"
|
||||
default SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS
|
||||
help
|
||||
@ -69,13 +69,13 @@ choice SPI_FLASH_WRITING_DANGEROUS_REGIONS
|
||||
ROM functions. These functions should not be called directly from IDF
|
||||
applications.
|
||||
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS
|
||||
bool "Aborts"
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS
|
||||
bool "Fails"
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED
|
||||
config SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED
|
||||
bool "Allowed"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
||||
|
@ -1,37 +1,37 @@
|
||||
menu "SPIFFS Configuration"
|
||||
|
||||
config SPIFFS_MAX_PARTITIONS
|
||||
config SPIFFS_MAX_PARTITIONS
|
||||
int "Maximum Number of Partitions"
|
||||
default 3
|
||||
range 1 10
|
||||
help
|
||||
Define maximum number of partitions that can be mounted.
|
||||
|
||||
menu "SPIFFS Cache Configuration"
|
||||
config SPIFFS_CACHE
|
||||
menu "SPIFFS Cache Configuration"
|
||||
config SPIFFS_CACHE
|
||||
bool "Enable SPIFFS Cache"
|
||||
default "y"
|
||||
help
|
||||
Enables/disable memory read caching of nucleus file system
|
||||
operations.
|
||||
|
||||
config SPIFFS_CACHE_WR
|
||||
config SPIFFS_CACHE_WR
|
||||
bool "Enable SPIFFS Write Caching"
|
||||
default "y"
|
||||
depends on SPIFFS_CACHE
|
||||
help
|
||||
Enables memory write caching for file descriptors in hydrogen.
|
||||
|
||||
config SPIFFS_CACHE_STATS
|
||||
config SPIFFS_CACHE_STATS
|
||||
bool "Enable SPIFFS Cache Statistics"
|
||||
default "n"
|
||||
depends on SPIFFS_CACHE
|
||||
help
|
||||
Enable/disable statistics on caching. Debug/test purpose only.
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
config SPIFFS_PAGE_CHECK
|
||||
config SPIFFS_PAGE_CHECK
|
||||
bool "Enable SPIFFS Page Check"
|
||||
default "y"
|
||||
help
|
||||
@ -39,20 +39,20 @@ config SPIFFS_PAGE_CHECK
|
||||
If enabled it will increase number of reads from flash, especially
|
||||
if cache is disabled.
|
||||
|
||||
config SPIFFS_GC_MAX_RUNS
|
||||
config SPIFFS_GC_MAX_RUNS
|
||||
int "Set Maximum GC Runs"
|
||||
default 10
|
||||
range 1 255
|
||||
help
|
||||
Define maximum number of GC runs to perform to reach desired free pages.
|
||||
|
||||
config SPIFFS_GC_STATS
|
||||
config SPIFFS_GC_STATS
|
||||
bool "Enable SPIFFS GC Statistics"
|
||||
default "n"
|
||||
help
|
||||
Enable/disable statistics on gc. Debug/test purpose only.
|
||||
|
||||
config SPIFFS_PAGE_SIZE
|
||||
config SPIFFS_PAGE_SIZE
|
||||
int "SPIFFS logical page size"
|
||||
default 256
|
||||
range 256 1024
|
||||
@ -64,7 +64,7 @@ config SPIFFS_PAGE_SIZE
|
||||
Smaller page sizes reduce overhead when storing small (< page size)
|
||||
files.
|
||||
|
||||
config SPIFFS_OBJ_NAME_LEN
|
||||
config SPIFFS_OBJ_NAME_LEN
|
||||
int "Set SPIFFS Maximum Name Length"
|
||||
default 32
|
||||
range 1 256
|
||||
@ -76,7 +76,7 @@ config SPIFFS_OBJ_NAME_LEN
|
||||
SPIFFS_OBJ_NAME_LEN + SPIFFS_META_LENGTH should not exceed
|
||||
SPIFFS_PAGE_SIZE - 64.
|
||||
|
||||
config SPIFFS_USE_MAGIC
|
||||
config SPIFFS_USE_MAGIC
|
||||
bool "Enable SPIFFS Filesystem Magic"
|
||||
default "y"
|
||||
help
|
||||
@ -84,7 +84,7 @@ config SPIFFS_USE_MAGIC
|
||||
This will look for a magic in all sectors to determine if this
|
||||
is a valid spiffs system or not at mount time.
|
||||
|
||||
config SPIFFS_USE_MAGIC_LENGTH
|
||||
config SPIFFS_USE_MAGIC_LENGTH
|
||||
bool "Enable SPIFFS Filesystem Length Magic"
|
||||
default "y"
|
||||
depends on SPIFFS_USE_MAGIC
|
||||
@ -94,7 +94,7 @@ config SPIFFS_USE_MAGIC_LENGTH
|
||||
configured and formatted for 4 megabytes will not be accepted
|
||||
for mounting with a configuration defining the filesystem as 2 megabytes.
|
||||
|
||||
config SPIFFS_META_LENGTH
|
||||
config SPIFFS_META_LENGTH
|
||||
int "Size of per-file metadata field"
|
||||
default 4
|
||||
help
|
||||
@ -106,7 +106,7 @@ config SPIFFS_META_LENGTH
|
||||
SPIFFS_OBJ_NAME_LEN + SPIFFS_META_LENGTH should not exceed
|
||||
SPIFFS_PAGE_SIZE - 64.
|
||||
|
||||
config SPIFFS_USE_MTIME
|
||||
config SPIFFS_USE_MTIME
|
||||
bool "Save file modification time"
|
||||
default "y"
|
||||
depends on SPIFFS_META_LENGTH >= 4
|
||||
@ -116,46 +116,46 @@ config SPIFFS_USE_MTIME
|
||||
stat/fstat functions.
|
||||
Modification time is updated when the file is opened.
|
||||
|
||||
menu "Debug Configuration"
|
||||
menu "Debug Configuration"
|
||||
|
||||
config SPIFFS_DBG
|
||||
config SPIFFS_DBG
|
||||
bool "Enable general SPIFFS debug"
|
||||
default "n"
|
||||
help
|
||||
Enabling this option will print general debug mesages to the console.
|
||||
|
||||
config SPIFFS_API_DBG
|
||||
config SPIFFS_API_DBG
|
||||
bool "Enable SPIFFS API debug"
|
||||
default "n"
|
||||
help
|
||||
Enabling this option will print API debug mesages to the console.
|
||||
|
||||
config SPIFFS_GC_DBG
|
||||
config SPIFFS_GC_DBG
|
||||
bool "Enable SPIFFS Garbage Cleaner debug"
|
||||
default "n"
|
||||
help
|
||||
Enabling this option will print GC debug mesages to the console.
|
||||
|
||||
config SPIFFS_CACHE_DBG
|
||||
config SPIFFS_CACHE_DBG
|
||||
bool "Enable SPIFFS Cache debug"
|
||||
default "n"
|
||||
depends on SPIFFS_CACHE
|
||||
help
|
||||
Enabling this option will print cache debug mesages to the console.
|
||||
|
||||
config SPIFFS_CHECK_DBG
|
||||
config SPIFFS_CHECK_DBG
|
||||
bool "Enable SPIFFS Filesystem Check debug"
|
||||
default "n"
|
||||
help
|
||||
Enabling this option will print Filesystem Check debug mesages
|
||||
to the console.
|
||||
|
||||
config SPIFFS_TEST_VISUALISATION
|
||||
config SPIFFS_TEST_VISUALISATION
|
||||
bool "Enable SPIFFS Filesystem Visualization"
|
||||
default "n"
|
||||
help
|
||||
Enable this option to enable SPIFFS_vis function in the API.
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "TCP/IP Adapter"
|
||||
|
||||
config IP_LOST_TIMER_INTERVAL
|
||||
config IP_LOST_TIMER_INTERVAL
|
||||
int "IP Address lost timer interval (seconds)"
|
||||
range 0 65535
|
||||
default 120
|
||||
@ -13,15 +13,15 @@ config IP_LOST_TIMER_INTERVAL
|
||||
the timer expires. The IP lost timer is stopped if the station get the IP again before
|
||||
the timer expires.
|
||||
|
||||
choice USE_TCPIP_STACK_LIB
|
||||
choice USE_TCPIP_STACK_LIB
|
||||
prompt "TCP/IP Stack Library"
|
||||
default TCPIP_LWIP
|
||||
help
|
||||
Choose the TCP/IP Stack to work, for example, LwIP, uIP, etc.
|
||||
config TCPIP_LWIP
|
||||
config TCPIP_LWIP
|
||||
bool "LwIP"
|
||||
help
|
||||
lwIP is a small independent implementation of the TCP/IP protocol suite.
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,29 +1,29 @@
|
||||
menu "Unity unit testing library"
|
||||
|
||||
config UNITY_ENABLE_FLOAT
|
||||
bool "Support for float type"
|
||||
default y
|
||||
help
|
||||
config UNITY_ENABLE_FLOAT
|
||||
bool "Support for float type"
|
||||
default y
|
||||
help
|
||||
If not set, assertions on float arguments will not be available.
|
||||
|
||||
|
||||
config UNITY_ENABLE_DOUBLE
|
||||
bool "Support for double type"
|
||||
default y
|
||||
help
|
||||
config UNITY_ENABLE_DOUBLE
|
||||
bool "Support for double type"
|
||||
default y
|
||||
help
|
||||
If not set, assertions on double arguments will not be available.
|
||||
|
||||
config UNITY_ENABLE_COLOR
|
||||
bool "Colorize test output"
|
||||
default n
|
||||
help
|
||||
config UNITY_ENABLE_COLOR
|
||||
bool "Colorize test output"
|
||||
default n
|
||||
help
|
||||
If set, Unity will colorize test results using console escape sequences.
|
||||
|
||||
|
||||
config UNITY_ENABLE_IDF_TEST_RUNNER
|
||||
bool "Include ESP-IDF test registration/running helpers"
|
||||
default y
|
||||
help
|
||||
config UNITY_ENABLE_IDF_TEST_RUNNER
|
||||
bool "Include ESP-IDF test registration/running helpers"
|
||||
default y
|
||||
help
|
||||
If set, then the following features will be available:
|
||||
|
||||
- TEST_CASE macro which performs automatic registration of test functions
|
||||
@ -34,10 +34,10 @@ help
|
||||
|
||||
Disable if a different test registration mechanism is used.
|
||||
|
||||
config UNITY_ENABLE_FIXTURE
|
||||
bool "Include Unity test fixture"
|
||||
default n
|
||||
help
|
||||
config UNITY_ENABLE_FIXTURE
|
||||
bool "Include Unity test fixture"
|
||||
default n
|
||||
help
|
||||
If set, unity_fixture.h header file and associated source files are part of
|
||||
the build. These provide an optional set of macros and functions to
|
||||
implement test groups.
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Virtual file system"
|
||||
|
||||
config SUPPRESS_SELECT_DEBUG_OUTPUT
|
||||
config SUPPRESS_SELECT_DEBUG_OUTPUT
|
||||
bool "Suppress select() related debug outputs"
|
||||
default y
|
||||
help
|
||||
@ -9,7 +9,7 @@ config SUPPRESS_SELECT_DEBUG_OUTPUT
|
||||
It is possible to suppress these debug outputs by enabling this
|
||||
option.
|
||||
|
||||
config SUPPORT_TERMIOS
|
||||
config SUPPORT_TERMIOS
|
||||
bool "Add support for termios.h"
|
||||
default y
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Wear Levelling"
|
||||
|
||||
choice WL_SECTOR_SIZE
|
||||
choice WL_SECTOR_SIZE
|
||||
bool "Wear Levelling library sector size"
|
||||
default WL_SECTOR_SIZE_4096
|
||||
help
|
||||
@ -18,18 +18,18 @@ choice WL_SECTOR_SIZE
|
||||
filesystem library (512 bytes for the filesystem and 512 bytes for each
|
||||
file opened).
|
||||
|
||||
config WL_SECTOR_SIZE_512
|
||||
config WL_SECTOR_SIZE_512
|
||||
bool "512"
|
||||
config WL_SECTOR_SIZE_4096
|
||||
config WL_SECTOR_SIZE_4096
|
||||
bool "4096"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config WL_SECTOR_SIZE
|
||||
config WL_SECTOR_SIZE
|
||||
int
|
||||
default 512 if WL_SECTOR_SIZE_512
|
||||
default 4096 if WL_SECTOR_SIZE_4096
|
||||
|
||||
choice WL_SECTOR_MODE
|
||||
choice WL_SECTOR_MODE
|
||||
bool "Sector store mode"
|
||||
depends on WL_SECTOR_SIZE_512
|
||||
default WL_SECTOR_MODE_SAFE
|
||||
@ -47,14 +47,14 @@ choice WL_SECTOR_MODE
|
||||
power is lost during erase sector operation, then the data from full
|
||||
flash device sector will not be lost.
|
||||
|
||||
config WL_SECTOR_MODE_PERF
|
||||
config WL_SECTOR_MODE_PERF
|
||||
bool "Perfomance"
|
||||
|
||||
config WL_SECTOR_MODE_SAFE
|
||||
config WL_SECTOR_MODE_SAFE
|
||||
bool "Safety"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config WL_SECTOR_MODE
|
||||
config WL_SECTOR_MODE
|
||||
int
|
||||
default 0 if WL_SECTOR_MODE_PERF
|
||||
default 1 if WL_SECTOR_MODE_SAFE
|
||||
|
@ -1,43 +1,42 @@
|
||||
menu "A2DP Example Configuration"
|
||||
|
||||
choice A2DP_SINK_OUTPUT
|
||||
choice A2DP_SINK_OUTPUT
|
||||
prompt "A2DP Sink Output"
|
||||
default A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
Select to use Internal DAC or external I2S driver
|
||||
|
||||
config A2DP_SINK_OUTPUT_INTERNAL_DAC
|
||||
config A2DP_SINK_OUTPUT_INTERNAL_DAC
|
||||
bool "Internal DAC"
|
||||
help
|
||||
Select this to use Internal DAC sink output
|
||||
|
||||
config A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
config A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
bool "External I2S Codec"
|
||||
help
|
||||
Select this to use External I2S sink output
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config I2S_LRCK_PIN
|
||||
config I2S_LRCK_PIN
|
||||
int "I2S LRCK (WS) GPIO"
|
||||
default 22
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S LRCK(WS) Driver.
|
||||
|
||||
config I2S_BCK_PIN
|
||||
config I2S_BCK_PIN
|
||||
int "I2S BCK GPIO"
|
||||
default 26
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S BCK Driver.
|
||||
|
||||
config I2S_DATA_PIN
|
||||
config I2S_DATA_PIN
|
||||
int "I2S DATA GPIO"
|
||||
default 25
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S Data Driver.
|
||||
|
||||
|
||||
endmenu
|
||||
|
@ -1,43 +1,42 @@
|
||||
menu "A2DP Example Configuration"
|
||||
|
||||
choice A2DP_SINK_OUTPUT
|
||||
choice A2DP_SINK_OUTPUT
|
||||
prompt "A2DP Sink Output"
|
||||
default A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
Select to use Internal DAC or external I2S driver
|
||||
|
||||
config A2DP_SINK_OUTPUT_INTERNAL_DAC
|
||||
config A2DP_SINK_OUTPUT_INTERNAL_DAC
|
||||
bool "Internal DAC"
|
||||
help
|
||||
Select this to use Internal DAC sink output
|
||||
|
||||
config A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
config A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
bool "External I2S Codec"
|
||||
help
|
||||
Select this to use External I2S sink output
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config I2S_LRCK_PIN
|
||||
config I2S_LRCK_PIN
|
||||
int "I2S LRCK (WS) GPIO"
|
||||
default 22
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S LRCK(WS) Driver.
|
||||
|
||||
config I2S_BCK_PIN
|
||||
config I2S_BCK_PIN
|
||||
int "I2S BCK GPIO"
|
||||
default 26
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S BCK Driver.
|
||||
|
||||
config I2S_DATA_PIN
|
||||
config I2S_DATA_PIN
|
||||
int "I2S DATA GPIO"
|
||||
default 25
|
||||
depends on A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
||||
help
|
||||
GPIO number to use for I2S Data Driver.
|
||||
|
||||
|
||||
endmenu
|
||||
|
@ -1,24 +1,24 @@
|
||||
menu "iBeacon Example Configuration"
|
||||
|
||||
choice IBEACON_MODE
|
||||
choice IBEACON_MODE
|
||||
bool "iBeacon Mode"
|
||||
default IBEACON_SENDER
|
||||
help
|
||||
Select the iBeacon Mode.
|
||||
|
||||
config IBEACON_SENDER
|
||||
config IBEACON_SENDER
|
||||
bool "iBeacon Sender Mode"
|
||||
help
|
||||
Select the iBeacon Sender Mode.
|
||||
|
||||
config IBEACON_RECEIVER
|
||||
config IBEACON_RECEIVER
|
||||
bool "iBeacon Receiver Mode"
|
||||
help
|
||||
Select the iBeacon Receiver Mode.
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config IBEACON_MODE
|
||||
config IBEACON_MODE
|
||||
int
|
||||
default 0 if IBEACON_SENDER
|
||||
default 1 if IBEACON_RECEIVER
|
||||
|
@ -1,14 +1,14 @@
|
||||
menu "Example 'GATT CLIENT THROUGHPUT' Config"
|
||||
|
||||
config GATTS_NOTIFY_THROUGHPUT
|
||||
config GATTS_NOTIFY_THROUGHPUT
|
||||
bool "test the gatts notify throughput"
|
||||
help
|
||||
If this config item is set, then the 'GATTC_WRITE_THROUGHPUT' config should be close, it can't test both write or notify at the same time at this demo
|
||||
If this config item is set, then the 'GATTC_WRITE_THROUGHPUT' config should be close, it can't test both
|
||||
write or notify at the same time at this demo
|
||||
|
||||
config GATTC_WRITE_THROUGHPUT
|
||||
config GATTC_WRITE_THROUGHPUT
|
||||
bool "test the gattc write throughput"
|
||||
help
|
||||
If this config item is set, then the 'GATTS_NOTIFY_THROUGHPUT' config should be close, it can't test both write or notify at the same time at this demo
|
||||
If this config item is set, then the 'GATTS_NOTIFY_THROUGHPUT' config should be close, it can't test both
|
||||
write or notify at the same time at this demo
|
||||
endmenu
|
||||
|
||||
|
||||
|
@ -1,23 +1,27 @@
|
||||
menu "Example 'GATT SERVER THROUGHPUT' Config"
|
||||
|
||||
config SET_RAW_ADV_DATA
|
||||
config SET_RAW_ADV_DATA
|
||||
bool "Use raw data for advertising packets and scan response data"
|
||||
help
|
||||
If this config item is set, raw binary data will be used to generate advertising & scan response data.
|
||||
This option uses the esp_ble_gap_config_adv_data_raw() and esp_ble_gap_config_scan_rsp_data_raw() functions.
|
||||
This option uses the esp_ble_gap_config_adv_data_raw() and esp_ble_gap_config_scan_rsp_data_raw()
|
||||
functions.
|
||||
|
||||
If this config item is unset, advertising & scan response data is provided via a higher-level esp_ble_adv_data_t structure.
|
||||
The lower layer will generate the BLE packets. This option has higher overhead at runtime.
|
||||
If this config item is unset, advertising & scan response data is provided via a higher-level
|
||||
esp_ble_adv_data_t structure. The lower layer will generate the BLE packets. This option has higher
|
||||
overhead at runtime.
|
||||
|
||||
config GATTS_NOTIFY_THROUGHPUT
|
||||
config GATTS_NOTIFY_THROUGHPUT
|
||||
bool "test the gatts notify throughput"
|
||||
help
|
||||
If this config item is set, then the 'GATTC_WRITE_THROUGHPUT' config should be close, it can't test both write or notify at the same time at this demo
|
||||
If this config item is set, then the 'GATTC_WRITE_THROUGHPUT' config should be close, it can't test both
|
||||
write or notify at the same time at this demo
|
||||
|
||||
config GATTC_WRITE_THROUGHPUT
|
||||
config GATTC_WRITE_THROUGHPUT
|
||||
bool "test the gattc write throughput"
|
||||
help
|
||||
If this config item is set, then the 'GATTS_NOTIFY_THROUGHPUT' config should be close, it can't test both write or notify at the same time at this demo
|
||||
If this config item is set, then the 'GATTS_NOTIFY_THROUGHPUT' config should be close, it can't test both
|
||||
write or notify at the same time at this demo
|
||||
endmenu
|
||||
|
||||
|
||||
|
@ -1,12 +1,14 @@
|
||||
menu "Example 'GATT SERVER' Config"
|
||||
|
||||
config SET_RAW_ADV_DATA
|
||||
config SET_RAW_ADV_DATA
|
||||
bool "Use raw data for advertising packets and scan response data"
|
||||
help
|
||||
If this config item is set, raw binary data will be used to generate advertising & scan response data.
|
||||
This option uses the esp_ble_gap_config_adv_data_raw() and esp_ble_gap_config_scan_rsp_data_raw() functions.
|
||||
This option uses the esp_ble_gap_config_adv_data_raw() and esp_ble_gap_config_scan_rsp_data_raw()
|
||||
functions.
|
||||
|
||||
If this config item is unset, advertising & scan response data is provided via a higher-level esp_ble_adv_data_t structure.
|
||||
The lower layer will generate the BLE packets. This option has higher overhead at runtime.
|
||||
If this config item is unset, advertising & scan response data is provided via a higher-level
|
||||
esp_ble_adv_data_t structure. The lower layer will generate the BLE packets. This option has higher
|
||||
overhead at runtime.
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config BLINK_GPIO
|
||||
config BLINK_GPIO
|
||||
int "Blink GPIO number"
|
||||
range 0 34
|
||||
default 5
|
||||
|
@ -1,41 +1,41 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config MESH_CHANNEL
|
||||
config MESH_CHANNEL
|
||||
int "channel"
|
||||
range 0 14
|
||||
default 0
|
||||
help
|
||||
mesh network channel.
|
||||
|
||||
config MESH_ROUTER_SSID
|
||||
config MESH_ROUTER_SSID
|
||||
string "Router SSID"
|
||||
default "ROUTER_SSID"
|
||||
help
|
||||
Router SSID.
|
||||
|
||||
config MESH_ROUTER_PASSWD
|
||||
config MESH_ROUTER_PASSWD
|
||||
string "Router password"
|
||||
default "ROUTER_PASSWD"
|
||||
help
|
||||
Router password.
|
||||
|
||||
choice
|
||||
choice
|
||||
bool "Mesh AP Authentication Mode"
|
||||
default WIFI_AUTH_WPA2_PSK
|
||||
help
|
||||
Authentication mode.
|
||||
|
||||
config WIFI_AUTH_OPEN
|
||||
config WIFI_AUTH_OPEN
|
||||
bool "WIFI_AUTH_OPEN"
|
||||
config WIFI_AUTH_WPA_PSK
|
||||
config WIFI_AUTH_WPA_PSK
|
||||
bool "WIFI_AUTH_WPA_PSK"
|
||||
config WIFI_AUTH_WPA2_PSK
|
||||
config WIFI_AUTH_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA2_PSK"
|
||||
config WIFI_AUTH_WPA_WPA2_PSK
|
||||
config WIFI_AUTH_WPA_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA_WPA2_PSK"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MESH_AP_AUTHMODE
|
||||
config MESH_AP_AUTHMODE
|
||||
int
|
||||
default 0 if WIFI_AUTH_OPEN
|
||||
default 2 if WIFI_AUTH_WPA_PSK
|
||||
@ -44,27 +44,27 @@ config MESH_AP_AUTHMODE
|
||||
help
|
||||
Mesh AP authentication mode.
|
||||
|
||||
config MESH_AP_PASSWD
|
||||
config MESH_AP_PASSWD
|
||||
string "Mesh AP Password"
|
||||
default "MAP_PASSWD"
|
||||
help
|
||||
Mesh AP password.
|
||||
|
||||
config MESH_AP_CONNECTIONS
|
||||
config MESH_AP_CONNECTIONS
|
||||
int "Mesh AP Connections"
|
||||
range 1 10
|
||||
default 6
|
||||
help
|
||||
The number of stations allowed to connect in.
|
||||
|
||||
config MESH_MAX_LAYER
|
||||
config MESH_MAX_LAYER
|
||||
int "Mesh Max Layer"
|
||||
range 1 25
|
||||
default 6
|
||||
help
|
||||
Max layer allowed in mesh network.
|
||||
|
||||
config MESH_ROUTE_TABLE_SIZE
|
||||
config MESH_ROUTE_TABLE_SIZE
|
||||
int "Mesh Routing Table Size"
|
||||
range 1 300
|
||||
default 50
|
||||
|
@ -1,41 +1,41 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config MESH_CHANNEL
|
||||
config MESH_CHANNEL
|
||||
int "channel"
|
||||
range 1 14
|
||||
default 1
|
||||
help
|
||||
mesh network channel.
|
||||
|
||||
config MESH_ROUTER_SSID
|
||||
config MESH_ROUTER_SSID
|
||||
string "Router SSID"
|
||||
default "ROUTER_SSID"
|
||||
help
|
||||
Router SSID.
|
||||
|
||||
config MESH_ROUTER_PASSWD
|
||||
config MESH_ROUTER_PASSWD
|
||||
string "Router password"
|
||||
default "ROUTER_PASSWD"
|
||||
help
|
||||
Router password.
|
||||
|
||||
choice
|
||||
choice
|
||||
bool "Mesh AP Authentication Mode"
|
||||
default WIFI_AUTH_WPA2_PSK
|
||||
help
|
||||
Authentication mode.
|
||||
|
||||
config WIFI_AUTH_OPEN
|
||||
config WIFI_AUTH_OPEN
|
||||
bool "WIFI_AUTH_OPEN"
|
||||
config WIFI_AUTH_WPA_PSK
|
||||
config WIFI_AUTH_WPA_PSK
|
||||
bool "WIFI_AUTH_WPA_PSK"
|
||||
config WIFI_AUTH_WPA2_PSK
|
||||
config WIFI_AUTH_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA2_PSK"
|
||||
config WIFI_AUTH_WPA_WPA2_PSK
|
||||
config WIFI_AUTH_WPA_WPA2_PSK
|
||||
bool "WIFI_AUTH_WPA_WPA2_PSK"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MESH_AP_AUTHMODE
|
||||
config MESH_AP_AUTHMODE
|
||||
int
|
||||
default 0 if WIFI_AUTH_OPEN
|
||||
default 2 if WIFI_AUTH_WPA_PSK
|
||||
@ -44,45 +44,45 @@ config MESH_AP_AUTHMODE
|
||||
help
|
||||
Mesh AP authentication mode.
|
||||
|
||||
config MESH_AP_PASSWD
|
||||
config MESH_AP_PASSWD
|
||||
string "Mesh AP Password"
|
||||
default "MAP_PASSWD"
|
||||
help
|
||||
Mesh AP password.
|
||||
|
||||
config MESH_AP_CONNECTIONS
|
||||
config MESH_AP_CONNECTIONS
|
||||
int "Mesh AP Connections"
|
||||
range 1 10
|
||||
default 6
|
||||
help
|
||||
The number of stations allowed to connect in.
|
||||
|
||||
config MESH_MAX_LAYER
|
||||
config MESH_MAX_LAYER
|
||||
int "Mesh Max Layer"
|
||||
range 1 25
|
||||
default 6
|
||||
help
|
||||
Max layer allowed in mesh network.
|
||||
|
||||
config MESH_IE_CRYPTO_KEY
|
||||
config MESH_IE_CRYPTO_KEY
|
||||
string "Mesh IE Crypto Key"
|
||||
default "hello, esp-mesh."
|
||||
help
|
||||
Mesh IE ASCII crypto key, length in bytes, range:8~64.
|
||||
|
||||
choice
|
||||
choice
|
||||
bool "Mesh IE Crypto Funcs"
|
||||
default IE_CRYPTO_ENABLE
|
||||
help
|
||||
Mesh IE crypto funcs.
|
||||
|
||||
config IE_CRYPTO_ENABLE
|
||||
config IE_CRYPTO_ENABLE
|
||||
bool "IE_CRYPTO_ENABLE"
|
||||
config IE_CRYPTO_DISABLE
|
||||
config IE_CRYPTO_DISABLE
|
||||
bool "IE_CRYPTO_DISABLE"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config MESH_IE_CRYPTO_FUNCS
|
||||
config MESH_IE_CRYPTO_FUNCS
|
||||
int
|
||||
default 1 if IE_CRYPTO_ENABLE
|
||||
default 0 if IE_CRYPTO_DISABLE
|
||||
|
@ -1,34 +1,34 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice ADC2_EXAMPLE_CHANNEL
|
||||
choice ADC2_EXAMPLE_CHANNEL
|
||||
bool "ADC2 Channel Num"
|
||||
default ADC2_EXAMPLE_CHANNEL_7
|
||||
help
|
||||
The channel of ADC2 used in this example.
|
||||
|
||||
config ADC2_EXAMPLE_CHANNEL_0
|
||||
config ADC2_EXAMPLE_CHANNEL_0
|
||||
bool "ADC2 Channel 0 (GPIO 4)"
|
||||
config ADC2_EXAMPLE_CHANNEL_1
|
||||
config ADC2_EXAMPLE_CHANNEL_1
|
||||
bool "ADC2 Channel 1 (GPIO 0)"
|
||||
config ADC2_EXAMPLE_CHANNEL_2
|
||||
config ADC2_EXAMPLE_CHANNEL_2
|
||||
bool "ADC2 Channel 2 (GPIO 2)"
|
||||
config ADC2_EXAMPLE_CHANNEL_3
|
||||
config ADC2_EXAMPLE_CHANNEL_3
|
||||
bool "ADC2 Channel 3 (GPIO 15)"
|
||||
config ADC2_EXAMPLE_CHANNEL_4
|
||||
config ADC2_EXAMPLE_CHANNEL_4
|
||||
bool "ADC2 Channel 4 (GPIO 13)"
|
||||
config ADC2_EXAMPLE_CHANNEL_5
|
||||
config ADC2_EXAMPLE_CHANNEL_5
|
||||
bool "ADC2 Channel 5 (GPIO 12)"
|
||||
config ADC2_EXAMPLE_CHANNEL_6
|
||||
config ADC2_EXAMPLE_CHANNEL_6
|
||||
bool "ADC2 Channel 6 (GPIO 14)"
|
||||
config ADC2_EXAMPLE_CHANNEL_7
|
||||
config ADC2_EXAMPLE_CHANNEL_7
|
||||
bool "ADC2 Channel 7 (GPIO 27)"
|
||||
config ADC2_EXAMPLE_CHANNEL_8
|
||||
config ADC2_EXAMPLE_CHANNEL_8
|
||||
bool "ADC2 Channel 8 (GPIO 25)"
|
||||
config ADC2_EXAMPLE_CHANNEL_9
|
||||
config ADC2_EXAMPLE_CHANNEL_9
|
||||
bool "ADC2 Channel 9 (GPIO 26)"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ADC2_EXAMPLE_CHANNEL
|
||||
config ADC2_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 0 if ADC2_EXAMPLE_CHANNEL_0
|
||||
default 1 if ADC2_EXAMPLE_CHANNEL_1
|
||||
@ -41,19 +41,19 @@ config ADC2_EXAMPLE_CHANNEL
|
||||
default 8 if ADC2_EXAMPLE_CHANNEL_8
|
||||
default 9 if ADC2_EXAMPLE_CHANNEL_9
|
||||
|
||||
choice DAC_EXAMPLE_CHANNEL
|
||||
choice DAC_EXAMPLE_CHANNEL
|
||||
bool "DAC Channel Num"
|
||||
default DAC_EXAMPLE_CHANNEL_1
|
||||
help
|
||||
The channel of DAC used in this example.
|
||||
|
||||
config DAC_EXAMPLE_CHANNEL_1
|
||||
config DAC_EXAMPLE_CHANNEL_1
|
||||
bool "DAC Channel 1 (GPIO25)"
|
||||
config DAC_EXAMPLE_CHANNEL_2
|
||||
config DAC_EXAMPLE_CHANNEL_2
|
||||
bool "DAC Channel 2 (GPIO26)"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config DAC_EXAMPLE_CHANNEL
|
||||
config DAC_EXAMPLE_CHANNEL
|
||||
int
|
||||
default 1 if DAC_EXAMPLE_CHANNEL_1
|
||||
default 2 if DAC_EXAMPLE_CHANNEL_2
|
||||
|
@ -1,116 +1,116 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
menu "I2C Master"
|
||||
menu "I2C Master"
|
||||
config I2C_MASTER_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 19
|
||||
help
|
||||
GPIO number for I2C Master clock line.
|
||||
|
||||
config I2C_MASTER_SDA
|
||||
config I2C_MASTER_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 18
|
||||
help
|
||||
GPIO number for I2C Master data line.
|
||||
|
||||
config I2C_MASTER_PORT_NUM
|
||||
config I2C_MASTER_PORT_NUM
|
||||
int "Port Number"
|
||||
default 1
|
||||
help
|
||||
Port number for I2C Master device.
|
||||
|
||||
config I2C_MASTER_FREQUENCY
|
||||
config I2C_MASTER_FREQUENCY
|
||||
int "Master Frequency"
|
||||
default 100000
|
||||
help
|
||||
I2C Speed of Master device.
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
menu "I2C Slave"
|
||||
menu "I2C Slave"
|
||||
config I2C_SLAVE_SCL
|
||||
int "SCL GPIO Num"
|
||||
default 26
|
||||
help
|
||||
GPIO number for I2C Slave clock line.
|
||||
|
||||
config I2C_SLAVE_SDA
|
||||
config I2C_SLAVE_SDA
|
||||
int "SDA GPIO Num"
|
||||
default 25
|
||||
help
|
||||
GPIO number for I2C Slave data line.
|
||||
|
||||
config I2C_SLAVE_PORT_NUM
|
||||
config I2C_SLAVE_PORT_NUM
|
||||
int "Port Number"
|
||||
default 0
|
||||
help
|
||||
Port number for I2C Slave device.
|
||||
|
||||
config I2C_SLAVE_ADDRESS
|
||||
config I2C_SLAVE_ADDRESS
|
||||
hex "ESP Slave Address"
|
||||
default 0x28
|
||||
help
|
||||
Hardware Address of I2C Slave Port.
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
menu "BH1750 Sensor"
|
||||
choice BH1750_ADDR
|
||||
menu "BH1750 Sensor"
|
||||
choice BH1750_ADDR
|
||||
prompt "BH1750 I2C Address"
|
||||
default BH1750_I2C_ADDRESS_LOW
|
||||
help
|
||||
Hardware address of BH1750, which is 2 types, and determined by ADDR terminal.
|
||||
|
||||
config BH1750_I2C_ADDRESS_LOW
|
||||
config BH1750_I2C_ADDRESS_LOW
|
||||
bool "BH1750 I2C Address(ADDR=0)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
|
||||
config BH1750_I2C_ADDRESS_High
|
||||
config BH1750_I2C_ADDRESS_High
|
||||
bool "BH1750 I2C Address(ADDR=1)"
|
||||
help
|
||||
I2C Address of BH1750 Sensor according to your schemetic configuration.
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config BH1750_ADDR
|
||||
config BH1750_ADDR
|
||||
hex
|
||||
default 0x5C if BH1750_I2C_ADDRESS_High
|
||||
default 0x23 if BH1750_I2C_ADDRESS_LOW
|
||||
|
||||
choice BH1750_MODE
|
||||
choice BH1750_MODE
|
||||
prompt "BH1750 Operation Mode"
|
||||
default BH1750_ONETIME_L_RESOLUTION
|
||||
help
|
||||
Operation Mode of BH1750.
|
||||
Different mode means different resolution and measurement time.
|
||||
config BH1750_CONTINU_H_RESOLUTION
|
||||
config BH1750_CONTINU_H_RESOLUTION
|
||||
bool "Continuously H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_H_RESOLUTION2
|
||||
config BH1750_CONTINU_H_RESOLUTION2
|
||||
bool "Continuously H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
config BH1750_CONTINU_L_RESOLUTION
|
||||
config BH1750_CONTINU_L_RESOLUTION
|
||||
bool "Continuously L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
config BH1750_ONETIME_H_RESOLUTION
|
||||
config BH1750_ONETIME_H_RESOLUTION
|
||||
bool "One Time H-Resolution Mode"
|
||||
help
|
||||
Resolution is 1lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_H_RESOLUTION2
|
||||
config BH1750_ONETIME_H_RESOLUTION2
|
||||
bool "One Time H-Resolution Mode2"
|
||||
help
|
||||
Resolution is 0.5lx, measurement time is typically 120ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
config BH1750_ONETIME_L_RESOLUTION
|
||||
config BH1750_ONETIME_L_RESOLUTION
|
||||
bool "One Time L-Resolution Mode"
|
||||
help
|
||||
Resolution is 4lx, measurement time is typically 16ms.
|
||||
It is automatically set to Power Down mode after measurement.
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config BH1750_OPMODE
|
||||
config BH1750_OPMODE
|
||||
hex
|
||||
default 0x10 if BH1750_CONTINU_H_RESOLUTION
|
||||
default 0x11 if BH1750_CONTINU_H_RESOLUTION2
|
||||
@ -119,6 +119,6 @@ config BH1750_OPMODE
|
||||
default 0x21 if BH1750_ONETIME_H_RESOLUTION2
|
||||
default 0x23 if BH1750_ONETIME_L_RESOLUTION
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config STORE_HISTORY
|
||||
config STORE_HISTORY
|
||||
bool "Store command history in flash"
|
||||
default y
|
||||
help
|
||||
@ -8,14 +8,14 @@ config STORE_HISTORY
|
||||
command history. If this option is enabled, initalizes a FAT filesystem
|
||||
and uses it to store command history.
|
||||
|
||||
config MAX_CMD_ARGUMENTS
|
||||
config MAX_CMD_ARGUMENTS
|
||||
int "Maximum number of command line arguments"
|
||||
default 16
|
||||
range 8 256
|
||||
help
|
||||
maximum number of command line arguments to parse
|
||||
|
||||
config MAX_CMD_LENGTH
|
||||
config MAX_CMD_LENGTH
|
||||
int "Command line buffer length"
|
||||
default 256
|
||||
range 256 512
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SDIO_EXAMPLE_4BIT
|
||||
config SDIO_EXAMPLE_4BIT
|
||||
bool "Host tries using 4-bit mode to communicate with slave"
|
||||
default n
|
||||
help
|
||||
@ -13,7 +13,7 @@ config SDIO_EXAMPLE_4BIT
|
||||
Note that 4-bit mode is not compatible (by default) if the slave is
|
||||
using 3.3V flash which requires a pull-down on the MTDI pin.
|
||||
|
||||
config SDIO_EXAMPLE_HIGHSPEED
|
||||
config SDIO_EXAMPLE_HIGHSPEED
|
||||
bool "Host tries using HS mode to communicate with slave"
|
||||
default y
|
||||
help
|
||||
@ -24,20 +24,20 @@ config SDIO_EXAMPLE_HIGHSPEED
|
||||
|
||||
If the example does not work, please try disabling the HS mode.
|
||||
|
||||
choice EXAMPLE_SLAVE
|
||||
choice EXAMPLE_SLAVE
|
||||
prompt "Id of Slave used in Espressif master-slave board."
|
||||
default EXAMPLE_SLAVE_NONE
|
||||
help
|
||||
If Espressif master-slave board is used, select which slave is used.
|
||||
|
||||
config EXAMPLE_SLAVE_NONE
|
||||
config EXAMPLE_SLAVE_NONE
|
||||
bool "Not using Espressif master-slave board."
|
||||
config EXAMPLE_SLAVE_B1
|
||||
config EXAMPLE_SLAVE_B1
|
||||
bool "Using slave B1"
|
||||
config EXAMPLE_SLAVE_B2
|
||||
config EXAMPLE_SLAVE_B2
|
||||
bool "Using slave B2"
|
||||
config EXAMPLE_SLAVE_B3
|
||||
config EXAMPLE_SLAVE_B3
|
||||
bool "Using slave B3"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SDIO_DAT2_DISABLED
|
||||
config SDIO_DAT2_DISABLED
|
||||
bool "Disable the DAT2 in SDIO slave"
|
||||
default y
|
||||
help
|
||||
|
@ -1,20 +1,20 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice LCD_TYPE
|
||||
choice LCD_TYPE
|
||||
prompt "LCD module type"
|
||||
default LCD_TYPE_AUTO
|
||||
help
|
||||
The type of LCD on the evaluation board.
|
||||
|
||||
config LCD_TYPE_AUTO
|
||||
config LCD_TYPE_AUTO
|
||||
bool "Auto detect"
|
||||
config LCD_TYPE_ST7789V
|
||||
config LCD_TYPE_ST7789V
|
||||
bool "ST7789V (WROVER Kit v2 or v3)"
|
||||
config LCD_TYPE_ILI9341
|
||||
config LCD_TYPE_ILI9341
|
||||
bool "ILI9341 (WROVER Kit v1 or DevKitJ v1)"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config LCD_OVERCLOCK
|
||||
config LCD_OVERCLOCK
|
||||
bool
|
||||
prompt "Run LCD at higher clock speed than allowed"
|
||||
default "n"
|
||||
|
@ -1,29 +1,29 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config NMEA_PARSER_RING_BUFFER_SIZE
|
||||
int "NMEA Parser Ring Buffer Size"
|
||||
range 0 2048
|
||||
default 1024
|
||||
help
|
||||
config NMEA_PARSER_RING_BUFFER_SIZE
|
||||
int "NMEA Parser Ring Buffer Size"
|
||||
range 0 2048
|
||||
default 1024
|
||||
help
|
||||
Size of the ring buffer used for UART Rx channel.
|
||||
|
||||
config NMEA_PARSER_TASK_STACK_SIZE
|
||||
int "NMEA Parser Task Stack Size"
|
||||
range 0 4096
|
||||
default 2048
|
||||
help
|
||||
config NMEA_PARSER_TASK_STACK_SIZE
|
||||
int "NMEA Parser Task Stack Size"
|
||||
range 0 4096
|
||||
default 2048
|
||||
help
|
||||
Stack size of NMEA Parser task.
|
||||
|
||||
config NMEA_PARSER_TASK_PRIORITY
|
||||
int "NMEA Parser Task Priority"
|
||||
range 0 24
|
||||
default 2
|
||||
help
|
||||
config NMEA_PARSER_TASK_PRIORITY
|
||||
int "NMEA Parser Task Priority"
|
||||
range 0 24
|
||||
default 2
|
||||
help
|
||||
Priority of NMEA Parser task.
|
||||
|
||||
menu "NMEA Statement Support"
|
||||
comment "At least one statement must be selected"
|
||||
config NMEA_STATEMENT_GGA
|
||||
menu "NMEA Statement Support"
|
||||
comment "At least one statement must be selected"
|
||||
config NMEA_STATEMENT_GGA
|
||||
bool "GGA Statement"
|
||||
default y
|
||||
help
|
||||
@ -32,7 +32,7 @@ config NMEA_STATEMENT_GGA
|
||||
- Latitude, Longitude, Altitude;
|
||||
- Number of satellites in use, fix status (no fix, GPS, DGPS), UTC time;
|
||||
|
||||
config NMEA_STATEMENT_GSA
|
||||
config NMEA_STATEMENT_GSA
|
||||
bool "GSA Statement"
|
||||
default y
|
||||
help
|
||||
@ -42,7 +42,7 @@ config NMEA_STATEMENT_GSA
|
||||
- Fix mode (no fix, 2D, 3D fix);
|
||||
- IDs of satellites in use;
|
||||
|
||||
config NMEA_STATEMENT_GSV
|
||||
config NMEA_STATEMENT_GSV
|
||||
bool "GSV Statement"
|
||||
default y
|
||||
help
|
||||
@ -51,7 +51,7 @@ config NMEA_STATEMENT_GSV
|
||||
- Number of satellites in view;
|
||||
- Optional details of each satellite in view;
|
||||
|
||||
config NMEA_STATEMENT_RMC
|
||||
config NMEA_STATEMENT_RMC
|
||||
bool "RMC Statement"
|
||||
default y
|
||||
help
|
||||
@ -62,7 +62,7 @@ config NMEA_STATEMENT_RMC
|
||||
- Magnetic variation;
|
||||
- UTC date;
|
||||
|
||||
config NMEA_STATEMENT_GLL
|
||||
config NMEA_STATEMENT_GLL
|
||||
bool "GLL Statement"
|
||||
default y
|
||||
help
|
||||
@ -71,7 +71,7 @@ config NMEA_STATEMENT_GLL
|
||||
- Latitude, Longitude;
|
||||
- UTC time;
|
||||
|
||||
config NMEA_STATEMENT_VTG
|
||||
config NMEA_STATEMENT_VTG
|
||||
bool "VTG Statement"
|
||||
default y
|
||||
help
|
||||
@ -80,6 +80,6 @@ config NMEA_STATEMENT_VTG
|
||||
- Ground speed (knots, km/h) and course over ground (degrees);
|
||||
- Magnetic variation;
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
@ -1,27 +1,28 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
string "asio example port number"
|
||||
default "2222"
|
||||
help
|
||||
Port number used by ASIO example
|
||||
|
||||
config EXAMPLE_SERVER_IP
|
||||
string "asio example server ip for this client to connect to (leave defalut=FROM_STDIN to enter the server address via serial terminal)"
|
||||
config EXAMPLE_SERVER_IP
|
||||
string "asio example server ip"
|
||||
default "FROM_STDIN"
|
||||
help
|
||||
Please set the host name or ip address of corespondant server running
|
||||
asio example server ip for this client to connect to (leave default=FROM_STDIN to enter the server address
|
||||
via serial terminal).
|
||||
|
||||
endmenu
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
string "asio example port number"
|
||||
default "80"
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
string "asio example port number"
|
||||
default "80"
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
string "asio example port number"
|
||||
default "80"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
@ -14,13 +14,13 @@ config WIFI_PASSWORD
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
config AWS_EXAMPLE_CLIENT_ID
|
||||
config AWS_EXAMPLE_CLIENT_ID
|
||||
string "AWS IoT Client ID"
|
||||
default "myesp32"
|
||||
help
|
||||
AWS IoT Client ID for the example. Should be unique for every device.
|
||||
|
||||
choice EXAMPLE_CERT_SOURCE
|
||||
choice EXAMPLE_CERT_SOURCE
|
||||
prompt "AWS IoT Certificate Source"
|
||||
default EXAMPLE_EMBEDDED_CERTS
|
||||
help
|
||||
@ -28,31 +28,31 @@ choice EXAMPLE_CERT_SOURCE
|
||||
and a common Root CA Certificate. These can be compiled into the example
|
||||
app, or they can be loaded via the filesystem from an SD card.
|
||||
|
||||
config EXAMPLE_EMBEDDED_CERTS
|
||||
config EXAMPLE_EMBEDDED_CERTS
|
||||
bool "Embed into app"
|
||||
config EXAMPLE_SDCARD_CERTS
|
||||
config EXAMPLE_SDCARD_CERTS
|
||||
bool "Load from SD card"
|
||||
select EXAMPLE_FILESYSTEM_CERTS
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
# Currently this is equivalent to EXAMPLE_SDCARD_CERTS,
|
||||
# however eventually we want to support more filesystem
|
||||
# sources (SPIFFS, etc.) So this hidden config item
|
||||
# is selected whenever the item should load from filesystem.
|
||||
config EXAMPLE_FILESYSTEM_CERTS
|
||||
# Currently this is equivalent to EXAMPLE_SDCARD_CERTS,
|
||||
# however eventually we want to support more filesystem
|
||||
# sources (SPIFFS, etc.) So this hidden config item
|
||||
# is selected whenever the item should load from filesystem.
|
||||
config EXAMPLE_FILESYSTEM_CERTS
|
||||
bool
|
||||
|
||||
config EXAMPLE_CERTIFICATE_PATH
|
||||
config EXAMPLE_CERTIFICATE_PATH
|
||||
string "Device Certificate Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/certificate.pem.crt"
|
||||
|
||||
config EXAMPLE_PRIVATE_KEY_PATH
|
||||
config EXAMPLE_PRIVATE_KEY_PATH
|
||||
string "Device Private Key Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/private.pem.key"
|
||||
|
||||
config EXAMPLE_ROOT_CA_PATH
|
||||
config EXAMPLE_ROOT_CA_PATH
|
||||
string "Root CA Certificate Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/aws-root-ca.pem"
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
@ -14,19 +14,19 @@ config WIFI_PASSWORD
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
config AWS_EXAMPLE_CLIENT_ID
|
||||
config AWS_EXAMPLE_CLIENT_ID
|
||||
string "AWS IoT Client ID"
|
||||
default "myesp32"
|
||||
help
|
||||
AWS IoT Client ID for the example. Should be unique for every device.
|
||||
|
||||
config AWS_EXAMPLE_THING_NAME
|
||||
config AWS_EXAMPLE_THING_NAME
|
||||
string "AWS IoT Thing Name"
|
||||
default "myesp32"
|
||||
help
|
||||
AWS IoT Thing Name for the example. Should be unique for every device.
|
||||
|
||||
choice EXAMPLE_CERT_SOURCE
|
||||
choice EXAMPLE_CERT_SOURCE
|
||||
prompt "AWS IoT Certificate Source"
|
||||
default EXAMPLE_EMBEDDED_CERTS
|
||||
help
|
||||
@ -34,31 +34,31 @@ choice EXAMPLE_CERT_SOURCE
|
||||
and a common Root CA Certificate. These can be compiled into the example
|
||||
app, or they can be loaded via the filesystem from an SD card.
|
||||
|
||||
config EXAMPLE_EMBEDDED_CERTS
|
||||
config EXAMPLE_EMBEDDED_CERTS
|
||||
bool "Embed into app"
|
||||
config EXAMPLE_SDCARD_CERTS
|
||||
config EXAMPLE_SDCARD_CERTS
|
||||
bool "Load from SD card"
|
||||
select EXAMPLE_FILESYSTEM_CERTS
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
# Currently this is equivalent to EXAMPLE_SDCARD_CERTS,
|
||||
# however eventually we want to support more filesystem
|
||||
# sources (SPIFFS, etc.) So this hidden config item
|
||||
# is selected whenever the item should load from filesystem.
|
||||
config EXAMPLE_FILESYSTEM_CERTS
|
||||
# Currently this is equivalent to EXAMPLE_SDCARD_CERTS,
|
||||
# however eventually we want to support more filesystem
|
||||
# sources (SPIFFS, etc.) So this hidden config item
|
||||
# is selected whenever the item should load from filesystem.
|
||||
config EXAMPLE_FILESYSTEM_CERTS
|
||||
bool
|
||||
|
||||
config EXAMPLE_CERTIFICATE_PATH
|
||||
config EXAMPLE_CERTIFICATE_PATH
|
||||
string "Device Certificate Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/certificate.pem.crt"
|
||||
|
||||
config EXAMPLE_PRIVATE_KEY_PATH
|
||||
config EXAMPLE_PRIVATE_KEY_PATH
|
||||
string "Device Private Key Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/private.pem.key"
|
||||
|
||||
config EXAMPLE_ROOT_CA_PATH
|
||||
config EXAMPLE_ROOT_CA_PATH
|
||||
string "Root CA Certificate Path"
|
||||
depends on EXAMPLE_FILESYSTEM_CERTS
|
||||
default "/sdcard/aws-root-ca.pem"
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config TARGET_DOMAIN_URI
|
||||
config TARGET_DOMAIN_URI
|
||||
string "Target Uri"
|
||||
default "coap://californium.eclipse.org"
|
||||
help
|
||||
Target uri for the example to use.
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
@ -14,19 +14,19 @@ config WIFI_PASSWORD
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
config MDNS_HOSTNAME
|
||||
config MDNS_HOSTNAME
|
||||
string "mDNS Hostname"
|
||||
default "esp32-mdns"
|
||||
help
|
||||
mDNS Hostname for example to use
|
||||
|
||||
config MDNS_INSTANCE
|
||||
config MDNS_INSTANCE
|
||||
string "mDNS Instance Name"
|
||||
default "ESP32 with mDNS"
|
||||
help
|
||||
mDNS Instance Name for example to use
|
||||
|
||||
config RESOLVE_TEST_SERVICES
|
||||
config RESOLVE_TEST_SERVICES
|
||||
bool "Resolve test services"
|
||||
default y
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Modbus Slave Example Configuration"
|
||||
|
||||
config MB_UART_RXD
|
||||
config MB_UART_RXD
|
||||
int "UART RXD pin number"
|
||||
range 0 34
|
||||
default 22
|
||||
@ -8,7 +8,7 @@ config MB_UART_RXD
|
||||
GPIO number for UART RX pin. See UART documentation for more information
|
||||
about available pin numbers for UART.
|
||||
|
||||
config MB_UART_TXD
|
||||
config MB_UART_TXD
|
||||
int "UART TXD pin number"
|
||||
range 0 34
|
||||
default 23
|
||||
@ -16,7 +16,7 @@ config MB_UART_TXD
|
||||
GPIO number for UART TX pin. See UART documentation for more information
|
||||
about available pin numbers for UART.
|
||||
|
||||
config MB_UART_RTS
|
||||
config MB_UART_RTS
|
||||
int "UART RTS pin number"
|
||||
range 0 34
|
||||
default 18
|
||||
|
@ -1,30 +1,31 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config BROKER_URI
|
||||
config BROKER_URI
|
||||
string "Broker URL"
|
||||
default "mqtts://iot.eclipse.org:8883"
|
||||
help
|
||||
URL of an mqtt broker which this example connects to.
|
||||
|
||||
config BROKER_CERTIFICATE_OVERRIDE
|
||||
config BROKER_CERTIFICATE_OVERRIDE
|
||||
string "Broker certificate override"
|
||||
default ""
|
||||
help
|
||||
Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM format certificate
|
||||
Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM
|
||||
format certificate
|
||||
|
||||
config BROKER_CERTIFICATE_OVERRIDDEN
|
||||
config BROKER_CERTIFICATE_OVERRIDDEN
|
||||
bool
|
||||
default y if BROKER_CERTIFICATE_OVERRIDE != ""
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,24 +1,24 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config BROKER_URL
|
||||
config BROKER_URL
|
||||
string "Broker URL"
|
||||
default "mqtt://iot.eclipse.org"
|
||||
help
|
||||
URL of the broker to connect to
|
||||
|
||||
config BROKER_URL_FROM_STDIN
|
||||
config BROKER_URL_FROM_STDIN
|
||||
bool
|
||||
default y if BROKER_URL = "FROM_STDIN"
|
||||
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config BROKER_URI
|
||||
config BROKER_URI
|
||||
string "Broker URL"
|
||||
default "ws://iot.eclipse.org:80/ws"
|
||||
help
|
||||
|
@ -1,30 +1,31 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config BROKER_URI
|
||||
config BROKER_URI
|
||||
string "Broker URL"
|
||||
default "wss://iot.eclipse.org:443/ws"
|
||||
help
|
||||
URL of an mqtt broker which this example connects to.
|
||||
|
||||
config BROKER_CERTIFICATE_OVERRIDE
|
||||
config BROKER_CERTIFICATE_OVERRIDE
|
||||
string "Server certificate override"
|
||||
default ""
|
||||
help
|
||||
Please leave empty if server certificate included from a textfile; otherwise fill in a base64 part of PEM format certificate
|
||||
Please leave empty if server certificate included from a textfile; otherwise fill in a base64 part of PEM
|
||||
format certificate
|
||||
|
||||
config BROKER_CERTIFICATE_OVERRIDDEN
|
||||
config BROKER_CERTIFICATE_OVERRIDDEN
|
||||
bool
|
||||
default y if BROKER_CERTIFICATE_OVERRIDE != ""
|
||||
|
||||
|
@ -1,25 +1,25 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config TARGET_DOMAIN
|
||||
config TARGET_DOMAIN
|
||||
string "Target Domain"
|
||||
default "www.baidu.com"
|
||||
help
|
||||
Target domain for the example to connect to.
|
||||
|
||||
config TARGET_PORT_NUMBER
|
||||
config TARGET_PORT_NUMBER
|
||||
int "Target port number"
|
||||
range 0 65535
|
||||
default 443
|
||||
help
|
||||
Target port number for the example to connect to.
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
|
@ -1,46 +1,46 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
choice EXAMPLE_IP_MODE
|
||||
choice EXAMPLE_IP_MODE
|
||||
prompt "IP Version"
|
||||
help
|
||||
Example can use either IPV4 or IPV6.
|
||||
|
||||
config EXAMPLE_IPV4
|
||||
config EXAMPLE_IPV4
|
||||
bool "IPV4"
|
||||
|
||||
config EXAMPLE_IPV6
|
||||
config EXAMPLE_IPV6
|
||||
bool "IPV6"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_IPV4_ADDR
|
||||
config EXAMPLE_IPV4_ADDR
|
||||
string "IPV4 Address"
|
||||
default "192.168.0.165"
|
||||
depends on EXAMPLE_IPV4
|
||||
help
|
||||
The example will connect to this IPV4 address.
|
||||
|
||||
config EXAMPLE_IPV6_ADDR
|
||||
config EXAMPLE_IPV6_ADDR
|
||||
string "IPV6 Address"
|
||||
default "FE80::30AD:E57B:C212:68AD"
|
||||
depends on EXAMPLE_IPV6
|
||||
help
|
||||
The example will connect to this IPV6 address.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
int "Port"
|
||||
range 0 65535
|
||||
default 3333
|
||||
|
@ -1,32 +1,32 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
choice EXAMPLE_IP_MODE
|
||||
choice EXAMPLE_IP_MODE
|
||||
prompt "IP Version"
|
||||
help
|
||||
Example can use either IPV4 or IPV6.
|
||||
|
||||
config EXAMPLE_IPV4
|
||||
config EXAMPLE_IPV4
|
||||
bool "IPV4"
|
||||
|
||||
config EXAMPLE_IPV6
|
||||
config EXAMPLE_IPV6
|
||||
bool "IPV6"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
int "Port"
|
||||
range 0 65535
|
||||
default 3333
|
||||
|
@ -1,46 +1,46 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
choice EXAMPLE_IP_MODE
|
||||
choice EXAMPLE_IP_MODE
|
||||
prompt "IP Version"
|
||||
help
|
||||
Example can use either IPV4 or IPV6.
|
||||
|
||||
config EXAMPLE_IPV4
|
||||
config EXAMPLE_IPV4
|
||||
bool "IPV4"
|
||||
|
||||
config EXAMPLE_IPV6
|
||||
config EXAMPLE_IPV6
|
||||
bool "IPV6"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_IPV4_ADDR
|
||||
config EXAMPLE_IPV4_ADDR
|
||||
string "IPV4 Address"
|
||||
default "192.168.0.165"
|
||||
depends on EXAMPLE_IPV4
|
||||
help
|
||||
IPV4 address to which the client example will send data.
|
||||
|
||||
config EXAMPLE_IPV6_ADDR
|
||||
config EXAMPLE_IPV6_ADDR
|
||||
string "IPV6 Address"
|
||||
default "FE80::30AD:E57B:C212:68AD"
|
||||
depends on EXAMPLE_IPV6
|
||||
help
|
||||
IPV6 address to which the client example will send data.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
int "Port"
|
||||
range 0 65535
|
||||
default 3333
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
@ -14,78 +14,79 @@ config WIFI_PASSWORD
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
choice EXAMPLE_IP_MODE
|
||||
choice EXAMPLE_IP_MODE
|
||||
prompt "Multicast IP type"
|
||||
help
|
||||
Example can multicast IPV4, IPV6, or both.
|
||||
|
||||
config EXAMPLE_IPV4_V6
|
||||
config EXAMPLE_IPV4_V6
|
||||
bool "IPV4 & IPV6"
|
||||
select EXAMPLE_IPV4
|
||||
select EXAMPLE_IPV6
|
||||
|
||||
config EXAMPLE_IPV4_ONLY
|
||||
config EXAMPLE_IPV4_ONLY
|
||||
bool "IPV4"
|
||||
select EXAMPLE_IPV4
|
||||
|
||||
config EXAMPLE_IPV6_ONLY
|
||||
config EXAMPLE_IPV6_ONLY
|
||||
bool "IPV6"
|
||||
select EXAMPLE_IPV6
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_IPV4
|
||||
config EXAMPLE_IPV4
|
||||
bool
|
||||
config EXAMPLE_IPV6
|
||||
config EXAMPLE_IPV6
|
||||
bool
|
||||
|
||||
config EXAMPLE_MULTICAST_IPV4_ADDR
|
||||
config EXAMPLE_MULTICAST_IPV4_ADDR
|
||||
string "Multicast IPV4 Address (send & receive)"
|
||||
default "232.10.11.12"
|
||||
depends on EXAMPLE_IPV4
|
||||
help
|
||||
IPV4 multicast address. Example will both send to and listen to this address.
|
||||
|
||||
config EXAMPLE_MULTICAST_IPV6_ADDR
|
||||
config EXAMPLE_MULTICAST_IPV6_ADDR
|
||||
string "Multicast IPV6 Address (send & receive)"
|
||||
default "FF02::FC"
|
||||
depends on EXAMPLE_IPV6
|
||||
help
|
||||
IPV6 multicast address. Example will both send to and listen to this address.
|
||||
|
||||
The default FF02::FC address is a link-local multicast address. Consult IPV6 specifications or documentation for information about meaning of different IPV6 multicast ranges.
|
||||
The default FF02::FC address is a link-local multicast address. Consult IPV6 specifications or
|
||||
documentation for information about meaning of different IPV6 multicast ranges.
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
int "Multicast port (send & receive)"
|
||||
range 0 65535
|
||||
default 3333
|
||||
help
|
||||
Multicast port the example will both send & receive UDP packets on.
|
||||
|
||||
config EXAMPLE_LOOPBACK
|
||||
config EXAMPLE_LOOPBACK
|
||||
bool "Multicast loopback"
|
||||
help
|
||||
Enables IP_MULTICAST_LOOP/IPV6_MULTICAST_LOOP options, meaning
|
||||
that packets transmitted from the device are also received by the
|
||||
device itself.
|
||||
|
||||
config EXAMPLE_MULTICAST_TTL
|
||||
config EXAMPLE_MULTICAST_TTL
|
||||
int "Multicast packet TTL"
|
||||
range 1 255
|
||||
help
|
||||
Sets TTL field of multicast packets. Separate from uni- & broadcast TTL.
|
||||
|
||||
choice EXAMPLE_MULTICAST_IF
|
||||
choice EXAMPLE_MULTICAST_IF
|
||||
prompt "Multicast Interface"
|
||||
help
|
||||
Multicast socket can bind to default interface, or all interfaces.
|
||||
|
||||
config EXAMPLE_MULTICAST_LISTEN_DEFAULT_IF
|
||||
config EXAMPLE_MULTICAST_LISTEN_DEFAULT_IF
|
||||
bool "Default interface"
|
||||
|
||||
config EXAMPLE_MULTICAST_LISTEN_STA_IF
|
||||
config EXAMPLE_MULTICAST_LISTEN_STA_IF
|
||||
bool "WiFi STA interface"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,32 +1,32 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
choice EXAMPLE_IP_MODE
|
||||
choice EXAMPLE_IP_MODE
|
||||
prompt "IP Version"
|
||||
help
|
||||
Example can use either IPV4 or IPV6.
|
||||
|
||||
config EXAMPLE_IPV4
|
||||
config EXAMPLE_IPV4
|
||||
bool "IPV4"
|
||||
|
||||
config EXAMPLE_IPV6
|
||||
config EXAMPLE_IPV6
|
||||
bool "IPV6"
|
||||
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_PORT
|
||||
config EXAMPLE_PORT
|
||||
int "Port"
|
||||
range 0 65535
|
||||
default 3333
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config USE_SEC_1
|
||||
config USE_SEC_1
|
||||
bool
|
||||
default y
|
||||
prompt "Use Security Version 1"
|
||||
@ -8,7 +8,7 @@ config USE_SEC_1
|
||||
Security version 1 used Curve25519 key exchange for establishing
|
||||
secure session between device and client during provisioning
|
||||
|
||||
config USE_POP
|
||||
config USE_POP
|
||||
bool
|
||||
depends on USE_SEC_1
|
||||
default y
|
||||
@ -18,12 +18,12 @@ config USE_POP
|
||||
in possession of the user who is provisioning the device. This proof-of-possession
|
||||
is internally used to generate the shared secret through key exchange.
|
||||
|
||||
config POP
|
||||
config POP
|
||||
string "Proof-of-possession"
|
||||
default "abcd1234"
|
||||
depends on USE_POP
|
||||
|
||||
config RESET_PROVISIONED
|
||||
config RESET_PROVISIONED
|
||||
bool
|
||||
default n
|
||||
prompt "Reset provisioned status of the device"
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config USE_SEC_1
|
||||
config USE_SEC_1
|
||||
bool
|
||||
default y
|
||||
prompt "Use Security Version 1"
|
||||
@ -8,7 +8,7 @@ config USE_SEC_1
|
||||
Security version 1 used Curve25519 key exchange for establishing
|
||||
secure session between device and client during provisioning
|
||||
|
||||
config USE_POP
|
||||
config USE_POP
|
||||
bool
|
||||
depends on USE_SEC_1
|
||||
default y
|
||||
@ -18,12 +18,12 @@ config USE_POP
|
||||
in possession of the user who is provisioning the device. This proof-of-possession
|
||||
is internally used to generate the shared secret through key exchange.
|
||||
|
||||
config POP
|
||||
config POP
|
||||
string "Proof-of-possession"
|
||||
default "abcd1234"
|
||||
depends on USE_POP
|
||||
|
||||
config RESET_PROVISIONED
|
||||
config RESET_PROVISIONED
|
||||
bool
|
||||
default n
|
||||
prompt "Reset provisioned status of the device"
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SOFTAP_SSID
|
||||
config SOFTAP_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config SOFTAP_PASS
|
||||
config SOFTAP_PASS
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config USE_SEC_1
|
||||
config USE_SEC_1
|
||||
bool
|
||||
default n
|
||||
prompt "Use Security Version 1"
|
||||
@ -20,7 +20,7 @@ config USE_SEC_1
|
||||
Security version 1 used Curve25519 key exchange for establishing
|
||||
secure session between device and client during provisioning
|
||||
|
||||
config USE_POP
|
||||
config USE_POP
|
||||
bool
|
||||
depends on USE_SEC_1
|
||||
default n
|
||||
@ -30,18 +30,18 @@ config USE_POP
|
||||
in possession of the user who is provisioning the device. This proof-of-possession
|
||||
is internally used to generate the shared secret through key exchange.
|
||||
|
||||
config POP
|
||||
config POP
|
||||
string "Proof-of-possession"
|
||||
default "abcd1234"
|
||||
depends on USE_POP
|
||||
|
||||
config PROTOCOMM_HTTPD_PORT
|
||||
config PROTOCOMM_HTTPD_PORT
|
||||
int "Protocomm HTTP Port"
|
||||
default 80
|
||||
help
|
||||
Port on which to run Protocomm HTTP based provisioning service
|
||||
|
||||
config RESET_PROVISIONED
|
||||
config RESET_PROVISIONED
|
||||
bool
|
||||
default n
|
||||
prompt "Reset provisioned status of the device"
|
||||
|
@ -1,25 +1,25 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config SOFTAP_SSID_SET_MAC
|
||||
config SOFTAP_SSID_SET_MAC
|
||||
bool "Use MAC as SSID"
|
||||
default y
|
||||
help
|
||||
Set SoftAP SSID as PROV_<MAC>.
|
||||
|
||||
config SOFTAP_SSID
|
||||
config SOFTAP_SSID
|
||||
string "WiFi SSID"
|
||||
default "PROV_SSID"
|
||||
depends on !SOFTAP_SSID_SET_MAC
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config SOFTAP_PASS
|
||||
config SOFTAP_PASS
|
||||
string "WiFi Password"
|
||||
default "PROV_PASS"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config USE_SEC_1
|
||||
config USE_SEC_1
|
||||
bool
|
||||
default y
|
||||
prompt "Use Security Version 1"
|
||||
@ -27,7 +27,7 @@ config USE_SEC_1
|
||||
Security version 1 used Curve25519 key exchange for establishing
|
||||
secure session between device and client during provisioning
|
||||
|
||||
config USE_POP
|
||||
config USE_POP
|
||||
bool
|
||||
depends on USE_SEC_1
|
||||
default y
|
||||
@ -37,12 +37,12 @@ config USE_POP
|
||||
in possession of the user who is provisioning the device. This proof-of-possession
|
||||
is internally used to generate the shared secret through key exchange.
|
||||
|
||||
config POP
|
||||
config POP
|
||||
string "Proof-of-possession"
|
||||
default "abcd1234"
|
||||
depends on USE_POP
|
||||
|
||||
config RESET_PROVISIONED
|
||||
config RESET_PROVISIONED
|
||||
bool
|
||||
default n
|
||||
prompt "Reset provisioned status of the device"
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config CUSTOM_RTC_CLK_8M_DIV
|
||||
config CUSTOM_RTC_CLK_8M_DIV
|
||||
bool "Set custom RTC 8 MHz clock divider to lower CW frequency (CHECK HELP FIRST)"
|
||||
default "n"
|
||||
help
|
||||
|
@ -1,42 +1,42 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice BASE_MAC_ADDRESS_STORAGE
|
||||
choice BASE_MAC_ADDRESS_STORAGE
|
||||
prompt "Storage of the base MAC address"
|
||||
default BASE_MAC_STORED_EFUSE_BLK0
|
||||
help
|
||||
Select storage of the base MAC address which is used to generate MAC addresses of all network interfaces
|
||||
when networking is initialized.
|
||||
If "Default (Espressif factory) EFUSE BLK0" is selected, esp32 will use default base MAC address which is
|
||||
written into EFUSE block 0 words 1, 2 when the chip is manufactured.
|
||||
If "Custom EFUSE BLK3" is selected, ESP32 will use customer-defined base MAC address which is written into
|
||||
EFUSE Block 3 words 0, 1. Users must call esp_efuse_mac_get_custom to get base MAC address and
|
||||
If "Default (Espressif factory) eFuse BLK0" is selected, esp32 will use default base MAC address which is
|
||||
written into eFuse block 0 words 1, 2 when the chip is manufactured.
|
||||
If "Custom eFuse BLK3" is selected, ESP32 will use customer-defined base MAC address which is written into
|
||||
eFuse Block 3 words 0, 1. Users must call esp_efuse_mac_get_custom to get base MAC address and
|
||||
esp_base_mac_addr_set to set the base MAC address before network interfaces are initialised.
|
||||
If "Other external storage" is selected, esp32 will use customer-defined base MAC address from external
|
||||
storage(flash, EEPROM, etc). Users must get the base MAC address first and call esp_base_mac_addr_set to
|
||||
set the base MAC address before network interfaces are initialised.
|
||||
|
||||
config BASE_MAC_STORED_EFUSE_BLK0
|
||||
bool "Default (Espressif factory) EFUSE BLK0"
|
||||
config BASE_MAC_STORED_EFUSE_BLK3
|
||||
bool "Custom EFUSE BLK3"
|
||||
config BASE_MAC_STORED_OTHER_EXTERNAL_STORAGE
|
||||
config BASE_MAC_STORED_EFUSE_BLK0
|
||||
bool "Default (Espressif factory) eFuse BLK0"
|
||||
config BASE_MAC_STORED_EFUSE_BLK3
|
||||
bool "Custom eFuse BLK3"
|
||||
config BASE_MAC_STORED_OTHER_EXTERNAL_STORAGE
|
||||
bool "Other external storage"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
choice BASE_MAC_STORED_EFUSE_BLK3_ERROR_BEHAVIOR
|
||||
prompt "Read base MAC address from BLK3 of EFUSE error behavior"
|
||||
choice BASE_MAC_STORED_EFUSE_BLK3_ERROR_BEHAVIOR
|
||||
prompt "Read base MAC address from BLK3 of eFuse error behavior"
|
||||
depends on BASE_MAC_STORED_EFUSE_BLK3
|
||||
default BASE_MAC_STORED_EFUSE_BLK3_ERROR_USE_DEFAULT
|
||||
help
|
||||
Select behavior when reading base MAC address from BLK3 of EFUSE error.
|
||||
Select behavior when reading base MAC address from BLK3 of eFuse error.
|
||||
If "Abort" is selected, esp32 will abort.
|
||||
If "Use base MAC address from BLK3 of EFUSE" is selected, esp32 will use the base MAC address which is
|
||||
written into EFUSE block 0 words 1, 2 when the chip is manufactured.
|
||||
If "Use base MAC address from BLK3 of eFuse" is selected, esp32 will use the base MAC address which is
|
||||
written into eFuse block 0 words 1, 2 when the chip is manufactured.
|
||||
|
||||
config BASE_MAC_STORED_EFUSE_BLK3_ERROR_ABORT
|
||||
config BASE_MAC_STORED_EFUSE_BLK3_ERROR_ABORT
|
||||
bool "Abort"
|
||||
config BASE_MAC_STORED_EFUSE_BLK3_ERROR_USE_DEFAULT
|
||||
bool "Use base MAC address from BLK3 of EFUSE"
|
||||
endchoice
|
||||
config BASE_MAC_STORED_EFUSE_BLK3_ERROR_USE_DEFAULT
|
||||
bool "Use base MAC address from BLK3 of eFuse"
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config STORE_HISTORY
|
||||
config STORE_HISTORY
|
||||
bool "Store command history in flash"
|
||||
default y
|
||||
help
|
||||
|
@ -1,13 +1,13 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ENABLE_TOUCH_WAKEUP
|
||||
config ENABLE_TOUCH_WAKEUP
|
||||
bool "Enable touch wake up"
|
||||
default y
|
||||
help
|
||||
This option enables wake up from deep sleep using touch pads
|
||||
TOUCH8 and TOUCH9, which correspond to GPIO33 and GPIO32.
|
||||
|
||||
config ENABLE_ULP_TEMPERATURE_WAKEUP
|
||||
config ENABLE_ULP_TEMPERATURE_WAKEUP
|
||||
bool "Enable temperature monitoring by ULP"
|
||||
default y
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config BLINK_GPIO
|
||||
config BLINK_GPIO
|
||||
int "Blink GPIO number"
|
||||
range 0 34
|
||||
default 5
|
||||
|
@ -1,12 +1,12 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
@ -14,7 +14,7 @@ config WIFI_PASSWORD
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
config FIRMWARE_UPG_URL
|
||||
config FIRMWARE_UPG_URL
|
||||
string "HTTP Server URL"
|
||||
default "https://192.168.0.3:8070/hello-world.bin"
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config FIRMWARE_UPGRADE_URL
|
||||
config FIRMWARE_UPGRADE_URL
|
||||
string "firmware upgrade url endpoint"
|
||||
default "https://192.168.0.3:8070/hello-world.bin"
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config USE_CUSTOM_EVENT_ID
|
||||
config USE_CUSTOM_EVENT_ID
|
||||
bool "Use custom SystemView event IDs"
|
||||
default "n"
|
||||
help
|
||||
|
@ -1,58 +1,58 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice WIFI_MODE
|
||||
choice WIFI_MODE
|
||||
prompt "WiFi mode"
|
||||
default STATION_MODE
|
||||
help
|
||||
WiFi mode(station or softap).
|
||||
|
||||
config STATION_MODE
|
||||
config STATION_MODE
|
||||
bool "Station"
|
||||
config SOFTAP_MODE
|
||||
config SOFTAP_MODE
|
||||
bool "Softap"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config ESPNOW_PMK
|
||||
config ESPNOW_PMK
|
||||
string "ESPNOW primary master key"
|
||||
default "pmk1234567890123"
|
||||
help
|
||||
ESPNOW primary master for the example to use. The length of ESPNOW primary master must be 16 bytes.
|
||||
|
||||
config ESPNOW_LMK
|
||||
config ESPNOW_LMK
|
||||
string "ESPNOW local master key"
|
||||
default "lmk1234567890123"
|
||||
help
|
||||
ESPNOW local master for the example to use. The length of ESPNOW local master must be 16 bytes.
|
||||
|
||||
config ESPNOW_CHANNEL
|
||||
config ESPNOW_CHANNEL
|
||||
int "Channel"
|
||||
default 1
|
||||
range 1 13
|
||||
help
|
||||
The channel on which sending and receiving ESPNOW data.
|
||||
|
||||
config ESPNOW_SEND_COUNT
|
||||
config ESPNOW_SEND_COUNT
|
||||
int "Send count"
|
||||
default 100
|
||||
range 1 65535
|
||||
help
|
||||
Total count of unicast ESPNOW data to be sent.
|
||||
|
||||
config ESPNOW_SEND_DELAY
|
||||
config ESPNOW_SEND_DELAY
|
||||
int "Send delay"
|
||||
default 1000
|
||||
range 0 65535
|
||||
help
|
||||
Delay between sending two ESPNOW data, unit: ms.
|
||||
|
||||
config ESPNOW_SEND_LEN
|
||||
config ESPNOW_SEND_LEN
|
||||
int "Send len"
|
||||
range 10 250
|
||||
default 10
|
||||
help
|
||||
Length of ESPNOW data to be sent, unit: byte.
|
||||
|
||||
config ENABLE_LONG_RANGE
|
||||
config ENABLE_LONG_RANGE
|
||||
bool "Enable Long Range"
|
||||
default "n"
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config MAX_STA_CONN
|
||||
config MAX_STA_CONN
|
||||
int "Maximal STA connections"
|
||||
default 4
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config ESP_MAXIMUM_RETRY
|
||||
config ESP_MAXIMUM_RETRY
|
||||
int "Maximum retry"
|
||||
default 5
|
||||
help
|
||||
|
@ -1,18 +1,18 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
config WIFI_LISTEN_INTERVAL
|
||||
config WIFI_LISTEN_INTERVAL
|
||||
int "WiFi listen interval"
|
||||
default 3
|
||||
help
|
||||
@ -20,7 +20,7 @@ config WIFI_LISTEN_INTERVAL
|
||||
For example, if beacon interval is 100 ms and listen interval is 3, the interval for station to listen
|
||||
to beacon is 300 ms.
|
||||
|
||||
choice POWER_SAVE_MODE
|
||||
choice POWER_SAVE_MODE
|
||||
prompt "power save mode"
|
||||
default POWER_SAVE_MIN_MODEM
|
||||
help
|
||||
@ -32,60 +32,60 @@ choice POWER_SAVE_MODE
|
||||
may be lost because station may be in sleep state at DTIM time. If listen interval is longer, more power
|
||||
is saved but broadcast data is more easy to lose.
|
||||
|
||||
config POWER_SAVE_NONE
|
||||
config POWER_SAVE_NONE
|
||||
bool "none"
|
||||
config POWER_SAVE_MIN_MODEM
|
||||
config POWER_SAVE_MIN_MODEM
|
||||
bool "minimum modem"
|
||||
config POWER_SAVE_MAX_MODEM
|
||||
config POWER_SAVE_MAX_MODEM
|
||||
bool "maximum modem"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
choice EXAMPLE_MAX_CPU_FREQ
|
||||
choice EXAMPLE_MAX_CPU_FREQ
|
||||
prompt "Maximum CPU frequency"
|
||||
default EXAMPLE_MAX_CPU_FREQ_80
|
||||
help
|
||||
Maximum CPU frequency to use for dynamic frequency scaling.
|
||||
|
||||
config EXAMPLE_MAX_CPU_FREQ_80
|
||||
config EXAMPLE_MAX_CPU_FREQ_80
|
||||
bool "80 MHz"
|
||||
config EXAMPLE_MAX_CPU_FREQ_160
|
||||
config EXAMPLE_MAX_CPU_FREQ_160
|
||||
bool "160 MHz"
|
||||
config EXAMPLE_MAX_CPU_FREQ_240
|
||||
config EXAMPLE_MAX_CPU_FREQ_240
|
||||
bool "240 MHz"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_MAX_CPU_FREQ_MHZ
|
||||
config EXAMPLE_MAX_CPU_FREQ_MHZ
|
||||
int
|
||||
default 80 if EXAMPLE_MAX_CPU_FREQ_80
|
||||
default 160 if EXAMPLE_MAX_CPU_FREQ_160
|
||||
default 240 if EXAMPLE_MAX_CPU_FREQ_240
|
||||
|
||||
|
||||
choice EXAMPLE_MIN_CPU_FREQ
|
||||
choice EXAMPLE_MIN_CPU_FREQ
|
||||
prompt "Minimum CPU frequency"
|
||||
default EXAMPLE_MIN_CPU_FREQ_10M
|
||||
help
|
||||
Minimum CPU frequency to use for dynamic frequency scaling.
|
||||
Should be set to XTAL frequency or XTAL frequency divided by integer.
|
||||
|
||||
config EXAMPLE_MIN_CPU_FREQ_40M
|
||||
config EXAMPLE_MIN_CPU_FREQ_40M
|
||||
bool "40 MHz (use with 40MHz XTAL)"
|
||||
depends on ESP32_XTAL_FREQ_40 || ESP32_XTAL_FREQ_AUTO
|
||||
config EXAMPLE_MIN_CPU_FREQ_20M
|
||||
config EXAMPLE_MIN_CPU_FREQ_20M
|
||||
bool "20 MHz (use with 40MHz XTAL)"
|
||||
depends on ESP32_XTAL_FREQ_40 || ESP32_XTAL_FREQ_AUTO
|
||||
config EXAMPLE_MIN_CPU_FREQ_10M
|
||||
config EXAMPLE_MIN_CPU_FREQ_10M
|
||||
bool "10 MHz (use with 40MHz XTAL)"
|
||||
depends on ESP32_XTAL_FREQ_40 || ESP32_XTAL_FREQ_AUTO
|
||||
config EXAMPLE_MIN_CPU_FREQ_26M
|
||||
config EXAMPLE_MIN_CPU_FREQ_26M
|
||||
bool "26 MHz (use with 26MHz XTAL)"
|
||||
depends on ESP32_XTAL_FREQ_26 || ESP32_XTAL_FREQ_AUTO
|
||||
config EXAMPLE_MIN_CPU_FREQ_13M
|
||||
config EXAMPLE_MIN_CPU_FREQ_13M
|
||||
bool "13 MHz (use with 26MHz XTAL)"
|
||||
depends on ESP32_XTAL_FREQ_26 || ESP32_XTAL_FREQ_AUTO
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config EXAMPLE_MIN_CPU_FREQ_MHZ
|
||||
config EXAMPLE_MIN_CPU_FREQ_MHZ
|
||||
int
|
||||
default 40 if EXAMPLE_MIN_CPU_FREQ_40M
|
||||
default 20 if EXAMPLE_MIN_CPU_FREQ_20M
|
||||
|
@ -1,48 +1,48 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "myssid"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config WIFI_PASSWORD
|
||||
config WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "mypassword"
|
||||
help
|
||||
WiFi password (WPA or WPA2) for the example to use.
|
||||
|
||||
choice SCAN_METHOD
|
||||
choice SCAN_METHOD
|
||||
prompt "scan method"
|
||||
default WIFI_FAST_SCAN
|
||||
help
|
||||
scan method for the esp32 to use
|
||||
|
||||
config WIFI_FAST_SCAN
|
||||
config WIFI_FAST_SCAN
|
||||
bool "fast"
|
||||
config WIFI_ALL_CHANNEL_SCAN
|
||||
config WIFI_ALL_CHANNEL_SCAN
|
||||
bool "all"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
choice SORT_METHOD
|
||||
choice SORT_METHOD
|
||||
prompt "sort method"
|
||||
default WIFI_CONNECT_AP_BY_SIGNAL
|
||||
help
|
||||
sort method for the esp32 to use
|
||||
|
||||
config WIFI_CONNECT_AP_BY_SIGNAL
|
||||
config WIFI_CONNECT_AP_BY_SIGNAL
|
||||
bool "rssi"
|
||||
config WIFI_CONNECT_AP_BY_SECURITY
|
||||
config WIFI_CONNECT_AP_BY_SECURITY
|
||||
bool "authmode"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
config FAST_SCAN_THRESHOLD
|
||||
config FAST_SCAN_THRESHOLD
|
||||
bool "fast scan threshold"
|
||||
default y
|
||||
help
|
||||
wifi fast scan threshold
|
||||
|
||||
config FAST_SCAN_MINIMUM_SIGNAL
|
||||
config FAST_SCAN_MINIMUM_SIGNAL
|
||||
int "fast scan minimum rssi"
|
||||
depends on FAST_SCAN_THRESHOLD
|
||||
range -127 0
|
||||
@ -50,19 +50,19 @@ config FAST_SCAN_MINIMUM_SIGNAL
|
||||
help
|
||||
rssi is use to measure the signal
|
||||
|
||||
choice FAST_SCAN_WEAKEST_AUTHMODE
|
||||
choice FAST_SCAN_WEAKEST_AUTHMODE
|
||||
prompt "fast scan weakest authmode"
|
||||
depends on FAST_SCAN_THRESHOLD
|
||||
default EXAMPLE_OPEN
|
||||
|
||||
config EXAMPLE_OPEN
|
||||
config EXAMPLE_OPEN
|
||||
bool "open"
|
||||
config EXAMPLE_WEP
|
||||
config EXAMPLE_WEP
|
||||
bool "wep"
|
||||
config EXAMPLE_WPA
|
||||
config EXAMPLE_WPA
|
||||
bool "wpa"
|
||||
config EXAMPLE_WPA2
|
||||
config EXAMPLE_WPA2
|
||||
bool "wpa2"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -1,6 +1,6 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config STORE_HISTORY
|
||||
config STORE_HISTORY
|
||||
bool "Store command history in flash"
|
||||
default y
|
||||
help
|
||||
@ -8,13 +8,13 @@ config STORE_HISTORY
|
||||
command history. If this option is enabled, initalizes a FAT filesystem
|
||||
and uses it to store command history.
|
||||
|
||||
config SNIFFER_MOUNT_POINT
|
||||
config SNIFFER_MOUNT_POINT
|
||||
string "Mount Point in your filesystem to store pcap files"
|
||||
default "/sdcard"
|
||||
help
|
||||
Here you need to specify the mount point in the VFS (Virtual File System) where the pcap would be saved.
|
||||
|
||||
config SNIFFER_WORK_QUEUE_LENGTH
|
||||
config SNIFFER_WORK_QUEUE_LENGTH
|
||||
int "Length of sniffer work queue"
|
||||
default 128
|
||||
help
|
||||
@ -22,19 +22,19 @@ config SNIFFER_WORK_QUEUE_LENGTH
|
||||
The task gets some basic info of sniffer packet via queue.
|
||||
Here you should specify the length of queue.
|
||||
|
||||
config SNIFFER_TASK_STACK_SIZE
|
||||
config SNIFFER_TASK_STACK_SIZE
|
||||
int "Stack size of sniffer task"
|
||||
default 2560
|
||||
help
|
||||
The stack size of sniffer task.
|
||||
|
||||
config SNIFFER_TASK_PRIORITY
|
||||
config SNIFFER_TASK_PRIORITY
|
||||
int "Priority of sniffer task"
|
||||
default 2
|
||||
help
|
||||
Priority of sniffer task.
|
||||
|
||||
config PCAP_FILE_MAX_PACKETS
|
||||
config PCAP_FILE_MAX_PACKETS
|
||||
int "Max packets in a pcap file"
|
||||
default 2000
|
||||
help
|
||||
|
@ -1,31 +1,31 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
config WIFI_SSID
|
||||
config WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "wpa2_test"
|
||||
help
|
||||
SSID (network name) for the example to connect to.
|
||||
|
||||
config EAP_METHOD
|
||||
config EAP_METHOD
|
||||
int "EAP METHOD"
|
||||
default 1
|
||||
help
|
||||
EAP method (TLS, PEAP or TTLS) for the example to use.
|
||||
TLS: 0, PEAP: 1, TTLS: 2
|
||||
|
||||
config EAP_ID
|
||||
config EAP_ID
|
||||
string "EAP ID"
|
||||
default "example@espressif.com"
|
||||
help
|
||||
Identity in phase 1 of EAP procedure.
|
||||
|
||||
config EAP_USERNAME
|
||||
config EAP_USERNAME
|
||||
string "EAP USERNAME"
|
||||
default "espressif"
|
||||
help
|
||||
Username for EAP method (PEAP and TTLS).
|
||||
|
||||
config EAP_PASSWORD
|
||||
config EAP_PASSWORD
|
||||
string "EAP PASSWORD"
|
||||
default "test11"
|
||||
help
|
||||
|
@ -1,17 +1,17 @@
|
||||
menu "Example Configuration"
|
||||
|
||||
choice EXAMPLE_WPS_TYPE
|
||||
choice EXAMPLE_WPS_TYPE
|
||||
prompt "WPS mode"
|
||||
default EXAMPLE_WPS_TYPE_PBC
|
||||
help
|
||||
WPS type for the esp32 to use.
|
||||
|
||||
config EXAMPLE_WPS_TYPE_PBC
|
||||
config EXAMPLE_WPS_TYPE_PBC
|
||||
bool "PBC"
|
||||
config EXAMPLE_WPS_TYPE_PIN
|
||||
config EXAMPLE_WPS_TYPE_PIN
|
||||
bool "PIN"
|
||||
config EXAMPLE_WPS_TYPE_DISABLE
|
||||
config EXAMPLE_WPS_TYPE_DISABLE
|
||||
bool "disable"
|
||||
endchoice
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
@ -34,116 +34,12 @@ OUTPUT_SUFFIX = '.new'
|
||||
IGNORE_DIRS = (
|
||||
# Kconfigs from submodules need to be ignored:
|
||||
os.path.join('components', 'mqtt', 'esp-mqtt'),
|
||||
# Temporary (incompatibility) list:
|
||||
os.path.join('components', 'app_update'),
|
||||
os.path.join('components', 'aws_iot'),
|
||||
os.path.join('components', 'bootloader'),
|
||||
os.path.join('components', 'bt'),
|
||||
os.path.join('components', 'driver'),
|
||||
os.path.join('components', 'esp32'),
|
||||
os.path.join('components', 'esp_adc_cal'),
|
||||
os.path.join('components', 'esp_event'),
|
||||
os.path.join('components', 'esp_http_client'),
|
||||
os.path.join('components', 'esp_http_server'),
|
||||
os.path.join('components', 'esptool_py'),
|
||||
os.path.join('components', 'fatfs'),
|
||||
os.path.join('components', 'freemodbus'),
|
||||
os.path.join('components', 'freertos'),
|
||||
os.path.join('components', 'heap'),
|
||||
os.path.join('components', 'libsodium'),
|
||||
os.path.join('components', 'log'),
|
||||
os.path.join('components', 'lwip'),
|
||||
os.path.join('components', 'mbedtls'),
|
||||
os.path.join('components', 'mdns'),
|
||||
os.path.join('components', 'mqtt'),
|
||||
os.path.join('components', 'nvs_flash'),
|
||||
os.path.join('components', 'openssl'),
|
||||
os.path.join('components', 'partition_table'),
|
||||
os.path.join('components', 'pthread'),
|
||||
os.path.join('components', 'spi_flash'),
|
||||
os.path.join('components', 'spiffs'),
|
||||
os.path.join('components', 'tcpip_adapter'),
|
||||
os.path.join('components', 'unity'),
|
||||
os.path.join('components', 'vfs'),
|
||||
os.path.join('components', 'wear_levelling'),
|
||||
os.path.join('examples', 'bluetooth', 'a2dp_gatts_coex', 'main'),
|
||||
os.path.join('examples', 'bluetooth', 'a2dp_sink', 'main'),
|
||||
os.path.join('examples', 'bluetooth', 'ble_ibeacon', 'main'),
|
||||
os.path.join('examples', 'bluetooth', 'ble_throughput', 'throughput_client', 'main'),
|
||||
os.path.join('examples', 'bluetooth', 'ble_throughput', 'throughput_server', 'main'),
|
||||
os.path.join('examples', 'bluetooth', 'gatt_server', 'main'),
|
||||
os.path.join('examples', 'get-started', 'blink', 'main'),
|
||||
os.path.join('examples', 'mesh', 'internal_communication', 'main'),
|
||||
os.path.join('examples', 'mesh', 'manual_networking', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'adc2', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'i2c', 'i2c_self_test', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'i2c', 'i2c_tools', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'sdio', 'host', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'sdio', 'slave', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'spi_master', 'main'),
|
||||
os.path.join('examples', 'peripherals', 'uart', 'nmea0183_parser', 'main'),
|
||||
os.path.join('examples', 'protocols', 'asio', 'chat_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'asio', 'chat_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'asio', 'tcp_echo_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'asio', 'udp_echo_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'aws_iot', 'subscribe_publish', 'main'),
|
||||
os.path.join('examples', 'protocols', 'aws_iot', 'thing_shadow', 'main'),
|
||||
os.path.join('examples', 'protocols', 'coap_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'coap_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'esp_http_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'http2_request', 'main'),
|
||||
os.path.join('examples', 'protocols', 'http_request', 'main'),
|
||||
os.path.join('examples', 'protocols', 'http_server', 'advanced_tests', 'main'),
|
||||
os.path.join('examples', 'protocols', 'http_server', 'persistent_sockets', 'main'),
|
||||
os.path.join('examples', 'protocols', 'http_server', 'simple', 'main'),
|
||||
os.path.join('examples', 'protocols', 'https_mbedtls', 'main'),
|
||||
os.path.join('examples', 'protocols', 'https_request', 'main'),
|
||||
os.path.join('examples', 'protocols', 'https_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mdns', 'main'),
|
||||
os.path.join('examples', 'protocols', 'modbus_slave', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mqtt', 'ssl', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mqtt', 'ssl_mutual_auth', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mqtt', 'tcp', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mqtt', 'ws', 'main'),
|
||||
os.path.join('examples', 'protocols', 'mqtt', 'wss', 'main'),
|
||||
os.path.join('examples', 'protocols', 'openssl_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'openssl_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'pppos_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sntp', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sockets', 'tcp_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sockets', 'tcp_server', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sockets', 'udp_client', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sockets', 'udp_multicast', 'main'),
|
||||
os.path.join('examples', 'protocols', 'sockets', 'udp_server', 'main'),
|
||||
os.path.join('examples', 'provisioning', 'ble_prov', 'main'),
|
||||
os.path.join('examples', 'provisioning', 'console_prov', 'main'),
|
||||
os.path.join('examples', 'provisioning', 'custom_config', 'main'),
|
||||
os.path.join('examples', 'provisioning', 'softap_prov', 'main'),
|
||||
os.path.join('examples', 'system', 'app_trace_to_host', 'main'),
|
||||
os.path.join('examples', 'system', 'base_mac_address', 'main'),
|
||||
os.path.join('examples', 'system', 'console', 'main'),
|
||||
os.path.join('examples', 'system', 'deep_sleep', 'main'),
|
||||
os.path.join('examples', 'system', 'gcov', 'main'),
|
||||
os.path.join('examples', 'system', 'ota', 'native_ota_example', 'main'),
|
||||
os.path.join('examples', 'system', 'ota', 'simple_ota_example', 'main'),
|
||||
os.path.join('examples', 'system', 'sysview_tracing', 'main'),
|
||||
os.path.join('examples', 'wifi', 'espnow', 'main'),
|
||||
os.path.join('examples', 'wifi', 'getting_started', 'softAP', 'main'),
|
||||
os.path.join('examples', 'wifi', 'getting_started', 'station', 'main'),
|
||||
os.path.join('examples', 'wifi', 'power_save', 'main'),
|
||||
os.path.join('examples', 'wifi', 'scan', 'main'),
|
||||
os.path.join('examples', 'wifi', 'simple_sniffer', 'main'),
|
||||
os.path.join('examples', 'wifi', 'wpa2_enterprise', 'main'),
|
||||
os.path.join('examples', 'wifi', 'wps', 'main'),
|
||||
os.path.join('tools', 'kconfig'),
|
||||
os.path.join('tools', 'kconfig_new', 'test'),
|
||||
os.path.join('tools', 'ldgen', 'test', 'data'),
|
||||
os.path.join('tools', 'unit-test-app', 'components', 'test_utils'),
|
||||
)
|
||||
|
||||
SPACES_PER_INDENT = 4
|
||||
|
||||
CONFIG_NAME_MAX_LENGTH = 50
|
||||
# TODO decrease the value (after the names have been refactored)
|
||||
CONFIG_NAME_MAX_LENGTH = 60
|
||||
|
||||
# TODO increase prefix length (after the names have been refactored)
|
||||
CONFIG_NAME_MIN_PREFIX_LENGTH = 0
|
||||
@ -211,6 +107,9 @@ class IndentAndNameChecker(BaseChecker):
|
||||
# stack common prefixes of configs
|
||||
self.prefix_stack = []
|
||||
|
||||
# if the line ends with '\' then we force the indent of the next line
|
||||
self.force_next_indent = 0
|
||||
|
||||
# menu items which increase the indentation of the next line
|
||||
self.re_increase_level = re.compile(r'''^\s*
|
||||
(
|
||||
@ -287,6 +186,10 @@ class IndentAndNameChecker(BaseChecker):
|
||||
# delete items ("config", "menuconfig", "help") until the appropriate parent
|
||||
self.del_from_level_stack(i)
|
||||
break
|
||||
else:
|
||||
# delete everything when configs are at top level without a parent menu, mainmenu...
|
||||
self.del_from_level_stack(len(self.level_stack))
|
||||
|
||||
self.level_stack.append(new_item)
|
||||
if self.debug:
|
||||
print(self.level_stack)
|
||||
@ -321,8 +224,10 @@ class IndentAndNameChecker(BaseChecker):
|
||||
raise InputError(self.path_in_idf, line_number,
|
||||
'{} is {} characters long and it should be {} at most'
|
||||
''.format(name, name_length, CONFIG_NAME_MAX_LENGTH),
|
||||
line) # no suggested correction for this
|
||||
if self.prefix_stack[-1] is None:
|
||||
line + '\n') # no suggested correction for this
|
||||
if len(self.prefix_stack) == 0:
|
||||
self.prefix_stack.append(name)
|
||||
elif self.prefix_stack[-1] is None:
|
||||
self.prefix_stack[-1] = name
|
||||
else:
|
||||
# this has nothing common with paths but the algorithm can be used for this also
|
||||
@ -366,6 +271,7 @@ class IndentAndNameChecker(BaseChecker):
|
||||
def process_line(self, line, line_number):
|
||||
stripped_line = line.strip()
|
||||
if len(stripped_line) == 0:
|
||||
self.force_next_indent = 0
|
||||
return
|
||||
current_level = len(self.level_stack)
|
||||
m = re.search(r'\S', line) # indent found as the first non-space character
|
||||
@ -377,8 +283,26 @@ class IndentAndNameChecker(BaseChecker):
|
||||
if current_level > 0 and self.level_stack[-1] == 'help':
|
||||
if current_indent >= current_level * SPACES_PER_INDENT:
|
||||
# this line belongs to 'help'
|
||||
self.force_next_indent = 0
|
||||
return
|
||||
|
||||
if self.force_next_indent > 0:
|
||||
if current_indent != self.force_next_indent:
|
||||
raise InputError(self.path_in_idf, line_number,
|
||||
'Indentation consists of {} spaces instead of {}'.format(current_indent,
|
||||
self.force_next_indent),
|
||||
(' ' * self.force_next_indent) + line.lstrip())
|
||||
else:
|
||||
if not stripped_line.endswith('\\'):
|
||||
self.force_next_indent = 0
|
||||
return
|
||||
|
||||
else:
|
||||
if stripped_line.endswith('\\') and stripped_line.startswith(('config', 'menuconfig', 'choice')):
|
||||
raise InputError(self.path_in_idf, line_number,
|
||||
'Line-wrap with backslash is not supported here',
|
||||
line) # no suggestion for this
|
||||
|
||||
self.check_name_and_update_prefix(stripped_line, line_number)
|
||||
|
||||
m = self.re_increase_level.search(line)
|
||||
@ -395,6 +319,12 @@ class IndentAndNameChecker(BaseChecker):
|
||||
self.check_common_prefix(line, line_number)
|
||||
|
||||
expected_indent = current_level * SPACES_PER_INDENT
|
||||
|
||||
if stripped_line.endswith('\\'):
|
||||
self.force_next_indent = expected_indent + SPACES_PER_INDENT
|
||||
else:
|
||||
self.force_next_indent = 0
|
||||
|
||||
if current_indent != expected_indent:
|
||||
raise InputError(self.path_in_idf, line_number,
|
||||
'Indentation consists of {} spaces instead of {}'.format(current_indent, expected_indent),
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user