From 2c349cf52da5f45ab6c47b7f6db80447698867c5 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 20 Dec 2021 00:26:40 -0500 Subject: [PATCH] format codes --- ai/TensorflowLiteMicro/Kconfig | 2 +- ai/nnom/Kconfig | 22 +- ai/quest/Kconfig | 2 +- iot/EmbeddedProto/Kconfig | 2 +- iot/NimBLE/Kconfig | 36 +-- iot/WiFi/rw007/Kconfig | 10 +- iot/WiFi/wlan_wiced/Kconfig | 4 +- iot/abup_fota/Kconfig | 6 +- iot/agile_ftp/Kconfig | 4 +- iot/agile_modbus/Kconfig | 6 +- iot/agile_telnet/Kconfig | 24 +- iot/at_device/ec200x/Kconfig | 2 +- iot/at_device/m5311/Kconfig | 2 +- iot/at_device/n720/Kconfig | 2 +- iot/atsrv_socket/Kconfig | 58 ++-- iot/bc28_mqtt/Kconfig | 2 +- iot/bsal/Kconfig | 14 +- iot/btstack/Kconfig | 194 ++++++------ iot/capnp/Kconfig | 2 +- iot/coap/Kconfig | 12 +- iot/dlt645/Kconfig | 4 +- iot/ezXML/Kconfig | 2 +- iot/freemodbus/Kconfig | 4 +- iot/hm/Kconfig | 6 +- iot/iot_cloud/ali-iotkit/Kconfig | 6 +- iot/iot_cloud/ali-iotkit/v20x/Kconfig | 10 +- iot/iot_cloud/azure-iot-sdk/Kconfig | 4 +- iot/iot_cloud/jiot-c-sdk/Kconfig | 54 ++-- iot/iot_cloud/onenet/Kconfig | 4 +- iot/iot_cloud/tencent-iot-sdk/Kconfig | 82 +++--- iot/iot_cloud/ucloud_iot_sdk/Kconfig | 4 +- iot/kawaii-mqtt/Kconfig | 20 +- iot/libcurl2rtt/Kconfig | 6 +- iot/libmodbus/Kconfig | 6 +- iot/librws/Kconfig | 6 +- iot/ljson/Kconfig | 4 +- iot/lora_pkt_fwd/Kconfig | 2 +- iot/lorawan_driver/Kconfig | 70 ++--- iot/lorawan_ed_stack/Kconfig | 14 +- iot/mavlink/Kconfig | 4 +- iot/nmealib/Kconfig | 24 +- iot/nopoll/Kconfig | 12 +- iot/ota_downloader/Kconfig | 2 +- iot/pdulib/Kconfig | 8 +- iot/protobuf-c/Kconfig | 2 +- iot/rapidjson/Kconfig | 2 +- iot/rt_cjson_tools/Kconfig | 2 +- iot/small_modbus/Kconfig | 4 +- iot/smtp_client/Kconfig | 4 +- iot/tcpserver/Kconfig | 2 +- iot/umqtt/Kconfig | 2 +- iot/wayz_iotkit/Kconfig | 12 +- iot/webnet/Kconfig | 52 ++-- iot/zb_coordinator/Kconfig | 16 +- language/jerryscript/Kconfig | 4 +- language/micropython/Kconfig | 8 +- language/pikascript/Kconfig | 4 +- misc/DigitalCtrl/Kconfig | 10 +- misc/TinyFrame/Kconfig | 2 +- misc/armv7m_dwt/Kconfig | 4 +- misc/crclib/Kconfig | 30 +- misc/entertainment/aclock/Kconfig | 2 +- misc/entertainment/c2048/Kconfig | 2 +- misc/entertainment/cal/Kconfig | 2 +- misc/entertainment/cowsay/Kconfig | 2 +- misc/entertainment/donut/Kconfig | 2 +- misc/entertainment/sl/Kconfig | 2 +- misc/entertainment/tetris/Kconfig | 2 +- misc/entertainment/threes/Kconfig | 2 +- misc/ki/Kconfig | 2 +- misc/libcsv/Kconfig | 10 +- misc/lwgps/Kconfig | 18 +- misc/lzma/Kconfig | 2 +- misc/mcurses/Kconfig | 2 +- misc/minizip/Kconfig | 2 +- misc/samples/filesystem_samples/Kconfig | 2 +- misc/samples/kernel_samples/Kconfig | 2 +- misc/samples/network_samples/Kconfig | 2 +- misc/samples/peripheral_samples/Kconfig | 2 +- misc/state_machine/Kconfig | 4 +- misc/termbox/Kconfig | 2 +- misc/upacker/Kconfig | 2 +- misc/uparam/Kconfig | 2 +- misc/vi/Kconfig | 2 +- multimedia/AzureGUIX/Kconfig | 14 +- multimedia/LVGL/LVGL/Kconfig | 2 +- multimedia/LVGL/lv_music_demo/Kconfig | 2 +- multimedia/PDFGen/Kconfig | 2 +- .../PainterEngine/PainterEngine/Kconfig | 2 +- .../PainterEngine/PainterEngine_AUX/Kconfig | 2 +- multimedia/STemWin/Kconfig | 2 +- multimedia/TJpgDec/Kconfig | 16 +- multimedia/TinyJPEG/Kconfig | 2 +- multimedia/mp3player/Kconfig | 8 +- multimedia/touchgfx2rtt/Kconfig | 2 +- multimedia/ugui/Kconfig | 2 +- multimedia/wavplayer/Kconfig | 8 +- peripherals/LedBlink/Kconfig | 2 +- peripherals/Misaka_AT24CXX/Kconfig | 2 +- peripherals/Misaka_RGB_Bling/Kconfig | 2 +- peripherals/MotionDriver2RTT/Kconfig | 10 +- peripherals/PAJ7620/Kconfig | 4 +- peripherals/SignalLed/Kconfig | 4 +- peripherals/agile_console/Kconfig | 14 +- peripherals/as608/Kconfig | 18 +- peripherals/as7341/Kconfig | 2 +- peripherals/at24cxx/Kconfig | 2 +- peripherals/bluetrum_sdk/Kconfig | 2 +- peripherals/button/Kconfig | 74 ++--- peripherals/can_ymodem/Kconfig | 8 +- peripherals/dm9051/Kconfig | 22 +- peripherals/icm20608/Kconfig | 2 +- peripherals/infrared/Kconfig | 6 +- peripherals/kendryte-sdk/Kconfig | 2 +- peripherals/kobuki/Kconfig | 4 +- peripherals/ld3320/Kconfig | 12 +- peripherals/libnfc/Kconfig | 2 +- peripherals/littled/Kconfig | 2 +- peripherals/lkdGui/Kconfig | 2 +- peripherals/lora_gw_driver_lib/Kconfig | 6 +- peripherals/ly68l6400/Kconfig | 10 +- peripherals/max17048/Kconfig | 2 +- peripherals/mb85rs16/Kconfig | 6 +- peripherals/mcp23008/Kconfig | 6 +- peripherals/mfoc/Kconfig | 2 +- peripherals/micro_ros/Kconfig | 2 +- peripherals/multi_rtimer/Kconfig | 6 +- peripherals/nes/Kconfig | 14 +- peripherals/nrf24l01/Kconfig | 26 +- peripherals/nrf5x_sdk/Kconfig | 70 ++--- peripherals/nrfx/Kconfig | 2 +- peripherals/pca9685/Kconfig | 6 +- peripherals/pcf8574/Kconfig | 6 +- peripherals/pms_series/Kconfig | 4 +- peripherals/qkey/Kconfig | 28 +- peripherals/quick_led/Kconfig | 24 +- peripherals/rc522/Kconfig | 4 +- peripherals/rda58xx/Kconfig | 2 +- peripherals/rs485/Kconfig | 78 ++--- peripherals/rtc/Kconfig | 4 +- peripherals/rtc/ds3231/Kconfig | 2 +- peripherals/rtc/rx8900/Kconfig | 2 +- peripherals/sensors/aht10/Kconfig | 22 +- peripherals/sensors/ap3216c/Kconfig | 18 +- peripherals/sensors/bh1750/Kconfig | 20 +- peripherals/sensors/bma400/Kconfig | 10 +- peripherals/sensors/bme280/Kconfig | 2 +- peripherals/sensors/bme680/Kconfig | 2 +- peripherals/sensors/bmi088/Kconfig | 16 +- peripherals/sensors/bmp180/Kconfig | 8 +- peripherals/sensors/bmp280/Kconfig | 2 +- peripherals/sensors/ccs811/Kconfig | 2 +- peripherals/sensors/da270/Kconfig | 8 +- peripherals/sensors/df220/Kconfig | 2 +- peripherals/sensors/dhtxx/Kconfig | 2 +- peripherals/sensors/fingerprint/Kconfig | 8 +- peripherals/sensors/gp2y10/Kconfig | 2 +- peripherals/sensors/gy271/Kconfig | 2 +- peripherals/sensors/hdc1000/Kconfig | 2 +- peripherals/sensors/hmc5883/Kconfig | 2 +- peripherals/sensors/hs300x/Kconfig | 2 +- peripherals/sensors/hshcal001/Kconfig | 14 +- peripherals/sensors/hts221/Kconfig | 10 +- peripherals/sensors/ina226/Kconfig | 10 +- peripherals/sensors/ina260/Kconfig | 10 +- peripherals/sensors/lis2dh12/Kconfig | 2 +- peripherals/sensors/lps22hb/Kconfig | 2 +- peripherals/sensors/lsm303agr/Kconfig | 10 +- peripherals/sensors/lsm6dsl/Kconfig | 14 +- peripherals/sensors/lsm6dsm/Kconfig | 18 +- peripherals/sensors/max30102/Kconfig | 2 +- peripherals/sensors/max31865/Kconfig | 6 +- peripherals/sensors/max6675/Kconfig | 2 +- peripherals/sensors/mlx90632/Kconfig | 2 +- peripherals/sensors/ms5611/Kconfig | 6 +- peripherals/sensors/ms5805/Kconfig | 8 +- peripherals/sensors/pmsxx/Kconfig | 2 +- peripherals/sensors/rt3020/Kconfig | 12 +- peripherals/sensors/sgp30/Kconfig | 2 +- peripherals/sensors/shtc1/Kconfig | 2 +- peripherals/sensors/sr04/Kconfig | 2 +- peripherals/sensors/tmp1075/Kconfig | 8 +- peripherals/sensors/tsl4531/Kconfig | 2 +- peripherals/sensors/vl53l0x/Kconfig | 8 +- peripherals/sgm706/Kconfig | 8 +- peripherals/sht2x/Kconfig | 16 +- peripherals/sht3x/Kconfig | 4 +- peripherals/soft_serial/Kconfig | 18 +- peripherals/ssd1306/Kconfig | 2 +- peripherals/stm32_sdio/Kconfig | 6 +- peripherals/stm32wb55_sdk/Kconfig | 34 +-- peripherals/sx12xx/Kconfig | 26 +- peripherals/tca9534/Kconfig | 8 +- peripherals/tmc51xx/Kconfig | 2 +- peripherals/touch/Kconfig | 2 +- peripherals/touch/ft5426/Kconfig | 4 +- peripherals/touch/ft6206/Kconfig | 2 +- peripherals/touch/ft6236/Kconfig | 4 +- peripherals/touch/gt1151/Kconfig | 12 +- peripherals/touch/gt911/Kconfig | 2 +- peripherals/touch/gt9147/Kconfig | 2 +- peripherals/touch/gt917s/Kconfig | 2 +- peripherals/vdevice/Kconfig | 4 +- peripherals/wk2124/Kconfig | 8 +- peripherals/ws2812b/Kconfig | 2 +- security/yd_crypto/Kconfig | 2 +- system/Arm-2D/Kconfig | 2 +- system/CMSIS/CMSIS_5/Kconfig | 2 +- system/CMSIS/CMSIS_RTOS2/Kconfig | 2 +- system/FlashDB/Kconfig | 4 +- system/Micrium/uCOSIII_Wrapper/Kconfig | 4 +- system/Micrium/uCOSII_Wrapper/Kconfig | 4 +- system/Micrium/uC_CLK/Kconfig | 2 +- system/Micrium/uC_Common/Kconfig | 2 +- system/Micrium/uC_Modbus/Kconfig | 2 +- system/Ppool/Kconfig | 2 +- system/RTduino/Kconfig | 2 +- system/TinyUSB/Kconfig | 6 +- system/acceleration/Qfplib_M0_full/Kconfig | 2 +- system/acceleration/Qfplib_M0_tiny/Kconfig | 2 +- system/acceleration/Qfplib_M3/Kconfig | 2 +- .../rt_kprintf_threadsafe/Kconfig | 2 +- .../rt_vsnprintf_full/Kconfig | 2 +- system/event_recorder/Kconfig | 2 +- system/fal/Kconfig | 4 +- system/gui_engine/Kconfig | 2 +- system/jffs2/Kconfig | 4 +- system/mcuboot/Kconfig | 2 +- system/openamp/Kconfig | 6 +- system/plccore/Kconfig | 2 +- system/qboot/Kconfig | 40 +-- system/ramdisk/Kconfig | 2 +- system/sqlite/Kconfig | 4 +- system/sys_load_monitor/Kconfig | 2 +- system/syswatch/Kconfig | 24 +- system/thread_pool/Kconfig | 2 +- system/tlsf/Kconfig | 2 +- system/uffs/Kconfig | 2 +- system/usb_stack/Kconfig | 26 +- tools/ChineseFontLibrary/Kconfig | 2 +- tools/CoreMark/Kconfig | 2 +- tools/Dhrystone/Kconfig | 2 +- tools/EasyFlash/Kconfig | 2 +- tools/MemoryPerf/Kconfig | 2 +- tools/Micro-XRCE-DDS-Client/Kconfig | 12 +- tools/SEGGER_RTT/Kconfig | 12 +- tools/SystemView/Kconfig | 278 +++++++++--------- tools/UrlEncode/Kconfig | 2 +- tools/adbd/Kconfig | 2 +- tools/anv_bench/Kconfig | 2 +- tools/anv_memleak/Kconfig | 2 +- tools/anv_testsuit/Kconfig | 2 +- tools/anv_trace/Kconfig | 2 +- tools/bs8116a/Kconfig | 2 +- tools/devmem/Kconfig | 2 +- tools/gan_zhi/Kconfig | 2 +- tools/gbk2utf8/Kconfig | 4 +- tools/gps_rmc/Kconfig | 2 +- tools/kdb/Kconfig | 20 +- tools/logmgr/Kconfig | 6 +- tools/lunar_calendar/Kconfig | 2 +- tools/lwlog/Kconfig | 2 +- tools/lwrb2rtt/Kconfig | 2 +- tools/mem_sandbox/Kconfig | 2 +- tools/nr_micro_shell/Kconfig | 16 +- tools/qrcode/Kconfig | 4 +- tools/rdb/Kconfig | 8 +- tools/solar_terms/Kconfig | 2 +- tools/uMCN/Kconfig | 14 +- tools/ulog_file/Kconfig | 8 +- 270 files changed, 1309 insertions(+), 1309 deletions(-) diff --git a/ai/TensorflowLiteMicro/Kconfig b/ai/TensorflowLiteMicro/Kconfig index 281ab86d4a..4ab141cdab 100644 --- a/ai/TensorflowLiteMicro/Kconfig +++ b/ai/TensorflowLiteMicro/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_TENSORFLOWLITEMICRO config PKG_USING_TENSORFLOWLITEMICRO_LATEST_VERSION bool "latest" endchoice - + choice prompt "Select Offical Example" default PKG_USING_TENSORFLOWLITEMICRO_NO_EXAMPLE diff --git a/ai/nnom/Kconfig b/ai/nnom/Kconfig index 3ae618e11c..b46a0ed605 100644 --- a/ai/nnom/Kconfig +++ b/ai/nnom/Kconfig @@ -17,32 +17,32 @@ if PKG_USING_NNOM config PKG_USING_NNOM_V010 bool "v0.1.0" - + config PKG_USING_NNOM_V020 bool "v0.2.0" - + config PKG_USING_NNOM_V021 bool "v0.2.1" - - config PKG_USING_NNOM_V030 + + config PKG_USING_NNOM_V030 bool "v0.3.0" - config PKG_USING_NNOM_V040 + config PKG_USING_NNOM_V040 bool "v0.4.0" - config PKG_USING_NNOM_V041 + config PKG_USING_NNOM_V041 bool "v0.4.1" - - config PKG_USING_NNOM_V042 + + config PKG_USING_NNOM_V042 bool "v0.4.2" - - config PKG_USING_NNOM_V043 + + config PKG_USING_NNOM_V043 bool "v0.4.3" config PKG_USING_NNOM_LATEST_VERSION bool "latest" endchoice - + config PKG_NNOM_VER string default "v0.1.0" if PKG_USING_NNOM_V010 diff --git a/ai/quest/Kconfig b/ai/quest/Kconfig index d78f9b4cd9..c088c2b920 100644 --- a/ai/quest/Kconfig +++ b/ai/quest/Kconfig @@ -38,7 +38,7 @@ if PKG_USING_QUEST config PKG_USING_QUEST_LATEST_VERSION bool "latest" endchoice - + config PKG_QUEST_VER string default "latest" if PKG_USING_QUEST_LATEST_VERSION diff --git a/iot/EmbeddedProto/Kconfig b/iot/EmbeddedProto/Kconfig index a898158267..805498ad68 100644 --- a/iot/EmbeddedProto/Kconfig +++ b/iot/EmbeddedProto/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_EMBEDDEDPROTO config PKG_USING_EMBEDDEDPROTO_LATEST_VERSION bool "latest" endchoice - + config PKG_EMBEDDEDPROTO_VER string default "latest" if PKG_USING_EMBEDDEDPROTO_LATEST_VERSION diff --git a/iot/NimBLE/Kconfig b/iot/NimBLE/Kconfig index abc1d1b916..a681aac0ae 100644 --- a/iot/NimBLE/Kconfig +++ b/iot/NimBLE/Kconfig @@ -57,7 +57,7 @@ menu "Host Stack Configuration" default 8 help Set Host Stack thread priority. - + endif endmenu @@ -68,7 +68,7 @@ menu "Controller Configuration" default y help Enable support for nordic controller implementations. - + if PKG_NIMBLE_CTLR config PKG_NIMBLE_CTLR_THREAD_STACK_SIZE @@ -83,7 +83,7 @@ menu "Controller Configuration" help Set Controller thread priority. - choice + choice prompt "Bluetooth device support" default PKG_NIMBLE_BSP_NRF52 help @@ -94,10 +94,10 @@ menu "Controller Configuration" config PKG_NIMBLE_BSP_NRF52 bool "NRF52xxx" - + config PKG_NIMBLE_BSP_NRF52840 bool "NRF52840" - + endchoice endif @@ -115,7 +115,7 @@ menu "Bluetooth Mesh support" that have been enabled in the stack, such as GATT support. if PKG_NIMBLE_MESH - + config PKG_NIMBLE_MESH_DEVICE_NAME string "BLE Mesh device/node name" default "nimble-node" @@ -134,7 +134,7 @@ menu "Bluetooth Mesh support" help Set Mesh Advertising thread priority. - config PKG_NIMBLE_MESH_CFG_CLI + config PKG_NIMBLE_MESH_CFG_CLI bool "Support for Configuration Client Model" help Enable support for the configuration client model. @@ -156,24 +156,24 @@ choice default NIMBLE_DEBUG_LEVEL_I help select the NIMBLE log level - + config NIMBLE_DEBUG_LEVEL_O bool "OFF" config NIMBLE_DEBUG_LEVEL_E bool "ERROR" - + config NIMBLE_DEBUG_LEVEL_W bool "WARING" - + config NIMBLE_DEBUG_LEVEL_I bool "INFO" - + config NIMBLE_DEBUG_LEVEL_D bool "DEBUG" endchoice - + config NIMBLE_DEBUG_LEVEL # Virtual/hidden option int @@ -189,10 +189,10 @@ choice default PKG_NIMBLE_SAMPLE_DISABLE help select the NimBLE samples - + config PKG_NIMBLE_SAMPLE_DISABLE bool "Not enable sample" - + config PKG_NIMBLE_SAMPLE_PER_HR bool "BLE peripheral heartrate sensor" select NIMBT_ROLE_PERIPHERAL @@ -216,10 +216,10 @@ choice config PKG_NIMBLE_SAMPLE_BEACON bool "BLE beacon sample" select NIMBT_ROLE_BROADCASTER - + config PKG_NIMBLE_SAMPLE_EXT_ADVERTISER bool "BLE external advertiser sample" - + config PKG_NIMBLE_SAMPLE_BLEMESH bool "BLE Mesh sample" select PKG_NIMBLE_MESH @@ -245,7 +245,7 @@ config PKG_NIMBLE_MULTI_ADV_INSTANCES default 0 depends on PKG_NIMBLE_ROLE_BROADCASTER help - This is the number of multi-advertising instances. This is NOT + This is the number of multi-advertising instances. This is NOT the total number of advertising instances. The total number of advertising instances is this number plus 1. @@ -277,7 +277,7 @@ config PKG_NIMBLE_EXT_ADV_MAX_SIZE config PKG_USING_NIMBLE_LATEST_VERSION bool "latest" endchoice - + config PKG_NIMBLE_VER string default "v1.0.0" if PKG_USING_NIMBLE_V100 diff --git a/iot/WiFi/rw007/Kconfig b/iot/WiFi/rw007/Kconfig index 19b6952fd3..8c71550211 100644 --- a/iot/WiFi/rw007/Kconfig +++ b/iot/WiFi/rw007/Kconfig @@ -18,7 +18,7 @@ if PKG_USING_RW007 prompt "version" help Select the wiced wifi version - default PKG_USING_RW007_V111 + default PKG_USING_RW007_V111 config PKG_USING_RW007_V111 bool "v1.1.1" @@ -28,13 +28,13 @@ if PKG_USING_RW007 config PKG_USING_RW007_V100 bool "v1.0.0" - + config PKG_USING_RW007_V200 bool "v2.0.0" - + config PKG_USING_RW007_V201 bool "v2.0.1" - + config PKG_USING_RW007_LATEST_VERSION bool "latest" endchoice @@ -90,7 +90,7 @@ if PKG_USING_RW007 config RW007_RST_PIN int "RESET pin index" default 187 - + endif diff --git a/iot/WiFi/wlan_wiced/Kconfig b/iot/WiFi/wlan_wiced/Kconfig index 76ff6d924d..9ea19cb629 100644 --- a/iot/WiFi/wlan_wiced/Kconfig +++ b/iot/WiFi/wlan_wiced/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_WLAN_WICED config PKG_USING_WLAN_WICED_LATEST_VERSION bool "latest" - + config PKG_USING_WLAN_WICED_V101 bool "v1.0.1" @@ -36,7 +36,7 @@ if PKG_USING_WLAN_WICED string default "v1.0.0" endif - + if PKG_USING_WLAN_WICED_V101 config PKG_WLAN_WICED_VER string diff --git a/iot/abup_fota/Kconfig b/iot/abup_fota/Kconfig index d877b7239f..81f96c8aa6 100644 --- a/iot/abup_fota/Kconfig +++ b/iot/abup_fota/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_ABUP_FOTA config ABUP_NETWORKING_MODE_HTTP bool "HTTP" endchoice - + if ABUP_NETWORKING_MODE_COAP config ABUP_DEFAULT_NETWORK_PROTOCOL int @@ -47,7 +47,7 @@ endif config ABUP_ALGORITHM_LUSUN bool "lusun" endchoice - + if ABUP_ALGORITHM_WOSUN config ABUP_FOTA_ALGORITHM int @@ -160,7 +160,7 @@ endif config PKG_USING_ABUP_FOTA_LATEST_VERSION bool "latest" endchoice - + config PKG_ABUP_FOTA_VER string default "v1.0.0" if PKG_USING_ABUP_FOTA_V100 diff --git a/iot/agile_ftp/Kconfig b/iot/agile_ftp/Kconfig index e64784ce40..bd94baf02d 100644 --- a/iot/agile_ftp/Kconfig +++ b/iot/agile_ftp/Kconfig @@ -25,12 +25,12 @@ if PKG_USING_AGILE_FTP config PKG_USING_AGILE_FTP_LATEST_VERSION bool "latest" endchoice - + config PKG_AGILE_FTP_VER string default "v1.0.0" if PKG_USING_AGILE_FTP_V100 default "latest" if PKG_USING_AGILE_FTP_LATEST_VERSION - + config PKG_AGILE_FTP_VER_NUM hex default 0x10000 if PKG_USING_AGILE_FTP_V100 diff --git a/iot/agile_modbus/Kconfig b/iot/agile_modbus/Kconfig index b310327e95..7e52182562 100644 --- a/iot/agile_modbus/Kconfig +++ b/iot/agile_modbus/Kconfig @@ -18,20 +18,20 @@ if PKG_USING_AGILE_MODBUS config PKG_USING_AGILE_MODBUS_V100 bool "v1.0.0" - + config PKG_USING_AGILE_MODBUS_V101 bool "v1.0.1" config PKG_USING_AGILE_MODBUS_LATEST_VERSION bool "latest" endchoice - + config PKG_AGILE_MODBUS_VER string default "v1.0.0" if PKG_USING_AGILE_MODBUS_V100 default "v1.0.1" if PKG_USING_AGILE_MODBUS_V101 default "latest" if PKG_USING_AGILE_MODBUS_LATEST_VERSION - + config PKG_AGILE_MODBUS_VER_NUM hex default 0x10000 if PKG_USING_AGILE_MODBUS_V100 diff --git a/iot/agile_telnet/Kconfig b/iot/agile_telnet/Kconfig index 90648c142b..974e09737d 100644 --- a/iot/agile_telnet/Kconfig +++ b/iot/agile_telnet/Kconfig @@ -16,34 +16,34 @@ if PKG_USING_AGILE_TELNET config PKG_AGILE_TELNET_THREAD_STACK_SIZE int "Set agile_telnet thread stack size" default 2048 - + config PKG_AGILE_TELNET_THREAD_PRIORITY int "Set agile_telnet thread priority" default 26 - + config PKG_AGILE_TELNET_PORT int "Set agile_telnet listen port" default 23 - + config PKG_AGILE_TELNET_RX_BUFFER_SIZE int "Set agile_telnet rx buffer size" default 256 - + config PKG_AGILE_TELNET_TX_BUFFER_SIZE int "Set agile_telnet tx buffer size" default 2048 - + config PKG_AGILE_TELNET_CLIENT_DEFAULT_TIMEOUT int "Set agile_telnet client timeout(min)" default 3 - + if PKG_AGILE_TELNET_VER_NUM >= 0x20000 config PKG_AGILE_TELNET_CONSOLE_PLUG bool default y select PKG_USING_AGILE_CONSOLE - + endif if PKG_AGILE_TELNET_VER_NUM >= 0x20002 @@ -51,13 +51,13 @@ if PKG_USING_AGILE_TELNET config PKG_AGILE_TELNET_USING_AUTH bool "agile_telnet support authentication" default n - + if PKG_AGILE_TELNET_USING_AUTH config PKG_AGILE_TELNET_USERNAME string "agile_telnet username" default "loogg" - + config PKG_AGILE_TELNET_PASSWORD string "agile_telnet password" default "loogg" @@ -77,17 +77,17 @@ if PKG_USING_AGILE_TELNET config PKG_USING_AGILE_TELNET_V200 bool "v2.0.0" - + config PKG_USING_AGILE_TELNET_V201 bool "v2.0.1" - + config PKG_USING_AGILE_TELNET_V202 bool "v2.0.2" config PKG_USING_AGILE_TELNET_LATEST_VERSION bool "latest" endchoice - + config PKG_AGILE_TELNET_VER string default "v1.0.0" if PKG_USING_AGILE_TELNET_V100 diff --git a/iot/at_device/ec200x/Kconfig b/iot/at_device/ec200x/Kconfig index 3245ac8ea3..96b13a7df1 100644 --- a/iot/at_device/ec200x/Kconfig +++ b/iot/at_device/ec200x/Kconfig @@ -27,7 +27,7 @@ if AT_DEVICE_USING_EC200X config EC200X_SAMPLE_WAKEUP_PIN int "Wakeup pin" default -1 - + config EC200X_SAMPLE_CLIENT_NAME string "AT client device name" default "uart2" diff --git a/iot/at_device/m5311/Kconfig b/iot/at_device/m5311/Kconfig index 4db25d77fe..369b3cb63b 100644 --- a/iot/at_device/m5311/Kconfig +++ b/iot/at_device/m5311/Kconfig @@ -11,7 +11,7 @@ if AT_DEVICE_USING_M5311 default n if AT_DEVICE_USING_M5311 && AT_USING_SOCKET - + config M5311_MODULE_SEND_MAX_SIZE int "The maximum length of socket send line buffer" default 1024 diff --git a/iot/at_device/n720/Kconfig b/iot/at_device/n720/Kconfig index a453f5cb4b..539815f0f2 100644 --- a/iot/at_device/n720/Kconfig +++ b/iot/at_device/n720/Kconfig @@ -27,7 +27,7 @@ if AT_DEVICE_USING_N720 config N720_SAMPLE_WAKEUP_PIN int "Wakeup pin" default -1 - + config N720_SAMPLE_CLIENT_NAME string "AT client device name" default "uart2" diff --git a/iot/atsrv_socket/Kconfig b/iot/atsrv_socket/Kconfig index 791d5fd329..60b35e722b 100644 --- a/iot/atsrv_socket/Kconfig +++ b/iot/atsrv_socket/Kconfig @@ -31,18 +31,18 @@ if PKG_USING_ATSRV_SOCKET prompt "AT: AT test" default y depends on ATSRV_SOCKET_ENABLE_BASE - + config ATSRV_SOCKET_ENABLE_CMD_ATZ bool prompt "ATZ: recover to factory setting" default y depends on ATSRV_SOCKET_ENABLE_BASE - + config ATSRV_SOCKET_ENABLE_CMD_RST bool prompt "AT+RST: reboot" default y - depends on ATSRV_SOCKET_ENABLE_BASE + depends on ATSRV_SOCKET_ENABLE_BASE config ATSRV_SOCKET_ENABLE_CMD_ATE bool @@ -54,13 +54,13 @@ if PKG_USING_ATSRV_SOCKET bool prompt "AT&L: list all command" default y - depends on ATSRV_SOCKET_ENABLE_BASE + depends on ATSRV_SOCKET_ENABLE_BASE config ATSRV_SOCKET_ENABLE_CMD_UART bool prompt "AT+UART: UART configuration" default y - depends on ATSRV_SOCKET_ENABLE_BASE + depends on ATSRV_SOCKET_ENABLE_BASE config ATSRV_SOCKET_ENABLE_CMD_GMR bool @@ -72,7 +72,7 @@ if PKG_USING_ATSRV_SOCKET bool prompt "AT+SYSRAM: list free memery" default n - depends on ATSRV_SOCKET_ENABLE_BASE + depends on ATSRV_SOCKET_ENABLE_BASE config ATSRV_SOCKET_ENABLE_OTA bool @@ -83,7 +83,7 @@ if PKG_USING_ATSRV_SOCKET bool prompt "AT+OTA: update firmware use OTA" default y - depends on ATSRV_SOCKET_ENABLE_OTA + depends on ATSRV_SOCKET_ENABLE_OTA config ATSRV_SOCKET_ENABLE_WLAN bool @@ -97,25 +97,25 @@ if PKG_USING_ATSRV_SOCKET bool prompt "AT+CWMODE: mode select" default y - depends on ATSRV_SOCKET_ENABLE_WLAN - + depends on ATSRV_SOCKET_ENABLE_WLAN + config ATSRV_SOCKET_ENABLE_CMD_CWLAP bool prompt "AT+CWLAP: scan and list AP" default y - depends on ATSRV_SOCKET_ENABLE_WLAN - + depends on ATSRV_SOCKET_ENABLE_WLAN + config ATSRV_SOCKET_ENABLE_CMD_CWJAP bool prompt "AT+CWJAP: connect to AP" default y - depends on ATSRV_SOCKET_ENABLE_WLAN - + depends on ATSRV_SOCKET_ENABLE_WLAN + config ATSRV_SOCKET_ENABLE_CMD_CWQAP bool prompt "AT+CWQAP: disconnect from AP" default y - depends on ATSRV_SOCKET_ENABLE_WLAN + depends on ATSRV_SOCKET_ENABLE_WLAN config ATSRV_SOCKET_ENABLE_TCPIP bool @@ -124,43 +124,43 @@ if PKG_USING_ATSRV_SOCKET select RT_USING_SAL select RT_USING_LIBC select RT_USING_WIFI - + config ATSRV_SOCKET_ENABLE_CMD_CIPSTATUS bool prompt "AT+CIPSTATUS: show network status" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_CIPMUX bool prompt "AT+CIPMUX: connect mode setting" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_PING bool prompt "AT+PING: PING" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_CIPDOMAIN bool prompt "AT+CIPDOMAIN: DNS resolution" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_CIPSTART bool prompt "AT+CIPSTART: establish TCP/UDP connection" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_CIPCLOSE bool prompt "AT+CIPCLOSE: close connection" default y - depends on ATSRV_SOCKET_ENABLE_TCPIP - + depends on ATSRV_SOCKET_ENABLE_TCPIP + config ATSRV_SOCKET_ENABLE_CMD_CIPSEND bool prompt "AT+CIPSEND: send data to network" @@ -170,7 +170,7 @@ if PKG_USING_ATSRV_SOCKET choice prompt "Version" default PKG_USING_ATSRV_SOCKET_V100 - + help Select the atsrv_socket version @@ -179,7 +179,7 @@ if PKG_USING_ATSRV_SOCKET config PKG_USING_ATSRV_SOCKET_LATEST_VERSION bool "latest" - + endchoice config PKG_ATSRV_SOCKET_VER diff --git a/iot/bc28_mqtt/Kconfig b/iot/bc28_mqtt/Kconfig index 6731a57ca4..dbf0ee24ea 100644 --- a/iot/bc28_mqtt/Kconfig +++ b/iot/bc28_mqtt/Kconfig @@ -114,7 +114,7 @@ if PKG_USING_BC28_MQTT config PKG_USING_BC28_MQTT_LATEST_VERSION bool "latest" endchoice - + config PKG_BC28_MQTT_VER string default "v0.0.1" if PKG_USING_BC28_MQTT_V001 diff --git a/iot/bsal/Kconfig b/iot/bsal/Kconfig index a7175d0bf3..d6f2a3dfab 100644 --- a/iot/bsal/Kconfig +++ b/iot/bsal/Kconfig @@ -44,7 +44,7 @@ if PKG_USING_BSAL default PKG_BSAL_SAMPLE_BAS_ONLY help select the BSAL peripheral samples - + config PKG_BSAL_SAMPLE_BAS_ONLY select PKG_BSAL_SRV_BAS bool "battery service" @@ -65,9 +65,9 @@ if PKG_USING_BSAL config PKG_BSAL_SAMPLE_HRS_ONLY select PKG_BSAL_SRV_HRS bool "heart rate service" - + endchoice - + if PKG_BSAL_ROLE_PERIPHERAL menu "Profile support" @@ -106,7 +106,7 @@ if PKG_USING_BSAL default n help Select heart rate service profile. - + endmenu endif @@ -115,7 +115,7 @@ if PKG_USING_BSAL default PKG_BSAL_NIMBLE_STACK help select the BSAL STACK - + config PKG_BSAL_NIMBLE_STACK bool "Use the nimble stack" @@ -133,7 +133,7 @@ if PKG_USING_BSAL default "nimble" if PKG_BSAL_NIMBLE_STACK default "realtek" if PKG_BSAL_RTK_STACK default "empty_stack" if PKG_BSAL_EMPTY_STACK - + choice prompt "Version" default PKG_USING_BSAL_LATEST_VERSION @@ -143,7 +143,7 @@ if PKG_USING_BSAL config PKG_USING_BSAL_LATEST_VERSION bool "latest" endchoice - + config PKG_BSAL_VER string default "latest" if PKG_USING_BSAL_LATEST_VERSION diff --git a/iot/btstack/Kconfig b/iot/btstack/Kconfig index a313672f06..70ea81c2e8 100644 --- a/iot/btstack/Kconfig +++ b/iot/btstack/Kconfig @@ -1,5 +1,5 @@ -# Kconfig file for package BTSTACK +# Kconfig file for package BTSTACK menuconfig PKG_USING_BTSTACK select RT_USING_LIBC select RT_USING_PTHREADS @@ -10,20 +10,20 @@ menuconfig PKG_USING_BTSTACK if PKG_USING_BTSTACK config _GNU_SOURCE - int + int default 1 config HAVE_DIRENT_STRUCTURE - int + int default 1 config HAVE_DIR_STRUCTURE - int + int default 1 - + config PKG_BTSTACK_PATH string default "/packages/iot/btstack" - - + + if PKG_BTSTACK_VER_NUM >= 0x10000 # btstack office config menu "BTSTACK stack config" @@ -31,20 +31,20 @@ menu "BTSTACK stack config" bool "btstack error log support" default y help - This option log error support. - + This option log error support. + config ENABLE_LOG_INFO bool "btstack info log support" default n help - This option log info log support. - + This option log info log support. + config ENABLE_LOG_DEBUG bool "btstack debug log support" default n help - This option debug info log support. - + This option debug info log support. + config ENABLE_SDP_DES_DUMP bool "btstack SDP Dump DataElement support" default y @@ -53,7 +53,7 @@ endmenu menuconfig ENABLE_LE bool "BTSTACK BLE support" default n - + if ENABLE_LE config ENABLE_LE_PERIPHERAL bool "btstack LE peripheral support" @@ -65,7 +65,7 @@ menuconfig ENABLE_LE config ENABLE_LE_DATA_CHANNELS bool "btstack LE data channel support" - default y + default y config ENABLE_LE_DATA_LENGTH_EXTENSION bool "btstack LE data length extension" @@ -73,29 +73,29 @@ menuconfig ENABLE_LE config ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE bool "btstack L2CAP ERTM support" - default n + default n endif menuconfig ENABLE_CLASSIC bool "BTSTACK BR_EDR SUPPORT" default n - + if ENABLE_CLASSIC config NVM_NUM_LINK_KEYS - int + int default 16 config NVM_NUM_DEVICE_DB_ENTRIES int "btstack class device link support" - default 16 - + default 16 + config HCI_INCOMING_PRE_BUFFER_SIZE int "HCI incomming pre in head BUFFER SIZE" - default 14 - + default 14 + config HCI_ACL_PAYLOAD_SIZE int "HCI acl payload size" - default 1695 + default 1695 #HFP config ENABLE_HFP_WIDE_BAND_SPEECH bool "btstack class HFP WIDE BAND support" @@ -106,32 +106,32 @@ menuconfig ENABLE_CLASSIC bool "Bluetooth SBC encode support" default n help - This option enables Bluetooth Audio ENCODE support. - + This option enables Bluetooth Audio ENCODE support. + config PKG_BTSTACK_SBC_DEC bool "Bluetooth SBC encode decode support" default n help - This option enables Bluetooth Audio DECODE support. - + This option enables Bluetooth Audio DECODE support. + config PKG_BTSTACK_CVSD bool "Bluetooth CVSD support" default n help - This option enables Bluetooth CVSD support. - + This option enables Bluetooth CVSD support. + config PKG_BTSTACK_AUDIO bool "Bluetooth audio support" default n help - This option enables Bluetooth audio support. - + This option enables Bluetooth audio support. + config PKG_BTSTACK_SDP_CLIENT bool "Bluetooth SDP CLIENT support" default n help - This option enables Bluetooth SDP client support. - + This option enables Bluetooth SDP client support. + config PKG_BTSTACK_HFP_AUDIO bool "Bluetooth CVSD support" default n @@ -148,46 +148,46 @@ menuconfig ENABLE_CLASSIC menuconfig ENABLE_MESH bool "BTSTACK Mesh SUPPORT" default n - + if ENABLE_MESH config ENABLE_MESH_ADV_BEARER bool "support the adv bear" default y - + config ENABLE_MESH_GATT_BEARER bool "support the gatt bear" - default y - + default y + config ENABLE_MESH_PB_ADV bool "support the gatt bear" - default y + default y config ENABLE_MESH_PB_GATT bool "provisioner gatt" - default y - + default y + config ENABLE_MESH_PROXY_SERVER bool "provisioner server" - default y - + default y + config ENABLE_MESH_PROVISIONER bool "provisioner server" - default y + default y config MAX_NR_MESH_TRANSPORT_KEYS - int - default 16 - + int + default 16 + config MAX_NR_MESH_VIRTUAL_ADDRESSES - int - default 16 - + int + default 16 + config MAX_NR_MESH_SUBNETS - int - default 2 + int + default 2 config MAX_NR_MESH_NETWORK_KEYS - int - default 3 + int + default 3 endif @@ -196,7 +196,7 @@ menuconfig PKG_BTSTACK_SMP default n if PKG_BTSTACK_SMP config ENABLE_ECC_P256 - bool + bool default y endif @@ -209,130 +209,130 @@ choice default PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER help select the BTSTACK samples - + config PKG_BTSTACK_SAMPLE_DISABLE bool "Not enable sample" - + config PKG_BTSTACK_SAMPLE_LE_BLUFI_SERVER bool "[LE_SRV] rtthread blufi server" select ENABLE_LE - + config PKG_BTSTACK_SAMPLE_LE_COUNTER bool "[LE_SRV] BLE peripheral le counter" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_LE_DATA_CHANNEL_SERVER bool "[LE_SRV] BLE peripheral le data channel server" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_LE_STREAMER bool "[LE_SRV] Nordic le streamer server" select ENABLE_LE - select ENABLE_LE_PERIPHERAL - + select ENABLE_LE_PERIPHERAL + config PKG_BTSTACK_SAMPLE_NORDIC_LE_COUNTER bool "[LE_SRV] Nordic le counter server" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_UBLOX_LE_COUNTER bool "[LE_SRV] Nordic spp ublox server" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_ATT_DELAYED_RESPONSE bool "[LE_SRV] gatt dealyed response" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_SM_PAIRING_PERIPHERAL bool "[LE_SMP_SRV] smp peripherals" select ENABLE_LE - select ENABLE_LE_PERIPHERAL - + select ENABLE_LE_PERIPHERAL + config PKG_BTSTACK_SAMPLE_GATT_STREAMER_PERIPHERAL bool "[LE_SRV] gatt streamer peipheral" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_ANCS_CLIENT_DEMO bool "[LE_SRV] ancs_client_demo" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_HOGP_KEYBOARD_DEMO bool "[LE_SRV_hogp] hogp keyboard demo" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + config PKG_BTSTACK_SAMPLE_HOGP_MOUSER_DEMO bool "[LE_SRV_hogp] hogp mouser demo" select ENABLE_LE select ENABLE_LE_PERIPHERAL - + # MESH role config PKG_BTSTACK_SAMPLE_MESH_DEMO bool "[MESH_NODE] MESH DEMO" - select ENABLE_LE + select ENABLE_LE select ENABLE_MESH select PKG_BTSTACK_SMP config PKG_BTSTACK_SAMPLE_TMALL_MESH_DEMO bool "[MESH_NODE] MESH DEMO ON TMALL ALIGEN" - select ENABLE_LE + select ENABLE_LE select ENABLE_MESH - select PKG_BTSTACK_SMP - -# dule mode le and bredr + select PKG_BTSTACK_SMP + +# dule mode le and bredr config PKG_BTSTACK_SAMPLE_SPP_GATT_COUNTER_DEMO bool "[EDR_LE_SLAVE] spp and gatt counter" - select ENABLE_LE - select ENABLE_CLASSIC - + select ENABLE_LE + select ENABLE_CLASSIC + config PKG_BTSTACK_SAMPLE_SPP_GATT_STREAMER_DEMO bool "[EDR_LE_SLAVE] spp and gatt streamer" - select ENABLE_LE - select ENABLE_CLASSIC - + select ENABLE_LE + select ENABLE_CLASSIC + config PKG_BTSTACK_SAMPLE_SPP_COUNTER_DEMO bool "[EDR_SPP_SLAVE] spp counter" - select ENABLE_CLASSIC + select ENABLE_CLASSIC config PKG_BTSTACK_SAMPLE_SPP_STREAMER_DEMO bool "[EDR_SPP_SLAVE] spp streamer" - select ENABLE_CLASSIC + select ENABLE_CLASSIC # classic example config PKG_BTSTACK_SAMPLE_HFP_HF_DEMO bool "[EDR_HFP_SLAVE] hfp handsfree demo" - select ENABLE_CLASSIC + select ENABLE_CLASSIC select PKG_BTSTACK_HFP_AUDIO select PKG_BTSTACK_AUDIO - + config PKG_BTSTACK_SAMPLE_HFP_AG_DEMO bool "[EDR_HFP_MASTER] hfp AG demo" - select ENABLE_CLASSIC + select ENABLE_CLASSIC select PKG_BTSTACK_HFP_AUDIO select PKG_BTSTACK_AUDIO - + config PKG_BTSTACK_SAMPLE_HSP_HS_DEMO bool "[EDR_HSP_SLAVE] hfp headset demo" - select ENABLE_CLASSIC + select ENABLE_CLASSIC select PKG_BTSTACK_HFP_AUDIO select PKG_BTSTACK_AUDIO - + config PKG_BTSTACK_SAMPLE_HSP_AG_DEMO bool "[EDR_HSP_MASTER] hfp ag demo" - select ENABLE_CLASSIC + select ENABLE_CLASSIC select PKG_BTSTACK_HFP_AUDIO - + endchoice -endif +endif # Using HM package config PKG_BTSTACK_USING_HM @@ -349,21 +349,21 @@ endif config PKG_USING_BTSTACK_V001 bool "v0.0.1" - + config PKG_USING_BTSTACK_V100 bool "v1.0.0" - + config PKG_USING_BTSTACK_LATEST_VERSION bool "latest" endchoice - + config PKG_BTSTACK_VER_NUM hex default 0x99999 if PKG_USING_BTSTACK_LATEST_VERSION default 0x10000 if PKG_USING_BTSTACK_V100 default 0x00001 if PKG_USING_BTSTACK_V001 - - + + config PKG_BTSTACK_VER string default "v0.0.1" if PKG_USING_BTSTACK_V001 diff --git a/iot/capnp/Kconfig b/iot/capnp/Kconfig index fb3d37cd10..f0fc3d886e 100644 --- a/iot/capnp/Kconfig +++ b/iot/capnp/Kconfig @@ -45,7 +45,7 @@ if PKG_USING_CAPNP config PKG_USING_CAPNP_LATEST_VERSION bool "latest" endchoice - + config PKG_CAPNP_VER string default "v1.0.0" if PKG_USING_CAPNP_V100 diff --git a/iot/coap/Kconfig b/iot/coap/Kconfig index 5e26d1b5d5..ee7781a875 100644 --- a/iot/coap/Kconfig +++ b/iot/coap/Kconfig @@ -5,14 +5,14 @@ menuconfig PKG_USING_COAP select SAL_USING_POSIX default n - help - libcoap: A C implementation of the Constrained Application Protocol (RFC 7252) + help + libcoap: A C implementation of the Constrained Application Protocol (RFC 7252) if PKG_USING_COAP - config PKG_USING_COAP_EXAMPLE - bool "Enable CoAP example" - default y + config PKG_USING_COAP_EXAMPLE + bool "Enable CoAP example" + default y config PKG_COAP_PATH string @@ -23,7 +23,7 @@ if PKG_USING_COAP help Select the CoAP version - config PKG_USING_COAP_V100 + config PKG_USING_COAP_V100 bool "v1.0.0" config PKG_USING_COAP_LATEST_VERSION diff --git a/iot/dlt645/Kconfig b/iot/dlt645/Kconfig index eaf191a715..be225c38c8 100644 --- a/iot/dlt645/Kconfig +++ b/iot/dlt645/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_DLT645 config PKG_USING_DLT645_LATEST_VERSION bool "latest" endchoice - + config PKG_DLT645_VER string default "v0.0.1" if PKG_USING_DLT645_V001 @@ -33,7 +33,7 @@ if PKG_USING_DLT645 bool prompt "dlt645 example" default n - endmenu + endmenu endif diff --git a/iot/ezXML/Kconfig b/iot/ezXML/Kconfig index 4648514040..e8eaaec842 100644 --- a/iot/ezXML/Kconfig +++ b/iot/ezXML/Kconfig @@ -8,7 +8,7 @@ if PKG_USING_EZXML string default "/packages/iot/ezXML" - choice + choice prompt "version" help Select the ezXML version diff --git a/iot/freemodbus/Kconfig b/iot/freemodbus/Kconfig index 774f8b6fd3..bce66f8b6b 100644 --- a/iot/freemodbus/Kconfig +++ b/iot/freemodbus/Kconfig @@ -158,7 +158,7 @@ if PKG_USING_FREEMODBUS default 115200 endif endif - + choice prompt "Version" default PKG_USING_FREEMODBUS_LATEST_VERSION @@ -171,7 +171,7 @@ if PKG_USING_FREEMODBUS config PKG_USING_FREEMODBUS_LATEST_VERSION bool "latest" endchoice - + config PKG_FREEMODBUS_VER string default "v1.6.0" if PKG_USING_FREEMODBUS_V160 diff --git a/iot/hm/Kconfig b/iot/hm/Kconfig index 6b4eb100d9..646f87c9c2 100644 --- a/iot/hm/Kconfig +++ b/iot/hm/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_HM config PKG_USING_HM_LATEST_VERSION bool "latest" endchoice - + config PKG_HM_VER string default "v1.0.0" if PKG_USING_HM_V100 @@ -31,7 +31,7 @@ if PKG_USING_HM config HM_USING_STACK bool "Enable Stack Port" default n - + if HM_USING_STACK choice prompt "Select stack port" @@ -62,7 +62,7 @@ if PKG_USING_HM bool "Using Zephyr Controller" endchoice endif - + if HM_USING_CHIPSET_BCM config HM_USING_BOARD_ART_PI bool "Using ART-Pi" diff --git a/iot/iot_cloud/ali-iotkit/Kconfig b/iot/iot_cloud/ali-iotkit/Kconfig index a6512ba48c..f3cb815feb 100644 --- a/iot/iot_cloud/ali-iotkit/Kconfig +++ b/iot/iot_cloud/ali-iotkit/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_ALI_IOTKIT config PKG_USING_ALI_IOTKIT_DEVICE_NAME string "Config Device Name" - default RGB-LED-DEV-1 + default RGB-LED-DEV-1 config PKG_USING_ALI_IOTKIT_DEVICE_SECRET string "Config Device Secret" @@ -52,7 +52,7 @@ if PKG_USING_ALI_IOTKIT config PKG_USING_ALI_IOTKIT_SAMPLES bool "Samples" - default n + default n if PKG_USING_ALI_IOTKIT_SAMPLES config PKG_USING_ALI_IOTKIT_MQTT_SAMPLE @@ -75,7 +75,7 @@ if PKG_USING_ALI_IOTKIT endif if (PKG_ALI_IOTKIT_VER_NUM < 0x30000) - source "$PKGS_DIR/packages/iot/iot_cloud/ali-iotkit/v20x/Kconfig" + source "$PKGS_DIR/packages/iot/iot_cloud/ali-iotkit/v20x/Kconfig" endif choice diff --git a/iot/iot_cloud/ali-iotkit/v20x/Kconfig b/iot/iot_cloud/ali-iotkit/v20x/Kconfig index 989791abcd..6bfd2afebf 100644 --- a/iot/iot_cloud/ali-iotkit/v20x/Kconfig +++ b/iot/iot_cloud/ali-iotkit/v20x/Kconfig @@ -3,7 +3,7 @@ choice prompt "Select Aliyun platform" - default PKG_USING_ALI_IOTKIT_IS_LINKPLATFORM + default PKG_USING_ALI_IOTKIT_IS_LINKPLATFORM help Select Aliyun platform @@ -11,7 +11,7 @@ choice bool "LinkDevelop Platform" help Use LinkDevelop Platform - + config PKG_USING_ALI_IOTKIT_IS_LINKPLATFORM bool "LinkPlatform Platform" help @@ -20,7 +20,7 @@ endchoice config PKG_USING_ALI_IOTKIT_MQTT bool "Enable MQTT" - default n + default n if PKG_USING_ALI_IOTKIT_MQTT config PKG_USING_ALI_IOTKIT_MQTT_SAMPLE @@ -56,10 +56,10 @@ config PKG_USING_ALI_IOTKIT_OTA if PKG_USING_ALI_IOTKIT_OTA choice prompt "Select OTA channel" - default PKG_USING_ALI_IOTKIT_MQTT_OTA + default PKG_USING_ALI_IOTKIT_MQTT_OTA help Select OTA channel - + config PKG_USING_ALI_IOTKIT_MQTT_OTA bool "Use MQTT OTA channel" select PKG_USING_MBEDTLS diff --git a/iot/iot_cloud/azure-iot-sdk/Kconfig b/iot/iot_cloud/azure-iot-sdk/Kconfig index 32f8faa122..a91476e80a 100644 --- a/iot/iot_cloud/azure-iot-sdk/Kconfig +++ b/iot/iot_cloud/azure-iot-sdk/Kconfig @@ -24,12 +24,12 @@ if PKG_USING_AZURE config PKG_USING_AZURE_HTTP_PROTOCOL bool "Using HTTP Protocol" - endchoice + endchoice config PKG_USING_AZURE_TELEMTRY_EXAMPLE bool "Enable Azure iothub telemetry example" default n - + config PKG_USING_AZURE_C2D_EXAMPLE bool "Enable Azure iothub cloud to device example" default n diff --git a/iot/iot_cloud/jiot-c-sdk/Kconfig b/iot/iot_cloud/jiot-c-sdk/Kconfig index 6db5095c96..9d814bb9cc 100644 --- a/iot/iot_cloud/jiot-c-sdk/Kconfig +++ b/iot/iot_cloud/jiot-c-sdk/Kconfig @@ -2,8 +2,8 @@ # Kconfig file for package jiot-c-sdk menuconfig PKG_USING_JIOT-C-SDK bool "jiot-c-sdk: JIGUANG IoT Cloud Client SDK for RT_Thread" - select RT_USING_SAL - select SAL_USING_POSIX + select RT_USING_SAL + select SAL_USING_POSIX default n if PKG_USING_JIOT-C-SDK @@ -13,30 +13,30 @@ if PKG_USING_JIOT-C-SDK default "/packages/iot/iot_cloud/jiot-c-sdk" - config JIOT_SSL - bool "Enable TLS/DTLS" - default n + config JIOT_SSL + bool "Enable TLS/DTLS" + default n select PKG_USING_MBEDTLS - - config PKG_USING_JIOT_EXAMPLES - bool "Using JIoT Examples" - default y - - config PKG_USING_JIOT_PRODUCT_KEY - string "Config Product Key" - default "" - - config PKG_USING_JIOT_DEVICE_NAME - string "Config Device Name" - default "" - - config PKG_USING_JIOT_DEVICE_SECRET - string "Config Device Secret" - default "" - - config SDK_PLATFORM - string - default "rt-thread-package" + + config PKG_USING_JIOT_EXAMPLES + bool "Using JIoT Examples" + default y + + config PKG_USING_JIOT_PRODUCT_KEY + string "Config Product Key" + default "" + + config PKG_USING_JIOT_DEVICE_NAME + string "Config Device Name" + default "" + + config PKG_USING_JIOT_DEVICE_SECRET + string "Config Device Secret" + default "" + + config SDK_PLATFORM + string + default "rt-thread-package" choice prompt "Version" @@ -50,8 +50,8 @@ if PKG_USING_JIOT-C-SDK config PKG_USING_JIOT-C-SDK_LATEST_VERSION bool "latest" endchoice - - + + config PKG_JIOT-C-SDK_VER string default "v1.0.0" if PKG_USING_JIOT-C-SDK_V100 diff --git a/iot/iot_cloud/onenet/Kconfig b/iot/iot_cloud/onenet/Kconfig index 260cf35b59..ba4f520883 100644 --- a/iot/iot_cloud/onenet/Kconfig +++ b/iot/iot_cloud/onenet/Kconfig @@ -80,10 +80,10 @@ if PKG_USING_ONENET config PKG_USING_ONENET_LATEST_VERSION bool "latest" - + config PKG_USING_ONENET_V100 bool "v1.0.0" - + endchoice config PKG_ONENET_VER diff --git a/iot/iot_cloud/tencent-iot-sdk/Kconfig b/iot/iot_cloud/tencent-iot-sdk/Kconfig index 9d3845375d..8a88bcc033 100644 --- a/iot/iot_cloud/tencent-iot-sdk/Kconfig +++ b/iot/iot_cloud/tencent-iot-sdk/Kconfig @@ -10,90 +10,90 @@ if PKG_USING_TENCENT_IOT_EXPLORER config PKG_TENCENT_IOT_EXPLORER_PATH string default "/packages/iot/iot_cloud/tencent-iot-sdk" - + config PKG_USING_TENCENT_IOT_EXPLORER_PRODUCT_ID string "Config Product Id" - default 0WUKPUCOTC + default 0WUKPUCOTC config PKG_USING_TENCENT_IOT_EXPLORER_DEVICE_NAME string "Config Device Name" - default dev001 + default dev001 config PKG_USING_TENCENT_IOT_EXPLORER_DEVICE_SECRET string "Config Device Secret" default "N6B8M91PB4YDTRCpqvOp4w==" - + config PKG_USING_DYN_REG bool "Enable dynamic register" default n - if PKG_USING_DYN_REG + if PKG_USING_DYN_REG config PKG_USING_TENCENT_IOT_EXPLORER_PRODUCT_SECRET string "Config Product Key" default "" help - dynamic register device needed othterwise null - endif - + dynamic register device needed othterwise null + endif + config PKG_USING_LOG_UPLOAD bool "Enable err log upload" default n - + config PKG_USING_MULTITHREAD_ENABLED bool "Enable multi thread function" - default n - + default n + config PKG_USING_TENCENT_IOT_EXPLORER_TLS bool "Enable TLS/DTLS" default n select PKG_USING_MBEDTLS - - choice + + choice prompt "Select Product Type" help Select product communication protocol - + config PKG_USING_DATA_TEMPLATE_PROTOCOL bool "Data template protocol" help Use data template protocol - + config PKG_USING_SELF_DEFINE_PROTOCOL bool "self-define protocol" help Use self-define protocol - endchoice - + endchoice + if PKG_USING_DATA_TEMPLATE_PROTOCOL config PKG_USING_EVENT_POST bool "Enable Event" default n - + config PKG_USING_ACTION bool "Enable Action" - default n - + default n + config PKG_USING_SMART_LIGHT_SAMPLE bool "Enable Smart_light Sample" default y - endif - - if PKG_USING_SELF_DEFINE_PROTOCOL + endif + + if PKG_USING_SELF_DEFINE_PROTOCOL config PKG_USING_TENCENT_IOT_EXPLORER_MQTT bool "Enable MQTT Sample" - default y - + default y + config PKG_USING_TENCENT_IOT_EXPLORER_RAW_DATA bool "Enable RAW_DATA SAMPLE" default n - endif - + endif + config PKG_USING_TENCENT_IOT_EXPLORER_OTA bool "Enable OTA" default n - - if PKG_USING_TENCENT_IOT_EXPLORER_OTA - choice + + if PKG_USING_TENCENT_IOT_EXPLORER_OTA + choice prompt "Config OTA download by https or http" help Select download channel @@ -101,14 +101,14 @@ if PKG_USING_TENCENT_IOT_EXPLORER bool "Download by http" config PKG_USING_OTA_HTTPS bool "Download by https" - select PKG_USING_TENCENT_IOT_EXPLORER_TLS + select PKG_USING_TENCENT_IOT_EXPLORER_TLS endchoice - endif - + endif + config PKG_USING_TENCENT_IOT_EXPLORER_GATEWAY bool "Enable GateWay" default n - + choice prompt "Version" default PKG_USING_TENCENT_IOT_EXPLORER_LATEST_VERSION @@ -117,16 +117,16 @@ if PKG_USING_TENCENT_IOT_EXPLORER config PKG_USING_TENCENT_IOT_EXPLORER_LATEST_VERSION bool "latest" - + config PKG_USING_TENCENT_IOT_EXPLORER_V300 - bool "v3.0.0" - + bool "v3.0.0" + config PKG_USING_TENCENT_IOT_EXPLORER_V302 bool "v3.0.2" - + config PKG_USING_TENCENT_IOT_EXPLORER_V313 - bool "v3.1.3" - + bool "v3.1.3" + endchoice config PKG_TENCENT_IOT_EXPLORER_VER @@ -135,5 +135,5 @@ if PKG_USING_TENCENT_IOT_EXPLORER default "v3.0.2" if PKG_USING_TENCENT_IOT_EXPLORER_V302 default "v3.0.0" if PKG_USING_TENCENT_IOT_EXPLORER_V300 default "latest" if PKG_USING_TENCENT_IOT_EXPLORER_LATEST_VERSION - + endif diff --git a/iot/iot_cloud/ucloud_iot_sdk/Kconfig b/iot/iot_cloud/ucloud_iot_sdk/Kconfig index 26355b37ce..48a9be687d 100644 --- a/iot/iot_cloud/ucloud_iot_sdk/Kconfig +++ b/iot/iot_cloud/ucloud_iot_sdk/Kconfig @@ -33,7 +33,7 @@ if PKG_USING_UCLOUD_IOT_SDK default "device_secret" help static register device needed - endmenu + endmenu config PKG_USING_UCLOUD_MQTT bool "Enable Mqtt Link uiot-core Platform" @@ -117,7 +117,7 @@ if PKG_USING_UCLOUD_IOT_SDK config PKG_USING_UCLOUD_IOT_SDK_LATEST_VERSION bool "latest" endchoice - + config PKG_UCLOUD_IOT_SDK_VER string default "v1.0.1" if PKG_USING_UCLOUD_IOT_SDK_V101 diff --git a/iot/kawaii-mqtt/Kconfig b/iot/kawaii-mqtt/Kconfig index c1d992c24d..2ce1373b01 100644 --- a/iot/kawaii-mqtt/Kconfig +++ b/iot/kawaii-mqtt/Kconfig @@ -9,7 +9,7 @@ if PKG_USING_KAWAII_MQTT config PKG_KAWAII_MQTT_PATH string default "/packages/iot/kawaii-mqtt" - + config KAWAII_MQTT_NETWORK_TYPE_TLS bool "enable mbedtls" default n @@ -27,12 +27,12 @@ if PKG_USING_KAWAII_MQTT config KAWAII_MQTT_LOG_IS_SALOF bool "enable salof" default y - + if KAWAII_MQTT_LOG_IS_SALOF config SALOF_USING_LOG bool "salof using log" default y - + if SALOF_USING_LOG config SALOF_USING_SALOF bool "using salof" @@ -47,7 +47,7 @@ if PKG_USING_KAWAII_MQTT config SALOF_FIFO_SIZE int "salof fifo size" default 2048 - + config SALOF_TASK_STACK_SIZE int "salof task size" default 2048 @@ -55,7 +55,7 @@ if PKG_USING_KAWAII_MQTT config SALOF_TASK_TICK int "salof task tick" default 50 - endif + endif endif config SALOF_LOG_COLOR @@ -72,10 +72,10 @@ if PKG_USING_KAWAII_MQTT config SALOF_USING_IDLE_HOOK bool "using idle thread hook" default n - + config SALOF_LOG_LEVEL int "salof output log level " - default KAWAII_MQTT_LOG_LEVEL + default KAWAII_MQTT_LOG_LEVEL endif endif @@ -144,7 +144,7 @@ if PKG_USING_KAWAII_MQTT config PKG_USING_KAWAII_MQTT_TEST bool "enable kawaii mqtt test" default n - + choice prompt "Version" default PKG_USING_KAWAII_MQTT_LATEST_VERSION @@ -156,14 +156,14 @@ if PKG_USING_KAWAII_MQTT config PKG_USING_KAWAII_MQTT_V102 bool "v1.0.2" - + config PKG_USING_KAWAII_MQTT_V110 bool "v1.1.0" config PKG_USING_KAWAII_MQTT_LATEST_VERSION bool "latest" endchoice - + config PKG_KAWAII_MQTT_VER string default "v1.0.0" if PKG_USING_KAWAII_MQTT_V100 diff --git a/iot/libcurl2rtt/Kconfig b/iot/libcurl2rtt/Kconfig index 6f31b944dc..922453d096 100644 --- a/iot/libcurl2rtt/Kconfig +++ b/iot/libcurl2rtt/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_LIBCURL2RTT endchoice config PKG_LIBCURL2RTT_VER - string - default "v7.67.0" if PKG_USING_LIBCURL2RTT_V076700 - default "latest" if PKG_USING_LIBCURL2RTT_LATEST_VERSION + string + default "v7.67.0" if PKG_USING_LIBCURL2RTT_V076700 + default "latest" if PKG_USING_LIBCURL2RTT_LATEST_VERSION endif diff --git a/iot/libmodbus/Kconfig b/iot/libmodbus/Kconfig index 11b5427f34..2618caca8b 100644 --- a/iot/libmodbus/Kconfig +++ b/iot/libmodbus/Kconfig @@ -16,13 +16,13 @@ if PKG_USING_LIBMODBUS config PKG_USING_LIBMODBUS_RTU bool "Enable libmodbus rtu mode" default n - select RT_USING_POSIX_TERMIOS + select RT_USING_POSIX_TERMIOS if PKG_USING_LIBMODBUS_RTU config HAVE_DECL_TIOCSRS485 int default 1 - + config HAVE_DECL_TIOCM_RTS int default 1 @@ -53,7 +53,7 @@ if PKG_USING_LIBMODBUS config PKG_USING_LIBMODBUS_LATEST_VERSION bool "latest" endchoice - + config PKG_LIBMODBUS_VER string default "v1.0.0" if PKG_USING_LIBMODBUS_V100 diff --git a/iot/librws/Kconfig b/iot/librws/Kconfig index c922ffe2b1..cd184dad63 100644 --- a/iot/librws/Kconfig +++ b/iot/librws/Kconfig @@ -17,7 +17,7 @@ if PKG_USING_LIBRWS default "/packages/iot/librws" choice - prompt "version" + prompt "version" default PKG_USING_LIBRWS_V124 help Select the librws version @@ -28,7 +28,7 @@ if PKG_USING_LIBRWS config PKG_USING_LIBRWS_LATEST_VERSION bool "latest" endchoice - + config PKG_LIBRWS_VER string default "v1.2.4" if PKG_USING_LIBRWS_V124 @@ -59,7 +59,7 @@ if PKG_USING_LIBRWS select PKG_USING_MBEDTLS endchoice - config LIBRWS_USING_EXAMPLE + config LIBRWS_USING_EXAMPLE bool "Using librws msh command example" default y endif diff --git a/iot/ljson/Kconfig b/iot/ljson/Kconfig index 1653418890..0a9ce40aac 100644 --- a/iot/ljson/Kconfig +++ b/iot/ljson/Kconfig @@ -9,7 +9,7 @@ if PKG_USING_LJSON string default "/packages/iot/ljson" - choice + choice prompt "version" help Select the ljson version @@ -24,6 +24,6 @@ if PKG_USING_LJSON config PKG_LJSON_VER string default "v0.0.2" if PKG_USING_LJSON_V002 - default "latest" if PKG_USING_LJSON_LATEST_VERSION + default "latest" if PKG_USING_LJSON_LATEST_VERSION endif diff --git a/iot/lora_pkt_fwd/Kconfig b/iot/lora_pkt_fwd/Kconfig index 37f2e2a66d..8004b87734 100644 --- a/iot/lora_pkt_fwd/Kconfig +++ b/iot/lora_pkt_fwd/Kconfig @@ -89,7 +89,7 @@ if PKG_USING_LORA_PKT_FWD config PKG_USING_LORA_PKT_FWD_LATEST_VERSION bool "latest" endchoice - + config PKG_LORA_PKT_FWD_VER string default "v1.0.0" if PKG_USING_LORA_PKT_FWD_V100 diff --git a/iot/lorawan_driver/Kconfig b/iot/lorawan_driver/Kconfig index 8fb10dcae2..486c7b199b 100644 --- a/iot/lorawan_driver/Kconfig +++ b/iot/lorawan_driver/Kconfig @@ -9,22 +9,22 @@ if PKG_USING_LORAWAN_DRIVER config PKG_LORAWAN_DRIVER_PATH string default "/packages/iot/lorawan_driver" - - config LORAWAN_DRIVER_DEFAULT_DATARATE - int "LORAWAN_DRIVER_DEFAULT_DATARATE" + + config LORAWAN_DRIVER_DEFAULT_DATARATE + int "LORAWAN_DRIVER_DEFAULT_DATARATE" range 1 5 default 5 - config LORAWAN_DRIVER_APP_PORT - int "LORAWAN_DRIVER_APP_PORT" + config LORAWAN_DRIVER_APP_PORT + int "LORAWAN_DRIVER_APP_PORT" range 0 255 default 3 - config LORAWAN_DRIVER_USING_Example - bool "Enable Example" - default y + config LORAWAN_DRIVER_USING_Example + bool "Enable Example" + default y - choice + choice prompt "Work Mode" default ClassA help @@ -34,8 +34,8 @@ if PKG_USING_LORAWAN_DRIVER config LORAWAN_DRIVER_ClassC bool ClassC endchoice - - choice + + choice prompt "Join Mode" default ABP help @@ -47,31 +47,31 @@ if PKG_USING_LORAWAN_DRIVER bool ABP endchoice - choice - - prompt "Select the RF frequency" - default REGION_CN470 - help - Select the RF frequency - - config LORAWAN_DRIVER_REGION_EU433 - bool "LORAMAC_REGION_EU433" - - config LORAWAN_DRIVER_REGION_CN470 - bool "LORAMAC_REGION_CN470" - - endchoice - - choice - prompt "Version" - default PKG_USING_LORAWAN_DRIVER_LATEST_VERSION - help - Select the package version - - config PKG_USING_LORAWAN_DRIVER_LATEST_VERSION - bool "latest" + choice + + prompt "Select the RF frequency" + default REGION_CN470 + help + Select the RF frequency + + config LORAWAN_DRIVER_REGION_EU433 + bool "LORAMAC_REGION_EU433" + + config LORAWAN_DRIVER_REGION_CN470 + bool "LORAMAC_REGION_CN470" + + endchoice + + choice + prompt "Version" + default PKG_USING_LORAWAN_DRIVER_LATEST_VERSION + help + Select the package version + + config PKG_USING_LORAWAN_DRIVER_LATEST_VERSION + bool "latest" endchoice - + config PKG_LORAWAN_DRIVER_VER string default "latest" if PKG_USING_LORAWAN_DRIVER_LATEST_VERSION diff --git a/iot/lorawan_ed_stack/Kconfig b/iot/lorawan_ed_stack/Kconfig index dce7b4b2fd..750a551d0e 100644 --- a/iot/lorawan_ed_stack/Kconfig +++ b/iot/lorawan_ed_stack/Kconfig @@ -14,7 +14,7 @@ if PKG_USING_LORAWAN_ED_STACK bool default y select PKG_USING_LORA_RADIO_DRIVER - + choice prompt "Select LoRaWAN Specification" default LORAWAN_ED_STACK_USING_LORAWAN_SPECIFICATION_V1_0_X @@ -132,7 +132,7 @@ if PKG_USING_LORAWAN_ED_STACK default 10 if LORAWAN_ED_STACK_MAC_PARAMETER_ACTIVATION_TYPE_OTAA - + menu "Redefine OTAA Device Authentication Infomation" config LORAWAN_ED_STACK_MAC_PARAMETER_DEVEUI_REDEFINE bool "Redefine LoRaWAN End-Device DevEUI" @@ -157,12 +157,12 @@ if PKG_USING_LORAWAN_ED_STACK string "AppKey" default "00112233445566778899AABBCCDDEEFF" depends on LORAWAN_ED_STACK_MAC_PARAMETER_APPKEY_REDEFINE - + endmenu endif if LORAWAN_ED_STACK_MAC_PARAMETER_ACTIVATION_TYPE_ABP - + menu "Redefine ABP Device Authentication Infomation" config LORAWAN_ED_STACK_MAC_PARAMETER_DEVADDR_REDEFINE bool "Redefine LoRaWAN End-Device DevAddr" @@ -317,7 +317,7 @@ if PKG_USING_LORAWAN_ED_STACK config LORAWAN_ED_STACK_DEBUG_MAC_RX_WINDOW_TIMESTAMP int default 1 if LORAWAN_ED_STACK_DEBUG_MAC_RX_WIN_TIMESTAMP_CONFIG - + config LORAWAN_ED_STACK_DEBUG_MAC_COMMAND_CONFIG bool "Enable LoRaWAN End-Device MAC Command Debug" default n @@ -349,7 +349,7 @@ if PKG_USING_LORAWAN_ED_STACK endmenu endif endmenu - + choice prompt "Version" default PKG_USING_LORAWAN_ED_STACK_LATEST_VERSION @@ -365,7 +365,7 @@ if PKG_USING_LORAWAN_ED_STACK config PKG_USING_LORAWAN_ED_STACK_LATEST_VERSION bool "latest" endchoice - + config PKG_LORAWAN_ED_STACK_VER string default "v1.0.0" if PKG_USING_LORAWAN_ED_STACK_V100 diff --git a/iot/mavlink/Kconfig b/iot/mavlink/Kconfig index 11b5b714e9..e6a79b0b74 100644 --- a/iot/mavlink/Kconfig +++ b/iot/mavlink/Kconfig @@ -41,7 +41,7 @@ if PKG_USING_MAVLINK config PKG_USING_MAVLINK_DIALECT_matrixpilot bool "matrixpilot" config PKG_USING_MAVLINK_DIALECT_icarous - bool "icarous" + bool "icarous" config PKG_USING_MAVLINK_DIALECT_autoquad bool "autoquad" config PKG_USING_MAVLINK_DIALECT_ASLUAV @@ -49,7 +49,7 @@ if PKG_USING_MAVLINK config PKG_USING_MAVLINK_DIALECT_ardupilotmega bool "ardupilotmega" endchoice - + config PKG_MAVLINK_VER string default "latest-mirror" if PKG_USING_MAVLINK_LATEST_VERSION_MIRROR diff --git a/iot/nmealib/Kconfig b/iot/nmealib/Kconfig index e79262c4c8..2dda751ba4 100644 --- a/iot/nmealib/Kconfig +++ b/iot/nmealib/Kconfig @@ -11,22 +11,22 @@ if PKG_USING_NMEALIB default "/packages/iot/nmealib" config PKG_USING_NMEALIB_EXAMPLES - bool "Enable nmealib uart sample" - default n - if PKG_USING_NMEALIB_EXAMPLES - config NMEALIB_UART_PORT - string "uart name e.g. uart3" - default "uart3" - config NMEALIB_UART_BAUDRATE - int "uart baudrate used by sample" - default 9600 + bool "Enable nmealib uart sample" + default n + if PKG_USING_NMEALIB_EXAMPLES + config NMEALIB_UART_PORT + string "uart name e.g. uart3" + default "uart3" + config NMEALIB_UART_BAUDRATE + int "uart baudrate used by sample" + default 9600 endif config NMEALIB_DEBUG bool "Enable nmealib trace and error" default n - - choice + + choice prompt "Version" default PKG_USING_NMEALIB_LATEST_VERSION help @@ -38,7 +38,7 @@ if PKG_USING_NMEALIB config PKG_USING_NMEALIB_LATEST_VERSION bool "latest" endchoice - + config PKG_NMEALIB_VER string default "v1.0.0" if PKG_USING_NMEALIB_V100 diff --git a/iot/nopoll/Kconfig b/iot/nopoll/Kconfig index 07803eec8e..4262d2659b 100644 --- a/iot/nopoll/Kconfig +++ b/iot/nopoll/Kconfig @@ -1,19 +1,19 @@ menuconfig PKG_USING_NOPOLL bool "nopoll: A OpenSource WebSocket implementation (RFC 6455) in ansi C" - select RT_USING_LWIP + select RT_USING_LWIP select PKG_USING_TINYCRYPT select TINY_CRYPT_SHA1 default n - help - nopoll package in ansi C for websocket + help + nopoll package in ansi C for websocket if PKG_USING_NOPOLL - config PKG_USING_NOPOLL_EXAMPLE - bool "Enable nopoll example" - default y + config PKG_USING_NOPOLL_EXAMPLE + bool "Enable nopoll example" + default y config PKG_NOPOLL_PATH string diff --git a/iot/ota_downloader/Kconfig b/iot/ota_downloader/Kconfig index f7a2b0cc95..47d39adfe6 100644 --- a/iot/ota_downloader/Kconfig +++ b/iot/ota_downloader/Kconfig @@ -21,7 +21,7 @@ if PKG_USING_OTA_DOWNLOADER if PKG_USING_HTTP_OTA config PKG_HTTP_OTA_URL string "HTTP OTA Download default URL" - default "http://xxx/xxx/rtthread.rbl" + default "http://xxx/xxx/rtthread.rbl" endif config PKG_USING_YMODEM_OTA diff --git a/iot/pdulib/Kconfig b/iot/pdulib/Kconfig index 9f34b8f54f..438ae157e1 100644 --- a/iot/pdulib/Kconfig +++ b/iot/pdulib/Kconfig @@ -10,10 +10,10 @@ if PKG_USING_PDULIB string default "/packages/iot/pdulib" - + config PKG_USING_PDULIB_EXAMPLES - bool "Enable pdulib sample" - default n + bool "Enable pdulib sample" + default n config PDULIB_DEBUG bool "Enable pdulib debug" @@ -31,7 +31,7 @@ if PKG_USING_PDULIB config PKG_USING_PDULIB_LATEST_VERSION bool "latest" endchoice - + config PKG_PDULIB_VER string default "v1.0.0" if PKG_USING_PDULIB_V100 diff --git a/iot/protobuf-c/Kconfig b/iot/protobuf-c/Kconfig index 29b70f1385..93a1b8b122 100644 --- a/iot/protobuf-c/Kconfig +++ b/iot/protobuf-c/Kconfig @@ -14,7 +14,7 @@ if PKG_USING_PROTOBUF_C bool "protobuf-c examples" help protobuf-c examples - default n + default n if PROTOBUF_C_USING_EXAMPLE config PROTOBUF_C_USING_ENCODE_DECODE_EXAMPLE bool "protobuf-c example: encode and decode in memory" diff --git a/iot/rapidjson/Kconfig b/iot/rapidjson/Kconfig index 7fabc6b4af..9c1a32e1b1 100644 --- a/iot/rapidjson/Kconfig +++ b/iot/rapidjson/Kconfig @@ -78,7 +78,7 @@ if PKG_USING_RAPIDJSON config PKG_USING_RAPIDJSON_LATEST_VERSION bool "latest" endchoice - + config PKG_RAPIDJSON_VER string default "latest" if PKG_USING_RAPIDJSON_LATEST_VERSION diff --git a/iot/rt_cjson_tools/Kconfig b/iot/rt_cjson_tools/Kconfig index f9219fdfe6..28ea91cba8 100644 --- a/iot/rt_cjson_tools/Kconfig +++ b/iot/rt_cjson_tools/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_RT_CJSON_TOOLS config PKG_USING_RT_CJSON_TOOLS_LATEST_VERSION bool "latest" endchoice - + config PKG_RT_CJSON_TOOLS_VER string default "latest" if PKG_USING_RT_CJSON_TOOLS_LATEST_VERSION diff --git a/iot/small_modbus/Kconfig b/iot/small_modbus/Kconfig index c9ec1dc88e..0defa09ea0 100755 --- a/iot/small_modbus/Kconfig +++ b/iot/small_modbus/Kconfig @@ -9,7 +9,7 @@ if PKG_USING_SMALL_MODBUS config PKG_SMALL_MODBUS_PATH string default "/packages/iot/small_modbus" - + choice prompt "Version" default PKG_SMALL_MODBUS_LATEST_VERSION @@ -22,7 +22,7 @@ if PKG_USING_SMALL_MODBUS config PKG_SMALL_MODBUS_LATEST_VERSION bool "latest" endchoice - + config PKG_SMALL_MODBUS_VER string default "v1.0.0" if PKG_SMALL_MODBUS_V100 diff --git a/iot/smtp_client/Kconfig b/iot/smtp_client/Kconfig index c83473b1c2..e7a4109711 100644 --- a/iot/smtp_client/Kconfig +++ b/iot/smtp_client/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_SMTP_CLIENT config PKG_USING_SMTP_CLIENT_V102 bool "v1.0.2" - + config PKG_USING_SMTP_CLIENT_V100 bool "v1.0.0" @@ -55,7 +55,7 @@ if PKG_USING_SMTP_CLIENT prompt "enable attachment" default y endif - endmenu + endmenu endif diff --git a/iot/tcpserver/Kconfig b/iot/tcpserver/Kconfig index 6b5258956c..eeb017a355 100644 --- a/iot/tcpserver/Kconfig +++ b/iot/tcpserver/Kconfig @@ -45,7 +45,7 @@ if PKG_USING_TCPSERVER config PKG_USING_TCPSERVER_LATEST_VERSION bool "latest" endchoice - + config PKG_TCPSERVER_VER string default "v0.0.1" if PKG_USING_TCPSERVER_V001 diff --git a/iot/umqtt/Kconfig b/iot/umqtt/Kconfig index d18769d69c..c19e77d9f3 100644 --- a/iot/umqtt/Kconfig +++ b/iot/umqtt/Kconfig @@ -91,7 +91,7 @@ if PKG_USING_UMQTT config PKG_USING_UMQTT_LATEST_VERSION bool "latest" endchoice - + config PKG_UMQTT_VER string default "v1.0.0" if PKG_USING_UMQTT_V100 diff --git a/iot/wayz_iotkit/Kconfig b/iot/wayz_iotkit/Kconfig index 97580e0c15..cc369c8804 100644 --- a/iot/wayz_iotkit/Kconfig +++ b/iot/wayz_iotkit/Kconfig @@ -3,7 +3,7 @@ menuconfig PKG_USING_WAYZ_IOTKIT bool "wayz iot location" default n - select PKG_USING_CJSON + select PKG_USING_CJSON select PKG_USING_WEBCLIENT if PKG_USING_WAYZ_IOTKIT @@ -11,12 +11,12 @@ if PKG_USING_WAYZ_IOTKIT config PKG_WAYZ_IOTKIT_PATH string default "/packages/iot/wayz_iotkit" - - config PKG_WAYZ_IOTKIT_WIFI_SSID + + config PKG_WAYZ_IOTKIT_WIFI_SSID string "wifi ssid" default "wayz123" - - config PKG_WAYZ_IOTKIT_WIFI_PASSWORD + + config PKG_WAYZ_IOTKIT_WIFI_PASSWORD string "wifi password" default "wayz1234" @@ -32,7 +32,7 @@ if PKG_USING_WAYZ_IOTKIT config PKG_USING_WAYZ_IOTKIT_LATEST_VERSION bool "latest" endchoice - + config PKG_WAYZ_IOTKIT_VER string default "v1.0.0" if PKG_USING_WAYZ_IOTKIT_V100 diff --git a/iot/webnet/Kconfig b/iot/webnet/Kconfig index 78b9a07233..93888efae0 100644 --- a/iot/webnet/Kconfig +++ b/iot/webnet/Kconfig @@ -17,73 +17,73 @@ if PKG_USING_WEBNET int "Server listen port" default 80 range 0 65535 - + config WEBNET_CONN_MAX int "Maximum number of server connections" default 16 range 1 100 - + config WEBNET_ROOT string "Server root directory" default "/webnet" - + menu "Select supported modules" - + config WEBNET_USING_LOG bool "LOG: Enable output log support" default n - + config WEBNET_USING_AUTH bool "AUTH: Enable basic HTTP authentication support" default n - + config WEBNET_USING_CGI bool "CGI: Enable Common Gateway Interface support" default n - + config WEBNET_USING_ASP bool "ASP: Enable Active Server Pages support" default n - + config WEBNET_USING_SSI bool "SSI: Enable Server Side Includes support" - default n - + default n + config WEBNET_USING_INDEX bool "INDEX: Enable list all the file in the directory support" default n - + config WEBNET_USING_ALIAS bool "ALIAS: Enable alias support" default n - + config WEBNET_USING_DAV bool "DAV: Enable Web-based Distributed Authoring and Versioning support" default n - + config WEBNET_USING_UPLOAD bool "UPLOAD: Enable upload file support" default n - + config WEBNET_USING_GZIP bool "GZIP: Enable compressed file support by GZIP" default n - + config WEBNET_CACHE_LEVEL - int "CACHE: Configure cache level(0:disable 1:use Last-Modified 2:use Cache-Control)" + int "CACHE: Configure cache level(0:disable 1:use Last-Modified 2:use Cache-Control)" default 0 range 0 2 - - if WEBNET_CACHE_LEVEL = 2 - + + if WEBNET_CACHE_LEVEL = 2 + config WEBNET_CACHE_MAX_AGE int "Cache-Control time in seconds" default 1800 - + endif - + endmenu - + config WEBNET_USING_SAMPLES bool "Enable webnet samples" default n @@ -94,7 +94,7 @@ if PKG_USING_WEBNET select WEBNET_USING_ALIAS select WEBNET_USING_SSI select WEBNET_USING_UPLOAD - + choice prompt "Version" help @@ -106,17 +106,17 @@ if PKG_USING_WEBNET config PKG_USING_WEBNET_V201 bool "v2.0.1" - + config PKG_USING_WEBNET_V200 bool "v2.0.0" config PKG_USING_WEBNET_LATEST_VERSION bool "latest" endchoice - + config PKG_WEBNET_VER string - default "v2.0.2" if PKG_USING_WEBNET_V202 + default "v2.0.2" if PKG_USING_WEBNET_V202 default "v2.0.1" if PKG_USING_WEBNET_V201 default "v2.0.0" if PKG_USING_WEBNET_V200 default "latest" if PKG_USING_WEBNET_LATEST_VERSION diff --git a/iot/zb_coordinator/Kconfig b/iot/zb_coordinator/Kconfig index fb97c5487e..a4af6ab617 100644 --- a/iot/zb_coordinator/Kconfig +++ b/iot/zb_coordinator/Kconfig @@ -3,7 +3,7 @@ menuconfig PKG_USING_ZB_COORDINATOR bool "Application of AT Command on ZigBee Coordinator." default n - select RT_USING_AT + select RT_USING_AT select AT_USING_CLIENT if PKG_USING_ZB_COORDINATOR @@ -24,18 +24,18 @@ if PKG_USING_ZB_COORDINATOR config PKG_USING_ZB_COORDINATOR_LATEST_VERSION bool "latest" endchoice - + config PKG_ZB_COORDINATOR_VER string default "v1.0.0" if PKG_USING_ZB_COORDINATOR_V100 default "latest" if PKG_USING_ZB_COORDINATOR_LATEST_VERSION - config AT_MG21_SAMPLE_CLIENT_NAME - string "the client name for at_mg21" - default "uart2" - config AT_MG21_SAMPLE_RECV_BUFF_LEN - int "the buffer length for at_mg21" - default 512 + config AT_MG21_SAMPLE_CLIENT_NAME + string "the client name for at_mg21" + default "uart2" + config AT_MG21_SAMPLE_RECV_BUFF_LEN + int "the buffer length for at_mg21" + default 512 endif diff --git a/language/jerryscript/Kconfig b/language/jerryscript/Kconfig index 8911d24772..8a1eb70160 100644 --- a/language/jerryscript/Kconfig +++ b/language/jerryscript/Kconfig @@ -52,11 +52,11 @@ if PKG_USING_JERRYSCRIPT config JERRY_ENABLE_SNAPSHOT_SAVE bool "JERRY_ENABLE_SNAPSHOT_SAVE" default n - + config JERRY_ENABLE_SNAPSHOT_EXEC bool "JERRY_ENABLE_SNAPSHOT_EXEC" default n - + config CONFIG_DISABLE_ANNEXB_BUILTIN bool "CONFIG_DISABLE_ANNEXB_BUILTIN" default n diff --git a/language/micropython/Kconfig b/language/micropython/Kconfig index c55a611b7d..e09dc9f77c 100644 --- a/language/micropython/Kconfig +++ b/language/micropython/Kconfig @@ -41,12 +41,12 @@ if PKG_USING_MICROPYTHON bool "machine adc: enable adc functions for machine module" select RT_USING_ADC default n - + config MICROPYTHON_USING_MACHINE_WDT bool "machine watchdog: enable watchdog functions for machine module" select RT_USING_WDT default n - + config MICROPYTHON_USING_MACHINE_TIMER bool "machine timer: enable timer functions for machine module" select RT_USING_HWTIMER @@ -161,7 +161,7 @@ if PKG_USING_MICROPYTHON help You must provide 'qstrdefs.user.extmods.h' and 'moddefs.user.extmods.h'. - Macro 'MICROPY_USER_MODULES' in + Macro 'MICROPY_USER_MODULES' in 'moddefs.user.extmods.h' to export your modules. endmenu @@ -170,7 +170,7 @@ if PKG_USING_MICROPYTHON prompt "Heap size for python run environment" default 8192 - + config MICROPYTHON_USING_FLOAT_IMPL_FLOAT bool "Enable micropython to use float instead of double" default y diff --git a/language/pikascript/Kconfig b/language/pikascript/Kconfig index cb50151377..e4c93a5df0 100644 --- a/language/pikascript/Kconfig +++ b/language/pikascript/Kconfig @@ -31,9 +31,9 @@ if PKG_USING_PIKASCRIPT config PKG_USING_PIKASCRIPT_LATEST_VERSION bool "latest" - + endchoice - + config PKG_PIKASCRIPT_VER string default "latest" if PKG_USING_PIKASCRIPT_LATEST_VERSION diff --git a/misc/DigitalCtrl/Kconfig b/misc/DigitalCtrl/Kconfig index 0cdf65f1f7..4f28810715 100644 --- a/misc/DigitalCtrl/Kconfig +++ b/misc/DigitalCtrl/Kconfig @@ -4,11 +4,11 @@ menuconfig PKG_USING_DIGITALCTRL bool "DigitalCtrl: Digital closed-loop control algorithm library" default n help - DigitalCtrl is a digital control algorithm library designed to - simplify the programming of digital closed-loop controllers - based on microcontrollers, DSPs, and processors, and to provide - closed-loop controller algorithms with optimized performance and - space optimization. + DigitalCtrl is a digital control algorithm library designed to + simplify the programming of digital closed-loop controllers + based on microcontrollers, DSPs, and processors, and to provide + closed-loop controller algorithms with optimized performance and + space optimization. if PKG_USING_DIGITALCTRL diff --git a/misc/TinyFrame/Kconfig b/misc/TinyFrame/Kconfig index 78c0ea612f..0cae8618fd 100644 --- a/misc/TinyFrame/Kconfig +++ b/misc/TinyFrame/Kconfig @@ -48,7 +48,7 @@ endmenu config PKG_USING_TINYFRAME_LATEST_VERSION bool "latest" endchoice - + config PKG_TINYFRAME_VER string default "v1.0.0" if PKG_USING_TINYFRAME_V100 diff --git a/misc/armv7m_dwt/Kconfig b/misc/armv7m_dwt/Kconfig index d40345bb42..70b38ff452 100644 --- a/misc/armv7m_dwt/Kconfig +++ b/misc/armv7m_dwt/Kconfig @@ -14,10 +14,10 @@ if PKG_USING_ARMv7M_DWT default PKG_USING_ARMv7M_DWT_LATEST_VERSION help Select this package version - + config PKG_USING_ARMv7M_DWT_LATEST_VERSION bool "latest" - + config PKG_USING_ARMv7M_DWT_V010 bool "v0.1.0" diff --git a/misc/crclib/Kconfig b/misc/crclib/Kconfig index 94ed2833c2..5bb84fae1c 100644 --- a/misc/crclib/Kconfig +++ b/misc/crclib/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_CRCLIB config CRC8_USING_CONST_TABLE bool "using const table" default y - + choice prompt "crc8 polynome" default CRC8_POLY_8C @@ -32,20 +32,20 @@ if PKG_USING_CRCLIB config CRC8_POLY_CUSTOM bool "custom value" endchoice - + if CRC8_POLY_CUSTOM config CRC8_POLY_CUSTOM_STRING int "crc8 polynome value (int)" default 0 endif - + config CRC8_POLY int default 140 if CRC8_POLY_8C default 217 if CRC8_POLY_D9 default CRC8_POLY_CUSTOM_STRING if CRC8_POLY_CUSTOM endif - + config CRCLIB_USING_CRC16 bool "using 16 bit crc" default y @@ -54,7 +54,7 @@ if PKG_USING_CRCLIB config CRC16_USING_CONST_TABLE bool "using const table" default y - + choice prompt "crc16 polynome" default CRC16_POLY_A001 @@ -67,20 +67,20 @@ if PKG_USING_CRCLIB config CRC16_POLY_CUSTOM bool "custom value" endchoice - + if CRC16_POLY_CUSTOM config CRC16_POLY_CUSTOM_STRING int "crc16 polynome value (int)" default 0 endif - + config CRC16_POLY int default 40961 if CRC16_POLY_A001 default 33800 if CRC16_POLY_8404 default CRC16_POLY_CUSTOM_STRING if CRC16_POLY_CUSTOM endif - + config CRCLIB_USING_CRC32 bool "using 32 bit crc" default y @@ -89,7 +89,7 @@ if PKG_USING_CRCLIB config CRC32_USING_CONST_TABLE bool "using const table" default y - + choice prompt "crc32 polynome" default CRC32_POLY_EDB88320 @@ -102,32 +102,32 @@ if PKG_USING_CRCLIB config CRC32_POLY_CUSTOM bool "custom value" endchoice - + if CRC32_POLY_CUSTOM config CRC32_POLY_CUSTOM_STRING int "crc32 polynome value (int)" default 0 endif - + config CRC32_POLY int default 3988292384 if CRC32_POLY_EDB88320 default 2197175160 if CRC32_POLY_82F63B78 default CRC32_POLY_CUSTOM_STRING if CRC32_POLY_CUSTOM endif - + config CRCLIB_USING_CRC8_EX bool "using 8 bit crc expand" default n - + config CRCLIB_USING_CRC16_EX bool "using 16 bit crc expand" default n - + config CRCLIB_USING_CRC32_EX bool "using 32 bit crc expand" default n - + config CRCLIB_USING_CRC16_EX_SAMPLE bool "using 16 bit crc expand sample" default n diff --git a/misc/entertainment/aclock/Kconfig b/misc/entertainment/aclock/Kconfig index 9ad1a9cc6b..7b7a2ba961 100644 --- a/misc/entertainment/aclock/Kconfig +++ b/misc/entertainment/aclock/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_ACLOCK config PKG_USING_ACLOCK_LATEST_VERSION bool "latest" endchoice - + config PKG_ACLOCK_VER string default "latest" if PKG_USING_ACLOCK_LATEST_VERSION diff --git a/misc/entertainment/c2048/Kconfig b/misc/entertainment/c2048/Kconfig index c68c928345..645575be3c 100644 --- a/misc/entertainment/c2048/Kconfig +++ b/misc/entertainment/c2048/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_2048 config PKG_USING_2048_LATEST_VERSION bool "latest" endchoice - + config PKG_2048_VER string default "latest" if PKG_USING_2048_LATEST_VERSION diff --git a/misc/entertainment/cal/Kconfig b/misc/entertainment/cal/Kconfig index b47326e18d..29bfe24c62 100644 --- a/misc/entertainment/cal/Kconfig +++ b/misc/entertainment/cal/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_CAL config PKG_USING_CAL_LATEST_VERSION bool "latest" endchoice - + config PKG_CAL_VER string default "latest" if PKG_USING_CAL_LATEST_VERSION diff --git a/misc/entertainment/cowsay/Kconfig b/misc/entertainment/cowsay/Kconfig index b06d44dfc3..b16dc62f50 100644 --- a/misc/entertainment/cowsay/Kconfig +++ b/misc/entertainment/cowsay/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_COWSAY config PKG_USING_COWSAY_LATEST_VERSION bool "latest" endchoice - + config PKG_COWSAY_VER string default "latest" if PKG_USING_COWSAY_LATEST_VERSION diff --git a/misc/entertainment/donut/Kconfig b/misc/entertainment/donut/Kconfig index bf8cf29985..9834d0216c 100644 --- a/misc/entertainment/donut/Kconfig +++ b/misc/entertainment/donut/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_DONUT config PKG_USING_DONUT_LATEST_VERSION bool "latest" endchoice - + config PKG_DONUT_VER string default "latest" if PKG_USING_DONUT_LATEST_VERSION diff --git a/misc/entertainment/sl/Kconfig b/misc/entertainment/sl/Kconfig index c2d2f44801..a3d9cde732 100644 --- a/misc/entertainment/sl/Kconfig +++ b/misc/entertainment/sl/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_SL config PKG_USING_SL_LATEST_VERSION bool "latest" endchoice - + config PKG_SL_VER string default "latest" if PKG_USING_SL_LATEST_VERSION diff --git a/misc/entertainment/tetris/Kconfig b/misc/entertainment/tetris/Kconfig index 5dc172c43f..2c44e491f7 100644 --- a/misc/entertainment/tetris/Kconfig +++ b/misc/entertainment/tetris/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_TETRIS config PKG_USING_TETRIS_LATEST_VERSION bool "latest" endchoice - + config PKG_TETRIS_VER string default "latest" if PKG_USING_TETRIS_LATEST_VERSION diff --git a/misc/entertainment/threes/Kconfig b/misc/entertainment/threes/Kconfig index 757a8faceb..014a024d33 100644 --- a/misc/entertainment/threes/Kconfig +++ b/misc/entertainment/threes/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_THREES config PKG_USING_THREES_LATEST_VERSION bool "latest" endchoice - + config PKG_THREES_VER string default "latest" if PKG_USING_THREES_LATEST_VERSION diff --git a/misc/ki/Kconfig b/misc/ki/Kconfig index 05ec4428ac..3e0421f5cf 100644 --- a/misc/ki/Kconfig +++ b/misc/ki/Kconfig @@ -29,7 +29,7 @@ if PKG_USING_KI config PKG_USING_KI_LATEST_VERSION bool "latest" endchoice - + config PKG_KI_VER string default "latest" if PKG_USING_KI_LATEST_VERSION diff --git a/misc/libcsv/Kconfig b/misc/libcsv/Kconfig index 7b16694007..12ca18e9df 100644 --- a/misc/libcsv/Kconfig +++ b/misc/libcsv/Kconfig @@ -1,5 +1,5 @@ -# Kconfig file for package libcsv -menuconfig PKG_USING_LIBCSV +# Kconfig file for package libcsv +menuconfig PKG_USING_LIBCSV bool "libcsv: a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data." select RT_USING_LIBC select RT_USING_DFS @@ -13,9 +13,9 @@ if PKG_USING_LIBCSV choice prompt "libcsv version" help - Select the libcsv version + Select the libcsv version - config PKG_USING_LIBCSV_V303 + config PKG_USING_LIBCSV_V303 bool "v3.0.3" config PKG_USING_LIBCSV_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_LIBCSV string default "v3.0.3" if PKG_USING_LIBCSV_V303 default "latest" if PKG_USING_LIBCSV_LATEST_VERSION - + config LIBCSV_USING_DEMO bool prompt "libcsv demo example" diff --git a/misc/lwgps/Kconfig b/misc/lwgps/Kconfig index c8de8312ca..d9b1e1e0f1 100644 --- a/misc/lwgps/Kconfig +++ b/misc/lwgps/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_LWGPS int "Enables double precision for floating point values" default 0 range 0 1 - + config LWGPS_CFG_STATUS int "Enables status reporting callback" default 0 @@ -33,37 +33,37 @@ if PKG_USING_LWGPS int "Enables `GGA` statement parsing" default 1 range 0 1 - + config LWGPS_CFG_STATEMENT_GPGSA int "Enables `GSA` statement parsing" default 1 range 0 1 - + config LWGPS_CFG_STATEMENT_GPRMC int "Enables `RMC` statement parsing" default 1 range 0 1 - + config LWGPS_CFG_STATEMENT_GPGSV int "Enables `GSV` statement parsing" default 1 range 0 1 - + config LWGPS_CFG_STATEMENT_GPGSV_SAT_DET int "Enables detailed parsing of each satellite" default 0 range 0 1 - + config LWGPS_CFG_STATEMENT_PUBX int "Enables parsing and generation of PUBX (uBlox) messages" default 0 range 0 1 - + config LWGPS_CFG_STATEMENT_PUBX_TIME int "Enables parsing and generation of PUBX (uBlox) TIME messages" default 0 range 0 1 - + choice prompt "Version" default PKG_USING_LWGPS_LATEST_VERSION @@ -80,7 +80,7 @@ if PKG_USING_LWGPS bool "latest" endchoice - + config PKG_LWGPS_VER string default "v1.0.0" if PKG_USING_LWGPS_V100 diff --git a/misc/lzma/Kconfig b/misc/lzma/Kconfig index 8adb62ccb8..bb39e5762a 100644 --- a/misc/lzma/Kconfig +++ b/misc/lzma/Kconfig @@ -30,7 +30,7 @@ if PKG_USING_LZMA bool "v1.0.0" endchoice - + config PKG_LZMA_VER string default "v1.0.0" if PKG_USING_LZMA_V100 diff --git a/misc/mcurses/Kconfig b/misc/mcurses/Kconfig index e11af3b312..04da9ac5b1 100644 --- a/misc/mcurses/Kconfig +++ b/misc/mcurses/Kconfig @@ -67,7 +67,7 @@ if PKG_USING_MCURSES config PKG_USING_MCURSES_LATEST_VERSION bool "latest" endchoice - + config PKG_MCURSES_VER string default "latest" if PKG_USING_MCURSES_LATEST_VERSION diff --git a/misc/minizip/Kconfig b/misc/minizip/Kconfig index ff8152793d..66756df6a3 100644 --- a/misc/minizip/Kconfig +++ b/misc/minizip/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_MINIZIP config PKG_USING_MINIZIP_LATEST_VERSION bool "latest" endchoice - + config PKG_MINIZIP_VER string default "latest" if PKG_USING_MINIZIP_LATEST_VERSION diff --git a/misc/samples/filesystem_samples/Kconfig b/misc/samples/filesystem_samples/Kconfig index 305d510450..c6018f4774 100644 --- a/misc/samples/filesystem_samples/Kconfig +++ b/misc/samples/filesystem_samples/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_FILESYSTEM_SAMPLES config PKG_USING_FILESYSTEM_SAMPLES_LATEST_VERSION bool "latest" endchoice - + config PKG_FILESYSTEM_SAMPLES_VER string default "v0.2.0" if PKG_USING_FILESYSTEM_SAMPLES_V020 diff --git a/misc/samples/kernel_samples/Kconfig b/misc/samples/kernel_samples/Kconfig index 2b3a6f7742..9d0857180b 100644 --- a/misc/samples/kernel_samples/Kconfig +++ b/misc/samples/kernel_samples/Kconfig @@ -93,7 +93,7 @@ if PKG_USING_KERNEL_SAMPLES config KERNEL_SAMPLES_USING_SCHEDULER_HOOK bool "[kernel] sheduler hook" - + config KERNEL_SAMPLES_USING_PRODUCER_CONSUMER bool "[kernel] producer consumer model" diff --git a/misc/samples/network_samples/Kconfig b/misc/samples/network_samples/Kconfig index d6e9604f00..5e407a186e 100644 --- a/misc/samples/network_samples/Kconfig +++ b/misc/samples/network_samples/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_NETWORK_SAMPLES config PKG_USING_NETWORK_SAMPLES_LATEST_VERSION bool "latest" endchoice - + config PKG_NETWORK_SAMPLES_VER string default "v0.3.0" if PKG_USING_NETWORK_SAMPLES_V030 diff --git a/misc/samples/peripheral_samples/Kconfig b/misc/samples/peripheral_samples/Kconfig index 27c446853a..b46558af82 100644 --- a/misc/samples/peripheral_samples/Kconfig +++ b/misc/samples/peripheral_samples/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_PERIPHERAL_SAMPLES config PKG_USING_PERIPHERAL_SAMPLES_LATEST_VERSION bool "latest" endchoice - + config PKG_PERIPHERAL_SAMPLES_VER string default "v0.4.0" if PKG_USING_PERIPHERAL_SAMPLES_V040 diff --git a/misc/state_machine/Kconfig b/misc/state_machine/Kconfig index db1ed28af6..705c9f2647 100644 --- a/misc/state_machine/Kconfig +++ b/misc/state_machine/Kconfig @@ -3,7 +3,7 @@ menuconfig PKG_USING_STATE_MACHINE bool "state_machine: A feature-rich, yet simple finite state machine (FSM) implementation in C" default n - + if PKG_USING_STATE_MACHINE @@ -24,7 +24,7 @@ if PKG_USING_STATE_MACHINE config PKG_USING_STATE_MACHINE_LATEST_VERSION bool "latest" endchoice - + config PKG_STATE_MACHINE_VER string default "latest" if PKG_USING_STATE_MACHINE_LATEST_VERSION diff --git a/misc/termbox/Kconfig b/misc/termbox/Kconfig index 7c98d2b2c8..f93426c58e 100644 --- a/misc/termbox/Kconfig +++ b/misc/termbox/Kconfig @@ -36,7 +36,7 @@ if PKG_USING_TERMBOX config PKG_USING_TERMBOX_LATEST_VERSION bool "latest" endchoice - + config PKG_TERMBOX_VER string default "latest" if PKG_USING_TERMBOX_LATEST_VERSION diff --git a/misc/upacker/Kconfig b/misc/upacker/Kconfig index da159883b2..74c741b622 100644 --- a/misc/upacker/Kconfig +++ b/misc/upacker/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_UPACKER config PKG_USING_UPACKER_LATEST_VERSION bool "latest" endchoice - + config PKG_UPACKER_VER string default "latest" if PKG_USING_UPACKER_LATEST_VERSION diff --git a/misc/uparam/Kconfig b/misc/uparam/Kconfig index 4800bce5cd..38ded2cb69 100644 --- a/misc/uparam/Kconfig +++ b/misc/uparam/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_UPARAM config PKG_USING_UPARAM_LATEST_VERSION bool "latest" endchoice - + config PKG_UPARAM_VER string default "latest" if PKG_USING_UPARAM_LATEST_VERSION diff --git a/misc/vi/Kconfig b/misc/vi/Kconfig index b4f92f316f..7c8c19f6db 100644 --- a/misc/vi/Kconfig +++ b/misc/vi/Kconfig @@ -137,7 +137,7 @@ if PKG_USING_VI operation; larger values increase the potential size of each undo and will generally malloc() larger objects and less frequently. Unless you want more (or less) frequent "undo points" while typing, - you should probably leave this unchanged. + you should probably leave this unchanged. config VI_ENABLE_VERBOSE_STATUS bool "Enable verbose status reporting" diff --git a/multimedia/AzureGUIX/Kconfig b/multimedia/AzureGUIX/Kconfig index a18cf46d0b..9e4ce26f49 100644 --- a/multimedia/AzureGUIX/Kconfig +++ b/multimedia/AzureGUIX/Kconfig @@ -10,16 +10,16 @@ if PKG_USING_AZUREGUIX string default "/packages/multimedia/AzureGUIX" - config GUIX_VIRTUAL_DISPLAY_MONO + config GUIX_VIRTUAL_DISPLAY_MONO bool "Enable uart device virtual display" default n - - if GUIX_VIRTUAL_DISPLAY_MONO - config GUIX_VIRTUAL_DISPLAY_SERIAL_DEV + + if GUIX_VIRTUAL_DISPLAY_MONO + config GUIX_VIRTUAL_DISPLAY_SERIAL_DEV string "virtual display uart device name" default "uart2" - endif - + endif + choice prompt "Version" default PKG_USING_AZUREGUIX_LATEST_VERSION @@ -32,7 +32,7 @@ if PKG_USING_AZUREGUIX config PKG_USING_AZUREGUIX_LATEST_VERSION bool "latest" endchoice - + config PKG_AZUREGUIX_VER string default "v1.0.0" if PKG_USING_AZUREGUIX_V100 diff --git a/multimedia/LVGL/LVGL/Kconfig b/multimedia/LVGL/LVGL/Kconfig index 803ff9a4b6..cc976e8b09 100644 --- a/multimedia/LVGL/LVGL/Kconfig +++ b/multimedia/LVGL/LVGL/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_LVGL config PKG_USING_LVGL_V810 bool "v8.1.0" endchoice - + config PKG_LVGL_VER string default "latest" if PKG_USING_LVGL_LATEST_VERSION diff --git a/multimedia/LVGL/lv_music_demo/Kconfig b/multimedia/LVGL/lv_music_demo/Kconfig index 57441470f9..7bda33307f 100644 --- a/multimedia/LVGL/lv_music_demo/Kconfig +++ b/multimedia/LVGL/lv_music_demo/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_LV_MUSIC_DEMO config PKG_USING_LV_MUSIC_DEMO_LATEST_VERSION bool "latest" endchoice - + config PKG_LV_MUSIC_DEMO_VER string default "latest" if PKG_USING_LV_MUSIC_DEMO_LATEST_VERSION diff --git a/multimedia/PDFGen/Kconfig b/multimedia/PDFGen/Kconfig index 64d2de1497..5e84e41094 100644 --- a/multimedia/PDFGen/Kconfig +++ b/multimedia/PDFGen/Kconfig @@ -21,7 +21,7 @@ if PKG_USING_PDFGEN config PKG_USING_PDFGEN_LATEST_VERSION bool "latest" endchoice - + config PKG_PDFGEN_VER string default "latest" if PKG_USING_PDFGEN_LATEST_VERSION diff --git a/multimedia/PainterEngine/PainterEngine/Kconfig b/multimedia/PainterEngine/PainterEngine/Kconfig index c79994470c..3fce6efb89 100644 --- a/multimedia/PainterEngine/PainterEngine/Kconfig +++ b/multimedia/PainterEngine/PainterEngine/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_PAINTERENGINE config PKG_USING_PAINTERENGINE_LATEST_VERSION bool "latest" endchoice - + config PKG_PAINTERENGINE_VER string default "latest" if PKG_USING_PAINTERENGINE_LATEST_VERSION diff --git a/multimedia/PainterEngine/PainterEngine_AUX/Kconfig b/multimedia/PainterEngine/PainterEngine_AUX/Kconfig index 45ba15d40a..0ac0b9602a 100644 --- a/multimedia/PainterEngine/PainterEngine_AUX/Kconfig +++ b/multimedia/PainterEngine/PainterEngine_AUX/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_PAINTERENGINE_AUX config PKG_USING_PAINTERENGINE_AUX_LATEST_VERSION bool "latest" endchoice - + config PKG_PAINTERENGINE_AUX_VER string default "latest" if PKG_USING_PAINTERENGINE_AUX_LATEST_VERSION diff --git a/multimedia/STemWin/Kconfig b/multimedia/STemWin/Kconfig index 070d4d5825..f887976621 100644 --- a/multimedia/STemWin/Kconfig +++ b/multimedia/STemWin/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_STEMWIN config PKG_USING_STEMWIN_LATEST_VERSION bool "latest" endchoice - + config PKG_STEMWIN_VER string default "v1.0.0" if PKG_USING_STEMWIN_V100 diff --git a/multimedia/TJpgDec/Kconfig b/multimedia/TJpgDec/Kconfig index cd6eb31250..3d4665843e 100644 --- a/multimedia/TJpgDec/Kconfig +++ b/multimedia/TJpgDec/Kconfig @@ -10,11 +10,11 @@ if PKG_USING_TJPGD string default "/packages/multimedia/TJpgDec" - config TJPGD_INPUT_BUFFER_SIZE - int "Size of stream input buffer" - default 512 + config TJPGD_INPUT_BUFFER_SIZE + int "Size of stream input buffer" + default 512 - choice + choice prompt "Output format" default TJPGD_USING_FORMAT_RGB888 help @@ -30,11 +30,11 @@ if PKG_USING_TJPGD config TJPGD_USING_SCALE bool "Use output descaling" default y - - config TJPGD_USING_TBLCLIP + + config TJPGD_USING_TBLCLIP bool "Use table for saturation" default y - + config PKG_TJPGD_SAMPLE bool "Enable tjpgd sample" default y @@ -54,7 +54,7 @@ if PKG_USING_TJPGD config PKG_USING_TJPGD_LATEST_VERSION bool "latest" endchoice - + config PKG_TJPGD_VER string default "v1.0.0" if PKG_USING_TJPGD_V100 diff --git a/multimedia/TinyJPEG/Kconfig b/multimedia/TinyJPEG/Kconfig index d5a25c23fb..e3b35e35c9 100644 --- a/multimedia/TinyJPEG/Kconfig +++ b/multimedia/TinyJPEG/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_TINYJPEG config PKG_USING_TINYJPEG_LATEST_VERSION bool "latest" endchoice - + config PKG_TINYJPEG_VER string default "v1.0.0" if PKG_USING_TINYJPEG_V100 diff --git a/multimedia/mp3player/Kconfig b/multimedia/mp3player/Kconfig index 4b9d483488..dd662f2c5b 100644 --- a/multimedia/mp3player/Kconfig +++ b/multimedia/mp3player/Kconfig @@ -9,9 +9,9 @@ if PKG_USING_MP3PLAYER config PKG_MP3PLAYER_PATH string default "/packages/multimedia/mp3player" - - select RT_USING_AUDIO - select PKG_USING_HELIX + + select RT_USING_AUDIO + select PKG_USING_HELIX config MP3_SOUND_DEVICE_NAME string "The play device name" @@ -38,7 +38,7 @@ if PKG_USING_MP3PLAYER config PKG_USING_MP3PLAYER_LATEST_VERSION bool "latest" endchoice - + config PKG_MP3PLAYER_VER string default "v1.0.0" if PKG_USING_MP3PLAYER_V100 diff --git a/multimedia/touchgfx2rtt/Kconfig b/multimedia/touchgfx2rtt/Kconfig index 0ee40b0533..503d183831 100644 --- a/multimedia/touchgfx2rtt/Kconfig +++ b/multimedia/touchgfx2rtt/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_TOUCHGFX2RTT config PKG_USING_TOUCHGFX2RTT_LATEST_VERSION bool "latest" endchoice - + config PKG_TOUCHGFX2RTT_VER string default "v1.0.0" if PKG_USING_TOUCHGFX2RTT_V100 diff --git a/multimedia/ugui/Kconfig b/multimedia/ugui/Kconfig index 9ae3621d75..e5a462a720 100644 --- a/multimedia/ugui/Kconfig +++ b/multimedia/ugui/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_UGUI config PKG_USING_UGUI_LATEST_VERSION bool "latest" endchoice - + config PKG_UGUI_VER string default "latest" if PKG_USING_UGUI_LATEST_VERSION diff --git a/multimedia/wavplayer/Kconfig b/multimedia/wavplayer/Kconfig index 9ad0ccd7a6..3183104017 100644 --- a/multimedia/wavplayer/Kconfig +++ b/multimedia/wavplayer/Kconfig @@ -16,9 +16,9 @@ if PKG_USING_WAVPLAYER config PKG_WP_USING_PLAY bool "Enable support for play" default y - + if PKG_WP_USING_PLAY - + config PKG_WP_PLAY_DEVICE string "The play device name" default "sound0" @@ -29,7 +29,7 @@ if PKG_USING_WAVPLAYER default n if PKG_WP_USING_RECORD - + config PKG_WP_RECORD_DEVICE string "The record device name" default "sound0" @@ -47,7 +47,7 @@ if PKG_USING_WAVPLAYER config PKG_USING_WAVPLAYER_LATEST_VERSION bool "latest" endchoice - + config PKG_WAVPLAYER_VER string default "v0.2.0" if PKG_USING_WAVPLAYER_V020 diff --git a/peripherals/LedBlink/Kconfig b/peripherals/LedBlink/Kconfig index f6810336c8..f0ef7f9de7 100644 --- a/peripherals/LedBlink/Kconfig +++ b/peripherals/LedBlink/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_LEDBLINK config PKG_USING_LEDBLINK_LATEST_VERSION bool "latest" endchoice - + config PKG_LEDBLINK_VER string default "v1.0.0" if PKG_USING_LEDBLINK_V100 diff --git a/peripherals/Misaka_AT24CXX/Kconfig b/peripherals/Misaka_AT24CXX/Kconfig index 0c4b82b941..1ce5f1f37f 100644 --- a/peripherals/Misaka_AT24CXX/Kconfig +++ b/peripherals/Misaka_AT24CXX/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_MISAKA_AT24CXX config PKG_USING_MISAKA_AT24CXX_V100 bool "1.0.0" endchoice - + config PKG_MISAKA_AT24CXX_VER string default "1.0.0" if PKG_USING_MISAKA_AT24CXX_V100 diff --git a/peripherals/Misaka_RGB_Bling/Kconfig b/peripherals/Misaka_RGB_Bling/Kconfig index 626a940bf4..1f97075f54 100644 --- a/peripherals/Misaka_RGB_Bling/Kconfig +++ b/peripherals/Misaka_RGB_Bling/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_MISAKA_RGB_BLING config PKG_USING_MISAKA_RGB_BLING_V100 bool "1.0.0" endchoice - + config PKG_MISAKA_RGB_BLING_VER string default "1.0.0" if PKG_USING_MISAKA_RGB_BLING_V100 diff --git a/peripherals/MotionDriver2RTT/Kconfig b/peripherals/MotionDriver2RTT/Kconfig index 057fde471a..e18fbf14a6 100644 --- a/peripherals/MotionDriver2RTT/Kconfig +++ b/peripherals/MotionDriver2RTT/Kconfig @@ -9,10 +9,10 @@ if PKG_USING_MOTIONDRIVER2RTT config PKG_MOTIONDRIVER2RTT_PATH string default "/packages/peripherals/MotionDriver2RTT" - - config MotionDriver2RTT_USING_EXAMPLE - bool "Enable MotionDriver2RTT sample" - default n + + config MotionDriver2RTT_USING_EXAMPLE + bool "Enable MotionDriver2RTT sample" + default n choice prompt "Version" @@ -26,7 +26,7 @@ if PKG_USING_MOTIONDRIVER2RTT config PKG_USING_MOTIONDRIVER2RTT_LATEST_VERSION bool "latest" endchoice - + config PKG_MOTIONDRIVER2RTT_VER string default "v1.0.0" if PKG_USING_MOTIONDRIVER2RTT_V100 diff --git a/peripherals/PAJ7620/Kconfig b/peripherals/PAJ7620/Kconfig index 0a88ca130e..9a8a930b9f 100644 --- a/peripherals/PAJ7620/Kconfig +++ b/peripherals/PAJ7620/Kconfig @@ -11,7 +11,7 @@ if PKG_USING_PAJ7620 config PKG_PAJ7620_PATH string default "/packages/peripherals/PAJ7620" - + config PAJ7620_USING_SAMPLES bool "enable samples" default n @@ -29,7 +29,7 @@ if PKG_USING_PAJ7620 bool "latest" endchoice - + config PKG_PAJ7620_VER string default "v1.0.0" if PKG_USING_PAJ7620_V100 diff --git a/peripherals/SignalLed/Kconfig b/peripherals/SignalLed/Kconfig index 7e0178dabb..3dca960265 100644 --- a/peripherals/SignalLed/Kconfig +++ b/peripherals/SignalLed/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_SIGNAL_LED config PKG_USING_SIGNAL_LED_LATEST_VERSION bool "latest" endchoice - + config PKG_SIGNAL_LED_VER string default "v1.2.0" if PKG_USING_SIGNAL_LED_V120 @@ -37,7 +37,7 @@ if PKG_USING_SIGNAL_LED bool prompt "signal led example" default n - endmenu + endmenu endif diff --git a/peripherals/agile_console/Kconfig b/peripherals/agile_console/Kconfig index 13bc39153c..60aa0dd4a4 100644 --- a/peripherals/agile_console/Kconfig +++ b/peripherals/agile_console/Kconfig @@ -13,15 +13,15 @@ if PKG_USING_AGILE_CONSOLE config PKG_AGILE_CONSOLE_RX_BUFFER_SIZE int "Set agile_console rx buffer size" default 256 - + config PKG_AGILE_CONSOLE_DEVICE_NAME string "Set agile_console device name" default "acon" - + config PKG_AGILE_CONSOLE_THREAD_PRIORITY int "Set agile_console thread priority" default 19 - + config PKG_AGILE_CONSOLE_THREAD_STACK_SIZE int "Set agile_console thread stack size" default 2048 @@ -29,7 +29,7 @@ if PKG_USING_AGILE_CONSOLE config PKG_USING_AGILE_CONSOLE_SERIAL_EXAMPLE bool "Enable agile_console serial example" default n - + if PKG_USING_AGILE_CONSOLE_SERIAL_EXAMPLE config PKG_AGILE_CONSOLE_SERIAL_DEVICE_NAME @@ -43,17 +43,17 @@ if PKG_USING_AGILE_CONSOLE default PKG_USING_AGILE_CONSOLE_LATEST_VERSION help Select the package version - + config PKG_USING_AGILE_CONSOLE_V100 bool "v1.0.0" - + config PKG_USING_AGILE_CONSOLE_V101 bool "v1.0.1" config PKG_USING_AGILE_CONSOLE_LATEST_VERSION bool "latest" endchoice - + config PKG_AGILE_CONSOLE_VER string default "v1.0.0" if PKG_USING_AGILE_CONSOLE_V100 diff --git a/peripherals/as608/Kconfig b/peripherals/as608/Kconfig index 5d60d6250f..24f3fbf7d2 100644 --- a/peripherals/as608/Kconfig +++ b/peripherals/as608/Kconfig @@ -10,15 +10,15 @@ if PKG_USING_AS608 string "as60x uart name" default "uart3" - comment "Notice: PI8 --> 136" - config PKG_AS608_WAK_PIN - int "AS608 WAK pin num" - range 1 176 - default 136 - - config PKG_USING_AS608_SAMPLE - bool "Enable AS608 SAMPLE" - default n + comment "Notice: PI8 --> 136" + config PKG_AS608_WAK_PIN + int "AS608 WAK pin num" + range 1 176 + default 136 + + config PKG_USING_AS608_SAMPLE + bool "Enable AS608 SAMPLE" + default n config PKG_AS608_PATH string diff --git a/peripherals/as7341/Kconfig b/peripherals/as7341/Kconfig index 299ceb2582..ee9b0d2b45 100644 --- a/peripherals/as7341/Kconfig +++ b/peripherals/as7341/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_AS7341 config PKG_USING_AS7341_LATEST_VERSION bool "latest" endchoice - + config PKG_AS7341_VER string default "v1.0.0" if PKG_USING_AS7341_V100 diff --git a/peripherals/at24cxx/Kconfig b/peripherals/at24cxx/Kconfig index c6ba2d79cb..149ab60288 100644 --- a/peripherals/at24cxx/Kconfig +++ b/peripherals/at24cxx/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_AT24CXX config PKG_USING_AT24CXX_LATEST_VERSION bool "latest" endchoice - + config PKG_AT24CXX_VER string default "latest" if PKG_USING_AT24CXX_LATEST_VERSION diff --git a/peripherals/bluetrum_sdk/Kconfig b/peripherals/bluetrum_sdk/Kconfig index 362268c3b4..7c33890b30 100644 --- a/peripherals/bluetrum_sdk/Kconfig +++ b/peripherals/bluetrum_sdk/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_BLUETRUM_SDK config PKG_USING_BLUETRUM_SDK_LATEST_VERSION bool "latest" endchoice - + config PKG_BLUETRUM_SDK_VER string default "v0.0.2" if PKG_USING_BLUETRUM_SDK_V002 diff --git a/peripherals/button/Kconfig b/peripherals/button/Kconfig index b5dd557255..82c0932c7b 100644 --- a/peripherals/button/Kconfig +++ b/peripherals/button/Kconfig @@ -6,52 +6,52 @@ menuconfig PKG_USING_BUTTON if PKG_USING_BUTTON - config PKG_BUTTON_PATH + config PKG_BUTTON_PATH string default "/packages/peripherals/button" - + config SINGLE_AND_DOUBLE_TRIGGER bool "support single and double click" default y - + config CONTINUOS_TRIGGER bool "support continuos trigger" default n - + config LONG_FREE_TRIGGER bool "support long press release" - default n - - config BUTTON_DEBOUNCE_TIME - int "This value is the button debounce time" - default 2 - help - "This value = (n-1)*(button processing callback cycle)" - - config BUTTON_CONTINUOS_CYCLE - int "This value is the button press the trigger cycle continuously" - default 1 - help - "This value = (n-1)*(button processing callback cycle)" - - config BUTTON_LONG_CYCLE - int "This value is the button long press cycle time" - default 1 - help - "This value = (n-1)*(button processing callback cycle)" - - config BUTTON_DOUBLE_TIME - int "This value is the button double click time" - default 15 - help - "This value = (n-1)*(button processing callback cycle)" - - config BUTTON_LONG_TIME - int "This value is the button long press time" - default 50 - help - "This value = (n-1)*(button processing callback cycle)" - + default n + + config BUTTON_DEBOUNCE_TIME + int "This value is the button debounce time" + default 2 + help + "This value = (n-1)*(button processing callback cycle)" + + config BUTTON_CONTINUOS_CYCLE + int "This value is the button press the trigger cycle continuously" + default 1 + help + "This value = (n-1)*(button processing callback cycle)" + + config BUTTON_LONG_CYCLE + int "This value is the button long press cycle time" + default 1 + help + "This value = (n-1)*(button processing callback cycle)" + + config BUTTON_DOUBLE_TIME + int "This value is the button double click time" + default 15 + help + "This value = (n-1)*(button processing callback cycle)" + + config BUTTON_LONG_TIME + int "This value is the button long press time" + default 50 + help + "This value = (n-1)*(button processing callback cycle)" + choice prompt "Version" default PKG_USING_BUTTON_V101 @@ -67,7 +67,7 @@ if PKG_USING_BUTTON config PKG_USING_BUTTON_LATEST_VERSION bool "latest" endchoice - + config PKG_BUTTON_VER string default "v1.0.1" if PKG_USING_BUTTON_V101 diff --git a/peripherals/can_ymodem/Kconfig b/peripherals/can_ymodem/Kconfig index b13b179006..02b41e2cd1 100644 --- a/peripherals/can_ymodem/Kconfig +++ b/peripherals/can_ymodem/Kconfig @@ -24,9 +24,9 @@ if PKG_USING_CAN_YMODEM config PKG_USING_CAN_YMODEM_V100 bool "v1.0.0" - - config PKG_USING_CAN_YMODEM_V110 - bool "v1.1.0" + + config PKG_USING_CAN_YMODEM_V110 + bool "v1.1.0" config PKG_USING_CAN_YMODEM_LATEST_VERSION bool "latest" @@ -35,7 +35,7 @@ if PKG_USING_CAN_YMODEM config PKG_CAN_YMODEM_VER string default "v1.0.0" if PKG_USING_CAN_YMODEM_V100 - default "v1.1.0" if PKG_USING_CAN_YMODEM_V110 + default "v1.1.0" if PKG_USING_CAN_YMODEM_V110 default "latest" if PKG_USING_CAN_YMODEM_LATEST_VERSION endif diff --git a/peripherals/dm9051/Kconfig b/peripherals/dm9051/Kconfig index 804bcaff50..e97dcfcf61 100644 --- a/peripherals/dm9051/Kconfig +++ b/peripherals/dm9051/Kconfig @@ -15,14 +15,14 @@ if PKG_USING_DM9051 prompt "version" help Select the dm9051 driver version - default PKG_USING_DM9051_V100 + default PKG_USING_DM9051_V100 config PKG_USING_DM9051_V100 bool "v1.0.0" config PKG_USING_DM9051_V110 bool "v1.1.0" - + config PKG_USING_DM9051_LATEST_VERSION bool "latest" endchoice @@ -52,11 +52,11 @@ if PKG_USING_DM9051 int "Reset PIN number" default 0 - + config DM9051_INT_PIN int "interrupt PIN number" - default 0 - + default 0 + endmenu endif @@ -65,16 +65,16 @@ if PKG_USING_DM9051 default 20000000 config DM9051_RX_DUMP - bool "Enable DM9051 rx dump" - default n + bool "Enable DM9051 rx dump" + default n config DM9051_TX_DUMP - bool "Enable DM9051 tx dump" - default n + bool "Enable DM9051 tx dump" + default n config DM9051_DUMP_RAW - bool "Enable DM9051 raw data dump" - default n + bool "Enable DM9051 raw data dump" + default n config PKG_DM9051_VER string diff --git a/peripherals/icm20608/Kconfig b/peripherals/icm20608/Kconfig index 6deb53ec76..0dd2f97de3 100644 --- a/peripherals/icm20608/Kconfig +++ b/peripherals/icm20608/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_ICM20608 config PKG_USING_ICM20608_LATEST_VERSION bool "latest" endchoice - + config PKG_ICM20608_VER string default "v1.0.0" if PKG_USING_ICM20608_V100 diff --git a/peripherals/infrared/Kconfig b/peripherals/infrared/Kconfig index d5023ac2a0..372b314151 100644 --- a/peripherals/infrared/Kconfig +++ b/peripherals/infrared/Kconfig @@ -18,7 +18,7 @@ if PKG_USING_INFRARED config NEC_DEVIATION int "nec admissible deviation" default 100 - endif + endif endmenu config PKG_USING_DRV_INFRARED @@ -53,7 +53,7 @@ config PKG_USING_DRV_INFRARED config INFRARED_RECEIVE_PIN int "infrared receive pin number" default 17 - + config INFRARED_RECEIVE_HWTIMER string "infrared receive hwtimer dev name" default "timer16" @@ -75,7 +75,7 @@ config PKG_USING_DRV_INFRARED config PKG_USING_INFRARED_LATEST_VERSION bool "latest" endchoice - + config PKG_INFRARED_VER string default "v0.1.0" if PKG_USING_INFRARED_V010 diff --git a/peripherals/kendryte-sdk/Kconfig b/peripherals/kendryte-sdk/Kconfig index a9b4841c77..40ffedecf5 100644 --- a/peripherals/kendryte-sdk/Kconfig +++ b/peripherals/kendryte-sdk/Kconfig @@ -38,7 +38,7 @@ if PKG_USING_KENDRYTE_SDK config PKG_USING_KENDRYTE_SDK_LATEST_VERSION bool "latest" endchoice - + config PKG_KENDRYTE_SDK_VER string default "v0.5.2" if PKG_USING_KENDRYTE_SDK_V052 diff --git a/peripherals/kobuki/Kconfig b/peripherals/kobuki/Kconfig index d8245edfd5..59a3d18ef7 100644 --- a/peripherals/kobuki/Kconfig +++ b/peripherals/kobuki/Kconfig @@ -1,7 +1,7 @@ # Kconfig file for package kobuki menuconfig PKG_USING_KOBUKI - select RT_USING_LIBC + select RT_USING_LIBC bool "kobuki: Kobuki Robot serial communication driver." default n @@ -60,7 +60,7 @@ if PKG_USING_KOBUKI config PKG_USING_KOBUKI_LATEST_VERSION bool "latest" endchoice - + config PKG_KOBUKI_VER string default "latest" if PKG_USING_KOBUKI_LATEST_VERSION diff --git a/peripherals/ld3320/Kconfig b/peripherals/ld3320/Kconfig index 9c8c84dc43..354c43860b 100644 --- a/peripherals/ld3320/Kconfig +++ b/peripherals/ld3320/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_LD3320 config PKG_USING_LD3320_LATEST_VERSION bool "latest" endchoice - + config PKG_LD3320_VER string default "v1.0.0" if PKG_USING_LD3320_V100 @@ -32,7 +32,7 @@ if PKG_USING_LD3320 string default "v1.0.0" if PKG_USING_LD3320_V100 default "latest" if PKG_USING_LD3320_LATEST_VERSION - + config PKG_USING_LD3320_DEMO bool "Use demo" default n @@ -47,7 +47,7 @@ if PKG_USING_LD3320 bool "ASR" config PKG_LD3320_DEMO_ROLE_MP3 bool "MP3" - select PKG_USING_LD3320_MP3 + select PKG_USING_LD3320_MP3 endchoice config PKG_LD3320_DEMO_SPI_DEV_NAME @@ -71,16 +71,16 @@ if PKG_USING_LD3320 config PKG_USING_LD3320_DEBUG bool "Enable debug" default n - + if PKG_USING_LD3320_DEBUG config PKG_USING_LD3320_RECV_REPORT bool "Use recv report" default y - + config PKG_USING_LD3320_FINSH bool "Use shell cmd" default y - + endif config PKG_USING_LD3320_MP3 diff --git a/peripherals/libnfc/Kconfig b/peripherals/libnfc/Kconfig index 24bb46992f..e5736d1628 100644 --- a/peripherals/libnfc/Kconfig +++ b/peripherals/libnfc/Kconfig @@ -34,7 +34,7 @@ if PKG_USING_LIBNFC config PKG_USING_LIBNFC_LATEST_VERSION bool "latest" endchoice - + config PKG_LIBNFC_VER string default "latest" if PKG_USING_LIBNFC_LATEST_VERSION diff --git a/peripherals/littled/Kconfig b/peripherals/littled/Kconfig index 71146d5ea6..4b10ef1c1f 100644 --- a/peripherals/littled/Kconfig +++ b/peripherals/littled/Kconfig @@ -47,7 +47,7 @@ if PKG_USING_LITTLED config PKG_USING_LITTLED_LATEST_VERSION bool "latest" endchoice - + config PKG_LITTLED_VER string default "v0.2.0" if PKG_USING_LITTLED_V020 diff --git a/peripherals/lkdGui/Kconfig b/peripherals/lkdGui/Kconfig index 7c1e3c99d4..4c8435bfc5 100644 --- a/peripherals/lkdGui/Kconfig +++ b/peripherals/lkdGui/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_LKDGUI config PKG_USING_LKDGUI_LATEST_VERSION bool "latest" endchoice - + config PKG_LKDGUI_VER string default "v0.0.1" if PKG_USING_LKDGUI_V001 diff --git a/peripherals/lora_gw_driver_lib/Kconfig b/peripherals/lora_gw_driver_lib/Kconfig index c9e72b93ed..efb0623fe2 100644 --- a/peripherals/lora_gw_driver_lib/Kconfig +++ b/peripherals/lora_gw_driver_lib/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_LORA_GW_DRIVER_LIB config LORA_GW_DRIVER_SPI_DEVICE_NAME string "Setup LoRa Gw Driver Spi Device Name" default "lgd1302" - + config LORA_GW_DRIVER_SPI_BUS_NAME string "Setup LoRa Gw Driver Spi Bus Name (eg:spi1,spi2..,Define BSP_USING_SPIx in [Target Platform]\\Board\\Kconfig)" default spi2 @@ -51,7 +51,7 @@ if PKG_USING_LORA_GW_DRIVER_LIB config LORA_GW_DRIVER_GPIO_SETUP bool "Enable lora-gw-driver GPIO Setup" default n - + if LORA_GW_DRIVER_GPIO_SETUP menu "Select Supported Target Borad" menuconfig LORA_GW_DRIVER_USING_TRAGET_BOARD_ART_PI_AND_LORA_SHIELD_LRS007_LSD4WN_2K730NE0_SX1302 @@ -230,7 +230,7 @@ if PKG_USING_LORA_GW_DRIVER_LIB config PKG_USING_LORA_GW_DRIVER_LIB_LATEST_VERSION bool "latest" endchoice - + config PKG_LORA_GW_DRIVER_LIB_VER string default "v0.3.0" if PKG_USING_LORA_GW_DRIVER_LIB_V030 diff --git a/peripherals/ly68l6400/Kconfig b/peripherals/ly68l6400/Kconfig index b3df11604d..9ab36c30fc 100644 --- a/peripherals/ly68l6400/Kconfig +++ b/peripherals/ly68l6400/Kconfig @@ -9,19 +9,19 @@ if PKG_USING_LY68L6400 config PKG_LY68L6400_PATH string default "/packages/peripherals/ly68l6400" - + config PKG_LY68L6400_SPI_BUS_NAME string "Set spi bus name" default "spi1" - + config BSP_LY68L6400_DEVICE_NAME string "device name" default "spisram" - + config PKG_LY68L6400_USING_EXAMPLE bool "enable ly68l6400 test example" default n - + choice prompt "Version" default PKG_USING_LY68L6400_LATEST_VERSION @@ -31,7 +31,7 @@ if PKG_USING_LY68L6400 config PKG_USING_LY68L6400_LATEST_VERSION bool "latest" endchoice - + config PKG_LY68L6400_VER string default "v1.0.0" if PKG_USING_LY68L6400_V100 diff --git a/peripherals/max17048/Kconfig b/peripherals/max17048/Kconfig index 71c7ea5b41..56d9d6b47a 100644 --- a/peripherals/max17048/Kconfig +++ b/peripherals/max17048/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_MAX17048 config PKG_USING_MAX17048_LATEST_VERSION bool "latest" endchoice - + config PKG_MAX17048_VER string default "latest" if PKG_USING_MAX17048_LATEST_VERSION diff --git a/peripherals/mb85rs16/Kconfig b/peripherals/mb85rs16/Kconfig index ef091ce058..71da6005b9 100644 --- a/peripherals/mb85rs16/Kconfig +++ b/peripherals/mb85rs16/Kconfig @@ -11,8 +11,8 @@ if PKG_USING_MB85RS16 default "/packages/peripherals/mb85rs16" config PKG_USING_MB85RS16_SAMPLE - bool "Enable mb85rs16 sample" - default n + bool "Enable mb85rs16 sample" + default n choice prompt "Version" @@ -26,7 +26,7 @@ if PKG_USING_MB85RS16 config PKG_USING_MB85RS16_LATEST_VERSION bool "latest" endchoice - + config PKG_MB85RS16_VER string default "v1.0.0" if PKG_USING_MB85RS16_V100 diff --git a/peripherals/mcp23008/Kconfig b/peripherals/mcp23008/Kconfig index 3c5b8dd18b..43c15d2d0e 100644 --- a/peripherals/mcp23008/Kconfig +++ b/peripherals/mcp23008/Kconfig @@ -11,8 +11,8 @@ if PKG_USING_MCP23008 default "/packages/peripherals/mcp23008" config PKG_USING_MCP23008_SAMPLE - bool "Enable mcp23008 sample" - default n + bool "Enable mcp23008 sample" + default n choice prompt "Version" @@ -26,7 +26,7 @@ if PKG_USING_MCP23008 config PKG_USING_MCP23008_LATEST_VERSION bool "latest" endchoice - + config PKG_MCP23008_VER string default "v1.0.0" if PKG_USING_MCP23008_V100 diff --git a/peripherals/mfoc/Kconfig b/peripherals/mfoc/Kconfig index fd109f9ad6..46c8c756a9 100644 --- a/peripherals/mfoc/Kconfig +++ b/peripherals/mfoc/Kconfig @@ -21,7 +21,7 @@ if PKG_USING_MFOC config PKG_USING_MFOC_LATEST_VERSION bool "latest" endchoice - + config PKG_MFOC_VER string default "latest" if PKG_USING_MFOC_LATEST_VERSION diff --git a/peripherals/micro_ros/Kconfig b/peripherals/micro_ros/Kconfig index 6e5bc5d631..478ad33beb 100644 --- a/peripherals/micro_ros/Kconfig +++ b/peripherals/micro_ros/Kconfig @@ -111,7 +111,7 @@ if PKG_USING_MICRO_ROS config PKG_USING_MICRO_ROS_GALACTIC bool "galactic" endchoice - + config PKG_MICRO_ROS_VER string default "foxy" if PKG_USING_MICRO_ROS_FOXY diff --git a/peripherals/multi_rtimer/Kconfig b/peripherals/multi_rtimer/Kconfig index 188af08a40..07736f3879 100644 --- a/peripherals/multi_rtimer/Kconfig +++ b/peripherals/multi_rtimer/Kconfig @@ -19,10 +19,10 @@ if PKG_USING_MULTI_RTIMER if MULTI_RTIMER_USING_TRAGET_MCU_STM32_RTC config MULTI_RTIMER_USING_RTC_SYSTIME_SERVICE bool "Enable System Time Service Based on RTC" - default n + default n config MULTI_RTIMER_USING_RTC_TEMPERTURE_COMPENSATION bool "Enable RTC Temperture Compensation" - default n + default n endif endmenu @@ -44,7 +44,7 @@ if PKG_USING_MULTI_RTIMER config PKG_USING_MULTI_RTIMER_LATEST_VERSION bool "latest" endchoice - + config PKG_MULTI_RTIMER_VER string default "v1.0.0" if PKG_USING_MULTI_RTIMER_V100 diff --git a/peripherals/nes/Kconfig b/peripherals/nes/Kconfig index 3c869baf83..422528dede 100644 --- a/peripherals/nes/Kconfig +++ b/peripherals/nes/Kconfig @@ -9,35 +9,35 @@ if PKG_USING_NES config PKG_NES_PATH string default "/packages/peripherals/nes" - + config PKG_NES_DFS bool "enable nes file system" default false - + config PKG_NES_FRAME_SKIP int "config frame skip" default 2 - + config PKG_NES_DOUBLE_FRAMEBUFFER bool "enable double frame buffer" default true - + choice prompt "Version" default PKG_USING_NES_LATEST_VERSION help Select the package version - + config PKG_USING_NES_V100 bool "v1.0.0" config PKG_USING_NES_LATEST_VERSION bool "latest" endchoice - + config PKG_NES_VER string - default "v1.0.0" if PKG_USING_NES_V100 + default "v1.0.0" if PKG_USING_NES_V100 default "latest" if PKG_USING_NES_LATEST_VERSION endif diff --git a/peripherals/nrf24l01/Kconfig b/peripherals/nrf24l01/Kconfig index 96880256ce..c397b4d095 100644 --- a/peripherals/nrf24l01/Kconfig +++ b/peripherals/nrf24l01/Kconfig @@ -18,7 +18,7 @@ if PKG_USING_NRF24L01 config PKG_USING_NRF24L01_V100 bool "v1.0.0" - + config PKG_USING_NRF24L01_V200 bool "v2.0.0" @@ -31,7 +31,7 @@ if PKG_USING_NRF24L01 default "v1.0.0" if PKG_USING_NRF24L01_V100 default "v2.0.0" if PKG_USING_NRF24L01_V200 default "latest" if PKG_USING_NRF24L01_LATEST_VERSION - + config PKG_NRF24L01_VERSION string default "v1.0.0" if PKG_USING_NRF24L01_V100 @@ -53,40 +53,40 @@ if PKG_USING_NRF24L01 config PKG_NRF24L01_DEMO_ROLE_PRX bool "PRX" endchoice - + config PKG_NRF24L01_DEMO_SPI_DEV_NAME string "The spi device name for nrf24l01" default "spi10" - + config PKG_NRF24L01_DEMO_CE_PIN int "The ce pin of nrf24l01" default -1 - + config PKG_NRF24L01_DEMO_IRQ_PIN int "The irq pin of nrf24l01" - default -1 - + default -1 + config PKG_NRF24L01_DEMO_INTERVAL_SEND depends on PKG_NRF24L01_DEMO_ROLE_PTX int "The interval of sending data (for PTX_ROLE)" default 500 - + endif - + config PKG_NRF24L01_ENABLING_DEBUG bool "Enable debug" default n - + if PKG_NRF24L01_ENABLING_DEBUG config PKG_NRF24L01_USING_INFO_REPORT bool "Use info report" default y - + config PKG_NRF24L01_USING_SHELL_CMD bool "Use shell cmd" default y - + endif - + endif diff --git a/peripherals/nrf5x_sdk/Kconfig b/peripherals/nrf5x_sdk/Kconfig index a55c9c1434..3e6766e3a2 100644 --- a/peripherals/nrf5x_sdk/Kconfig +++ b/peripherals/nrf5x_sdk/Kconfig @@ -9,52 +9,52 @@ menuconfig PKG_USING_NRF5X_SDK if PKG_USING_NRF5X_SDK config NRFX_RTC_ENABLED - int + int default 1 config NRFX_RTC1_ENABLED - int + int default 1 config NRF_CLOCK_ENABLED - int + int default 1 config NRF_SDH_BLE_ENABLED - int + int default 1 config NRF_SDH_ENABLED - int + int default 1 config NRF_SDH_SOC_ENABLED - int + int default 1 config NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - int + int default 1 config BLE_ADVERTISING_ENABLED - int + int default 1 config NRF_BLE_QWR_ENABLED - int + int default 1 config NRF_SDH_BLE_VS_UUID_COUNT - int + int default 1 config NRF_BLE_CONN_PARAMS_ENABLED - int + int default 1 config NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION - int + int default 499 config NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION - int + int default 65535 config NRF_BLE_GATT_ENABLED - int + int default 1 choice prompt "sample(softdevice)" default SD_BLE_APP_BEACON - + config SD_BLE_APP_BEACON bool "ble_app_beacon" @@ -62,34 +62,34 @@ if PKG_USING_NRF5X_SDK bool "ble_app_blinky" if SD_BLE_APP_BLINKY config BLE_LBS_ENABLED - int + int default 1 config BLE_APP_BLINKY_ADV_LED int "pin number of advertising indicator led" range 0 47 - default 16 + default 16 config BLE_APP_BLINKY_CON_LED int "pin number of connected indicator led" range 0 47 - default 14 + default 14 config BLE_APP_BLINKY_TOG_LED int "pin number of toggled led" range 0 47 - default 15 + default 15 config BLE_APP_BLINKY_TRI_BUTTON int "pin number of trigger button" range 0 47 - default 11 + default 11 endif config SD_BLE_APP_UART bool "ble_app_uart" if SD_BLE_APP_UART config BLE_NUS_ENABLED - int + int default 1 config NRF_SDH_BLE_GATT_MAX_MTU_SIZE - int + int default 247 endif @@ -97,38 +97,38 @@ if PKG_USING_NRF5X_SDK bool "ble_app_hrs" if SD_BLE_APP_HRS config BLE_HRS_ENABLED - int + int default 1 config NRF_SDH_BLE_GATT_MAX_MTU_SIZE - int + int default 247 config BLE_DIS_ENABLED - int + int default 1 config BLE_BAS_ENABLED - int + int default 1 endif config SD_BLE_APP_HIDS_MOUSE bool "ble_app_hids_mouse" - + config SD_BLE_APP_BAS bool "ble_app_bas" if SD_BLE_APP_BAS config BLE_BAS_ENABLED - int + int default 1 config BLE_APP_BAS_ADC_CHANNEL_NUM int "channel number of adc" range 0 7 - default 0 + default 0 config BLE_APP_BAS_ADC_INPUT_PIN int "the x of adc AINx" range 0 7 default 1 endif - + endchoice config PKG_NRF5X_SDK_PATH @@ -143,17 +143,17 @@ if PKG_USING_NRF5X_SDK config PKG_USING_NRF5X_SDK_V1300 bool "v13.0.0" - + config PKG_USING_NRF5X_SDK_V1600 bool "v16.0.0" - + config PKG_USING_NRF5X_SDK_V1610 - bool "v16.1.0" - + bool "v16.1.0" + config PKG_USING_NRF5X_SDK_LATEST_VERSION bool "latest" endchoice - + config PKG_NRF5X_SDK_VER string default "v13.0.0" if PKG_USING_NRF5X_SDK_V1300 diff --git a/peripherals/nrfx/Kconfig b/peripherals/nrfx/Kconfig index 720b5e2790..f7cd9e7995 100644 --- a/peripherals/nrfx/Kconfig +++ b/peripherals/nrfx/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_NRFX config PKG_USING_NRFX_LATEST_VERSION bool "latest" endchoice - + config PKG_NRFX_VER string default "v2.1.0" if PKG_USING_NRFX_V210 diff --git a/peripherals/pca9685/Kconfig b/peripherals/pca9685/Kconfig index 7c9d7ebb28..d126e89e4b 100644 --- a/peripherals/pca9685/Kconfig +++ b/peripherals/pca9685/Kconfig @@ -10,9 +10,9 @@ if PKG_USING_PCA9685 string default "/packages/peripherals/pca9685" - config PKG_USING_PCA9685_SAMPLE - bool "Enable pca9685 sample" - default n + config PKG_USING_PCA9685_SAMPLE + bool "Enable pca9685 sample" + default n choice prompt "Version" diff --git a/peripherals/pcf8574/Kconfig b/peripherals/pcf8574/Kconfig index 0e0073229b..f42f051e74 100644 --- a/peripherals/pcf8574/Kconfig +++ b/peripherals/pcf8574/Kconfig @@ -11,8 +11,8 @@ if PKG_USING_PCF8574 default "/packages/peripherals/pcf8574" config PKG_USING_PCF8574_SAMPLE - bool "Enable pcf8574 sample" - default n + bool "Enable pcf8574 sample" + default n choice prompt "Version" @@ -26,7 +26,7 @@ if PKG_USING_PCF8574 config PKG_USING_PCF8574_LATEST_VERSION bool "latest" endchoice - + config PKG_PCF8574_VER string default "v1.0.0" if PKG_USING_PCF8574_V100 diff --git a/peripherals/pms_series/Kconfig b/peripherals/pms_series/Kconfig index c591e6ee02..4f940d2afc 100644 --- a/peripherals/pms_series/Kconfig +++ b/peripherals/pms_series/Kconfig @@ -44,7 +44,7 @@ if PKG_USING_PMS_SERIES default PMS_SERIES_SAMPLE_USING_UART2 help Select the PMS examples uart - + config PMS_SERIES_SAMPLE_USING_UART1 bool "UART1" config PMS_SERIES_SAMPLE_USING_UART2 @@ -71,7 +71,7 @@ if PKG_USING_PMS_SERIES config PKG_USING_PMS_SERIES_LATEST_VERSION bool "latest" endchoice - + config PKG_PMS_SERIES_VER string default "v1.0.0" if PKG_USING_PMS_SERIES_V100 diff --git a/peripherals/qkey/Kconfig b/peripherals/qkey/Kconfig index c0f1c39417..731d52037e 100644 --- a/peripherals/qkey/Kconfig +++ b/peripherals/qkey/Kconfig @@ -14,51 +14,51 @@ if PKG_USING_QKEY config QKEY_USING_TEST bool "using test" default n - + config QKEY_USING_PULL bool "Key using pull up/down" default y - + config QKEY_TOTAL int "Key maximum total" default 5 config QKEY_SCAN_PRIOD_MS int "Key scan time unit, unit : ms" - default 10 + default 10 config QKEY_THREAD_NAME string "Key driver thread name" - default "qkey" + default "qkey" config QKEY_THREAD_STACK_SIZE int "Key driver thread stack size" - default 1024 + default 1024 config QKEY_THREAD_PRIO int "Key driver thread priority" - default 3 + default 3 config QKEY_USING_ARRAY bool "using key array" default n - + if QKEY_USING_ARRAY - + config QKEY_ARRAY_ROW_TOTAL int "Key array row total" default 4 - + config QKEY_ARRAY_COL_TOTAL int "Key array col total" default 3 - + config QKEY_ARRAY_PIN_FIRST int "Key array pin number of the first key" default 256 - + endif - + choice prompt "Version" default PKG_USING_QKEY_LATEST_VERSION @@ -67,10 +67,10 @@ if PKG_USING_QKEY config PKG_USING_QKEY_LATEST_VERSION bool "latest" - + config PKG_USING_QLED_V110 bool "v1.10" - + config PKG_USING_QLED_V100 bool "v1.00" endchoice diff --git a/peripherals/quick_led/Kconfig b/peripherals/quick_led/Kconfig index c2a94ee10b..1aeaf0b967 100644 --- a/peripherals/quick_led/Kconfig +++ b/peripherals/quick_led/Kconfig @@ -17,36 +17,36 @@ if PKG_USING_QLED config QLED_TIME_UNIT_MS int "Led blink time unit, unit : ms" - default 10 + default 10 config QLED_THREAD_NAME string "Led driver thread name" - default "qled" + default "qled" config QLED_THREAD_STACK_SIZE int "Led driver thread stack size" - default 512 + default 512 config QLED_THREAD_PRIO int "Led driver thread priority" - default 3 + default 3 config QLED_USING_SAMPLE bool "using sample" default n - + if QLED_USING_SAMPLE - + config QLED_RUN_PIN int "Sample running led pin" - default -1 + default -1 config QLED_SOS_PIN int "Sample sos signal led pin" - default -1 - + default -1 + endif - + choice prompt "Version" default PKG_USING_QLED_LATEST_VERSION @@ -55,10 +55,10 @@ if PKG_USING_QLED config PKG_USING_QLED_LATEST_VERSION bool "latest" - + config PKG_USING_QLED_V101 bool "v1.01" - + config PKG_USING_QLED_V100 bool "v1.00" endchoice diff --git a/peripherals/rc522/Kconfig b/peripherals/rc522/Kconfig index a9ac9ad33b..2958a8012a 100644 --- a/peripherals/rc522/Kconfig +++ b/peripherals/rc522/Kconfig @@ -14,13 +14,13 @@ if PKG_USING_RC522 string "spi device name" default "spi10" - comment "Notice: PH3 --> 115" + comment "Notice: PH3 --> 115" config MFRC522_SS_PIN int "RC522 CS pin num" range 1 176 default 115 - comment "Notice: PH8 --> 120" + comment "Notice: PH8 --> 120" config MFRC522_RST_PIN int "RC522 RST pin num" range 1 176 diff --git a/peripherals/rda58xx/Kconfig b/peripherals/rda58xx/Kconfig index 2ce7a37794..ecad6eefad 100644 --- a/peripherals/rda58xx/Kconfig +++ b/peripherals/rda58xx/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_RDA58XX config PKG_USING_RDA58XX_LATEST_VERSION bool "latest" endchoice - + config PKG_RDA58XX_VER string default "v1.0.0" if PKG_USING_RDA58XX_V100 diff --git a/peripherals/rs485/Kconfig b/peripherals/rs485/Kconfig index 46c01e419a..6da34f2131 100644 --- a/peripherals/rs485/Kconfig +++ b/peripherals/rs485/Kconfig @@ -16,96 +16,96 @@ if PKG_USING_RS485 config RS485_USING_TEST bool "using test" default n - - if RS485_USING_TEST - + + if RS485_USING_TEST + config RS485_TEST_SERIAL string "serial device name" default "uart1" - + config RS485_TEST_BAUDRATE int "baudrate" default 9600 - + config RS485_TEST_PARITY int "parity" range 0 2 - default 0 - + default 0 + config RS485_TEST_PIN int "mode control pin" range -1 176 - default -1 - + default -1 + config RS485_TEST_LEVEL int "send mode level" range 0 1 - default 0 - + default 0 + endif - + config RS485_USING_SAMPLE_MASTER bool "using sample master" default n - - if RS485_USING_SAMPLE_MASTER - + + if RS485_USING_SAMPLE_MASTER + config RS485_SAMPLE_MASTER_SERIAL string "serial device name" default "uart2" - + config RS485_SAMPLE_MASTER_BAUDRATE int "baudrate" default 9600 - + config RS485_SAMPLE_MASTER_PARITY int "parity" range 0 2 - default 0 - + default 0 + config RS485_SAMPLE_MASTER_PIN int "mode control pin" range -1 176 - default -1 - + default -1 + config RS485_SAMPLE_MASTER_LVL int "send mode level" range 0 1 - default 0 - + default 0 + endif - + config RS485_USING_SAMPLE_SLAVE bool "using sample slave" default n - - if RS485_USING_SAMPLE_SLAVE - + + if RS485_USING_SAMPLE_SLAVE + config RS485_SAMPLE_SLAVE_SERIAL string "serial device name" default "uart2" - + config RS485_SAMPLE_SLAVE_BAUDRATE int "baudrate" default 9600 - + config RS485_SAMPLE_SLAVE_PARITY int "parity" range 0 2 - default 0 - + default 0 + config RS485_SAMPLE_SLAVE_PIN int "mode control pin" range -1 176 - default -1 - + default -1 + config RS485_SAMPLE_SLAVE_LVL int "send mode level" range 0 1 - default 0 - + default 0 + endif - + choice prompt "Version" default PKG_USING_RS485_LATEST_VERSION @@ -114,13 +114,13 @@ if PKG_USING_RS485 config PKG_USING_RS485_LATEST_VERSION bool "latest" - + config PKG_USING_RS485_V102 bool "v1.02" - + config PKG_USING_RS485_V101 bool "v1.01" - + config PKG_USING_RS485_V100 bool "v1.00" endchoice diff --git a/peripherals/rtc/Kconfig b/peripherals/rtc/Kconfig index d25a259297..8a96196257 100644 --- a/peripherals/rtc/Kconfig +++ b/peripherals/rtc/Kconfig @@ -4,8 +4,8 @@ menuconfig PKG_USING_EXTERN_RTC_DRIVERS select RT_USING_EXTERN_RTC if PKG_USING_EXTERN_RTC_DRIVERS - + source "$PKGS_DIR/packages/peripherals/rtc/ds3231/Kconfig" source "$PKGS_DIR/packages/peripherals/rtc/rx8900/Kconfig" - + endif diff --git a/peripherals/rtc/ds3231/Kconfig b/peripherals/rtc/ds3231/Kconfig index 48d6042d39..3e82ecf1fc 100644 --- a/peripherals/rtc/ds3231/Kconfig +++ b/peripherals/rtc/ds3231/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_DS3231 config PKG_USING_DS3231_LATEST_VERSION bool "latest" endchoice - + config PKG_DS3231_VER string default "v1.0.0" if PKG_USING_DS3231_V100 diff --git a/peripherals/rtc/rx8900/Kconfig b/peripherals/rtc/rx8900/Kconfig index 9fceceb148..4b9abe225e 100644 --- a/peripherals/rtc/rx8900/Kconfig +++ b/peripherals/rtc/rx8900/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_RX8900 config PKG_USING_RX8900_LATEST_VERSION bool "latest" endchoice - + config PKG_RX8900_VER string default "v1.0.0" if PKG_USING_RX8900_V100 diff --git a/peripherals/sensors/aht10/Kconfig b/peripherals/sensors/aht10/Kconfig index a42b467e02..770d038883 100644 --- a/peripherals/sensors/aht10/Kconfig +++ b/peripherals/sensors/aht10/Kconfig @@ -9,28 +9,28 @@ if PKG_USING_AHT10 config PKG_AHT10_PATH string default "/packages/peripherals/sensors/aht10" - + config AHT10_USING_SOFT_FILTER bool "Enable average filter by software" default n help "It will automatic sample sensor's data by average filter thread." - - if AHT10_USING_SOFT_FILTER - + + if AHT10_USING_SOFT_FILTER + config AHT10_AVERAGE_TIMES int "The number of averaging" - default 10 + default 10 help "When selected filter function, it will be the number you will average." - + config AHT10_SAMPLE_PERIOD int "Peroid of sampling data(unit ms)" - default 1000 + default 1000 help "When selected filter function, it will be the period you will sample. The unit of the period is millisecond." - endif - + endif + choice prompt "Version" default PKG_USING_AHT10_LATEST_VERSION @@ -39,14 +39,14 @@ if PKG_USING_AHT10 config PKG_USING_AHT10_V100 bool "v1.0.0" - + config PKG_USING_AHT10_V200 bool "v2.0.0(with sensor frame)" config PKG_USING_AHT10_LATEST_VERSION bool "latest" endchoice - + config PKG_AHT10_VER string default "v1.0.0" if PKG_USING_AHT10_V100 diff --git a/peripherals/sensors/ap3216c/Kconfig b/peripherals/sensors/ap3216c/Kconfig index 0d7e3e4217..e50d7affac 100644 --- a/peripherals/sensors/ap3216c/Kconfig +++ b/peripherals/sensors/ap3216c/Kconfig @@ -15,17 +15,17 @@ if PKG_USING_AP3216C default n help "It will enable hardware interrupt for the sensor, include als and ps interrupt." - - if AP3216C_USING_HW_INT - + + if AP3216C_USING_HW_INT + config AP3216C_INT_PIN int "The number of the sensor hardware interrupt pin." - default 47 + default 47 help "When selected hardware interrupt, it will be the number of pin." - - endif - + + endif + choice prompt "Version" default PKG_USING_AP3216C_LATEST_VERSION @@ -34,14 +34,14 @@ if PKG_USING_AP3216C config PKG_USING_AP3216C_V100 bool "v1.0.0" - + config PKG_USING_AP3216C_V200 bool "v2.0.0(with sensor framework)" config PKG_USING_AP3216C_LATEST_VERSION bool "latest" endchoice - + config PKG_AP3216C_VER string default "v1.0.0" if PKG_USING_AP3216C_V100 diff --git a/peripherals/sensors/bh1750/Kconfig b/peripherals/sensors/bh1750/Kconfig index 3502e8c3bf..b9853874cd 100644 --- a/peripherals/sensors/bh1750/Kconfig +++ b/peripherals/sensors/bh1750/Kconfig @@ -18,14 +18,14 @@ if PKG_USING_BH1750 config PKG_USING_BH1750_V100 bool "v1.0.0" - + config PKG_USING_BH1750_V200 bool "v2.0.0" - + config PKG_USING_BH1750_LATEST_VERSION bool "latest" endchoice - + config PKG_BH1750_VER string default "v1.0.0" if PKG_USING_BH1750_V100 @@ -38,22 +38,22 @@ if PKG_USING_BH1750 default n help "It will automatic sample sensor's data by average filter thread." - - if BH1750_USING_SOFT_FILTER - + + if BH1750_USING_SOFT_FILTER + config BH1750_AVERAGE_TIMES int "The number of averaging" - default 10 + default 10 help "When selected filter function, it will be the number you will add and divide amount." - + config BH1750_SAMPLE_PERIOD int "Peroid of sampling data(unit ms)" - default 1000 + default 1000 help "When selected filter function, it will be the period you will sample. The unit of the period is millisecond." endif endif - + endif diff --git a/peripherals/sensors/bma400/Kconfig b/peripherals/sensors/bma400/Kconfig index c9aefa4c10..5c8f86288b 100644 --- a/peripherals/sensors/bma400/Kconfig +++ b/peripherals/sensors/bma400/Kconfig @@ -11,12 +11,12 @@ if PKG_USING_BMA400 default "/packages/peripherals/sensors/bma400" config PKG_USING_BMA400_ACCE - bool "Enable bma400 acce" - default y + bool "Enable bma400 acce" + default y config PKG_USING_BMA400_STEP - bool "Enable bma400 step" - default y + bool "Enable bma400 step" + default y choice prompt "Version" @@ -30,7 +30,7 @@ if PKG_USING_BMA400 config PKG_USING_BMA400_LATEST_VERSION bool "latest" endchoice - + config PKG_BMA400_VER string default "v0.0.1" if PKG_USING_BMA400_V001 diff --git a/peripherals/sensors/bme280/Kconfig b/peripherals/sensors/bme280/Kconfig index 9552775fd6..30e789067b 100644 --- a/peripherals/sensors/bme280/Kconfig +++ b/peripherals/sensors/bme280/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_BME280 config PKG_USING_BME280_LATEST_VERSION bool "latest" endchoice - + config PKG_BME280_VER string default "v0.0.1" if PKG_USING_BME280_V001 diff --git a/peripherals/sensors/bme680/Kconfig b/peripherals/sensors/bme680/Kconfig index 64a0227dc4..7cd68984e5 100644 --- a/peripherals/sensors/bme680/Kconfig +++ b/peripherals/sensors/bme680/Kconfig @@ -55,7 +55,7 @@ if PKG_USING_BME680 config PKG_USING_BME680_LATEST_VERSION bool "latest" endchoice - + config PKG_BME680_VER string default "latest" if PKG_USING_BME680_LATEST_VERSION diff --git a/peripherals/sensors/bmi088/Kconfig b/peripherals/sensors/bmi088/Kconfig index 04ecc46b6a..e80100c48c 100644 --- a/peripherals/sensors/bmi088/Kconfig +++ b/peripherals/sensors/bmi088/Kconfig @@ -14,17 +14,17 @@ if PKG_USING_BMI088 default PKG_USING_BMI088_LATEST_VERSION help Select the package version - - config PKG_USING_BMI088_V100 - bool "v1.0.0" - + + config PKG_USING_BMI088_V100 + bool "v1.0.0" + config PKG_USING_BMI088_LATEST_VERSION bool "latest" endchoice - + config PKG_BMI088_VER - string - default "latest" if PKG_USING_BMI088_LATEST_VERSION - + string + default "latest" if PKG_USING_BMI088_LATEST_VERSION + endif diff --git a/peripherals/sensors/bmp180/Kconfig b/peripherals/sensors/bmp180/Kconfig index e56d8657ba..c051d68cca 100644 --- a/peripherals/sensors/bmp180/Kconfig +++ b/peripherals/sensors/bmp180/Kconfig @@ -9,11 +9,11 @@ if PKG_USING_BMP180 config PKG_BMP180_PATH string default "/packages/peripherals/sensors/bmp180" - - config PKG_USING_BMP180_SAMPLE + + config PKG_USING_BMP180_SAMPLE bool "Enable bmp180 sample" default n - + choice prompt "Version" default PKG_USING_BMP180_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_BMP180 config PKG_USING_BMP180_LATEST_VERSION bool "latest" endchoice - + config PKG_BMP180_VER string default "v1.0.0" if PKG_USING_BMP180_V100 diff --git a/peripherals/sensors/bmp280/Kconfig b/peripherals/sensors/bmp280/Kconfig index 2af886a6f7..319fb42033 100644 --- a/peripherals/sensors/bmp280/Kconfig +++ b/peripherals/sensors/bmp280/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_BMP280 config PKG_USING_BMP280_LATEST_VERSION bool "latest" endchoice - + config PKG_BMP280_VER string default "v1.0.0" if PKG_USING_BMP280_V100 diff --git a/peripherals/sensors/ccs811/Kconfig b/peripherals/sensors/ccs811/Kconfig index a0a0498a84..bcebda3fb9 100644 --- a/peripherals/sensors/ccs811/Kconfig +++ b/peripherals/sensors/ccs811/Kconfig @@ -39,7 +39,7 @@ if PKG_USING_CCS811 config PKG_USING_CCS811_LATEST_VERSION bool "latest" endchoice - + config PKG_CCS811_VER string default "latest" if PKG_USING_CCS811_LATEST_VERSION diff --git a/peripherals/sensors/da270/Kconfig b/peripherals/sensors/da270/Kconfig index 00446603ea..cb9b74d06c 100644 --- a/peripherals/sensors/da270/Kconfig +++ b/peripherals/sensors/da270/Kconfig @@ -9,10 +9,10 @@ if PKG_USING_DA270 config PKG_DA270_PATH string default "/packages/peripherals/sensors/da270" - + config PKG_USING_DA270_ACCE - bool "Enable da270 acce" - default y + bool "Enable da270 acce" + default y choice prompt "Version" @@ -26,7 +26,7 @@ if PKG_USING_DA270 config PKG_USING_DA270_LATEST_VERSION bool "latest" endchoice - + config PKG_DA270_VER string default "v1.0.0" if PKG_USING_DA270_V100 diff --git a/peripherals/sensors/df220/Kconfig b/peripherals/sensors/df220/Kconfig index 84e9e01776..396149880c 100755 --- a/peripherals/sensors/df220/Kconfig +++ b/peripherals/sensors/df220/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_DF220 config PKG_USING_DF220_LATEST_VERSION bool "latest" endchoice - + config PKG_DF220_VER string default "v1.0.0" if PKG_USING_DF220_V100 diff --git a/peripherals/sensors/dhtxx/Kconfig b/peripherals/sensors/dhtxx/Kconfig index b9151c8448..223884665a 100644 --- a/peripherals/sensors/dhtxx/Kconfig +++ b/peripherals/sensors/dhtxx/Kconfig @@ -63,7 +63,7 @@ if PKG_USING_DHTXX config PKG_USING_DHTXX_LATEST_VERSION bool "latest" endchoice - + config PKG_DHTXX_VER string default "v0.8.1" if PKG_USING_DHTXX_V08X diff --git a/peripherals/sensors/fingerprint/Kconfig b/peripherals/sensors/fingerprint/Kconfig index 2238ee19cd..f7d2d3677e 100644 --- a/peripherals/sensors/fingerprint/Kconfig +++ b/peripherals/sensors/fingerprint/Kconfig @@ -10,9 +10,9 @@ if PKG_USING_FINGERPRINT string "fingerprint uart name" default "uart2" - config PKG_USING_FINGERPRINT_SAMPLE - bool "Enable fingerprint SAMPLE" - default y + config PKG_USING_FINGERPRINT_SAMPLE + bool "Enable fingerprint SAMPLE" + default y config PKG_FINGERPRINT_PATH @@ -31,7 +31,7 @@ if PKG_USING_FINGERPRINT config PKG_USING_FINGERPRINT_LATEST_VERSION bool "latest" endchoice - + config PKG_FINGERPRINT_VER string default "v1.0.0" if PKG_USING_FINGERPRINT_V100 diff --git a/peripherals/sensors/gp2y10/Kconfig b/peripherals/sensors/gp2y10/Kconfig index 8628a87ca9..1c0a4486ea 100644 --- a/peripherals/sensors/gp2y10/Kconfig +++ b/peripherals/sensors/gp2y10/Kconfig @@ -63,7 +63,7 @@ if PKG_USING_GP2Y10 config PKG_USING_GP2Y10_LATEST_VERSION bool "latest" endchoice - + config PKG_GP2Y10_VER string default "v1.0.0" if PKG_USING_GP2Y10_V100 diff --git a/peripherals/sensors/gy271/Kconfig b/peripherals/sensors/gy271/Kconfig index e915233934..7d4b3aadfc 100644 --- a/peripherals/sensors/gy271/Kconfig +++ b/peripherals/sensors/gy271/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_GY271 config PKG_USING_GY271_LATEST_VERSION bool "latest" endchoice - + config PKG_GY271_VER string default "v1.0.0" if PKG_USING_GY271_V100 diff --git a/peripherals/sensors/hdc1000/Kconfig b/peripherals/sensors/hdc1000/Kconfig index 617ff07942..1674e45bdf 100644 --- a/peripherals/sensors/hdc1000/Kconfig +++ b/peripherals/sensors/hdc1000/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_HDC1000 config PKG_USING_HDC1000_LATEST_VERSION bool "latest" endchoice - + config PKG_HDC1000_VER string default "v1.0.0" if PKG_USING_HDC1000_V100 diff --git a/peripherals/sensors/hmc5883/Kconfig b/peripherals/sensors/hmc5883/Kconfig index c94376fc69..ba5c80515c 100644 --- a/peripherals/sensors/hmc5883/Kconfig +++ b/peripherals/sensors/hmc5883/Kconfig @@ -21,7 +21,7 @@ if PKG_USING_HMC5883 config PKG_USING_HMC5883_LATEST_VERSION bool "latest" endchoice - + config PKG_HMC5883_VER string default "latest" if PKG_USING_HMC5883_LATEST_VERSION diff --git a/peripherals/sensors/hs300x/Kconfig b/peripherals/sensors/hs300x/Kconfig index 921e8187e2..94fbd8d56e 100644 --- a/peripherals/sensors/hs300x/Kconfig +++ b/peripherals/sensors/hs300x/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_HS300X config PKG_USING_HS300X_LATEST_VERSION bool "latest" endchoice - + config PKG_HS300X_VER string default "latest" if PKG_USING_HS300X_LATEST_VERSION diff --git a/peripherals/sensors/hshcal001/Kconfig b/peripherals/sensors/hshcal001/Kconfig index 319edba4a4..2f64d5a257 100644 --- a/peripherals/sensors/hshcal001/Kconfig +++ b/peripherals/sensors/hshcal001/Kconfig @@ -9,14 +9,14 @@ if PKG_USING_HSHCAL001 config PKG_HSHCAL001_PATH string default "/packages/peripherals/sensors/hshcal001" - - config PKG_USING_HSHCAL001_HUMI - bool "Enable hshcal001 humi" - default y + + config PKG_USING_HSHCAL001_HUMI + bool "Enable hshcal001 humi" + default y config PKG_USING_HSHCAL001_TEMP - bool "Enable hshcal001 temp" - default y + bool "Enable hshcal001 temp" + default y choice prompt "Version" @@ -30,7 +30,7 @@ if PKG_USING_HSHCAL001 config PKG_USING_HSHCAL001_LATEST_VERSION bool "latest" endchoice - + config PKG_HSHCAL001_VER string default "v0.0.1" if PKG_USING_HSHCAL001_V001 diff --git a/peripherals/sensors/hts221/Kconfig b/peripherals/sensors/hts221/Kconfig index 11bb930247..312a0ea594 100644 --- a/peripherals/sensors/hts221/Kconfig +++ b/peripherals/sensors/hts221/Kconfig @@ -11,12 +11,12 @@ if PKG_USING_HTS221 default "/packages/peripherals/sensors/hts221" config PKG_USING_HTS221_HUMI - bool "Enable hts221 humi" - default y + bool "Enable hts221 humi" + default y config PKG_USING_HTS221_TEMP - bool "Enable hts221 temp" - default y + bool "Enable hts221 temp" + default y choice prompt "Version" @@ -30,7 +30,7 @@ if PKG_USING_HTS221 config PKG_USING_HTS221_LATEST_VERSION bool "latest" endchoice - + config PKG_HTS221_VER string default "v0.0.1" if PKG_USING_HTS221_V001 diff --git a/peripherals/sensors/ina226/Kconfig b/peripherals/sensors/ina226/Kconfig index 81817a88b4..34fd8bdb1b 100644 --- a/peripherals/sensors/ina226/Kconfig +++ b/peripherals/sensors/ina226/Kconfig @@ -2,10 +2,10 @@ menuconfig PKG_USING_INA226 bool "ina226: a ina226 package for rt-thread." default n - select RT_USING_I2C - help - A current monitoring chip from TI, driven through the SENSOR frame. - + select RT_USING_I2C + help + A current monitoring chip from TI, driven through the SENSOR frame. + if PKG_USING_INA226 config PKG_USING_INA226_EXAMPLE @@ -28,7 +28,7 @@ if PKG_USING_INA226 config PKG_USING_INA226_LATEST_VERSION bool "latest" endchoice - + config PKG_INA226_VER string default "latest" if PKG_USING_INA226_LATEST_VERSION diff --git a/peripherals/sensors/ina260/Kconfig b/peripherals/sensors/ina260/Kconfig index 45981daa57..9162701d95 100644 --- a/peripherals/sensors/ina260/Kconfig +++ b/peripherals/sensors/ina260/Kconfig @@ -2,10 +2,10 @@ menuconfig PKG_USING_INA260 bool "ina260: a ina260 package for rt-thread." default n - select RT_USING_I2C - help - A current monitoring chip from TI, driven through the SENSOR frame. - + select RT_USING_I2C + help + A current monitoring chip from TI, driven through the SENSOR frame. + if PKG_USING_INA260 config PKG_USING_INA260_EXAMPLE @@ -28,7 +28,7 @@ if PKG_USING_INA260 config PKG_USING_INA260_LATEST_VERSION bool "latest" endchoice - + config PKG_INA260_VER string default "latest" if PKG_USING_INA260_LATEST_VERSION diff --git a/peripherals/sensors/lis2dh12/Kconfig b/peripherals/sensors/lis2dh12/Kconfig index d70c90aefb..e1f7ea4e3d 100644 --- a/peripherals/sensors/lis2dh12/Kconfig +++ b/peripherals/sensors/lis2dh12/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_LIS2DH12 config PKG_USING_LIS2DH12_LATEST_VERSION bool "latest" endchoice - + config PKG_LIS2DH12_VER string default "v0.0.1" if PKG_USING_LIS2DH12_V001 diff --git a/peripherals/sensors/lps22hb/Kconfig b/peripherals/sensors/lps22hb/Kconfig index 3bb4ae8c8a..4b2ed9da42 100644 --- a/peripherals/sensors/lps22hb/Kconfig +++ b/peripherals/sensors/lps22hb/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_LPS22HB config PKG_USING_LPS22HB_LATEST_VERSION bool "latest" endchoice - + config PKG_LPS22HB_VER string default "v0.0.1" if PKG_USING_LPS22HB_V001 diff --git a/peripherals/sensors/lsm303agr/Kconfig b/peripherals/sensors/lsm303agr/Kconfig index f08e050ed2..7e5418476e 100644 --- a/peripherals/sensors/lsm303agr/Kconfig +++ b/peripherals/sensors/lsm303agr/Kconfig @@ -11,12 +11,12 @@ if PKG_USING_LSM303AGR default "/packages/peripherals/sensors/lsm303agr" config PKG_USING_LSM303AGR_ACCE - bool "Enable lsm303agr acce" - default y + bool "Enable lsm303agr acce" + default y config PKG_USING_LSM303AGR_MAG - bool "Enable lsm303agr mag" - default y + bool "Enable lsm303agr mag" + default y choice prompt "Version" @@ -30,7 +30,7 @@ if PKG_USING_LSM303AGR config PKG_USING_LSM303AGR_LATEST_VERSION bool "latest" endchoice - + config PKG_LSM303AGR_VER string default "v0.0.1" if PKG_USING_LSM303AGR_V001 diff --git a/peripherals/sensors/lsm6dsl/Kconfig b/peripherals/sensors/lsm6dsl/Kconfig index 1d44ac5dba..04c52a8c11 100644 --- a/peripherals/sensors/lsm6dsl/Kconfig +++ b/peripherals/sensors/lsm6dsl/Kconfig @@ -11,16 +11,16 @@ if PKG_USING_LSM6DSL default "/packages/peripherals/sensors/lsm6dsl" config PKG_USING_LSM6DSL_ACCE - bool "Enable lsm6dsl acce" - default y + bool "Enable lsm6dsl acce" + default y config PKG_USING_LSM6DSL_GYRO - bool "Enable lsm6dsl gyro" - default y + bool "Enable lsm6dsl gyro" + default y config PKG_USING_LSM6DSL_STEP - bool "Enable lsm6dsl step" - default y + bool "Enable lsm6dsl step" + default y choice prompt "Version" @@ -34,7 +34,7 @@ if PKG_USING_LSM6DSL config PKG_USING_LSM6DSL_LATEST_VERSION bool "latest" endchoice - + config PKG_LSM6DSL_VER string default "v0.0.1" if PKG_USING_LSM6DSL_V001 diff --git a/peripherals/sensors/lsm6dsm/Kconfig b/peripherals/sensors/lsm6dsm/Kconfig index 2b5b5785fc..e716b82d75 100644 --- a/peripherals/sensors/lsm6dsm/Kconfig +++ b/peripherals/sensors/lsm6dsm/Kconfig @@ -11,20 +11,20 @@ if PKG_USING_LSM6DSM default "/packages/peripherals/sensors/lsm6dsm" config PKG_LSM6DSM_USING_ACCE - bool "Enable LSM6DSM Accelerometer" - default y + bool "Enable LSM6DSM Accelerometer" + default y config PKG_LSM6DSM_USING_GYRO - bool "Enable LSM6DSM gyro" - default y + bool "Enable LSM6DSM gyro" + default y config PKG_LSM6DSM_USING_STEP - bool "Enable LSM6DSM temperature" - default y + bool "Enable LSM6DSM temperature" + default y config PKG_LSM6DSM_USING_TEMP - bool "Enable LSM6DSM step count" - default y + bool "Enable LSM6DSM step count" + default y choice prompt "I2C device address type" @@ -51,7 +51,7 @@ if PKG_USING_LSM6DSM config PKG_USING_LSM6DSM_LATEST_VERSION bool "latest" endchoice - + config PKG_LSM6DSM_VER string default "v1.0.0" if PKG_USING_LSM6DSM_V100 diff --git a/peripherals/sensors/max30102/Kconfig b/peripherals/sensors/max30102/Kconfig index 5faeeead2a..ff72f1f699 100644 --- a/peripherals/sensors/max30102/Kconfig +++ b/peripherals/sensors/max30102/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_MAX30102 config PKG_USING_MAX30102_LATEST_VERSION bool "latest" endchoice - + config PKG_MAX30102_VER string default "v1.0.0" if PKG_USING_MAX30102_V100 diff --git a/peripherals/sensors/max31865/Kconfig b/peripherals/sensors/max31865/Kconfig index 7f9d386f70..b63aac5a71 100644 --- a/peripherals/sensors/max31865/Kconfig +++ b/peripherals/sensors/max31865/Kconfig @@ -13,7 +13,7 @@ if PKG_USING_MAX31865 config MAX31865_REF_RES int "MAX31865 reference resistor. Unit: Milliohm" default 400000 - + choice prompt "RTD type" default MAX31865_PT100 @@ -26,7 +26,7 @@ if PKG_USING_MAX31865 config MAX31865_PT1000 bool "PT1000" endchoice - + choice prompt "Version" default PKG_USING_MAX31865_LATEST_VERSION @@ -39,7 +39,7 @@ if PKG_USING_MAX31865 config PKG_USING_MAX31865_LATEST_VERSION bool "latest" endchoice - + config PKG_MAX31865_VER string default "v1.0.0" if PKG_USING_MAX31865_V100 diff --git a/peripherals/sensors/max6675/Kconfig b/peripherals/sensors/max6675/Kconfig index 26de31ca74..50e003f7bf 100644 --- a/peripherals/sensors/max6675/Kconfig +++ b/peripherals/sensors/max6675/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_MAX6675 config PKG_USING_MAX6675_LATEST_VERSION bool "latest" endchoice - + config PKG_MAX6675_VER string default "v1.0.0" if PKG_USING_MAX6675_V100 diff --git a/peripherals/sensors/mlx90632/Kconfig b/peripherals/sensors/mlx90632/Kconfig index fe273ed33f..62d170fa86 100644 --- a/peripherals/sensors/mlx90632/Kconfig +++ b/peripherals/sensors/mlx90632/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_MLX90632 config PKG_USING_MLX90632_LATEST_VERSION bool "latest" endchoice - + config PKG_MLX90632_VER string default "latest" if PKG_USING_MLX90632_LATEST_VERSION diff --git a/peripherals/sensors/ms5611/Kconfig b/peripherals/sensors/ms5611/Kconfig index d95617250e..9dcd77e16d 100644 --- a/peripherals/sensors/ms5611/Kconfig +++ b/peripherals/sensors/ms5611/Kconfig @@ -5,7 +5,7 @@ menuconfig PKG_USING_MS5611 default n if PKG_USING_MS5611 - + config PKG_MS5611_PATH string default "/packages/peripherals/sensors/ms5611" @@ -17,7 +17,7 @@ if PKG_USING_MS5611 config MS5611_USING_BARO bool "Enable MS5611 pressure" default n - + choice prompt "Version" default PKG_USING_MS5611_LATEST_VERSION @@ -30,7 +30,7 @@ if PKG_USING_MS5611 config PKG_USING_MS5611_LATEST_VERSION bool "latest" endchoice - + config PKG_MS5611_VER string default "v1.0.0" if PKG_USING_MS5611_V100 diff --git a/peripherals/sensors/ms5805/Kconfig b/peripherals/sensors/ms5805/Kconfig index 13638efc97..ab6cf6a390 100644 --- a/peripherals/sensors/ms5805/Kconfig +++ b/peripherals/sensors/ms5805/Kconfig @@ -5,7 +5,7 @@ menuconfig PKG_USING_MS5805 default n if PKG_USING_MS5805 - + config PKG_MS5805_PATH string default "/packages/peripherals/sensors/ms5805" @@ -17,11 +17,11 @@ if PKG_USING_MS5805 config MS5805_USING_BARO bool "Enable MS5805 pressure" default n - + config PKG_USING_MS5805_SAMPLE bool "Enable ms5805 example" default n - + choice prompt "Version" default PKG_USING_MS5805_LATEST_VERSION @@ -34,7 +34,7 @@ if PKG_USING_MS5805 config PKG_USING_MS5805_LATEST_VERSION bool "latest" endchoice - + config PKG_MS5805_VER string default "v1.0.0" if PKG_USING_MS5805_V100 diff --git a/peripherals/sensors/pmsxx/Kconfig b/peripherals/sensors/pmsxx/Kconfig index 32376eecc1..1bb6facc28 100644 --- a/peripherals/sensors/pmsxx/Kconfig +++ b/peripherals/sensors/pmsxx/Kconfig @@ -78,7 +78,7 @@ if PKG_USING_PMSXX config PKG_USING_PMSXX_LATEST_VERSION bool "latest" endchoice - + config PKG_PMSXX_VER string default "latest" if PKG_USING_PMSXX_LATEST_VERSION diff --git a/peripherals/sensors/rt3020/Kconfig b/peripherals/sensors/rt3020/Kconfig index ffad9831c9..b5ccf87654 100644 --- a/peripherals/sensors/rt3020/Kconfig +++ b/peripherals/sensors/rt3020/Kconfig @@ -10,11 +10,11 @@ if PKG_USING_RT3020 string default "/packages/peripherals/sensors/rt3020" - config PKG_USING_RT3020_ACCE - bool "Enable rt3020 acce" - default y - - choice + config PKG_USING_RT3020_ACCE + bool "Enable rt3020 acce" + default y + + choice prompt "Version" default PKG_USING_RT3020_LATEST_VERSION help @@ -26,7 +26,7 @@ if PKG_USING_RT3020 config PKG_USING_RT3020_LATEST_VERSION bool "latest" endchoice - + config PKG_RT3020_VER string default "v1.0.0" if PKG_USING_RT3020_V100 diff --git a/peripherals/sensors/sgp30/Kconfig b/peripherals/sensors/sgp30/Kconfig index 0505c3589d..1ae5b6335a 100644 --- a/peripherals/sensors/sgp30/Kconfig +++ b/peripherals/sensors/sgp30/Kconfig @@ -66,7 +66,7 @@ if PKG_USING_SGP30 config PKG_USING_SGP30_LATEST_VERSION bool "latest" endchoice - + config PKG_SGP30_VER string default "v1.0.0" if PKG_USING_SGP30_V100 diff --git a/peripherals/sensors/shtc1/Kconfig b/peripherals/sensors/shtc1/Kconfig index d44246ba8e..2f303cce25 100644 --- a/peripherals/sensors/shtc1/Kconfig +++ b/peripherals/sensors/shtc1/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_SHTC1 config PKG_USING_SHTC1_LATEST_VERSION bool "latest" endchoice - + config PKG_SHTC1_VER string default "v1.0.0" if PKG_USING_SHTC1_V100 diff --git a/peripherals/sensors/sr04/Kconfig b/peripherals/sensors/sr04/Kconfig index 4dcb979ac1..670fb335e9 100644 --- a/peripherals/sensors/sr04/Kconfig +++ b/peripherals/sensors/sr04/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_SR04 config PKG_USING_SR04_SAMPLE bool "Enable sr04 sample" default y - + config PKG_SR04_VER string default "v1.0.0" if PKG_USING_SR04_V100 diff --git a/peripherals/sensors/tmp1075/Kconfig b/peripherals/sensors/tmp1075/Kconfig index 631e30ed6b..2a1d00df53 100644 --- a/peripherals/sensors/tmp1075/Kconfig +++ b/peripherals/sensors/tmp1075/Kconfig @@ -9,11 +9,11 @@ if PKG_USING_TMP1075 config PKG_TMP1075_PATH string default "/packages/peripherals/sensors/tmp1075" - - config PKG_USING_TMP1075_SAMPLE + + config PKG_USING_TMP1075_SAMPLE bool "Enable tmp1075 sample" default n - + choice prompt "Version" default PKG_USING_TMP1075_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_TMP1075 config PKG_USING_TMP1075_LATEST_VERSION bool "latest" endchoice - + config PKG_TMP1075_VER string default "v1.0.0" if PKG_USING_TMP1075_V100 diff --git a/peripherals/sensors/tsl4531/Kconfig b/peripherals/sensors/tsl4531/Kconfig index 52dd5db4cd..da151bdc9f 100644 --- a/peripherals/sensors/tsl4531/Kconfig +++ b/peripherals/sensors/tsl4531/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_TSL4531 config PKG_USING_TSL4531_LATEST_VERSION bool "latest" endchoice - + config PKG_TSL4531_VER string default "v0.1.1" if PKG_USING_TSL4531_V011 diff --git a/peripherals/sensors/vl53l0x/Kconfig b/peripherals/sensors/vl53l0x/Kconfig index 5b19299960..b84fe91110 100644 --- a/peripherals/sensors/vl53l0x/Kconfig +++ b/peripherals/sensors/vl53l0x/Kconfig @@ -9,11 +9,11 @@ if PKG_USING_VL53L0X config PKG_VL53L0X_PATH string default "/packages/peripherals/sensors/vl53l0x" - - config PKG_USING_VL53L0X_SAMPLE + + config PKG_USING_VL53L0X_SAMPLE bool "Enable vl53l0x sample" default n - + choice prompt "Version" default PKG_USING_VL53L0X_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_VL53L0X config PKG_USING_VL53L0X_LATEST_VERSION bool "latest" endchoice - + config PKG_VL53L0X_VER string default "v1.0.0" if PKG_USING_VL53L0X_V100 diff --git a/peripherals/sgm706/Kconfig b/peripherals/sgm706/Kconfig index 0b3d194133..f205e3f54a 100644 --- a/peripherals/sgm706/Kconfig +++ b/peripherals/sgm706/Kconfig @@ -9,11 +9,11 @@ if PKG_USING_SGM706 config PKG_SGM706_PATH string default "/packages/peripherals/sgm706" - - config PKG_USING_SGM706_SAMPLE + + config PKG_USING_SGM706_SAMPLE bool "Enable sgm706 sample" default n - + choice prompt "Version" default PKG_USING_SGM706_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_SGM706 config PKG_USING_SGM706_LATEST_VERSION bool "latest" endchoice - + config PKG_SGM706_VER string default "v1.0.0" if PKG_USING_SGM706_V100 diff --git a/peripherals/sht2x/Kconfig b/peripherals/sht2x/Kconfig index 55f715db39..ecba83d307 100644 --- a/peripherals/sht2x/Kconfig +++ b/peripherals/sht2x/Kconfig @@ -15,22 +15,22 @@ if PKG_USING_SHT2X default n help "It will automatic sample sensor's data by average filter thread." - - if SHT20_USING_SOFT_FILTER - + + if SHT20_USING_SOFT_FILTER + config SHT20_AVERAGE_TIMES int "The number of averaging" - default 10 + default 10 help "When selected filter function, it will be the number you will add and divide amount." - + config SHT20_SAMPLE_PERIOD int "Peroid of sampling data(unit ms)" - default 1000 + default 1000 help "When selected filter function, it will be the period you will sample. The unit of the period is millisecond." - endif - + endif + choice prompt "Version" diff --git a/peripherals/sht3x/Kconfig b/peripherals/sht3x/Kconfig index 5e83c8c627..ab68caf29e 100644 --- a/peripherals/sht3x/Kconfig +++ b/peripherals/sht3x/Kconfig @@ -8,10 +8,10 @@ if PKG_USING_SHT3X config PKG_SHT3X_PATH string default "/packages/peripherals/sht3x" - + choice prompt "Version" - default PKG_USING_SHT3X_V100 + default PKG_USING_SHT3X_V100 help Select the package version diff --git a/peripherals/soft_serial/Kconfig b/peripherals/soft_serial/Kconfig index 249a6dbec5..15a4095004 100644 --- a/peripherals/soft_serial/Kconfig +++ b/peripherals/soft_serial/Kconfig @@ -10,27 +10,27 @@ if PKG_USING_SOFT_SERIAL config PKG_SOFT_SERIAL_PATH string default "/packages/peripherals/soft_serial" - + config SOFT_SERIAL_TIM_CLK_FREQ int "clock frequency of the hardware timer" - default 8000000 + default 8000000 config SOFT_SERIAL_TIM_PCLK1_MUL int "APB1 timer clock frequency multiplier" - default 1 - + default 1 + config SOFT_SERIAL_TIM_PCLK2_MUL int "APB2 timer clock frequency multiplier" - default 1 - + default 1 + config SOFT_SERIAL_CHK_RX_BEGIN_BIT bool "using the begin bit check" default y - + config SOFT_SERIAL_CHK_RX_PARITY bool "using parity bit check" default n - + choice prompt "Version" default PKG_USING_SOFT_SERIAL_V100 @@ -39,7 +39,7 @@ if PKG_USING_SOFT_SERIAL config PKG_USING_SOFT_SERIAL_LATEST_VERSION bool "latest" - + config PKG_USING_SOFT_SERIAL_V100 bool "v1.00" endchoice diff --git a/peripherals/ssd1306/Kconfig b/peripherals/ssd1306/Kconfig index e0db0e06f5..56f277234c 100644 --- a/peripherals/ssd1306/Kconfig +++ b/peripherals/ssd1306/Kconfig @@ -35,7 +35,7 @@ if PKG_USING_SSD1306 config PKG_USING_SSD1306_LATEST_VERSION bool "latest" endchoice - + config PKG_SSD1306_VER string default "latest" if PKG_USING_SSD1306_LATEST_VERSION diff --git a/peripherals/stm32_sdio/Kconfig b/peripherals/stm32_sdio/Kconfig index b01a933c64..0b4af479fa 100644 --- a/peripherals/stm32_sdio/Kconfig +++ b/peripherals/stm32_sdio/Kconfig @@ -31,12 +31,12 @@ if PKG_USING_STM32_SDIO prompt "Version" help Select the stm32_sdio version - + if ((RT_VER_NUM >= 0x30103 && RT_VER_NUM < 0x40000) || RT_VER_NUM >= 0x40001) config PKG_USING_STM32_SDIO_V102 bool "v1.0.2" endif - + if (RT_VER_NUM < 0x30103 || RT_VER_NUM = 0x40000) config PKG_USING_STM32_SDIO_V101 bool "v1.0.1" @@ -44,7 +44,7 @@ if PKG_USING_STM32_SDIO config PKG_USING_STM32_SDIO_V100 bool "v1.0.0" endif - + config PKG_USING_STM32_SDIO_LATEST_VERSION bool "latest" endchoice diff --git a/peripherals/stm32wb55_sdk/Kconfig b/peripherals/stm32wb55_sdk/Kconfig index e76ba2e10d..7ef0fd7ee0 100644 --- a/peripherals/stm32wb55_sdk/Kconfig +++ b/peripherals/stm32wb55_sdk/Kconfig @@ -1,11 +1,11 @@ # Kconfig file for package stm32wb55_sdk menuconfig PKG_USING_STM32WB55_SDK bool "stm32wb55_sdk: a stm32wb55_sdk(only ble stack now) package for rt-thread." - select RT_USING_RTC - select BSP_USING_ON_CHIP_FLASH + select RT_USING_RTC + select BSP_USING_ON_CHIP_FLASH default n - help - this sdk fork from STM32Cube_FW_WB. You can add more routine support based on this. + help + this sdk fork from STM32Cube_FW_WB. You can add more routine support based on this. if PKG_USING_STM32WB55_SDK @@ -13,17 +13,17 @@ if PKG_USING_STM32WB55_SDK string default "/packages/peripherals/stm32wb55_sdk" - choice - prompt "ble sample" - default STM32WB55_BLE_IBEACON - - config STM32WB55_BLE_IBEACON - bool "stm32wb55_ble_iBeacon" - - config STM32WB55_BLE_HRS - bool "stm32wb55_ble_hrs" - - endchoice + choice + prompt "ble sample" + default STM32WB55_BLE_IBEACON + + config STM32WB55_BLE_IBEACON + bool "stm32wb55_ble_iBeacon" + + config STM32WB55_BLE_HRS + bool "stm32wb55_ble_hrs" + + endchoice choice prompt "Version" @@ -37,11 +37,11 @@ if PKG_USING_STM32WB55_SDK config PKG_USING_STM32WB55_SDK_LATEST_VERSION bool "latest" endchoice - + config PKG_STM32WB55_SDK_VER string default "latest" if PKG_USING_STM32WB55_SDK_LATEST_VERSION - default "v1.10.0" if PKG_USING_STM32WB55_SDK_V1100 + default "v1.10.0" if PKG_USING_STM32WB55_SDK_V1100 endif diff --git a/peripherals/sx12xx/Kconfig b/peripherals/sx12xx/Kconfig index 90afe5432c..4a12577a9e 100644 --- a/peripherals/sx12xx/Kconfig +++ b/peripherals/sx12xx/Kconfig @@ -38,32 +38,32 @@ if PKG_USING_SX12XX config SX12XX_DO0_PIN int "DO0 PIN number" default 103 - + config SX12XX_DO1_PIN int "DO1 PIN number" - default 104 - + default 104 + config SX12XX_DO2_PIN int "DO2 PIN number" default 105 - + config SX12XX_DO3_PIN int "DO3 PIN number" - default 106 - + default 106 + config SX12XX_DO4_PIN int "DO4 PIN number" - default 107 - + default 107 + config SX12XX_DO5_PIN int "DO5 PIN number" - default 108 - + default 108 + endmenu endif config PKG_USING_SX12XX_SAMPLE - bool "Enable sx12xx sample" - default n + bool "Enable sx12xx sample" + default n choice prompt "Version" default PKG_USING_SX12XX_LATEST_VERSION @@ -76,7 +76,7 @@ if PKG_USING_SX12XX config PKG_USING_SX12XX_LATEST_VERSION bool "latest" endchoice - + config PKG_SX12XX_VER string default "v1.0.0" if PKG_USING_SX12XX_V100 diff --git a/peripherals/tca9534/Kconfig b/peripherals/tca9534/Kconfig index 5fbfe45911..346514978b 100644 --- a/peripherals/tca9534/Kconfig +++ b/peripherals/tca9534/Kconfig @@ -9,11 +9,11 @@ if PKG_USING_TCA9534 config PKG_TCA9534_PATH string default "/packages/peripherals/tca9534" - - config PKG_USING_TCA9534_SAMPLE + + config PKG_USING_TCA9534_SAMPLE bool "Enable tca9534 sample" default n - + choice prompt "Version" default PKG_USING_TCA9534_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_TCA9534 config PKG_USING_TCA9534_LATEST_VERSION bool "latest" endchoice - + config PKG_TCA9534_VER string default "v1.0.0" if PKG_USING_TCA9534_V100 diff --git a/peripherals/tmc51xx/Kconfig b/peripherals/tmc51xx/Kconfig index bfa05a82da..e6ba1fcc0c 100644 --- a/peripherals/tmc51xx/Kconfig +++ b/peripherals/tmc51xx/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_TMC51XX config PKG_USING_TMC51XX_LATEST_VERSION bool "latest" endchoice - + config PKG_TMC51XX_VER string default "v1.0.0" if PKG_USING_TMC51XX_V100 diff --git a/peripherals/touch/Kconfig b/peripherals/touch/Kconfig index 2d84bfa284..b61888719a 100644 --- a/peripherals/touch/Kconfig +++ b/peripherals/touch/Kconfig @@ -11,5 +11,5 @@ menuconfig PKG_USING_TOUCH_DRIVERS source "$PKGS_DIR/packages/peripherals/touch/gt911/Kconfig" source "$PKGS_DIR/packages/peripherals/touch/ft6206/Kconfig" source "$PKGS_DIR/packages/peripherals/touch/ft5426/Kconfig" - source "$PKGS_DIR/packages/peripherals/touch/ft6236/Kconfig" + source "$PKGS_DIR/packages/peripherals/touch/ft6236/Kconfig" endif diff --git a/peripherals/touch/ft5426/Kconfig b/peripherals/touch/ft5426/Kconfig index 2ae6a2670f..a93f91ae79 100644 --- a/peripherals/touch/ft5426/Kconfig +++ b/peripherals/touch/ft5426/Kconfig @@ -13,7 +13,7 @@ if PKG_USING_FT5426 config PKG_USING_FT5426_SAMPLE bool "enable samples" default n - + choice prompt "Version" default PKG_USING_FT5426_LATEST_VERSION @@ -23,7 +23,7 @@ if PKG_USING_FT5426 config PKG_USING_FT5426_LATEST_VERSION bool "latest" endchoice - + config PKG_FT5426_VER string default "v0.0.1" if PKG_USING_FT5426_V001 diff --git a/peripherals/touch/ft6206/Kconfig b/peripherals/touch/ft6206/Kconfig index 9771069b51..1948e00c91 100644 --- a/peripherals/touch/ft6206/Kconfig +++ b/peripherals/touch/ft6206/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_FT6206 config PKG_USING_FT6206_LATEST_VERSION bool "latest" endchoice - + config PKG_FT6206_VER string default "v1.0.0" if PKG_USING_FT6206_V100 diff --git a/peripherals/touch/ft6236/Kconfig b/peripherals/touch/ft6236/Kconfig index fbdb7b8ed9..d8602af5a1 100644 --- a/peripherals/touch/ft6236/Kconfig +++ b/peripherals/touch/ft6236/Kconfig @@ -13,7 +13,7 @@ if PKG_USING_FT6236 config PKG_USING_FT6236_SAMPLE bool "enable samples" default n - + choice prompt "Version" default PKG_USING_FT6236_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_FT6236 config PKG_USING_FT6236_LATEST_VERSION bool "latest" endchoice - + config PKG_FT6236_VER string default "v1.0.0" if PKG_USING_FT6236_V100 diff --git a/peripherals/touch/gt1151/Kconfig b/peripherals/touch/gt1151/Kconfig index 6548254ba9..e99acdb6b0 100644 --- a/peripherals/touch/gt1151/Kconfig +++ b/peripherals/touch/gt1151/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_GT1151 config PKG_USING_GT1151_LATEST_VERSION bool "latest" endchoice - + config PKG_GT1151_VER string default "v1.0.0" if PKG_USING_GT1151_V100 @@ -32,23 +32,23 @@ if PKG_USING_GT1151 config GT1151_BUS_NAME string "the i2c bus for gt1151" default "i2c1" - + config GT1151_RST_PIN int "reset pin for gt1151" default 51 - + config GT1151_IRQ_PIN int "interrupt pin for gt1151" default 108 - + config GT1151_TOUCH_WIDTH int "lcd width" default 800 - + config GT1151_TOUCH_HEIGHT int "lcd height" default 480 - + config GT1151_SUPPORT_POINTS int "gt1151 supported touch points" default 10 diff --git a/peripherals/touch/gt911/Kconfig b/peripherals/touch/gt911/Kconfig index eaca46d06d..a308f114a9 100644 --- a/peripherals/touch/gt911/Kconfig +++ b/peripherals/touch/gt911/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_GT911 config PKG_USING_GT911_LATEST_VERSION bool "latest" endchoice - + config PKG_GT911_VER string default "v1.0.0" if PKG_USING_GT911_V100 diff --git a/peripherals/touch/gt9147/Kconfig b/peripherals/touch/gt9147/Kconfig index c19ae30f50..9719bd664d 100644 --- a/peripherals/touch/gt9147/Kconfig +++ b/peripherals/touch/gt9147/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_GT9147 config PKG_USING_GT9147_LATEST_VERSION bool "latest" endchoice - + config PKG_GT9147_VER string default "v1.0.0" if PKG_USING_GT9147_V100 diff --git a/peripherals/touch/gt917s/Kconfig b/peripherals/touch/gt917s/Kconfig index aa041e481d..0f4c587e1c 100644 --- a/peripherals/touch/gt917s/Kconfig +++ b/peripherals/touch/gt917s/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_GT917S config PKG_USING_GT917S_LATEST_VERSION bool "latest" endchoice - + config PKG_GT917S_VER string default "v1.0.0" if PKG_USING_GT917S_V100 diff --git a/peripherals/vdevice/Kconfig b/peripherals/vdevice/Kconfig index 7b7421e942..0e1fa81bef 100644 --- a/peripherals/vdevice/Kconfig +++ b/peripherals/vdevice/Kconfig @@ -14,7 +14,7 @@ if PKG_USING_VDEVICE bool "Use virtualized pin " select RT_USING_PIN default n - + if VDEVICE_USING_PIN config VDEVICE_PIN_NAME string "vdevice pin name" @@ -35,7 +35,7 @@ if PKG_USING_VDEVICE bool "Use virtualized touch " select RT_USING_TOUCH default n - + if VDEVICE_USING_TOUCH config VDEVICE_TOUCH_NAME string "vdevice touch name" diff --git a/peripherals/wk2124/Kconfig b/peripherals/wk2124/Kconfig index 2fe0a15626..ae38772a15 100644 --- a/peripherals/wk2124/Kconfig +++ b/peripherals/wk2124/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_WK2124 config PKG_USING_UART_SWK4 bool "Enable UART SWK4" default y - + config WK2124_DEVICE_EXTERN_CONFIG bool default n @@ -42,7 +42,7 @@ if PKG_USING_WK2124 config WK2124_IRQ_PIN int "IRQ pin number" default 17 - + if PKG_USING_WK2124_V100 choice prompt "Select crystal frequency" @@ -68,7 +68,7 @@ if PKG_USING_WK2124 bool "32MHz" endchoice endif - + if !PKG_USING_WK2124_V100 config WK2124_Fosc int "Set crystal frequency. Unit Hz" @@ -93,7 +93,7 @@ if PKG_USING_WK2124 config PKG_USING_WK2124_LATEST_VERSION bool "latest" endchoice - + config PKG_WK2124_VER string default "v1.0.0" if PKG_USING_WK2124_V100 diff --git a/peripherals/ws2812b/Kconfig b/peripherals/ws2812b/Kconfig index d891e28da1..be70a828df 100644 --- a/peripherals/ws2812b/Kconfig +++ b/peripherals/ws2812b/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_WS2812B config PKG_USING_WS2812B_LATEST_VERSION bool "latest" endchoice - + config PKG_WS2812B_VER string default "latest" if PKG_USING_WS2812B_LATEST_VERSION diff --git a/security/yd_crypto/Kconfig b/security/yd_crypto/Kconfig index 55d6e4cfa0..769608b7fa 100644 --- a/security/yd_crypto/Kconfig +++ b/security/yd_crypto/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_YD_CRYPTO config PKG_USING_YD_CRYPTO_LATEST_VERSION bool "latest" endchoice - + config PKG_YD_CRYPTO_VER string default "v1.1.01" if PKG_USING_YD_CRYPTO_V1101 diff --git a/system/Arm-2D/Kconfig b/system/Arm-2D/Kconfig index 51fc121ff0..64590bbc54 100644 --- a/system/Arm-2D/Kconfig +++ b/system/Arm-2D/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_ARM_2D config PKG_USING_ARM_2D_LATEST_VERSION bool "latest" endchoice - + config PKG_ARM_2D_VER string default "latest" if PKG_USING_ARM_2D_LATEST_VERSION diff --git a/system/CMSIS/CMSIS_5/Kconfig b/system/CMSIS/CMSIS_5/Kconfig index ac66a37769..f937abf19f 100644 --- a/system/CMSIS/CMSIS_5/Kconfig +++ b/system/CMSIS/CMSIS_5/Kconfig @@ -47,7 +47,7 @@ if PKG_USING_CMSIS_5 config PKG_CMSIS_DSP bool "A suite of common signal processing functions for Cortex-M" default n - + config PKG_CMSIS_5_AUX_VER string default "latest" if PKG_USING_CMSIS_5_AUX_LATEST_VERSION diff --git a/system/CMSIS/CMSIS_RTOS2/Kconfig b/system/CMSIS/CMSIS_RTOS2/Kconfig index f8bcfe3b4e..b7f92817ef 100644 --- a/system/CMSIS/CMSIS_RTOS2/Kconfig +++ b/system/CMSIS/CMSIS_RTOS2/Kconfig @@ -20,7 +20,7 @@ if PKG_USING_CMSIS_RTOS2 config PKG_USING_CMSIS_RTOS2_LATEST_VERSION bool "latest" endchoice - + config PKG_CMSIS_RTOS2_VER string default "latest" if PKG_USING_CMSIS_RTOS2_LATEST_VERSION diff --git a/system/FlashDB/Kconfig b/system/FlashDB/Kconfig index 51e1e47fe6..6cc9e136f0 100644 --- a/system/FlashDB/Kconfig +++ b/system/FlashDB/Kconfig @@ -9,7 +9,7 @@ if PKG_USING_FLASHDB config PKG_FLASHDB_PATH string default "/packages/system/FlashDB" - + config FDB_USING_KVDB bool prompt "Using KVDB feature" @@ -92,7 +92,7 @@ if PKG_USING_FLASHDB config PKG_USING_FLASHDB_LATEST_VERSION bool "latest" endchoice - + config PKG_FLASHDB_VER string default "v1.0.0" if PKG_USING_FLASHDB_V10000 diff --git a/system/Micrium/uCOSIII_Wrapper/Kconfig b/system/Micrium/uCOSIII_Wrapper/Kconfig index 0e25b57855..9e3bb360b1 100644 --- a/system/Micrium/uCOSIII_Wrapper/Kconfig +++ b/system/Micrium/uCOSIII_Wrapper/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_UCOSIII_WRAPPER default y help The wrapper supports uCOS-III standard startup procedure. Alternatively, - if you want to run uCOS-III apps directly and ignore the startup procedure, + if you want to run uCOS-III apps directly and ignore the startup procedure, you can choose this option. config PKG_USING_UCOSIII_WRAPPER_TINY @@ -38,7 +38,7 @@ if PKG_USING_UCOSIII_WRAPPER config PKG_USING_UCOSIII_WRAPPER_LATEST_VERSION bool "latest" endchoice - + config PKG_UCOSIII_WRAPPER_VER string default "v1.0.0" if PKG_USING_UCOSIII_WRAPPER_V100 diff --git a/system/Micrium/uCOSII_Wrapper/Kconfig b/system/Micrium/uCOSII_Wrapper/Kconfig index 477689479b..8e66f8f57b 100644 --- a/system/Micrium/uCOSII_Wrapper/Kconfig +++ b/system/Micrium/uCOSII_Wrapper/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_UCOSII_WRAPPER default y help The wrapper supports uCOS-II standard startup procedure. Alternatively, - if you want to run uCOS-II apps directly and ignore the startup procedure, + if you want to run uCOS-II apps directly and ignore the startup procedure, you can choose this option. config PKG_USING_UCOSII_WRAPPER_TINY @@ -38,7 +38,7 @@ if PKG_USING_UCOSII_WRAPPER config PKG_USING_UCOSII_WRAPPER_LATEST_VERSION bool "latest" endchoice - + config PKG_UCOSII_WRAPPER_VER string default "v1.0.0" if PKG_USING_UCOSII_WRAPPER_V100 diff --git a/system/Micrium/uC_CLK/Kconfig b/system/Micrium/uC_CLK/Kconfig index 9b526754f8..2341244aab 100644 --- a/system/Micrium/uC_CLK/Kconfig +++ b/system/Micrium/uC_CLK/Kconfig @@ -36,7 +36,7 @@ if PKG_USING_UC_CLK config PKG_USING_UC_CLK_LATEST_VERSION bool "latest" endchoice - + config PKG_UC_CLK_VER string default "v1.0.0" if PKG_USING_UC_CLK_V100 diff --git a/system/Micrium/uC_Common/Kconfig b/system/Micrium/uC_Common/Kconfig index 119fe5424e..7954d06fad 100644 --- a/system/Micrium/uC_Common/Kconfig +++ b/system/Micrium/uC_Common/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_UC_COMMON config PKG_USING_UC_COMMON_LATEST_VERSION bool "latest" endchoice - + config PKG_UC_COMMON_VER string default "v1.0.0" if PKG_USING_UC_COMMON_V100 diff --git a/system/Micrium/uC_Modbus/Kconfig b/system/Micrium/uC_Modbus/Kconfig index 8704ad1b0b..32687c361e 100644 --- a/system/Micrium/uC_Modbus/Kconfig +++ b/system/Micrium/uC_Modbus/Kconfig @@ -31,7 +31,7 @@ if PKG_USING_UC_MODBUS config PKG_USING_UC_MODBUS_LATEST_VERSION bool "latest" endchoice - + config PKG_UC_MODBUS_VER string default "v1.0.0" if PKG_USING_UC_MODBUS_V100 diff --git a/system/Ppool/Kconfig b/system/Ppool/Kconfig index 0095b4cd8c..7eb0c77e12 100644 --- a/system/Ppool/Kconfig +++ b/system/Ppool/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_PPOOL config PKG_USING_PPOOL_LATEST_VERSION bool "latest" endchoice - + config PKG_PPOOL_VER string default "latest" if PKG_USING_PPOOL_LATEST_VERSION diff --git a/system/RTduino/Kconfig b/system/RTduino/Kconfig index 64df970e33..598e7b1eef 100644 --- a/system/RTduino/Kconfig +++ b/system/RTduino/Kconfig @@ -33,7 +33,7 @@ if RT_USING_ARDUINO config PKG_USING_RTDUINO_LATEST_VERSION bool "latest" endchoice - + config PKG_RTDUINO_VER string default "latest" if PKG_USING_RTDUINO_LATEST_VERSION diff --git a/system/TinyUSB/Kconfig b/system/TinyUSB/Kconfig index 1fa17d2caf..9e0aabdfbe 100644 --- a/system/TinyUSB/Kconfig +++ b/system/TinyUSB/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_TINYUSB config PKG_TINYUSB_DEVICE_CDC bool "Using Communication Device Class (CDC)" default n - + if PKG_TINYUSB_DEVICE_CDC config CFG_TUD_CDC int @@ -49,7 +49,7 @@ if PKG_USING_TINYUSB config PKG_TINYUSB_DEVICE_EXAMPLE bool "Enable USB device example" default n - + if PKG_TINYUSB_DEVICE_EXAMPLE config PKG_TINYUSB_DEVICE_EXAMPLE_CDC bool "CDC device" @@ -65,7 +65,7 @@ if PKG_USING_TINYUSB config PKG_USING_TINYUSB_LATEST_VERSION bool "latest" endchoice - + config PKG_TINYUSB_VER string default "latest" if PKG_USING_TINYUSB_LATEST_VERSION diff --git a/system/acceleration/Qfplib_M0_full/Kconfig b/system/acceleration/Qfplib_M0_full/Kconfig index d9ca9093c5..727ba38555 100644 --- a/system/acceleration/Qfplib_M0_full/Kconfig +++ b/system/acceleration/Qfplib_M0_full/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_QFPLIB_M0_FULL config PKG_USING_QFPLIB_M0_FULL_LATEST_VERSION bool "latest" endchoice - + config PKG_QFPLIB_M0_FULL_VER string default "latest" if PKG_USING_QFPLIB_M0_FULL_LATEST_VERSION diff --git a/system/acceleration/Qfplib_M0_tiny/Kconfig b/system/acceleration/Qfplib_M0_tiny/Kconfig index a05498c773..c6f4e1ad4f 100644 --- a/system/acceleration/Qfplib_M0_tiny/Kconfig +++ b/system/acceleration/Qfplib_M0_tiny/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_QFPLIB_M0_TINY config PKG_USING_QFPLIB_M0_TINY_LATEST_VERSION bool "latest" endchoice - + config PKG_QFPLIB_M0_TINY_VER string default "latest" if PKG_USING_QFPLIB_M0_TINY_LATEST_VERSION diff --git a/system/acceleration/Qfplib_M3/Kconfig b/system/acceleration/Qfplib_M3/Kconfig index ae3c535aef..ceeaa700de 100644 --- a/system/acceleration/Qfplib_M3/Kconfig +++ b/system/acceleration/Qfplib_M3/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_QFPLIB_M3 config PKG_USING_QFPLIB_M3_LATEST_VERSION bool "latest" endchoice - + config PKG_QFPLIB_M3_VER string default "latest" if PKG_USING_QFPLIB_M3_LATEST_VERSION diff --git a/system/enhanced-kservice/rt_kprintf_threadsafe/Kconfig b/system/enhanced-kservice/rt_kprintf_threadsafe/Kconfig index 0c6d987ec1..2f7bba8ba6 100644 --- a/system/enhanced-kservice/rt_kprintf_threadsafe/Kconfig +++ b/system/enhanced-kservice/rt_kprintf_threadsafe/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_RT_KPRINTF_THREADSAFE config PKG_USING_RT_KPRINTF_THREADSAFE_LATEST_VERSION bool "latest" endchoice - + config PKG_RT_KPRINTF_THREADSAFE_VER string default "latest" if PKG_USING_RT_KPRINTF_THREADSAFE_LATEST_VERSION diff --git a/system/enhanced-kservice/rt_vsnprintf_full/Kconfig b/system/enhanced-kservice/rt_vsnprintf_full/Kconfig index 09b1644741..4f279dc17b 100644 --- a/system/enhanced-kservice/rt_vsnprintf_full/Kconfig +++ b/system/enhanced-kservice/rt_vsnprintf_full/Kconfig @@ -41,7 +41,7 @@ if PKG_USING_RT_VSNPRINTF_FULL config PKG_USING_RT_VSNPRINTF_FULL_LATEST_VERSION bool "latest" endchoice - + config PKG_RT_VSNPRINTF_FULL_VER string default "latest" if PKG_USING_RT_VSNPRINTF_FULL_LATEST_VERSION diff --git a/system/event_recorder/Kconfig b/system/event_recorder/Kconfig index c7a69a4878..0bec1b494e 100644 --- a/system/event_recorder/Kconfig +++ b/system/event_recorder/Kconfig @@ -30,7 +30,7 @@ if PKG_USING_EVENT_RECORDER config PKG_USING_EVENT_RECORDER_LATEST_VERSION bool "latest" endchoice - + config PKG_EVENT_RECORDER_VER string default "v0.1.0" if PKG_USING_EVENT_RECORDER_V010 diff --git a/system/fal/Kconfig b/system/fal/Kconfig index 3d5134fe04..27d24b2520 100644 --- a/system/fal/Kconfig +++ b/system/fal/Kconfig @@ -96,8 +96,8 @@ if PKG_USING_FAL hex default 0x99999 if PKG_USING_FAL_LATEST_VERSION default 0x00500 if PKG_USING_FAL_V00500 - default 0x00400 if PKG_USING_FAL_V00400 - default 0x00300 if PKG_USING_FAL_V00300 + default 0x00400 if PKG_USING_FAL_V00400 + default 0x00300 if PKG_USING_FAL_V00300 default 0x00200 if PKG_USING_FAL_V00200 default 0x00100 if PKG_USING_FAL_V00100 diff --git a/system/gui_engine/Kconfig b/system/gui_engine/Kconfig index 4eb83c7b16..70fe97fc03 100644 --- a/system/gui_engine/Kconfig +++ b/system/gui_engine/Kconfig @@ -115,7 +115,7 @@ endif config GUIENGINE_USING_HDC bool "Support HDC image format" default n - + config GUIENGINE_USING_FASTLZ depends on GUIENGINE_USING_HDC bool "Select the PKG_USING_FASTLZ for hdc" diff --git a/system/jffs2/Kconfig b/system/jffs2/Kconfig index 3292bf5648..10bf567379 100644 --- a/system/jffs2/Kconfig +++ b/system/jffs2/Kconfig @@ -13,7 +13,7 @@ if PKG_USING_DFS_JFFS2 config PKG_JFFS2_PATH string default "/packages/system/jffs2" - + config RT_USING_DFS_JFFS2 bool default y @@ -27,7 +27,7 @@ if PKG_USING_DFS_JFFS2 config PKG_USING_DFS_JFFS2_LATEST_VERSION bool "latest" endchoice - + config PKG_JFFS2_VER string default "latest" if PKG_USING_DFS_JFFS2_LATEST_VERSION diff --git a/system/mcuboot/Kconfig b/system/mcuboot/Kconfig index 482e2d3c47..2ca5e91664 100644 --- a/system/mcuboot/Kconfig +++ b/system/mcuboot/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_MCUBOOT config PKG_USING_MCUBOOT_LATEST_VERSION bool "latest" endchoice - + config PKG_MCUBOOT_VER string default "v1.8.0" if PKG_USING_MCUBOOT_V180 diff --git a/system/openamp/Kconfig b/system/openamp/Kconfig index d04d9be949..b6423bf56a 100644 --- a/system/openamp/Kconfig +++ b/system/openamp/Kconfig @@ -8,13 +8,13 @@ if PKG_USING_OPENAMP config PKG_OPENAMP_PATH string default "/packages/system/openamp" - + config RT_USING_OPENAMP - bool "ENABLE OpenAMP" + bool "ENABLE OpenAMP" default y config RT_USING_OPENAMP_TEST - bool "ENABLE OpenAMP test" + bool "ENABLE OpenAMP test" default y choice diff --git a/system/plccore/Kconfig b/system/plccore/Kconfig index c452a4e294..189bdcca36 100644 --- a/system/plccore/Kconfig +++ b/system/plccore/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_PLCCORE config PKG_USING_PLCCORE_LATEST_VERSION bool "latest" endchoice - + config PKG_PLCCORE_VER string default "latest" if PKG_USING_PLCCORE_LATEST_VERSION diff --git a/system/qboot/Kconfig b/system/qboot/Kconfig index 79c05df878..4de2458b81 100644 --- a/system/qboot/Kconfig +++ b/system/qboot/Kconfig @@ -12,17 +12,17 @@ if PKG_USING_QBOOT config PKG_QBOOT_PATH string default "/packages/system/qboot" - + config QBOOT_USING_PRODUCT_CODE bool "using product code" default n - - if QBOOT_USING_PRODUCT_CODE + + if QBOOT_USING_PRODUCT_CODE config QBOOT_PRODUCT_CODE string "product code, maximum 20 characters" default "00010203040506070809" endif - + config QBOOT_APP_PART_NAME string "application partition name" default "app" @@ -34,18 +34,18 @@ if PKG_USING_QBOOT config QBOOT_FACTORY_PART_NAME string "factory partition name" default "factory" - + config QBOOT_USING_AES bool "using AES decrypt" select PKG_USING_TINYCRYPT select TINY_CRYPT_AES default n - + if QBOOT_USING_AES config QBOOT_AES_IV string "AES initialization vector, 16 characters" default "0123456789ABCDEF" - + config QBOOT_AES_KEY string "AES round keys, 32 characters" default "0123456789ABCDEF0123456789ABCDEF" @@ -79,7 +79,7 @@ if PKG_USING_QBOOT config QBOOT_USING_SYSWATCH bool "using syswatch component" select PKG_USING_SYSWATCH - default y + default y config QBOOT_USING_OTA_DOWNLOADER bool "using OTA_download component" @@ -109,13 +109,13 @@ if PKG_USING_QBOOT bool "using running status led" select PKG_USING_QLED default y - + if QBOOT_USING_STATUS_LED config QBOOT_STATUS_LED_PIN int "running status led pin" range 0 176 default 0 - + config QBOOT_STATUS_LED_LEVEL int "led on level" range 0 1 @@ -131,7 +131,7 @@ if PKG_USING_QBOOT int "resume factory key pin" range 0 176 default 1 - + config QBOOT_FACTORY_KEY_LEVEL int "the level after key is pressed" range 0 1 @@ -141,18 +141,18 @@ if PKG_USING_QBOOT int "timeout when the key is pressed continuously, unit : s" default 10 endif - + config QBOOT_APP_RUN_IN_QSPI_FLASH bool "appl run in external flash" default n config QBOOT_THREAD_STACK_SIZE int "The stack size of thread" - default 4096 + default 4096 config QBOOT_THREAD_PRIO int "The priority of thread" - default 5 + default 5 choice prompt "Version" @@ -162,22 +162,22 @@ if PKG_USING_QBOOT config PKG_USING_QBOOT_LATEST_VERSION bool "latest" - + config PKG_USING_QBOOT_V105 bool "v1.05" - + config PKG_USING_QBOOT_V104 bool "v1.04" - + config PKG_USING_QBOOT_V103 bool "v1.03" - + config PKG_USING_QBOOT_V102 bool "v1.02" - + config PKG_USING_QBOOT_V101 bool "v1.01" - + config PKG_USING_QBOOT_V100 bool "v1.00" endchoice diff --git a/system/ramdisk/Kconfig b/system/ramdisk/Kconfig index 9a410090fa..465df20951 100644 --- a/system/ramdisk/Kconfig +++ b/system/ramdisk/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_RAMDISK config PKG_USING_RAMDISK_LATEST_VERSION bool "latest" endchoice - + config PKG_RAMDISK_VER string default "v0.1.0" if PKG_USING_RAMDISK_V010 diff --git a/system/sqlite/Kconfig b/system/sqlite/Kconfig index 06cbb9e901..5ab4ce9547 100644 --- a/system/sqlite/Kconfig +++ b/system/sqlite/Kconfig @@ -17,12 +17,12 @@ if PKG_USING_SQLITE config PKG_SQLITE_SQL_MAX_LEN int "SQL statements max length" default 1024 - + config PKG_SQLITE_DB_NAME_MAX_LEN int "Database filename(fullpath) length" range 8 256 default 64 - + config PKG_SQLITE_DAO_EXAMPLE bool "Enable example" default y diff --git a/system/sys_load_monitor/Kconfig b/system/sys_load_monitor/Kconfig index 92bd39d1a7..91cd332b3d 100644 --- a/system/sys_load_monitor/Kconfig +++ b/system/sys_load_monitor/Kconfig @@ -38,7 +38,7 @@ if PKG_USING_SYS_LOAD_MONITOR config PKG_USING_SYS_LOAD_MONITOR_LATEST_VERSION bool "latest" endchoice - + config PKG_SYS_LOAD_MONITOR_VER string default "v1.0.0" if PKG_USING_SYS_LOAD_MONITOR_V100 diff --git a/system/syswatch/Kconfig b/system/syswatch/Kconfig index 3ce7874f0b..5d8292b76d 100644 --- a/system/syswatch/Kconfig +++ b/system/syswatch/Kconfig @@ -25,14 +25,14 @@ if PKG_USING_SYSWATCH config SYSWATCH_EXCEPT_RESOLVE_MODE_0 bool "0.system reset" - + config SYSWATCH_EXCEPT_RESOLVE_MODE_1 bool "1.kill exception thread" - + config SYSWATCH_EXCEPT_RESOLVE_MODE_2 bool "2.resume exception thread" endchoice - + config SYSWATCH_EXCEPT_RESOLVE_MODE int default 0 if SYSWATCH_EXCEPT_RESOLVE_MODE_0 @@ -45,31 +45,31 @@ if PKG_USING_SYSWATCH config SYSWATCH_EXCEPT_CONFIRM_TMO int "Timeout of confirm exception thread, unit : s" - default 15 + default 15 config SYSWATCH_EXCEPT_RESUME_DLY int "Delay time of resume exception thread, unit : s" - default 15 + default 15 config SYSWATCH_THREAD_PRIO int "The priority of syswatch thread" - default 0 + default 0 config SYSWATCH_THREAD_STK_SIZE int "The stack size of syswatch thread" - default 512 + default 512 config SYSWATCH_THREAD_NAME string "The name of syswatch thread" - default "syswatch" + default "syswatch" config SYSWATCH_WDT_NAME string "The name of watchdog device" - default "wdt" + default "wdt" config SYSWATCH_WDT_TIMEOUT int "Timeout of watchdog device" - default 5 + default 5 choice prompt "Version" @@ -79,10 +79,10 @@ if PKG_USING_SYSWATCH config PKG_USING_SYSWATCH_LATEST_VERSION bool "latest" - + config PKG_USING_SYSWATCH_V100 bool "v1.0.0" - + endchoice config PKG_SYSWATCH_VER diff --git a/system/thread_pool/Kconfig b/system/thread_pool/Kconfig index c7c961b130..5f0279bf74 100644 --- a/system/thread_pool/Kconfig +++ b/system/thread_pool/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_THREAD_POOL config PKG_USING_THREAD_POOL_LATEST_VERSION bool "latest" endchoice - + config PKG_THREAD_POOL_VER string default "v4.0.1" if PKG_USING_THREAD_POOL_V401 diff --git a/system/tlsf/Kconfig b/system/tlsf/Kconfig index ebea37fd84..489073bdc3 100644 --- a/system/tlsf/Kconfig +++ b/system/tlsf/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_TLSF config PKG_USING_TLSF_LATEST_VERSION bool "latest" endchoice - + config PKG_TLSF_VER string default "latest" if PKG_USING_TLSF_LATEST_VERSION diff --git a/system/uffs/Kconfig b/system/uffs/Kconfig index 2bb4ca0e85..8a1c62dad5 100644 --- a/system/uffs/Kconfig +++ b/system/uffs/Kconfig @@ -50,7 +50,7 @@ if PKG_USING_DFS_UFFS config PKG_USING_DFS_UFFS_LATEST_VERSION bool "latest" endchoice - + config PKG_UFFS_VER string default "latest" if PKG_USING_DFS_UFFS_LATEST_VERSION diff --git a/system/usb_stack/Kconfig b/system/usb_stack/Kconfig index 6a7edaac1f..3ed474c2ea 100644 --- a/system/usb_stack/Kconfig +++ b/system/usb_stack/Kconfig @@ -20,53 +20,53 @@ menu "USB Stack Options" config PKG_USB_STACK_USING_HS bool "HS" endchoice - + config PKG_USB_STACK_USING_DEVICE bool prompt "Enable usb device mode" default n - + config PKG_USB_STACK_USING_CDC bool prompt "Enable usb cdc acm device" default n depends on PKG_USB_STACK_USING_DEVICE - + config PKG_USB_STACK_USING_HID bool prompt "Enable usb hid device" default n depends on PKG_USB_STACK_USING_DEVICE - + config PKG_USB_STACK_USING_DFU bool prompt "Enable usb dfu device" default n depends on PKG_USB_STACK_USING_DEVICE - + config PKG_USB_STACK_USING_MSC bool prompt "Enable usb msc device" default n - depends on PKG_USB_STACK_USING_DEVICE - + depends on PKG_USB_STACK_USING_DEVICE + config PKG_USB_STACK_USING_HUB bool prompt "Enable usb hub device" default n - depends on PKG_USB_STACK_USING_DEVICE - + depends on PKG_USB_STACK_USING_DEVICE + config PKG_USB_STACK_USING_AUDIO bool prompt "Enable usb audio device" default n - depends on PKG_USB_STACK_USING_DEVICE - + depends on PKG_USB_STACK_USING_DEVICE + config PKG_USB_STACK_USING_VIDEO bool prompt "Enable usb video device" default n - depends on PKG_USB_STACK_USING_DEVICE + depends on PKG_USB_STACK_USING_DEVICE endmenu @@ -83,7 +83,7 @@ endmenu config PKG_USING_USB_STACK_LATEST_VERSION bool "latest" endchoice - + config PKG_USB_STACK_VER string default "latest" if PKG_USING_USB_STACK_LATEST_VERSION diff --git a/tools/ChineseFontLibrary/Kconfig b/tools/ChineseFontLibrary/Kconfig index c5b9f1b5a2..ed63578bd2 100644 --- a/tools/ChineseFontLibrary/Kconfig +++ b/tools/ChineseFontLibrary/Kconfig @@ -23,7 +23,7 @@ if PKG_USING_CHINESE_FONT_LIBRARY config PKG_USING_CHINESE_FONT_LIBRARY_LATEST_VERSION bool "latest" endchoice - + config PKG_CHINESE_FONT_LIBRARY_VER string default "v1.0.0" if PKG_USING_CHINESE_FONT_LIBRARY_V100 diff --git a/tools/CoreMark/Kconfig b/tools/CoreMark/Kconfig index fd764fda14..111f6b94b0 100644 --- a/tools/CoreMark/Kconfig +++ b/tools/CoreMark/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_COREMARK default PKG_USING_COREMARK_LATEST_VERSION help Select the this package version - + config PKG_USING_COREMARK_LATEST_VERSION bool "latest" endchoice diff --git a/tools/Dhrystone/Kconfig b/tools/Dhrystone/Kconfig index 1674fd2c98..8b75891507 100644 --- a/tools/Dhrystone/Kconfig +++ b/tools/Dhrystone/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_DHRYSTONE default PKG_USING_DHRYSTONE_LATEST_VERSION help Select the this package version - + config PKG_USING_DHRYSTONE_LATEST_VERSION bool "latest" endchoice diff --git a/tools/EasyFlash/Kconfig b/tools/EasyFlash/Kconfig index bb0a4defd8..d246804e95 100644 --- a/tools/EasyFlash/Kconfig +++ b/tools/EasyFlash/Kconfig @@ -114,7 +114,7 @@ if PKG_USING_EASYFLASH config PKG_USING_EASYFLASH_V410 bool "v4.1.0" - + config PKG_USING_EASYFLASH_V400 bool "v4.0.0" diff --git a/tools/MemoryPerf/Kconfig b/tools/MemoryPerf/Kconfig index f28b35f62e..f4b86173eb 100644 --- a/tools/MemoryPerf/Kconfig +++ b/tools/MemoryPerf/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_MEMORYPERF config PKG_USING_MEMORYPERF_LATEST_VERSION bool "latest" endchoice - + config PKG_MEMORYPERF_VER string default "v1.0.0" if PKG_USING_MEMORYPERF_V100 diff --git a/tools/Micro-XRCE-DDS-Client/Kconfig b/tools/Micro-XRCE-DDS-Client/Kconfig index cf9100b965..dd9d4fe396 100644 --- a/tools/Micro-XRCE-DDS-Client/Kconfig +++ b/tools/Micro-XRCE-DDS-Client/Kconfig @@ -6,14 +6,14 @@ menuconfig PKG_USING_MICRO_XRCE_DDS_CLIENT if PKG_USING_MICRO_XRCE_DDS_CLIENT - menu "Micro-XRCE-DDS-Client Options" - - config MICRO_XRCE_DDS_CLIENT_USING_EXAMPLE + menu "Micro-XRCE-DDS-Client Options" + + config MICRO_XRCE_DDS_CLIENT_USING_EXAMPLE bool prompt "Enable uros examples" default y - - endmenu + + endmenu config PKG_MICRO_XRCE_DDS_CLIENT_PATH string @@ -28,7 +28,7 @@ if PKG_USING_MICRO_XRCE_DDS_CLIENT config PKG_USING_MICRO_XRCE_DDS_CLIENT_LATEST_VERSION bool "latest" endchoice - + config PKG_MICRO_XRCE_DDS_CLIENT_VER string default "latest" if PKG_USING_MICRO_XRCE_DDS_CLIENT_LATEST_VERSION diff --git a/tools/SEGGER_RTT/Kconfig b/tools/SEGGER_RTT/Kconfig index ed0af414f9..9573f35561 100644 --- a/tools/SEGGER_RTT/Kconfig +++ b/tools/SEGGER_RTT/Kconfig @@ -13,13 +13,13 @@ menuconfig SEGGER_RTT_ENABLE menuconfig SWO_ENABLE bool "ARM CORTEX M SWO support" default n - + config SWO_PORT_NUMBER int "SWO port number" depends on SWO_ENABLE default 0 - - + + config PKG_SEGGER_RTT_PATH string default "/packages/tools/SEGGER_RTT" @@ -32,14 +32,14 @@ menuconfig SWO_ENABLE config PKG_USING_SEGGER_RTT_V100 bool "v1.0.0" - + config PKG_USING_SEGGER_RTT_V110 bool "v1.1.0" - + config PKG_USING_SEGGER_RTT_LATEST_VERSION bool "latest" endchoice - + config PKG_SEGGER_RTT_VER string default "v1.0.0" if PKG_USING_SEGGER_RTT_V100 diff --git a/tools/SystemView/Kconfig b/tools/SystemView/Kconfig index bc67fe8710..9324272e65 100644 --- a/tools/SystemView/Kconfig +++ b/tools/SystemView/Kconfig @@ -10,94 +10,94 @@ if PKG_USING_SYSTEMVIEW string default "/packages/tools/SystemView" - config PKG_SYSVIEW_APP_NAME - string "App name" - default "RT-Thread Trace" - ---help--- - The application name to be displayed in SystemViewer UI - - config PKG_SYSVIEW_DEVICE_NAME - string "Device name" - default "Cortex-M" - ---help--- - The target device name - - config PKG_SYSVIEW_TIMESTAMP_FREQ - int "Timestap freq" - default 0 - ---help--- - Frequency of the timestamp. Must match SEGGER_SYSVIEW_Conf.h. 0: using SystemCoreClock - - config PKG_SYSVIEW_CPU_FREQ - int "cpu freq" - default 0 - ---help--- - System Frequency. SystemcoreClock is used in most CMSIS compatible projects. 0: using SystemCoreClock - - config PKG_SYSVIEW_RAM_BASE - hex "RAM base" - default 0x20000000 - ---help--- - The lowest RAM address used for IDs (pointers) - - config PKG_SYSVIEW_EVENTID_OFFSET - int "Event ID offset" - default 32 - - config PKG_SYSVIEW_USE_CYCCNT_TIMESTAMP - bool "Using the Cortex-M cycle counter as SystemView timestamp" - default y - ---help--- - "Using the Cortex-M cycle counter as SystemView timestamp" - - config PKG_SYSVIEW_SYSDESC0 - string "System description 0" - default "I#15=SysTick" - ---help--- - format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name - - config PKG_SYSVIEW_SYSDESC1 - string "System description 1" - default "" - ---help--- - format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name - - config PKG_SYSVIEW_SYSDESC2 - string "System description 2" - default "" - ---help--- - format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name + config PKG_SYSVIEW_APP_NAME + string "App name" + default "RT-Thread Trace" + ---help--- + The application name to be displayed in SystemViewer UI + + config PKG_SYSVIEW_DEVICE_NAME + string "Device name" + default "Cortex-M" + ---help--- + The target device name + + config PKG_SYSVIEW_TIMESTAMP_FREQ + int "Timestap freq" + default 0 + ---help--- + Frequency of the timestamp. Must match SEGGER_SYSVIEW_Conf.h. 0: using SystemCoreClock + + config PKG_SYSVIEW_CPU_FREQ + int "cpu freq" + default 0 + ---help--- + System Frequency. SystemcoreClock is used in most CMSIS compatible projects. 0: using SystemCoreClock + + config PKG_SYSVIEW_RAM_BASE + hex "RAM base" + default 0x20000000 + ---help--- + The lowest RAM address used for IDs (pointers) + + config PKG_SYSVIEW_EVENTID_OFFSET + int "Event ID offset" + default 32 + + config PKG_SYSVIEW_USE_CYCCNT_TIMESTAMP + bool "Using the Cortex-M cycle counter as SystemView timestamp" + default y + ---help--- + "Using the Cortex-M cycle counter as SystemView timestamp" + + config PKG_SYSVIEW_SYSDESC0 + string "System description 0" + default "I#15=SysTick" + ---help--- + format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name + + config PKG_SYSVIEW_SYSDESC1 + string "System description 1" + default "" + ---help--- + format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name + + config PKG_SYSVIEW_SYSDESC2 + string "System description 2" + default "" + ---help--- + format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name menu "Segger RTT configuration" config PKG_SEGGER_RTT_MAX_NUM_UP_BUFFERS int "Max num of up buffer" default 3 - ---help--- - Max. number of up-buffers (T->H) available on this target + ---help--- + Max. number of up-buffers (T->H) available on this target config PKG_SEGGER_RTT_MAX_NUM_DOWN_BUFFERS int "Max num of dowm buffer" default 3 - ---help--- - Max. number of down-buffers (H->T) available on this target + ---help--- + Max. number of down-buffers (H->T) available on this target config PKG_SEGGER_RTT_BUFFER_SIZE_UP - int "buffer size up" - default 1024 - ---help--- - Size of the buffer for terminal output of target, up to host + int "buffer size up" + default 1024 + ---help--- + Size of the buffer for terminal output of target, up to host config PKG_SEGGER_RTT_BUFFER_SIZE_DOWN - int "buffer size down" - default 16 - ---help--- - Size of the buffer for terminal input to target from host (Usually keyboard input) + int "buffer size down" + default 16 + ---help--- + Size of the buffer for terminal input to target from host (Usually keyboard input) - config PKG_SEGGER_RTT_PRINTF_BUFFER_SIZE - int "Segger RTT printf buffer size" - default 64 - ---help--- - Size of buffer for RTT printf to bulk-send chars via RTT + config PKG_SEGGER_RTT_PRINTF_BUFFER_SIZE + int "Segger RTT printf buffer size" + default 64 + ---help--- + Size of buffer for RTT printf to bulk-send chars via RTT config PKG_SEGGER_RTT_AS_SERIAL_DEVICE bool "Use Segger RTT channel 0 as RT-Thread Serial Device" @@ -109,89 +109,89 @@ menu "Segger RTT configuration" default "segger" endif - choice + choice prompt "Mode for pre-initialized terminal channel" default PKG_SEGGER_RTT_MODE_ENABLE_NO_BLOCK_SKIP ---help--- - Select the Mode for pre-initialized terminal channel (buffer 0) + Select the Mode for pre-initialized terminal channel (buffer 0) config PKG_SEGGER_RTT_MODE_ENABLE_NO_BLOCK_SKIP bool "No block skip" - ---help--- - Skip. Do not block, output nothing. + ---help--- + Skip. Do not block, output nothing. config PKG_SEGGER_RTT_MODE_ENABLE_NO_BLOCK_TRIM bool "No block trim" - ---help--- - Trim: Do not block, output as much as fits. + ---help--- + Trim: Do not block, output as much as fits. config PKG_SEGGER_RTT_MODE_ENABLE_BLOCK_IF_FIFO_FULL bool "block if fifo full" - ---help--- - Block: Wait until there is space in the buffer + ---help--- + Block: Wait until there is space in the buffer endchoice - config PKG_SEGGER_RTT_MAX_INTERRUPT_PRIORITY - hex "Max Interrupt priority" - default 0x20 - ---help--- - Target is not allowed to perform other RTT operations while string still has not been stored completely. - Otherwise we would probably end up with a mixed string in the buffer. - If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. - SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. - Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. - When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. - (Higher priority = lower priority number) - - - config PKG_SEGGER_RTT_USE_RTT_ASM - bool "Use RTT ASM" - default 64 - ---help--- - n:disable, y:Use assembler version of SEGGER_RTT.c - - config PKG_SEGGER_RTT_MEMCPY_USE_BYTELOOP - bool "memcpy use byte-loop" - default n - ---help--- - n: Use memcpy/SEGGER_RTT_MEMCPY, y: Use a simple byte-loop + config PKG_SEGGER_RTT_MAX_INTERRUPT_PRIORITY + hex "Max Interrupt priority" + default 0x20 + ---help--- + Target is not allowed to perform other RTT operations while string still has not been stored completely. + Otherwise we would probably end up with a mixed string in the buffer. + If using RTT from within interrupts, multiple tasks or multi processors, define the SEGGER_RTT_LOCK() and SEGGER_RTT_UNLOCK() function here. + SEGGER_RTT_MAX_INTERRUPT_PRIORITY can be used in the sample lock routines on Cortex-M3/4. + Make sure to mask all interrupts which can send RTT data, i.e. generate SystemView events, or cause task switches. + When high-priority interrupts must not be masked while sending RTT data, SEGGER_RTT_MAX_INTERRUPT_PRIORITY needs to be adjusted accordingly. + (Higher priority = lower priority number) + + + config PKG_SEGGER_RTT_USE_RTT_ASM + bool "Use RTT ASM" + default 64 + ---help--- + n:disable, y:Use assembler version of SEGGER_RTT.c + + config PKG_SEGGER_RTT_MEMCPY_USE_BYTELOOP + bool "memcpy use byte-loop" + default n + ---help--- + n: Use memcpy/SEGGER_RTT_MEMCPY, y: Use a simple byte-loop endmenu menu "SystemView buffer configuration" - config PKG_SEGGER_SYSVIEW_RTT_BUFFER_SIZE - int "RTT buffer size" - default 1024 - ---help--- - Number of bytes that SystemView uses for the buffer - - config PKG_SEGGER_SYSVIEW_RTT_CHANNEL - int "RTT channel" - default 1 - ---help--- - The RTT channel that SystemView will use. 0: Auto selection - - config PKG_SEGGER_SYSVIEW_USE_STATIC_BUFFER - bool "Use static buffer" - default y - ---help--- - Use a static buffer to generate events instead of a buffer on the stack - - config PKG_SEGGER_SYSVIEW_POST_MORTEM_MODE - bool "Enable post mortem analysis mode" - default n - ---help--- - n: disable, y: Enable post mortem analysis mode" + config PKG_SEGGER_SYSVIEW_RTT_BUFFER_SIZE + int "RTT buffer size" + default 1024 + ---help--- + Number of bytes that SystemView uses for the buffer + + config PKG_SEGGER_SYSVIEW_RTT_CHANNEL + int "RTT channel" + default 1 + ---help--- + The RTT channel that SystemView will use. 0: Auto selection + + config PKG_SEGGER_SYSVIEW_USE_STATIC_BUFFER + bool "Use static buffer" + default y + ---help--- + Use a static buffer to generate events instead of a buffer on the stack + + config PKG_SEGGER_SYSVIEW_POST_MORTEM_MODE + bool "Enable post mortem analysis mode" + default n + ---help--- + n: disable, y: Enable post mortem analysis mode" endmenu menu "SystemView Id configuration" - config PKG_SEGGER_SYSVIEW_ID_BASE - hex "ID Base" - default 0x10000000 - ---help--- - Default value for the lowest Id reported by the application. Can be overridden by the application via SEGGER_SYSVIEW_SetRAMBase(). (i.e. 0x20000000 when all Ids are an address in this RAM) - config PKG_SEGGER_SYSVIEW_ID_SHIFT - int "ID Shift" - default 2 - ---help--- - Number of bits to shift the Id to save bandwidth. (i.e. 2 when Ids are 4 byte aligned) + config PKG_SEGGER_SYSVIEW_ID_BASE + hex "ID Base" + default 0x10000000 + ---help--- + Default value for the lowest Id reported by the application. Can be overridden by the application via SEGGER_SYSVIEW_SetRAMBase(). (i.e. 0x20000000 when all Ids are an address in this RAM) + config PKG_SEGGER_SYSVIEW_ID_SHIFT + int "ID Shift" + default 2 + ---help--- + Number of bits to shift the Id to save bandwidth. (i.e. 2 when Ids are 4 byte aligned) endmenu choice diff --git a/tools/UrlEncode/Kconfig b/tools/UrlEncode/Kconfig index 34b33473e3..3292700029 100644 --- a/tools/UrlEncode/Kconfig +++ b/tools/UrlEncode/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_URLENCODE config PKG_USING_URLENCODE_LATEST_VERSION bool "latest" endchoice - + config PKG_URLENCODE_VER string default "v1.0.0" if PKG_USING_URLENCODE_V100 diff --git a/tools/adbd/Kconfig b/tools/adbd/Kconfig index 313345cba7..2998e4fec6 100644 --- a/tools/adbd/Kconfig +++ b/tools/adbd/Kconfig @@ -35,7 +35,7 @@ if PKG_USING_ADBD config ADB_FILESYNC_STACK_SIZE int "Set file service thread stack size" default 2304 - + config ADB_FILESYNC_RECV_TIMEOUT int "Set file service receive timeout(ms)" default 2000 diff --git a/tools/anv_bench/Kconfig b/tools/anv_bench/Kconfig index dc75de2a2f..f2bfdc26a5 100644 --- a/tools/anv_bench/Kconfig +++ b/tools/anv_bench/Kconfig @@ -33,7 +33,7 @@ if PKG_USING_ANV_BENCH config PKG_USING_ANV_BENCH_LATEST_VERSION bool "latest" endchoice - + config PKG_ANV_BENCH_VER string default "latest" if PKG_USING_ANV_BENCH_LATEST_VERSION diff --git a/tools/anv_memleak/Kconfig b/tools/anv_memleak/Kconfig index 55fb5c9e6e..fe0fb7d3e0 100644 --- a/tools/anv_memleak/Kconfig +++ b/tools/anv_memleak/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_ANV_MEMLEAK config PKG_USING_ANV_MEMLEAK_LATEST_VERSION bool "latest" endchoice - + config PKG_ANV_MEMLEAK_VER string default "latest" if PKG_USING_ANV_MEMLEAK_LATEST_VERSION diff --git a/tools/anv_testsuit/Kconfig b/tools/anv_testsuit/Kconfig index 458f02c182..b464749111 100644 --- a/tools/anv_testsuit/Kconfig +++ b/tools/anv_testsuit/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_ANV_TESTSUIT config PKG_USING_ANV_TESTSUIT_LATEST_VERSION bool "latest" endchoice - + config PKG_ANV_TESTSUIT_VER string default "latest" if PKG_USING_ANV_TESTSUIT_LATEST_VERSION diff --git a/tools/anv_trace/Kconfig b/tools/anv_trace/Kconfig index 7f0a66eed4..a6068abbfc 100644 --- a/tools/anv_trace/Kconfig +++ b/tools/anv_trace/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_ANV_TRACE config PKG_USING_ANV_TRACE_LATEST_VERSION bool "latest" endchoice - + config PKG_ANV_TRACE_VER string default "latest" if PKG_USING_ANV_TRACE_LATEST_VERSION diff --git a/tools/bs8116a/Kconfig b/tools/bs8116a/Kconfig index 8a14180fdd..87aa39a0cf 100644 --- a/tools/bs8116a/Kconfig +++ b/tools/bs8116a/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_BS8116A config PKG_USING_BS8116A_LATEST_VERSION bool "latest" endchoice - + config PKG_BS8116A_VER string default "v0.1.0" if PKG_USING_BS8116A_V010 diff --git a/tools/devmem/Kconfig b/tools/devmem/Kconfig index 19794b64f6..5f582b5012 100644 --- a/tools/devmem/Kconfig +++ b/tools/devmem/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_DEVMEM config PKG_USING_DEVMEM_LATEST_VERSION bool "latest" endchoice - + config PKG_DEVMEM_VER string default "v1.0.0" if PKG_USING_DEVMEM_V100 diff --git a/tools/gan_zhi/Kconfig b/tools/gan_zhi/Kconfig index 358e61333c..368f5b53e0 100644 --- a/tools/gan_zhi/Kconfig +++ b/tools/gan_zhi/Kconfig @@ -27,7 +27,7 @@ if PKG_USING_GAN_ZHI config PKG_USING_GAN_ZHI_LATEST_VERSION bool "latest" endchoice - + config PKG_GAN_ZHI_VER string default "v1.0.0" if PKG_USING_GAN_ZHI_V100 diff --git a/tools/gbk2utf8/Kconfig b/tools/gbk2utf8/Kconfig index 8b168b4698..9fcaef9435 100644 --- a/tools/gbk2utf8/Kconfig +++ b/tools/gbk2utf8/Kconfig @@ -22,10 +22,10 @@ if PKG_USING_GBK2UTF8 config PKG_USING_GBK2UTF8_LATEST_VERSION bool "latest" endchoice - + config PKG_GBK2UTF8_VER string - default "v1.0.0" if PKG_USING_GBK2UTF8_V100 + default "v1.0.0" if PKG_USING_GBK2UTF8_V100 default "latest" if PKG_USING_GBK2UTF8_LATEST_VERSION endif diff --git a/tools/gps_rmc/Kconfig b/tools/gps_rmc/Kconfig index 6b2217106e..e9853750f7 100644 --- a/tools/gps_rmc/Kconfig +++ b/tools/gps_rmc/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_GPS_RMC config PKG_USING_GPS_RMC_LATEST_VERSION bool "latest" endchoice - + config PKG_GPS_RMC_VER string default "latest" if PKG_USING_GPS_RMC_LATEST_VERSION diff --git a/tools/kdb/Kconfig b/tools/kdb/Kconfig index ecbad99f7b..71fd1f62ae 100644 --- a/tools/kdb/Kconfig +++ b/tools/kdb/Kconfig @@ -9,8 +9,8 @@ if PKG_USING_KDB config PKG_KDB_PATH string default "/packages/tools/kdb" - - config KDB_MAX_DATA_LEN + + config KDB_MAX_DATA_LEN int "the maximum of data package length" default 64 @@ -22,11 +22,11 @@ if PKG_USING_KDB bool "Enable KDB system automatic initialization" default n - config KDB_SYS_BUFF_SIZE + config KDB_SYS_BUFF_SIZE int "the maximun system buffer size" default 4096 - config KDB_SYS_NAME_LEN + config KDB_SYS_NAME_LEN int "the maximun system name length" default 8 @@ -45,11 +45,11 @@ if PKG_USING_KDB if KDB_THREAD_DUMP config KDB_THREAD_SUSPEND_DUMP bool "Enable KDB thread suspend dump" - default n - + default n + config KDB_THREAD_RESUME_DUMP bool "Enable KDB thread resume dump" - default n + default n config KDB_THREAD_INITED_DUMP bool "Enable KDB thread inited dump" @@ -91,7 +91,7 @@ if PKG_USING_KDB if KDB_OBJECT_DUMP config KDB_THREAD_OBJECT_DUMP bool "Enable KDB thread object dump" - default n + default n config KDB_SEMAPHORE_OBJECT_DUMP bool "Enable KDB semaphore object dump" @@ -177,7 +177,7 @@ if PKG_USING_KDB config KDB_ENABLE_CUSTOMIZE_OUTPUT bool "Enable KDB customize output" default n - + config KDB_TEST_ENABLE bool "Enable KDB test" default n @@ -194,7 +194,7 @@ if PKG_USING_KDB config PKG_USING_KDB_LATEST_VERSION bool "latest" endchoice - + config PKG_KDB_VER string default "v1.0.0" if PKG_USING_KDB_V100 diff --git a/tools/logmgr/Kconfig b/tools/logmgr/Kconfig index 2fd5ea5004..e99a448f15 100644 --- a/tools/logmgr/Kconfig +++ b/tools/logmgr/Kconfig @@ -25,7 +25,7 @@ if PKG_USING_LOGMGR default n if LOGMGR_USING_ABORT - + config LOGMGR_ABORT_STORG bool "Enable abort log storg feature" default n @@ -33,7 +33,7 @@ if PKG_USING_LOGMGR select PKG_USING_FLASHDB select FDB_USING_TSDB select FDB_USING_FAL_MODE - + if LOGMGR_ABORT_STORG config LOGMGR_ABORT_FILE_PATH @@ -92,7 +92,7 @@ if PKG_USING_LOGMGR config PKG_USING_LOGMGR_LATEST_VERSION bool "latest" endchoice - + config PKG_LOGMGR_VER string default "v1.0.0" if PKG_USING_LOGMGR_V100 diff --git a/tools/lunar_calendar/Kconfig b/tools/lunar_calendar/Kconfig index db8ac2e1a6..8f5a881fc2 100644 --- a/tools/lunar_calendar/Kconfig +++ b/tools/lunar_calendar/Kconfig @@ -22,7 +22,7 @@ if PKG_USING_LUNAR_CALENDAR config PKG_USING_LUNAR_CALENDAR_LATEST_VERSION bool "latest" endchoice - + config PKG_LUNAR_CALENDAR_VER string default "v0.1.0" if PKG_USING_LUNAR_CALENDAR_V010 diff --git a/tools/lwlog/Kconfig b/tools/lwlog/Kconfig index ace34145e6..3bd23016ab 100644 --- a/tools/lwlog/Kconfig +++ b/tools/lwlog/Kconfig @@ -24,7 +24,7 @@ if PKG_USING_LWLOG config PKG_USING_LWLOG_LATEST_VERSION bool "latest" endchoice - + config PKG_LWLOG_VER string default "latest" if PKG_USING_LWLOG_LATEST_VERSION diff --git a/tools/lwrb2rtt/Kconfig b/tools/lwrb2rtt/Kconfig index a600a1c401..4725dc24c6 100644 --- a/tools/lwrb2rtt/Kconfig +++ b/tools/lwrb2rtt/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_LWRB2RTT config PKG_USING_LWRB2RTT_LATEST_VERSION bool "latest" endchoice - + config PKG_LWRB2RTT_VER string default "v1.0.0" if PKG_USING_LWRB2RTT_V100 diff --git a/tools/mem_sandbox/Kconfig b/tools/mem_sandbox/Kconfig index 12a7efa79a..2cfb5d2278 100644 --- a/tools/mem_sandbox/Kconfig +++ b/tools/mem_sandbox/Kconfig @@ -19,7 +19,7 @@ if PKG_USING_MEM_SANDBOX config PKG_USING_MEM_SANDBOX_LATEST_VERSION bool "latest" endchoice - + config PKG_MEM_SANDBOX_VER string default "latest" if PKG_USING_MEM_SANDBOX_LATEST_VERSION diff --git a/tools/nr_micro_shell/Kconfig b/tools/nr_micro_shell/Kconfig index b833720a96..470dfea710 100644 --- a/tools/nr_micro_shell/Kconfig +++ b/tools/nr_micro_shell/Kconfig @@ -8,23 +8,23 @@ if PKG_USING_NR_MICRO_SHELL config PKG_NR_MICRO_SHELL_PATH string default "/packages/tools/nr_micro_shell" - + config RT_NR_SHELL_LINE_SIZE int "The command line size." default 100 - + config RT_NR_SHELL_USER_NAME string "The user name." default "root@nr_shell:" - + config RT_NR_SHELL_USER_NAME_MAX_LENGTH int "The maxial size of user name." default 15 - + config RT_NR_SHELL_CMD_NAME_MAX_LENGTH int "The maxial size of command name." default 10 - + config RT_NR_SHELL_CMD_PARAS_MAX_NUM int "The max command arg number." default 10 @@ -32,11 +32,11 @@ if PKG_USING_NR_MICRO_SHELL config RT_NR_SHELL_CMD_HISTORY_BUF_LENGTH int "The command history buffer size." default 253 - + config RT_NR_SHELL_MAX_CMD_HISTORY_NUM int "The max command history line number." default 3 - + config RT_NR_SHELL_STACKSIZE int "The stacksize of nr_micro_shell thread." default 512 @@ -83,7 +83,7 @@ if PKG_USING_NR_MICRO_SHELL config PKG_USING_NR_MICRO_SHELL_LATEST_VERSION bool "latest" endchoice - + config PKG_NR_MICRO_SHELL_VER string default "v1.0.0" if PKG_USING_NR_MICRO_SHELL_V100 diff --git a/tools/qrcode/Kconfig b/tools/qrcode/Kconfig index 5c63d86e55..a4acf83b0a 100644 --- a/tools/qrcode/Kconfig +++ b/tools/qrcode/Kconfig @@ -13,7 +13,7 @@ if PKG_USING_QRCODE config PKG_QRCODE_SAMPLE bool "Enable qrcode sample" default n - + choice prompt "Version" default PKG_USING_QRCODE_LATEST_VERSION @@ -26,7 +26,7 @@ if PKG_USING_QRCODE config PKG_USING_QRCODE_LATEST_VERSION bool "latest" endchoice - + config PKG_QRCODE_VER string default "v1.0.0" if PKG_USING_QRCODE_V100 diff --git a/tools/rdb/Kconfig b/tools/rdb/Kconfig index a3798af02a..23e04a7286 100644 --- a/tools/rdb/Kconfig +++ b/tools/rdb/Kconfig @@ -11,14 +11,14 @@ menuconfig PKG_USING_RDB if PKG_USING_RDB config PKGS_USING_USB_RDBD - bool + bool select RT_USING_USB_DEVICE default y - + config PKGS_USING_RDBD_FILE bool "Enable example for rdb push/pull" default y - + config PKGS_USING_RDBD_SHELL bool "Enable example for rdb shell" default n @@ -39,7 +39,7 @@ if PKG_USING_RDB config PKG_USING_RDB_LATEST_VERSION bool "latest" endchoice - + config PKG_RDB_VER string default "v1.0.0" if PKG_USING_RDB_V100 diff --git a/tools/solar_terms/Kconfig b/tools/solar_terms/Kconfig index f91e06c912..b54f7d45b7 100644 --- a/tools/solar_terms/Kconfig +++ b/tools/solar_terms/Kconfig @@ -26,7 +26,7 @@ if PKG_USING_SOLAR_TERMS config PKG_USING_SOLAR_TERMS_LATEST_VERSION bool "latest" endchoice - + config PKG_SOLAR_TERMS_VER string default "v1.0.0" if PKG_USING_SOLAR_TERMS_V100 diff --git a/tools/uMCN/Kconfig b/tools/uMCN/Kconfig index 00f8ffab2c..c9bfefc5a1 100644 --- a/tools/uMCN/Kconfig +++ b/tools/uMCN/Kconfig @@ -19,20 +19,20 @@ if PKG_USING_UMCN config PKG_USING_UMCN_LATEST_VERSION bool "latest" endchoice - + config PKG_UMCN_VER string default "latest" if PKG_USING_UMCN_LATEST_VERSION - - config UMCN_USING_DEMO + + config UMCN_USING_DEMO bool prompt "uMCN demo example" default n - - config UMCN_USING_CMD + + config UMCN_USING_CMD bool - prompt "uMCN command" - select PKG_USING_OPTPARSE + prompt "uMCN command" + select PKG_USING_OPTPARSE default n endif diff --git a/tools/ulog_file/Kconfig b/tools/ulog_file/Kconfig index 6795d4b022..2ccb3f1097 100644 --- a/tools/ulog_file/Kconfig +++ b/tools/ulog_file/Kconfig @@ -15,16 +15,16 @@ if PKG_USING_ULOG_FILE config ULOG_FILE_ROOT_PATH string "The root path of the saved file" default "/logs" - + config ULOG_FILE_NAME_BASE string "The base name of the saved file" default "ulog.log" - + config ULOG_FILE_MAX_NUM int "The maximum number of the saved file" default 5 range 1 100 - + config ULOG_FILE_MAX_SIZE int "The maximum size of a file" default 524288 @@ -42,7 +42,7 @@ if PKG_USING_ULOG_FILE config PKG_USING_ULOG_FILE_LATEST_VERSION bool "latest" endchoice - + config PKG_ULOG_FILE_VER string default "v1.0.0" if PKG_USING_ULOG_FILE_V100