Skip to content

Commit

Permalink
kconfig: update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
redchenjs committed Mar 6, 2021
1 parent c59cbe5 commit c8e7991
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ menu "Server Configuration"
config SERVER_URL
string "Server URL"
default "example.com"
help
Server URL.

choice TRANSFER_PROTOCOL
prompt "Transfer Protocol"
default TRANSFER_PROTOCOL_HTTPS
help
Select to use which transfer protocol.

config TRANSFER_PROTOCOL_HTTP
bool "http"
Expand All @@ -23,40 +19,28 @@ config VERIFY_SERVER_CERT
bool "Verify Server SSL Certificate"
default "y"
depends on TRANSFER_PROTOCOL_HTTPS
help
Select this to enable server ssl certificate verification.

config ENABLE_OTA
bool "Enable OTA Update"
default y
help
Select this to enable ota update.
endmenu

menu "WiFi Configuration"
config WIFI_SSID
string "WiFi SSID"
default "myssid"
help
SSID (network name) for the device to connect to.

config WIFI_PASSWORD
string "WiFi Password"
default "mypassword"
help
WiFi password (WPA or WPA2) for the device to use.

config WIFI_HOSTNAME_PREFIX
string "WiFi Hostname Prefix"
default "NAS"
help
WiFi hostname prefix for the device to use.

config ENABLE_SC_KEY
bool "Enable SmartConfig Key"
default y
help
Select this to enable smartconfig key.

config SC_KEY_HOLD_TIME
int "SmartConfig Key Hold Time (ms)"
Expand All @@ -67,8 +51,6 @@ choice SC_KEY_ACTIVE_LEVEL
prompt "SmartConfig Key Active Level"
default SC_KEY_ACTIVE_LOW
depends on ENABLE_SC_KEY
help
Select SmartConfig Key Active Level.

config SC_KEY_ACTIVE_HIGH
bool "Active High"
Expand Down Expand Up @@ -110,15 +92,11 @@ menu "GUI Configuration"
config ENABLE_GUI
bool "Enable GUI"
default y
help
Select this to enable gui.

choice LCD_TYPE
prompt "LCD Type"
default LCD_TYPE_ST7789
depends on ENABLE_GUI
help
Select which LCD type to use.

config LCD_TYPE_ST7735
bool "ST7735 80x160 LCD Panel"
Expand All @@ -130,8 +108,6 @@ choice LCD_ORIENTATION
prompt "LCD Orientation"
default LCD_ORIENTATION_NORMAL
depends on ENABLE_GUI
help
Select LCD orientation.

config LCD_ORIENTATION_NORMAL
bool "Normal"
Expand Down Expand Up @@ -179,15 +155,11 @@ menu "LED Configuration"
config ENABLE_LED
bool "Enable LED"
default y
help
Select this to enable LED Output.

choice LED_ACTIVE_LEVEL
prompt "LED Active Level"
default LED_ACTIVE_HIGH
depends on ENABLE_LED
help
Select LED Active Level.

config LED_ACTIVE_HIGH
bool "Active High"
Expand All @@ -205,15 +177,11 @@ menu "Audio Configuration"
config ENABLE_AUDIO_PROMPT
bool "Enable Audio Prompt"
default y
help
Select this to enable audio prompt.

choice AUDIO_OUTPUT
prompt "Audio Output"
default AUDIO_OUTPUT_I2S1
depends on ENABLE_AUDIO_PROMPT
help
Select Audio Output Interface.

config AUDIO_OUTPUT_I2S0
bool "I2S-0"
Expand Down

0 comments on commit c8e7991

Please sign in to comment.