From 79612d43a724e51185603d62bd308683eb2bb725 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Thu, 13 Jun 2024 15:01:25 +0200 Subject: [PATCH] new settings for menuconfig Signed-off-by: Peter Siegmund --- ePaper-ESP-IDF/main/Kconfig.projbuild | 64 ++++++++++++++++++++------- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/ePaper-ESP-IDF/main/Kconfig.projbuild b/ePaper-ESP-IDF/main/Kconfig.projbuild index 949f502..82663e9 100644 --- a/ePaper-ESP-IDF/main/Kconfig.projbuild +++ b/ePaper-ESP-IDF/main/Kconfig.projbuild @@ -1,19 +1,49 @@ -menu "WiFi Configuration Options" - config WIFI_SSID - string "WIFI SSID" - default "ssid" - help - SSID of the WiFi network to connect to. +menu "Tide Display Setting" + menu "WiFi Configuration" + config WIFI_SSID + string "WIFI SSID" + default "ssid" + help + SSID of the WiFi network to connect to. - config WIFI_PASSWORD - string "WIFI Password" - default "password" - help - Password of the WiFi network to connect to. - - config ESP_MAXIMUM_RETRY - int "Maximum retry" - default 5 - help - Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent. + config WIFI_PASSWORD + string "WIFI Password" + default "password" + help + Password of the WiFi network to connect to. + + config ESP_MAXIMUM_RETRY + int "Maximum retry" + range 1 10 + default 5 + help + Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really + inexistent. + endmenu + + menu "Map" + choice "Map Provider" + prompt "Map Provider" + default PROVIDER_GOOGLE + help + Select the provider of map to use. + + config PROVIDER_GOOGLE + bool "Google Maps" + help + Use Google Maps as map provider. + + config PROVIDER_MAPBOX + bool "MapBox" + help + Use MapBox as map provider. + endchoice + + config GOOGLE_MAP_ID + string "Google Map ID" + default "2f371c2346218fe8" + depends on PROVIDER_GOOGLE + help + Map ID of the Google Maps Style. + endmenu endmenu