Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions portable/GCC/ARM_CM3/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ static void prvPortStartFirstTask( void )
" isb \n"
" svc 0 \n" /* System call to start first task. */
" nop \n"
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
);
}
/*-----------------------------------------------------------*/
Expand Down
4 changes: 3 additions & 1 deletion portable/GCC/ARM_CM4F/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ static void prvPortStartFirstTask( void )
" isb \n"
" svc 0 \n" /* System call to start first task. */
" nop \n"
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
);
}
/*-----------------------------------------------------------*/
Expand Down Expand Up @@ -707,7 +708,8 @@ static void vPortEnableVFP( void )
" \n"
" orr r1, r1, #( 0xf << 20 ) \n" /* Enable CP10 and CP11 coprocessors, then save back. */
" str r1, [r0] \n"
" bx r14 "
" bx r14 \n"
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
);
}
/*-----------------------------------------------------------*/
Expand Down
4 changes: 3 additions & 1 deletion portable/GCC/ARM_CM7/r0p1/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ static void prvPortStartFirstTask( void )
" isb \n"
" svc 0 \n" /* System call to start first task. */
" nop \n"
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
);
}
/*-----------------------------------------------------------*/
Expand Down Expand Up @@ -697,7 +698,8 @@ static void vPortEnableVFP( void )
" \n"
" orr r1, r1, #( 0xf << 20 ) \n" /* Enable CP10 and CP11 coprocessors, then save back. */
" str r1, [r0] \n"
" bx r14 "
" bx r14 \n"
" .ltorg \n" /* make sure the pool is placed here, so ldr doesn't generate a too long jump */
);
}
/*-----------------------------------------------------------*/
Expand Down