aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/stm32f4xx_prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/boards/stm32f4xx_prefix.c')
-rw-r--r--stmhal/boards/stm32f4xx_prefix.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/stmhal/boards/stm32f4xx_prefix.c b/stmhal/boards/stm32f4xx_prefix.c
index c20030172..d22bfacad 100644
--- a/stmhal/boards/stm32f4xx_prefix.c
+++ b/stmhal/boards/stm32f4xx_prefix.c
@@ -1,15 +1,10 @@
// stm32f4xx_prefix.c becomes the initial portion of the generated pins file.
#include <stdio.h>
-#include <stdint.h>
-#include "stm32f4xx_hal.h"
-
-#include "mpconfig.h"
-#include "misc.h"
-#include "qstr.h"
-#include "obj.h"
+#include "py/obj.h"
#include "pin.h"
+#include MICROPY_HAL_H
#define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \
{ \