Skip to content

Commit e74519f

Browse files
committed
[FIX] 解决tm4c129 gcc 环境下startup的bug
1 parent 0577726 commit e74519f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bsp/tm4c129x/libraries/startup/startup_gcc.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ extern uint32_t _ebss;
217217
// application.
218218
//
219219
//*****************************************************************************
220-
void
221-
ResetISR(void)
220+
void ResetISR(void)
222221
{
223222
uint32_t *pui32Src, *pui32Dest;
224223

@@ -261,6 +260,9 @@ ResetISR(void)
261260
//
262261
// Call the application's entry point.
263262
//
263+
extern int entry(void);
264+
entry();
265+
/*rtthread_startup();*/
264266
main();
265267
}
266268

0 commit comments

Comments
 (0)