diff options
author | Damien George <damien.p.george@gmail.com> | 2015-10-30 23:03:58 +0000 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-10-31 19:14:30 +0300 |
commit | 731f359292c0e2630873df1a19c5baac7287024f (patch) | |
tree | 3aef09fd15b82baa9fff7c72fe3bc7e05a869614 /stmhal/stm32_it.c | |
parent | 0bd3f3291d3ea0252a91653a1edcbfa83d524834 (diff) | |
download | micropython-731f359292c0e2630873df1a19c5baac7287024f.tar.gz micropython-731f359292c0e2630873df1a19c5baac7287024f.zip |
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/stm32_it.c')
-rw-r--r-- | stmhal/stm32_it.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/stm32_it.c b/stmhal/stm32_it.c index dfc33b7c22..1c510d35f7 100644 --- a/stmhal/stm32_it.c +++ b/stmhal/stm32_it.c @@ -92,7 +92,7 @@ extern PCD_HandleTypeDef pcd_handle; #if REPORT_HARD_FAULT_REGS -#include "mphal.h" +#include "py/mphal.h" char *fmt_hex(uint32_t val, char *buf) { const char *hexDig = "0123456789abcdef"; |