summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/gccollect.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/gccollect.c')
-rw-r--r--stmhal/gccollect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stmhal/gccollect.c b/stmhal/gccollect.c
index 79082e2f2e..64ac7baa7d 100644
--- a/stmhal/gccollect.c
+++ b/stmhal/gccollect.c
@@ -25,8 +25,7 @@
*/
#include <stdio.h>
-
-#include <stm32f4xx_hal.h>
+#include <stdint.h>
#include "misc.h"
#include "mpconfig.h"
@@ -35,6 +34,8 @@
#include "gc.h"
#include "gccollect.h"
+#include HAL_H
+
machine_uint_t gc_helper_get_regs_and_sp(machine_uint_t *regs);
// obsolete