summaryrefslogtreecommitdiff
path: root/platforms/chibios/bootloaders
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/bootloaders')
-rw-r--r--platforms/chibios/bootloaders/gd32v_dfu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/chibios/bootloaders/gd32v_dfu.c b/platforms/chibios/bootloaders/gd32v_dfu.c
index 7a979638e3..baa7d1f882 100644
--- a/platforms/chibios/bootloaders/gd32v_dfu.c
+++ b/platforms/chibios/bootloaders/gd32v_dfu.c
@@ -17,6 +17,7 @@
#include "bootloader.h"
#include <ch.h>
+#include <hal.h>
#define DBGMCU_KEY_UNLOCK 0x4B5A6978
#define DBGMCU_CMD_RESET 0x1