correct and format Kconfig
This commit is contained in:
parent
58665c7f50
commit
9fec43f0ea
|
@ -314,7 +314,6 @@ menu "On-chip Peripheral Drivers"
|
||||||
config BSP_USING_RTC
|
config BSP_USING_RTC
|
||||||
bool "Enable RTC"
|
bool "Enable RTC"
|
||||||
select RT_USING_RTC
|
select RT_USING_RTC
|
||||||
select RT_USING_LIBC
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
menuconfig BSP_USING_SPI
|
menuconfig BSP_USING_SPI
|
||||||
|
|
11
src/Kconfig
11
src/Kconfig
|
@ -23,7 +23,6 @@ config RT_USING_SMART
|
||||||
default n
|
default n
|
||||||
select RT_USING_LWP
|
select RT_USING_LWP
|
||||||
select RT_USING_DFS
|
select RT_USING_DFS
|
||||||
select RT_USING_LIBC
|
|
||||||
select RT_USING_POSIX_CLOCKTIME
|
select RT_USING_POSIX_CLOCKTIME
|
||||||
select RT_USING_DEVICE
|
select RT_USING_DEVICE
|
||||||
select RT_USING_TTY
|
select RT_USING_TTY
|
||||||
|
@ -228,14 +227,12 @@ menuconfig RT_USING_DEBUG
|
||||||
depends on ARCH_MM_MMU
|
depends on ARCH_MM_MMU
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_SMP
|
|
||||||
config RT_DEBUGING_SPINLOCK
|
config RT_DEBUGING_SPINLOCK
|
||||||
bool "Enable spinlock debugging"
|
bool "Enable spinlock debugging"
|
||||||
|
depends on RT_USING_SMP
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
menu "Inter-Thread communication"
|
menu "Inter-Thread communication"
|
||||||
|
|
||||||
config RT_USING_SEMAPHORE
|
config RT_USING_SEMAPHORE
|
||||||
|
@ -258,11 +255,10 @@ menu "Inter-Thread communication"
|
||||||
bool "Enable message queue"
|
bool "Enable message queue"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
if RT_USING_MESSAGEQUEUE
|
|
||||||
config RT_USING_MESSAGEQUEUE_PRIORITY
|
config RT_USING_MESSAGEQUEUE_PRIORITY
|
||||||
bool "Enable message queue priority"
|
bool "Enable message queue priority"
|
||||||
|
depends on RT_USING_MESSAGEQUEUE
|
||||||
default n
|
default n
|
||||||
endif
|
|
||||||
|
|
||||||
config RT_USING_SIGNALS
|
config RT_USING_SIGNALS
|
||||||
bool "Enable signals"
|
bool "Enable signals"
|
||||||
|
@ -425,8 +421,7 @@ if RT_USING_CONSOLE
|
||||||
|
|
||||||
config RT_CONSOLE_DEVICE_NAME
|
config RT_CONSOLE_DEVICE_NAME
|
||||||
string "the device name for console"
|
string "the device name for console"
|
||||||
depends on RT_USING_DEVICE
|
default "uart1"
|
||||||
default "uart"
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config RT_VER_NUM
|
config RT_VER_NUM
|
||||||
|
|
Loading…
Reference in New Issue