mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 03:07:10 +08:00
Merge branch 'simdev'
This commit is contained in:
commit
fb94ccd89e
@ -55,6 +55,7 @@ else:
|
|||||||
TARGET = 'rtthread'
|
TARGET = 'rtthread'
|
||||||
env.Append(CCFLAGS=rtconfig.CFLAGS)
|
env.Append(CCFLAGS=rtconfig.CFLAGS)
|
||||||
env.Append(LINKFLAGS=rtconfig.LFLAGS)
|
env.Append(LINKFLAGS=rtconfig.LFLAGS)
|
||||||
|
env.Append(LIBS=['m'])
|
||||||
|
|
||||||
|
|
||||||
# prepare building environment
|
# prepare building environment
|
||||||
|
@ -46,7 +46,7 @@ if PLATFORM == 'gcc':
|
|||||||
else:
|
else:
|
||||||
CFLAGS += ' -O2'
|
CFLAGS += ' -O2'
|
||||||
|
|
||||||
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
|
POST_ACTION = ''
|
||||||
|
|
||||||
elif PLATFORM == 'cl':
|
elif PLATFORM == 'cl':
|
||||||
# toolchains
|
# toolchains
|
||||||
|
@ -365,7 +365,7 @@ void snake_main(void)
|
|||||||
struct rtgui_win *win;
|
struct rtgui_win *win;
|
||||||
rtgui_rect_t rect;
|
rtgui_rect_t rect;
|
||||||
|
|
||||||
application = rtgui_app_create(rt_thread_self(), "sanke_app");
|
application = rtgui_app_create("sanke_app");
|
||||||
if (application != RT_NULL)
|
if (application != RT_NULL)
|
||||||
{
|
{
|
||||||
rtgui_get_screen_rect(&rect);
|
rtgui_get_screen_rect(&rect);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user