Skip to content

Commit a65ee8a

Browse files
committed
[BSP] disable module feature under simulator for Linux
1 parent d2ec1f3 commit a65ee8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bsp/simulator/drivers/uart_console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static void set_stty(void)
9797
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
9898
}
9999

100-
static void restore_stty(void)
100+
void restore_stty(void)
101101
{
102102
/* recover terminal's attribute */
103103
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);

bsp/simulator/rtconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
100100
// #define RT_USING_PTHREADS
101101
// <bool name="RT_USING_MODULE" description="Enable Moudle Application" default="true" />
102-
#define RT_USING_MODULE
102+
// #define RT_USING_MODULE
103103
// </section>
104104

105105
// <section name="RT_USING_DFS" description="Device file system" default="true" >

0 commit comments

Comments
 (0)