summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/chibios/init_hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/chibios/init_hooks.h')
-rw-r--r--tmk_core/protocol/chibios/init_hooks.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/init_hooks.h b/tmk_core/protocol/chibios/init_hooks.h
new file mode 100644
index 0000000000..fffced913a
--- /dev/null
+++ b/tmk_core/protocol/chibios/init_hooks.h
@@ -0,0 +1,5 @@
+#pragma once
+
+// Override the initialisation functions inside the ChibiOS board.c files
+#define __early_init __chibios_override___early_init
+#define boardInit __chibios_override_boardInit