summaryrefslogtreecommitdiffstats
path: root/stm32/app/asm_fns.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/asm_fns.h')
-rw-r--r--stm32/app/asm_fns.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm32/app/asm_fns.h b/stm32/app/asm_fns.h
new file mode 100644
index 0000000..b0d10d9
--- /dev/null
+++ b/stm32/app/asm_fns.h
@@ -0,0 +1,4 @@
+static inline void compiler_mb(void) {
+asm volatile ("");
+}
+