Skip to content

Commit 4eadd63

Browse files
authored
Update port.c
1 parent f973e34 commit 4eadd63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

portable/GCC/ARM_CM4F/port.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ static void prvPortStartFirstTask( void )
277277
" isb \n"
278278
" svc 0 \n" /* System call to start first task. */
279279
" nop \n"
280+
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
280281
);
281282
}
282283
/*-----------------------------------------------------------*/

0 commit comments

Comments
 (0)