fix(kconfig): Fix issues with Kconfig files

This commit is contained in:
Jan Beran
2025-02-04 11:44:15 +01:00
parent 8685219916
commit 4b3d7a33f4
8 changed files with 14 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ menu "OpenThread Border Router Example"
config OPENTHREAD_BR_AUTO_START config OPENTHREAD_BR_AUTO_START
bool 'Enable the automatic start mode in Thread Border Router.' bool 'Enable the automatic start mode in Thread Border Router.'
default False default n
help help
If enabled, The Thread Border Router will connect to Wi-Fi with pre-configured If enabled, The Thread Border Router will connect to Wi-Fi with pre-configured
SSID and PSK, and then form a Thread network automatically. Otherwise, user need SSID and PSK, and then form a Thread network automatically. Otherwise, user need
@@ -10,7 +10,7 @@ menu "OpenThread Border Router Example"
config OPENTHREAD_SUPPORT_HW_RESET_RCP config OPENTHREAD_SUPPORT_HW_RESET_RCP
bool 'Enable hardware RCP resetting' bool 'Enable hardware RCP resetting'
default False default n
help help
If enabled, the Thread Border Router will support hardware resetting the RCP If enabled, the Thread Border Router will support hardware resetting the RCP
when processing RCP failure. when processing RCP failure.

View File

@@ -2,7 +2,7 @@ menu "OpenThread CLI Example"
config OPENTHREAD_AUTO_START config OPENTHREAD_AUTO_START
bool 'Enable the automatic start mode.' bool 'Enable the automatic start mode.'
default False default n
help help
If enabled, the Openthread Device will create or connect to thread network with pre-configured If enabled, the Openthread Device will create or connect to thread network with pre-configured
network parameters automatically. Otherwise, user need to configure Thread via CLI command manually. network parameters automatically. Otherwise, user need to configure Thread via CLI command manually.

View File

@@ -5,7 +5,7 @@ menu "OpenThread Device Role Indicator"
config OPENTHREAD_STATE_INDICATOR_ENABLE config OPENTHREAD_STATE_INDICATOR_ENABLE
depends on SOC_RMT_SUPPORTED depends on SOC_RMT_SUPPORTED
bool 'Enable the LED for openthread deivce' bool 'Enable the LED for openthread deivce'
default False default n
help help
If enabled, the LED of ESP Openthread Device will display different colors based on the current role. If enabled, the LED of ESP Openthread Device will display different colors based on the current role.

View File

@@ -2,7 +2,7 @@ menu "OpenThread Sleepy Example"
config OPENTHREAD_AUTO_START config OPENTHREAD_AUTO_START
bool 'Enable the automatic start mode.' bool 'Enable the automatic start mode.'
default False default n
help help
If enabled, the Openthread Device will create or connect to thread network with pre-configured If enabled, the Openthread Device will create or connect to thread network with pre-configured
network parameters automatically. Otherwise, user need to configure Thread via CLI command manually. network parameters automatically. Otherwise, user need to configure Thread via CLI command manually.

View File

@@ -2,7 +2,7 @@ menu "OpenThread TREL Example"
config OPENTHREAD_AUTO_START config OPENTHREAD_AUTO_START
bool 'Enable the automatic start mode.' bool 'Enable the automatic start mode.'
default False default n
help help
If enabled, the Openthread Device will create or connect to thread network with pre-configured If enabled, the Openthread Device will create or connect to thread network with pre-configured
network parameters automatically. Otherwise, user need to configure Thread via CLI command manually. network parameters automatically. Otherwise, user need to configure Thread via CLI command manually.

View File

@@ -72,28 +72,34 @@ menu "SD/MMC Example Configuration"
if !SOC_SDMMC_USE_GPIO_MATRIX if !SOC_SDMMC_USE_GPIO_MATRIX
config EXAMPLE_PIN_CMD config EXAMPLE_PIN_CMD
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 15 if IDF_TARGET_ESP32 default 15 if IDF_TARGET_ESP32
config EXAMPLE_PIN_CLK config EXAMPLE_PIN_CLK
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 14 if IDF_TARGET_ESP32 default 14 if IDF_TARGET_ESP32
config EXAMPLE_PIN_D0 config EXAMPLE_PIN_D0
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 2 if IDF_TARGET_ESP32 default 2 if IDF_TARGET_ESP32
if EXAMPLE_SDMMC_BUS_WIDTH_4 if EXAMPLE_SDMMC_BUS_WIDTH_4
config EXAMPLE_PIN_D1 config EXAMPLE_PIN_D1
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 4 if IDF_TARGET_ESP32 default 4 if IDF_TARGET_ESP32
config EXAMPLE_PIN_D2 config EXAMPLE_PIN_D2
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 12 if IDF_TARGET_ESP32 default 12 if IDF_TARGET_ESP32
config EXAMPLE_PIN_D3 config EXAMPLE_PIN_D3
int
depends on EXAMPLE_DEBUG_PIN_CONNECTIONS depends on EXAMPLE_DEBUG_PIN_CONNECTIONS
default 13 if IDF_TARGET_ESP32 default 13 if IDF_TARGET_ESP32

View File

@@ -25,6 +25,7 @@ menu "Example Configuration"
if !EXAMPLE_WPA2_ENTERPRISE if !EXAMPLE_WPA2_ENTERPRISE
config EXAMPLE_VALIDATE_SERVER_CERT config EXAMPLE_VALIDATE_SERVER_CERT
bool
default y default y
endif endif

View File

@@ -31,6 +31,7 @@ menu "Example Configuration"
if !EXAMPLE_WPA2_ENTERPRISE if !EXAMPLE_WPA2_ENTERPRISE
config EXAMPLE_VALIDATE_SERVER_CERT config EXAMPLE_VALIDATE_SERVER_CERT
bool
default y default y
endif endif