summaryrefslogtreecommitdiff
path: root/stmhal/boards/stm32f4xx_prefix.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-10-30 23:03:58 +0000
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-10-31 19:14:30 +0300
commit731f359292c0e2630873df1a19c5baac7287024f (patch)
tree3aef09fd15b82baa9fff7c72fe3bc7e05a869614 /stmhal/boards/stm32f4xx_prefix.c
parent0bd3f3291d3ea0252a91653a1edcbfa83d524834 (diff)
all: Add py/mphal.h and use it in all ports.
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
Diffstat (limited to 'stmhal/boards/stm32f4xx_prefix.c')
-rw-r--r--stmhal/boards/stm32f4xx_prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/boards/stm32f4xx_prefix.c b/stmhal/boards/stm32f4xx_prefix.c
index 529e0f0c3..f4ffdab68 100644
--- a/stmhal/boards/stm32f4xx_prefix.c
+++ b/stmhal/boards/stm32f4xx_prefix.c
@@ -3,8 +3,8 @@
#include <stdio.h>
#include "py/obj.h"
+#include "py/mphal.h"
#include "pin.h"
-#include MICROPY_HAL_H
#define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \
{ \