summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/gccollect.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/gccollect.c')
-rw-r--r--stmhal/gccollect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/gccollect.c b/stmhal/gccollect.c
index 721aa062d1..c71ed13a5e 100644
--- a/stmhal/gccollect.c
+++ b/stmhal/gccollect.c
@@ -25,8 +25,7 @@
*/
#include <stdio.h>
-
-#include <stm32f4xx_hal.h>
+#include <stdint.h>
#include "mpconfig.h"
#include "misc.h"
@@ -34,6 +33,7 @@
#include "obj.h"
#include "gc.h"
#include "gccollect.h"
+#include MICROPY_HAL_H
machine_uint_t gc_helper_get_regs_and_sp(machine_uint_t *regs);