diff options
| author | Bernard Xiong <[email protected]> | 2017-12-21 16:40:04 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-12-21 16:40:04 +0800 |
| commit | 9d7ffb1dc5eed8968f8bce8edf75f56b77ed4f60 (patch) | |
| tree | fc69bddde157a5d551083d732c2e35d6709fbf2b | |
| parent | cc75366fdafcf34fbe916a77ce82194c885d3f13 (diff) | |
[Kconfig] Add Kconfig for CMSIS
| -rw-r--r-- | components/CMSIS/Kconfig | 20 | ||||
| -rw-r--r-- | components/Kconfig | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/components/CMSIS/Kconfig b/components/CMSIS/Kconfig new file mode 100644 index 0000000000..8a27f44405 --- /dev/null +++ b/components/CMSIS/Kconfig @@ -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 diff --git a/components/Kconfig b/components/Kconfig index b8c94b558a..40d9bee5e2 100644 --- a/components/Kconfig +++ b/components/Kconfig @@ -28,4 +28,6 @@ source "$RTT_DIR/components/vbus/Kconfig" source "$RTT_DIR/components/utilities/Kconfig" +source "$RTT_DIR/components/CMSIS/Kconfig" + endmenu |
