summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/drivers/uart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/chibios/drivers/uart.h b/platforms/chibios/drivers/uart.h
index d1917bfc80..16983072ce 100644
--- a/platforms/chibios/drivers/uart.h
+++ b/platforms/chibios/drivers/uart.h
@@ -21,6 +21,9 @@
#include <hal.h>
+#include "gpio.h"
+#include "chibios_config.h"
+
#ifndef SERIAL_DRIVER
# define SERIAL_DRIVER SD1
#endif