Skip to content

Commit 0defc77

Browse files
committed
Added warning about stack alignment limitations on IAR
1 parent 9714a0e commit 0defc77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hal/api/toolchain.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050

5151
/** MBED_ALIGN(N)
5252
* Declare a variable to be aligned on an N-byte boundary.
53+
*
54+
* @note
55+
* IAR does not support alignment greater than word size on the stack
5356
*
5457
* @code
5558
* #include "toolchain.h"

0 commit comments

Comments
 (0)