Skip to content

Commit

Permalink
[nano][kernel] correct nano Kconfig dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf authored and Guozhanxin committed Dec 1, 2023
1 parent c87872c commit 6cd24d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ source "$RTT_DIR/components/fal/Kconfig"
source "$RTT_DIR/components/drivers/Kconfig"
source "$RTT_DIR/components/libc/Kconfig"
source "$RTT_DIR/components/net/Kconfig"
source "$RTT_DIR/components/mprotect/Kconfig"
source "$RTT_DIR/components/utilities/Kconfig"
source "$RTT_DIR/components/vbus/Kconfig"
endif

if RT_USING_SMART
source "$RTT_DIR/components/lwp/Kconfig"
source "$RTT_DIR/components/mm/Kconfig"
source "$RTT_DIR/components/mprotect/Kconfig"
endif
endmenu
3 changes: 3 additions & 0 deletions src/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,12 @@ endmenu

config RT_USING_DEVICE
bool "Using device object"
depends on !RT_USING_NANO
default y

config RT_USING_DEVICE_OPS
bool "Using ops for each device object"
depends on RT_USING_DEVICE
default n

config RT_USING_INTERRUPT_INFO
Expand All @@ -423,6 +425,7 @@ if RT_USING_CONSOLE

config RT_CONSOLE_DEVICE_NAME
string "the device name for console"
depends on RT_USING_DEVICE
default "uart"
endif

Expand Down

0 comments on commit 6cd24d4

Please sign in to comment.