summaryrefslogtreecommitdiff
path: root/Core_A/Include/cmsis_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Core_A/Include/cmsis_compiler.h')
-rw-r--r--Core_A/Include/cmsis_compiler.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Core_A/Include/cmsis_compiler.h b/Core_A/Include/cmsis_compiler.h
index b00c6ba..dfd07a2 100644
--- a/Core_A/Include/cmsis_compiler.h
+++ b/Core_A/Include/cmsis_compiler.h
@@ -98,6 +98,10 @@
#ifndef __PACKED
#define __PACKED __attribute__((packed))
#endif
+ #ifndef __COMPILER_BARRIER
+ #warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
+ #define __COMPILER_BARRIER() (void)0
+ #endif
/*
@@ -144,6 +148,10 @@
#ifndef __PACKED
#define __PACKED __packed__
#endif
+ #ifndef __COMPILER_BARRIER
+ #warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
+ #define __COMPILER_BARRIER() (void)0
+ #endif
/*
@@ -190,6 +198,10 @@
#ifndef __PACKED
#define __PACKED @packed
#endif
+ #ifndef __COMPILER_BARRIER
+ #warning No compiler specific solution for __COMPILER_BARRIER. __COMPILER_BARRIER is ignored.
+ #define __COMPILER_BARRIER() (void)0
+ #endif
#else