mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-15 20:08:12 +00:00
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:
@@ -46,7 +46,7 @@ extern void rt_hw_touch_init(void);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_FTK
|
#ifdef RT_USING_FTK
|
||||||
#define RT_INIT_THREAD_STACK_SIZE (256*1024)
|
#define RT_INIT_THREAD_STACK_SIZE (10*1024)
|
||||||
#else
|
#else
|
||||||
#define RT_INIT_THREAD_STACK_SIZE (2*1024)
|
#define RT_INIT_THREAD_STACK_SIZE (2*1024)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ void rtthread_startup(void)
|
|||||||
#ifdef __CC_ARM
|
#ifdef __CC_ARM
|
||||||
rt_system_heap_init((void*)&Image$$ER_ZI$$ZI$$Limit, (void*)0x34000000);
|
rt_system_heap_init((void*)&Image$$ER_ZI$$ZI$$Limit, (void*)0x34000000);
|
||||||
#else
|
#else
|
||||||
rt_system_heap_init(&__bss_end, (void*)0x34000000);
|
rt_system_heap_init((void*)0x33000000, (void*)0x34000000);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* init scheduler system */
|
/* init scheduler system */
|
||||||
|
|||||||
Reference in New Issue
Block a user