summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorBernardXiong <[email protected]>2019-03-26 01:03:39 +0000
committerBernardXiong <[email protected]>2019-03-26 01:03:39 +0000
commit1487a4f732d9fa5382d979a5b08f981d93a58aee (patch)
tree9de949b640541a777f3b22211dedd28b618a966f /src/Kconfig
parentb1a98ebe4621d6217da373078c34a4790fabe1c9 (diff)
[Kernel] Support ARCH data types definitions
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index fbfae65882..c123f53b92 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -8,6 +8,15 @@ config RT_NAME_MAX
Each kernel object, such as thread, timer, semaphore etc, has a name,
the RT_NAME_MAX is the maximal size of this object name.
+config RT_USING_ARCH_DATA_TYPE
+ bool "Use the data types defined in ARCH_CPU"
+ default n
+ help
+ For the data type like, `rt_uint8/int8_t, rt_uint16/int16_t, rt_uint32/int32_t`,
+ BSP can define these basic data types in ARCH_CPU level.
+
+ Please re-define these data types in bsp_project.h file.
+
config RT_USING_SMP
bool "Enable SMP(Symmetric multiprocessing)"
default n