We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eadd63 commit c4c5645Copy full SHA for c4c5645
portable/GCC/ARM_CM7/r0p1/port.c
@@ -271,6 +271,7 @@ static void prvPortStartFirstTask( void )
271
" isb \n"
272
" svc 0 \n" /* System call to start first task. */
273
" nop \n"
274
+ " .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
275
);
276
}
277
/*-----------------------------------------------------------*/
@@ -697,7 +698,8 @@ static void vPortEnableVFP( void )
697
698
" \n"
699
" orr r1, r1, #( 0xf << 20 ) \n" /* Enable CP10 and CP11 coprocessors, then save back. */
700
" str r1, [r0] \n"
- " bx r14 "
701
+ " bx r14 \n"
702
703
704
705
0 commit comments