From e74519f5c12ed14f23d6df90799b872135000e6d Mon Sep 17 00:00:00 2001 From: Conley <743703241@qq.com> Date: Tue, 24 Nov 2020 02:46:50 +0000 Subject: [PATCH 1/2] =?UTF-8?q?[FIX]=20=E8=A7=A3=E5=86=B3tm4c129=20gcc=20?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=8Bstartup=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/tm4c129x/libraries/startup/startup_gcc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bsp/tm4c129x/libraries/startup/startup_gcc.c b/bsp/tm4c129x/libraries/startup/startup_gcc.c index 9f20837e51..47cba5cb27 100644 --- a/bsp/tm4c129x/libraries/startup/startup_gcc.c +++ b/bsp/tm4c129x/libraries/startup/startup_gcc.c @@ -217,8 +217,7 @@ extern uint32_t _ebss; // application. // //***************************************************************************** -void -ResetISR(void) +void ResetISR(void) { uint32_t *pui32Src, *pui32Dest; @@ -261,6 +260,9 @@ ResetISR(void) // // Call the application's entry point. // + extern int entry(void); + entry(); + /*rtthread_startup();*/ main(); } From afbfe8dee1d89d013e4e688f8b77370c83341b0e Mon Sep 17 00:00:00 2001 From: Conley <743703241@qq.com> Date: Wed, 25 Nov 2020 15:51:55 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[FIX]=20=E8=A7=A3=E5=86=B3tm4c129=20gcc=20?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=8Bstartup=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/tm4c129x/libraries/startup/startup_gcc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/tm4c129x/libraries/startup/startup_gcc.c b/bsp/tm4c129x/libraries/startup/startup_gcc.c index 47cba5cb27..3f9d93a46b 100644 --- a/bsp/tm4c129x/libraries/startup/startup_gcc.c +++ b/bsp/tm4c129x/libraries/startup/startup_gcc.c @@ -262,8 +262,6 @@ void ResetISR(void) // extern int entry(void); entry(); - /*rtthread_startup();*/ - main(); } //*****************************************************************************