diff options
| author | Conley <[email protected]> | 2020-11-24 02:46:50 +0000 |
|---|---|---|
| committer | Conley <[email protected]> | 2020-11-24 02:46:50 +0000 |
| commit | e74519f5c12ed14f23d6df90799b872135000e6d (patch) | |
| tree | 8ab5a227c318a6322b4fb34b582690b0dd5a4cf9 /bsp/tm4c129x | |
| parent | 05777266b9dffe30df0bef15b35b710f6de21710 (diff) | |
[FIX] 解决tm4c129 gcc 环境下startup的bug
Diffstat (limited to 'bsp/tm4c129x')
| -rw-r--r-- | bsp/tm4c129x/libraries/startup/startup_gcc.c | 6 |
1 files 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(); } |
