From 242574a36ff05d6d109c09144b6f7fab8c88c407 Mon Sep 17 00:00:00 2001 From: prife Date: Tue, 26 Feb 2013 17:48:32 +0800 Subject: [PATCH] mingw support for simulator: rtgui --- bsp/simulator/SConstruct | 4 ++-- bsp/simulator/rtconfig.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index bc6db0ef8d..875bef1e3a 100755 --- a/bsp/simulator/SConstruct +++ b/bsp/simulator/SConstruct @@ -12,8 +12,8 @@ if os.getenv('RTT_RTGUI'): else: # set the rtgui root directory by hand # empty string means use the RTGUI in svn - # RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui') - RTT_RTGUI ='' + RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui') + # RTT_RTGUI ='' sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import * diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 7c18106f3b..d37e3877b8 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -204,7 +204,7 @@ #define RT_LWIP_TCP_WND 8192 /* SECTION: RT-Thread/GUI */ -/* #define RT_USING_RTGUI */ +#define RT_USING_RTGUI /* name length of RTGUI object */ #define RTGUI_NAME_MAX 12 -- GitLab