fix bsp/gd32450z-eval for mdk

This commit is contained in:
SummerGift 2017-11-01 19:19:01 +08:00
parent 34ee3dfd60
commit 6b4750c870
3 changed files with 606 additions and 294 deletions

View File

@ -31,7 +31,7 @@
#include <rtgui/widgets/window.h>
#include <rtgui/dc.h>
#include <rtgui/dc_hw.h>
//#include <rtgui/dc_hw.h>
struct rtgui_win *main_win;
rt_bool_t dc_event_handler(struct rtgui_object *object, rtgui_event_t *event);
@ -105,9 +105,8 @@ rt_bool_t dc_event_handler(struct rtgui_object *object, rtgui_event_t *event)
rect.x1 += (rect.x2 - rect.x1) / 2;
rect.y1 += (rect.y2 - rect.y1) / 2;
rtgui_dc_draw_text_stroke(dc, __DATE__"--"__TIME__, &rect, HIGH_LIGHT, BLUE);
rtgui_dc_end_drawing(dc);
rtgui_dc_end_drawing(dc,RT_TRUE);
}
return RT_FALSE;
}

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
<TargetName>rt-thread_gd32f4xx</TargetName>
<ToolsetNumber>0x4</ToolsetNumber>
<ToolsetName>ARM-ADS</ToolsetName>
<pCCUsed>5060422::V5.06 update 4 (build 422)::ARMCC</pCCUsed>
<pCCUsed>5060300::V5.06 update 3 (build 300)::ARMCC</pCCUsed>
<TargetOption>
<TargetCommonOption>
<Device>GD32F450ZK</Device>