mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-27 00:01:33 +08:00
Merge pull request #1125 from BernardXiong/master
[Kconfig] Add Kconfig for CMSIS
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
if ARCH_ARM_CORTEX_M
|
||||||
|
|
||||||
|
menu "ARM CMSIS"
|
||||||
|
|
||||||
|
config RT_USING_CMSIS_OS
|
||||||
|
bool "Using CMSIS RTOS API"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enable CMSIS RTOS API, which is implemented above RT-Thread.
|
||||||
|
|
||||||
|
config RT_USING_RTT_CMSIS
|
||||||
|
bool "Using CMSIS Header files in RT-Thread"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Use CMSIS header files in RT-Thread/components/CMSIS. Otherwise, use the
|
||||||
|
CMSIS header files in BSP.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
endif
|
||||||
@@ -28,4 +28,6 @@ source "$RTT_DIR/components/vbus/Kconfig"
|
|||||||
|
|
||||||
source "$RTT_DIR/components/utilities/Kconfig"
|
source "$RTT_DIR/components/utilities/Kconfig"
|
||||||
|
|
||||||
|
source "$RTT_DIR/components/CMSIS/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
Reference in New Issue
Block a user