summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-08 16:29:47 +0800
committermysterywolf <[email protected]>2020-09-08 16:29:47 +0800
commit4305a678a38d65712d739f0d79bf55dc05e33073 (patch)
treecdddea693076dcdb722feb6e3bf7a52bc5629832 /bsp
parent4e58b995df732861a1d7a43fd575d737433721bf (diff)
修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容
Diffstat (limited to 'bsp')
-rw-r--r--bsp/lpc408x/.config9
-rw-r--r--bsp/lpc408x/rtconfig.h3
2 files changed, 3 insertions, 9 deletions
diff --git a/bsp/lpc408x/.config b/bsp/lpc408x/.config
index c57e7eb755..b07e256c26 100644
--- a/bsp/lpc408x/.config
+++ b/bsp/lpc408x/.config
@@ -176,14 +176,9 @@ CONFIG_RT_USING_PIN=y
#
# POSIX layer and C standard library
#
-CONFIG_RT_USING_LIBC=y
+# CONFIG_RT_USING_LIBC is not set
# CONFIG_RT_USING_PTHREADS is not set
-CONFIG_RT_USING_POSIX=y
-# CONFIG_RT_USING_POSIX_MMAP is not set
-# CONFIG_RT_USING_POSIX_TERMIOS is not set
-# CONFIG_RT_USING_POSIX_GETLINE is not set
-# CONFIG_RT_USING_POSIX_AIO is not set
-# CONFIG_RT_USING_MODULE is not set
+CONFIG_RT_LIBC_USING_TIME=y
#
# Network
diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h
index d5e0c160be..25bba085a6 100644
--- a/bsp/lpc408x/rtconfig.h
+++ b/bsp/lpc408x/rtconfig.h
@@ -107,8 +107,7 @@
/* POSIX layer and C standard library */
-#define RT_USING_LIBC
-#define RT_USING_POSIX
+#define RT_LIBC_USING_TIME
/* Network */