Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
ac04a8a5
Commit
ac04a8a5
authored
Sep 25, 2014
by
Damien George
Browse files
stmhal: Enable 8-byte stack alignment for IRQ handlers.
parent
e8ea0724
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/system_stm32f4xx.c
View file @
ac04a8a5
...
...
@@ -199,6 +199,9 @@ void SystemInit(void)
#else
SCB
->
VTOR
=
FLASH_BASE
|
VECT_TAB_OFFSET
;
/* Vector Table Relocation in Internal FLASH */
#endif
/* dpgeorge: enable 8-byte stack alignment for IRQ handlers, in accord with EABI */
SCB
->
CCR
|=
SCB_CCR_STKALIGN_Msk
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment