[FIX] 解决tm4c129 gcc 环境下startup的bug

This commit is contained in:
Conley 2020-11-24 02:46:50 +00:00
parent 05777266b9
commit e74519f5c1
1 changed files with 4 additions and 2 deletions

View File

@ -217,8 +217,7 @@ extern uint32_t _ebss;
// application. // application.
// //
//***************************************************************************** //*****************************************************************************
void void ResetISR(void)
ResetISR(void)
{ {
uint32_t *pui32Src, *pui32Dest; uint32_t *pui32Src, *pui32Dest;
@ -261,6 +260,9 @@ ResetISR(void)
// //
// Call the application's entry point. // Call the application's entry point.
// //
extern int entry(void);
entry();
/*rtthread_startup();*/
main(); main();
} }