Skip to content

Commit

Permalink
format Kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Mar 2, 2022
1 parent ea67791 commit a1ebe1c
Show file tree
Hide file tree
Showing 35 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/FlashDB/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ config EZIOT_COMPONENT_FLASHDB_BIG_ENDIAN
config EZIOT_COMPONENT_FLASHDB_DEBUG_ENABLE
bool "print debug information"
default n
depends on EZIOT_COMPONENT_FLASHDB_ENABLE
depends on EZIOT_COMPONENT_FLASHDB_ENABLE
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/cJSON/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_CJSON_ENABLE
bool "Enable cJSON"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezconn/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menuconfig EZIOT_COMPONENT_EZCONN_ENABLE
config EZIOT_COMPONENT_EZCONN_HTTPD_STACK_SIZE
int "Stack size of httpd server used by distribute"
default 8192
depends on EZIOT_COMPONENT_EZCONN_ENABLE
depends on EZIOT_COMPONENT_EZCONN_ENABLE
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezlist/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_EZLIST_ENABLE
bool "Enable ezlist"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezlog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ config EZIOT_COMPONENT_EZLOG_ASYNC_OUTPUT_USING_PTHREAD
config EZIOT_COMPONENT_EZLOG_BUF_OUTPUT_ENABLE
bool "Enable buffered output mode"
default n
depends on EZIOT_COMPONENT_EZLOG_ENABLE
depends on EZIOT_COMPONENT_EZLOG_ENABLE
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/eztimer/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menuconfig EZIOT_COMPONENT_EZTIMER_ENABLE
config EZIOT_CONPONENT_TIMER_TASK_STACK_SIZE
int "Stack size of timer task"
default 4096
depends on EZIOT_COMPONENT_EZTIMER_ENABLE
depends on EZIOT_COMPONENT_EZTIMER_ENABLE
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezutil/Kconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
source "${EZOS_PATH}/components/ezutil/*/Kconfig"
source "${EZOS_PATH}/components/ezutil/*/Kconfig"
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezutil/misc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_EZUTIL_MISC_ENABLE
bool "Enable ezutil misc"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezutil/s2j/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

menuconfig EZIOT_COMPONENT_EZUTIL_S2J_ENABLE
bool "Enable ezutil s2j"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezutil/uuid/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_EZUTIL_UUID_ENABLE
bool "Enable ezutil uuid"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/ezxml/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_EZXML_ENABLE
bool "Enable ezxml"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/http_server/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

menuconfig EZIOT_COMPONENT_EZHTTPD_ENABLE
bool "Enable http_server"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/mbedtls/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

menuconfig EZIOT_COMPONENT_MBEDTLS_ENABLE
bool "Enable mbedtls"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/mqtt/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_MQTT_ENABLE
bool "Enable mqtt client"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/utest/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_UTEST_ENABLE
bool "Enable utest"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/components/webclient/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_COMPONENT_WEBCLIENT_ENABLE
bool "Enable webclient"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/examples/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ config EZIOT_EXAMPLES_DEV_FIRMWARE_VERSION
# bool "33333"
# config EZIOT_EXAMPLES_KV_USING_KVDB
# bool "22222"
#endchoice
#endchoice
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/eziot/ez_iot_bm/Kconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
source "${EZOS_PATH}/eziot/ez_iot_bm/*/Kconfig"
source "${EZOS_PATH}/eziot/ez_iot_bm/*/Kconfig"
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/eziot/ez_iot_bm/model/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
menuconfig EZIOT_MODEL_ENABLE
bool "Enable ez-iot model"
default y
default y
4 changes: 2 additions & 2 deletions iot/iot_cloud/ez_iot_os/eziot/ez_iot_bm/ota/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ config EZIOT_OTA_TASK_STACK_SIZE
default 16384
depends on EZIOT_OTA_ENABLE
help
Stack size for ota task, the task is used for download ota file
Stack size for ota task, the task is used for download ota file

config EZIOT_OTA_TASK_PRIORITY
int "priority of ota task"
range 0 255
default 10
depends on EZIOT_OTA_ENABLE
depends on EZIOT_OTA_ENABLE
4 changes: 2 additions & 2 deletions iot/iot_cloud/ez_iot_os/eziot/ez_iot_bm/shadow/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ config EZIOT_SHADOW_FORCE_FULL_SYNC_INTERVAL
depends on EZIOT_SHADOW_ENABLE

help
If the device state does not change for a long time, shadoww will perform a
full synchronization to maintain state consistency.
If the device state does not change for a long time, shadoww will perform a
full synchronization to maintain state consistency.
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/eziot/ez_iot_bm/tsl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ config EZIOT_TSL_PROFILE_MAP_SIZE
config EZIOT_TSL_PROFILE_SIZE
int "Profile size limit"
default 8192
depends on EZIOT_TSL_LEGALITY_CHECK_WEAK || EZIOT_TSL_LEGALITY_CHECK_STRONG && EZIOT_TSL_ENABLE
depends on EZIOT_TSL_LEGALITY_CHECK_WEAK || EZIOT_TSL_LEGALITY_CHECK_STRONG && EZIOT_TSL_ENABLE
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/eziot/ez_iot_core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config EZIOT_CORE_ACEESS_TASK_STACK_SIZE
default 16384
depends on EZIOT_CORE_ENABLE
help
Stack size for access task, the task is used for device authentication and device access
Stack size for access task, the task is used for device authentication and device access

config EZIOT_CORE_ACEESS_TASK_PRIORITY
int "priority of access task"
Expand Down
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/platform/bsp/rt-thread/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ config EZIOT_OS_THREAD_ENABLE

config EZIOT_OS_TIME_ENABLE
bool "Enable ez-os interface time"
default y
default y
2 changes: 1 addition & 1 deletion iot/iot_cloud/ez_iot_os/unit_test/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ config EZIOT_UNIT_TEST_WIFI_SSID
config EZIOT_UNIT_TEST_WIFI_PASSWORD
string "config Wifi password (for wifi module)"
default "12345678"
depends on EZIOT_UNIT_TEST_ENABLE
depends on EZIOT_UNIT_TEST_ENABLE
2 changes: 1 addition & 1 deletion iot/llsync_sdk_adapter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if PKG_USING_LLSYNC_SDK_ADAPTER
config PKG_USING_LLSYNC_SDK_ADAPTER_LATEST_VERSION
bool "latest"
endchoice

config PKG_LLSYNC_SDK_ADAPTER_VER
string
default "v1.0.0" if PKG_USING_LLSYNC_SDK_ADAPTER_V100
Expand Down
4 changes: 2 additions & 2 deletions misc/MFBD/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if PKG_USING_MFBD
config PKG_MFBD_PATH
string
default "/packages/misc/MFBD"

config PKG_USING_MFBD_DEMO_RTT
bool "Enable Multi-Function Button Detection demo"
default n
Expand All @@ -26,7 +26,7 @@ if PKG_USING_MFBD
config PKG_USING_MFBD_LATEST_VERSION
bool "latest"
endchoice

config PKG_MFBD_VER
string
default "v1.0.0" if PKG_USING_MFBD_V100
Expand Down
2 changes: 1 addition & 1 deletion peripherals/cw2015/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if PKG_USING_CW2015
config PKG_USING_CW2015_LATEST_VERSION
bool "latest"
endchoice

config PKG_CW2015_VER
string
default "v1.0.0" if PKG_USING_CW2015_V100
Expand Down
4 changes: 2 additions & 2 deletions peripherals/multi_infrared/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ config PKG_USING_DRV_MULTI_INFRARED
config MULTI_INFRARED_RECEIVE_HWTIMER
string "multi infrared receive hwtimer dev name"
default "timer5"

config MULTI_INFRARED_RECEIVE_CHANNEL_NUM
int "multi infrared receive channel nums"
default 4
Expand All @@ -46,7 +46,7 @@ config PKG_USING_DRV_MULTI_INFRARED
config PKG_USING_MULTI_INFRARED_LATEST_VERSION
bool "latest"
endchoice

config PKG_MULTI_INFRARED_VER
string
default "v0.1.0" if PKG_USING_MULTI_INFRARED_V010
Expand Down
4 changes: 2 additions & 2 deletions peripherals/rs232/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if PKG_USING_RS232
default 0

endif

choice
prompt "Version"
default PKG_USING_RS232_LATEST_VERSION
Expand All @@ -45,7 +45,7 @@ if PKG_USING_RS232
config PKG_USING_RS232_LATEST_VERSION
bool "latest"
endchoice

config PKG_RS232_VER
string
default "v1.0.0" if PKG_USING_RS232_V100
Expand Down
10 changes: 5 additions & 5 deletions peripherals/touch/xpt2046/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if PKG_USING_XPT2046_TOUCH
config PKG_USING_XPT2046_TOUCH_LATEST_VERSION
bool "latest"
endchoice

config PKG_XPT2046_TOUCH_VER
string
default "v1.0.0" if PKG_USING_XPT2046_TOUCH_V100
Expand All @@ -33,12 +33,12 @@ if PKG_USING_XPT2046_TOUCH
config PKG_XPT2046_USING_KCONFIG
bool "Setup xpt2046 touch in menuconfig"
default n

if PKG_XPT2046_USING_KCONFIG
config PKG_XPT2046_SPI_BUS
string "SPI bus connected to the xpt2046"
default "spi0"

config PKG_XPT2046_CS_GPIO
int "GPIO port number for the chip select pin"
help
Expand All @@ -56,11 +56,11 @@ if PKG_USING_XPT2046_TOUCH
int "GPIO pin number for the pen pin"
help
The pen pin is (pin number) of pin in the (port number) of GPIO port\

config PKG_XPT2046_RANGE_X
int "Width of the touch lcd"
default 128

config PKG_XPT2046_RANGE_Y
int "Height of the touch lcd"
default 160
Expand Down
2 changes: 1 addition & 1 deletion system/POSIX/itoa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if PKG_USING_POSIX_ITOA
config PKG_POSIX_ITOA_PATH
string
default "/packages/system/POSIX/itoa"

config PKG_POSIX_ITOA_VER
string
default "latest"
Expand Down
2 changes: 1 addition & 1 deletion system/POSIX/strings/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if PKG_USING_POSIX_STRINGS
config PKG_POSIX_STRINGS_PATH
string
default "/packages/system/POSIX/strings"

config PKG_POSIX_STRINGS_VER
string
default "latest"
Expand Down
18 changes: 9 additions & 9 deletions system/TinyUSB/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if PKG_USING_TINYUSB
config PKG_TINYUSB_DEVICE_VID
hex "USB Vendor ID"
default 0xCAFE

config PKG_TINYUSB_DEVICE_PID
hex "USB Product ID"
default 0x4000
Expand All @@ -48,15 +48,15 @@ if PKG_USING_TINYUSB

config PKG_TINYUSB_DEVICE_MSC_NAME
string "The name of the block device used by MSC"

config PKG_TINYUSB_DEVICE_MSC_VID
string "MSC device vendor ID"
default "TinyUSB"

config PKG_TINYUSB_DEVICE_MSC_PID
string "MSC device product ID"
default "Mass Storage"

config PKG_TINYUSB_DEVICE_MSC_REV
string "MSC device revision"
default "1.0"
Expand All @@ -65,20 +65,20 @@ if PKG_USING_TINYUSB
config PKG_TINYUSB_DEVICE_HID
bool "Using Human Interface Device (HID)"
default n

if PKG_TINYUSB_DEVICE_HID
config CFG_TUD_HID
int
default 1

config PKG_TINYUSB_DEVICE_HID_KEYBOARD
bool "Keyboard report"
default n

config PKG_TINYUSB_DEVICE_HID_MOUSE
bool "Mouse report"
default n

config PKG_TINYUSB_DEVICE_HID_GAMEPAD
bool "Gamepad report"
default n
Expand All @@ -100,7 +100,7 @@ if PKG_USING_TINYUSB
choice
prompt "TinyUSB debug level"
default PKG_TINYUSB_DEBUG_NO

config PKG_TINYUSB_DEBUG_NO
bool "No debug"
config PKG_TINYUSB_DEBUG_ERROR
Expand Down
6 changes: 3 additions & 3 deletions tools/SEGGER_RTT/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ config SEGGER_RTT_PRINTF_BUFFER_SIZE
int "SEGGER_RTT_PRINTF_BUFFER_SIZE"
depends on SEGGER_RTT_ENABLE
help
Size of buffer for RTT printf to bulk-send chars via RTT
Size of buffer for RTT printf to bulk-send chars via RTT
default 64

config RTT_DEFAULT_BUFFER_INDEX
int "RTT_DEFAULT_BUFFER_INDEX"
depends on SEGGER_RTT_ENABLE
default 0

config RTT_DEFAULT_TERMINAL_INDEX
int "RTT_DEFAULT_TERMINAL_INDEX"
depends on SEGGER_RTT_ENABLE
Expand Down

0 comments on commit a1ebe1c

Please sign in to comment.