From 731f359292c0e2630873df1a19c5baac7287024f Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 30 Oct 2015 23:03:58 +0000 Subject: 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. --- stmhal/modmachine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/modmachine.c') diff --git a/stmhal/modmachine.c b/stmhal/modmachine.c index fa6a1f9dd..6a0c4a9fc 100644 --- a/stmhal/modmachine.c +++ b/stmhal/modmachine.c @@ -29,6 +29,7 @@ #include "modmachine.h" #include "py/gc.h" #include "py/runtime.h" +#include "py/mphal.h" #include "lib/fatfs/ff.h" #include "lib/fatfs/diskio.h" #include "gccollect.h" @@ -38,7 +39,6 @@ #include "pin.h" #include "timer.h" #include "usb.h" -#include MICROPY_HAL_H // machine.info([dump_alloc_table]) // Print out lots of information about the board. -- cgit v1.2.3