summaryrefslogtreecommitdiff
path: root/platforms/chibios/_pin_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/_pin_defs.h')
-rw-r--r--platforms/chibios/_pin_defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/chibios/_pin_defs.h b/platforms/chibios/_pin_defs.h
index 0d96e2fc3b..414c9e3d11 100644
--- a/platforms/chibios/_pin_defs.h
+++ b/platforms/chibios/_pin_defs.h
@@ -21,6 +21,11 @@
# include <hal.h>
#endif
+/* Include the vendor specific pin defs */
+#if __has_include_next("_pin_defs.h")
+# include_next "_pin_defs.h"
+#endif
+
#define A0 PAL_LINE(GPIOA, 0)
#define A1 PAL_LINE(GPIOA, 1)
#define A2 PAL_LINE(GPIOA, 2)