Skip to content

Commit 631220e

Browse files
BernardXionggitee-org
authored andcommitted
!69 解决bsp/tm4c129在gcc开发环境下无法startup问题
Merge pull request !69 from 上大人孔乙己/fix/tm4c129-startup
2 parents 921f987 + afbfe8d commit 631220e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bsp/tm4c129x/libraries/startup/startup_gcc.c

Lines changed: 3 additions & 3 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,7 +260,8 @@ ResetISR(void)
261260
//
262261
// Call the application's entry point.
263262
//
264-
main();
263+
extern int entry(void);
264+
entry();
265265
}
266266

267267
//*****************************************************************************

0 commit comments

Comments
 (0)