diff options
| author | Meco Man <[email protected]> | 2023-12-03 01:30:05 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-12-03 21:25:00 +0800 |
| commit | 9fec43f0ea14231b32c89b0b18aa985a3c78bcf2 (patch) | |
| tree | 7f5c454210212aba219c806ad46077a8cdee34a1 | |
| parent | 58665c7f50e34d83dc99baa0f3506e616478d8df (diff) | |
correct and format Kconfig
| -rw-r--r-- | bsp/synwit/swm341/drivers/Kconfig | 1 | ||||
| -rw-r--r-- | src/Kconfig | 19 |
2 files changed, 7 insertions, 13 deletions
diff --git a/bsp/synwit/swm341/drivers/Kconfig b/bsp/synwit/swm341/drivers/Kconfig index 1fe5a28915..e0f0ef1d3e 100644 --- a/bsp/synwit/swm341/drivers/Kconfig +++ b/bsp/synwit/swm341/drivers/Kconfig @@ -314,7 +314,6 @@ menu "On-chip Peripheral Drivers" config BSP_USING_RTC bool "Enable RTC" select RT_USING_RTC - select RT_USING_LIBC default n menuconfig BSP_USING_SPI diff --git a/src/Kconfig b/src/Kconfig index 6430b4675d..2d1387b14d 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -23,7 +23,6 @@ config RT_USING_SMART default n select RT_USING_LWP select RT_USING_DFS - select RT_USING_LIBC select RT_USING_POSIX_CLOCKTIME select RT_USING_DEVICE select RT_USING_TTY @@ -228,12 +227,10 @@ menuconfig RT_USING_DEBUG depends on ARCH_MM_MMU default n - if RT_USING_SMP - config RT_DEBUGING_SPINLOCK + config RT_DEBUGING_SPINLOCK bool "Enable spinlock debugging" + depends on RT_USING_SMP default n - endif - endif menu "Inter-Thread communication" @@ -258,11 +255,10 @@ menu "Inter-Thread communication" bool "Enable message queue" default y - if RT_USING_MESSAGEQUEUE - config RT_USING_MESSAGEQUEUE_PRIORITY - bool "Enable message queue priority" - default n - endif + config RT_USING_MESSAGEQUEUE_PRIORITY + bool "Enable message queue priority" + depends on RT_USING_MESSAGEQUEUE + default n config RT_USING_SIGNALS bool "Enable signals" @@ -425,8 +421,7 @@ if RT_USING_CONSOLE config RT_CONSOLE_DEVICE_NAME string "the device name for console" - depends on RT_USING_DEVICE - default "uart" + default "uart1" endif config RT_VER_NUM |
