From 0defc77fb74e6c0172f5f37c46fce88204d1f46b Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Thu, 9 Jun 2016 22:03:25 -0500 Subject: [PATCH] Added warning about stack alignment limitations on IAR --- hal/api/toolchain.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hal/api/toolchain.h b/hal/api/toolchain.h index 48ddce86dc..97184e1b7d 100644 --- a/hal/api/toolchain.h +++ b/hal/api/toolchain.h @@ -50,6 +50,9 @@ /** MBED_ALIGN(N) * Declare a variable to be aligned on an N-byte boundary. + * + * @note + * IAR does not support alignment greater than word size on the stack * * @code * #include "toolchain.h"