From ffa3341d41f636ddf4b408a0b455b17882d1a19a Mon Sep 17 00:00:00 2001 From: "jiaojinxing1987@gmail.com" Date: Mon, 4 Oct 2010 08:28:55 +0000 Subject: [PATCH] =?UTF-8?q?startup.c=20rtthread=5Fstartup=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E7=9A=84=20rt=5Fsystem=5Fheap=5Finit(=5F=5Fbss=5Fend,?= =?UTF-8?q?=20(void*)0x34000000);=20=E6=9A=82=E6=97=B6=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=20rt=5Fsystem=5Fheap=5Finit((void*)0x33000000,=20(void*)0x3400?= =?UTF-8?q?0000);?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- bsp/mini2440/application.c | 6 +++--- bsp/mini2440/startup.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/mini2440/application.c b/bsp/mini2440/application.c index 946b30ac8..93b6ed8bf 100644 --- a/bsp/mini2440/application.c +++ b/bsp/mini2440/application.c @@ -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); } diff --git a/bsp/mini2440/startup.c b/bsp/mini2440/startup.c index e556795b5..a66af8747 100644 --- a/bsp/mini2440/startup.c +++ b/bsp/mini2440/startup.c @@ -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 */