From 7f2b53dd6114703010992b733eac6c009a623c89 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Thu, 3 Jun 2010 22:59:01 +0100 Subject: [PATCH] STM8: Suppress IAR warnings about volatile ordering on logger messages. --- ports/stm8/atomport-tests.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ports/stm8/atomport-tests.h b/ports/stm8/atomport-tests.h index 0aa4bf3..ca8b29d 100644 --- a/ports/stm8/atomport-tests.h +++ b/ports/stm8/atomport-tests.h @@ -51,6 +51,14 @@ /* Uncomment to enable logging of stack usage to UART */ #define TESTS_LOG_STACK_USAGE +/** + * IAR EWSTM8: Ignore warnings on volatile ordering thrown up + * by ATOMLOG() statements in the test modules. + */ +#ifdef __IAR_SYSTEMS_ICC__ +#pragma diag_suppress=Pa082 +#endif + #endif /* __ATOM_PORT_TESTS_H */