[BSP] disable module feature under simulator for Linux
This commit is contained in:
parent
d2ec1f3eaa
commit
a65ee8ac45
|
@ -97,7 +97,7 @@ static void set_stty(void)
|
||||||
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
|
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void restore_stty(void)
|
void restore_stty(void)
|
||||||
{
|
{
|
||||||
/* recover terminal's attribute */
|
/* recover terminal's attribute */
|
||||||
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
|
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
|
||||||
// #define RT_USING_PTHREADS
|
// #define RT_USING_PTHREADS
|
||||||
// <bool name="RT_USING_MODULE" description="Enable Moudle Application" default="true" />
|
// <bool name="RT_USING_MODULE" description="Enable Moudle Application" default="true" />
|
||||||
#define RT_USING_MODULE
|
// #define RT_USING_MODULE
|
||||||
// </section>
|
// </section>
|
||||||
|
|
||||||
// <section name="RT_USING_DFS" description="Device file system" default="true" >
|
// <section name="RT_USING_DFS" description="Device file system" default="true" >
|
||||||
|
|
Loading…
Reference in New Issue