1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00
RIOT/cpu/cortex-m3_common
Joakim Gebart 76a49bc3d2 cortex-m3: Align initial stack pointer to 64 bits
AAPCS requires stack pointers to be aligned on a double word boundary.

In addition, Clang-3.6 assumes the stack pointer is always aligned to
a 8 byte boundary upon function entry, at least in armv7-m, causing
hard-to-find errors in the compiled code.

This is the same implementation as for the Cortex-M4
2015-05-13 09:17:07 +02:00
..