summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/readline.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-06-15 22:33:14 -0700
committerDave Hylands <dhylands@gmail.com>2014-06-15 22:48:05 -0700
commit4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch)
treed9e0f1b0e7dd290a728c065960500ecf30967997 /stmhal/readline.c
parent2547928148aefcf163953057979e14f46bef1170 (diff)
downloadmicropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.tar.gz
micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.zip
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'stmhal/readline.c')
-rw-r--r--stmhal/readline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stmhal/readline.c b/stmhal/readline.c
index d40bd4219b..f75734396d 100644
--- a/stmhal/readline.c
+++ b/stmhal/readline.c
@@ -25,10 +25,9 @@
*/
#include <stdio.h>
+#include <stdint.h>
#include <string.h>
-#include <stm32f4xx_hal.h>
-
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
@@ -38,6 +37,8 @@
#include "readline.h"
#include "usb.h"
+#include HAL_H
+
#if 0 // print debugging info
#define DEBUG_PRINT (1)
#define DEBUG_printf printf