被rtgui弄得无法淡定了
用了0.3.1的stm32_full模板,从radio那里拷来rtgui,怎么搞都是hard fault。。只调了下rtgui_system_server_init()
附加gui相关define
/* SECTION: RT-Thread/GUI */
#define RT_USING_RTGUI
/* name length of RTGUI object */
#define RTGUI_NAME_MAX 12
/* support 16 weight font */
#define RTGUI_USING_FONT16
/* support Chinese font */
#define RTGUI_USING_FONTHZ
/* use DFS as file interface */
#define RTGUI_USING_DFS_FILERW
/* use font file as Chinese font */
#define RTGUI_USING_HZ_FILE
/* use small size in RTGUI */
#define RTGUI_USING_SMALL_SIZE
/* use mouse cursor */
/* #define RTGUI_USING_MOUSE_CURSOR */
/* default font size in RTGUI */
#define RTGUI_DEFAULT_FONT_SIZE 16
\ | /
- RT - Thread Operating System
/ | \ 0.3.1 build Apr 24 2011
2006 - 2010 Copyright by rt-thread team
part, begin: 32256, size: 1.921GB
psr: 0x23232323
pc: 0x23232323
lr: 0x23232323
r12: 0x23232323
r03: 0x23232323
r02: 0x23232323
r01: 0x23232323
r00: 0x23232323
hard fault on thread: (NULL)
threadpristatus sp stack size max used left tickerror
-------- ---- ------- ---------- ---------- ---------- ---------- ---
led2 0x1e ready 0x00000040 0x00000200 0x00000040 0x00000001 000
led1 0x1e ready 0x00000040 0x00000200 0x00000040 0x00000001 000
init 0x08 ready 0x00000040 0x00000800 0x00000040 0x00000014 000
求解如何处理,是不是需要换到0.4.0,为了gui折腾快一周了,一点头绪都没有 建议升级到0.4.x。接下来考虑发布0.4.0 beta2以及0.3.2正式版了 把任务堆栈设置更大一点试试,我刚开始学习,好几次hardfault都是内存不够 这种未成熟的东西懒得去学它了{:dizzy:} betbet 发表于 2013-5-1 17:52 static/image/common/back.gif
这种未成熟的东西懒得去学它了
请推荐一个成熟的 我也是同样的问题啊
页:
[1]