mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Set ARM byte alignment to 8.
This commit is contained in:
parent
2d958d3d2c
commit
2cb1578b30
3 changed files with 4 additions and 5 deletions
|
@ -153,12 +153,11 @@ portSTACK_TYPE *pxOriginalTOS;
|
|||
system mode, with interrupts enabled. */
|
||||
*pxTopOfStack = ( portSTACK_TYPE ) portINITIAL_SPSR;
|
||||
|
||||
#ifdef KEIL_THUMB_INTERWORK
|
||||
{
|
||||
if( ( ( unsigned long ) pxCode & 0x01UL ) != 0x00UL )
|
||||
{
|
||||
/* We want the task to start in thumb mode. */
|
||||
*pxTopOfStack |= portTHUMB_MODE_BIT;
|
||||
}
|
||||
#endif
|
||||
|
||||
pxTopOfStack--;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue