summaryrefslogtreecommitdiff
path: root/bsp/simulator/rtconfig.h
diff options
context:
space:
mode:
authoryygg_you <[email protected]>2017-10-20 13:26:47 +0800
committeryygg_you <[email protected]>2017-10-20 13:26:47 +0800
commit2d0c10a0ca78bc4257ce9e5be9e222745c0dc0a7 (patch)
treef7a237ec341e73822ba8d44bfdc613c551e9f5d7 /bsp/simulator/rtconfig.h
parente448ecc6ad805109480ecc191f0e2d786216a297 (diff)
修改simulator,匹配RTT 3.0
Diffstat (limited to 'bsp/simulator/rtconfig.h')
-rwxr-xr-xbsp/simulator/rtconfig.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h
index 70c68f3403..2b048a19e0 100755
--- a/bsp/simulator/rtconfig.h
+++ b/bsp/simulator/rtconfig.h
@@ -98,6 +98,8 @@
// #define RT_USING_LIBC
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
// #define RT_USING_PTHREADS
+// <bool name="RT_USING_COMPONENTS_INIT" description="Using automatically component initialization." default="true" />
+#define RT_USING_COMPONENTS_INIT
// <bool name="RT_USING_MODULE" description="Enable Moudle Application" default="true" />
// #define RT_USING_MODULE
// </section>
@@ -131,7 +133,9 @@
// <bool name="RT_USING_DFS_NFS" description="Using NFS v3 client file system" default="false" />
// #define RT_USING_DFS_NFS
// <string name="RT_NFS_HOST_EXPORT" description="NFSv3 host export" default="192.168.1.5:/" />
-#define RT_NFS_HOST_EXPORT "192.168.1.5:/"
+#define RT_NFS_HOST_EXPORT "192.168.1.5:/"
+// <bool name="RT_USING_DFS_WINSHAREDIR" description="shared windows file to rtt" default="false" />
+#define RT_USING_DFS_WINSHAREDIR
// </section>
// <section name="RT_USING_LWIP" description="lwip, a lightweight TCP/IP protocol stack" default="true" >
@@ -232,14 +236,6 @@
#elif defined(__GNUC__)
#define RT_USING_NOLIBC
-#if defined(__MINGW32__)
-#define _NO_OLDNAMES /* to ignore: mode_t in sys/type.h */
-#endif /* end of __MINGW32__ */
-
#endif /* end of _MSC_VER */
-#ifdef _Win32
-#define RT_USING_DFS_WINSHAREDIR
-#endif
-
#endif