startup.c
rtthread_startup函数的 rt_system_heap_init(__bss_end, (void*)0x34000000); 暂时改为 rt_system_heap_init((void*)0x33000000, (void*)0x34000000); application.c RT_INIT_THREAD_STACK_SIZE改为10*1024 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@999 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
c1798b7585
commit
ffa3341d41
|
@ -46,7 +46,7 @@ extern void rt_hw_touch_init(void);
|
|||
#endif
|
||||
|
||||
#ifdef RT_USING_FTK
|
||||
#define RT_INIT_THREAD_STACK_SIZE (256*1024)
|
||||
#define RT_INIT_THREAD_STACK_SIZE (10*1024)
|
||||
#else
|
||||
#define RT_INIT_THREAD_STACK_SIZE (2*1024)
|
||||
#endif
|
||||
|
@ -117,8 +117,8 @@ void rt_init_thread_entry(void* parameter)
|
|||
rtgui_touch_hw_init();
|
||||
|
||||
/* re-init device driver */
|
||||
rt_device_init_all();
|
||||
|
||||
rt_device_init_all();
|
||||
|
||||
/* enter ftk main */
|
||||
FTK_MAIN(0, NULL);
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ void rtthread_startup(void)
|
|||
#ifdef __CC_ARM
|
||||
rt_system_heap_init((void*)&Image$$ER_ZI$$ZI$$Limit, (void*)0x34000000);
|
||||
#else
|
||||
rt_system_heap_init(&__bss_end, (void*)0x34000000);
|
||||
rt_system_heap_init((void*)0x33000000, (void*)0x34000000);
|
||||
#endif
|
||||
|
||||
/* init scheduler system */
|
||||
|
|
Loading…
Reference in New Issue