Evlers 9 месяцев назад
Родитель
Сommit
3fe393aff5
1 измененных файлов с 30 добавлено и 9 удалено
  1. 30 9
      Kconfig

+ 30 - 9
Kconfig

@@ -1,3 +1,25 @@
+# MIT License
+
+# Copyright (c) 2024 Evlers
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
 menuconfig RT_USING_WIFI_HOST_DRIVER
     bool "Using Wifi-Host-Driver(WHD)"
     select RT_USING_WIFI
@@ -58,7 +80,7 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
                     config WHD_RESOURCES_CLM_PATH_NAME
                         string "Set the file path of the clm files"
                         default "/sdcard/43438A1.clm_blob"
-                endif
+                endif # WHD_RESOURCES_IN_EXTERNAL_STORAGE_FS
 
                 if WHD_RESOURCES_IN_EXTERNAL_STORAGE_FAL
                     config WHD_RESOURCES_FIRMWARE_PART_NAME
@@ -68,13 +90,13 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
                     config WHD_RESOURCES_CLM_PART_NAME
                         string "Set the partition name of the clm files"
                         default "whd_clm"
-                endif
+                endif # WHD_RESOURCES_IN_EXTERNAL_STORAGE_FAL
 
                 config WHD_RESOURCES_BLOCK_SIZE
                     int "Set the block size for resources"
                     default 1024
 
-            endif
+            endif # WHD_RESOURCES_IN_EXTERNAL_STORAGE
 
         config WHD_RESOURCES_CUSTOM_NVRAM
             bool "Using custom nvram files"
@@ -88,7 +110,7 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
             config CY_WIFI_DEFAULT_PM2_SLEEP_RET_TIME
                 int "Set return to sleep delay.(PM2)"
                 default 200
-        endif
+        endif # CY_WIFI_DEFAULT_ENABLE_POWERSAVE_MODE
 
         config CY_WIFI_WHD_THREAD_PRIORITY
             int "The priority level value of WHD thread"
@@ -119,7 +141,7 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
             config CYBSP_HOST_WAKE_IRQ_PIN_NAME
                 string "Set the HOST_WAKE_IRQ pin name"
                 default "PA.1"
-        endif
+        endif # CYBSP_USING_PIN_NAME
 
         if CYBSP_USING_PIN_NUMBER
             config CYBSP_REG_ON_PIN
@@ -129,7 +151,7 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
             config CYBSP_HOST_WAKE_IRQ_PIN
                 int "Set the HOST_WAKE_IRQ pin number"
                 default -1
-        endif
+        endif # CYBSP_USING_PIN_NUMBER
 
         choice
             prompt "Select HOST_WAKE_IRQ event type"
@@ -143,7 +165,6 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
 
             config CYBSP_HOST_WAKE_IRQ_EVENT_BOTH
                 bool "rising and falling"
-
         endchoice
 
         config CYBSP_OOB_INTR_PRIORITY
@@ -159,7 +180,7 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
                 int "The stack size for init thread"
                 range 0 8192
                 default 2048
-        endif
+        endif # CY_WIFI_USING_THREAD_INIT
 
         choice
             prompt "Select the log level"
@@ -181,4 +202,4 @@ menuconfig RT_USING_WIFI_HOST_DRIVER
                 bool "Data Trace"
         endchoice
 
-    endif
+    endif # RT_USING_WIFI_HOST_DRIVER