diff options
-rw-r--r-- | stmhal/pyexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c index d62b2a373c..00cd95362d 100644 --- a/stmhal/pyexec.c +++ b/stmhal/pyexec.c @@ -42,7 +42,9 @@ #include "repl.h" #include "gc.h" #include "gccollect.h" +#ifdef MICROPY_HAL_H #include MICROPY_HAL_H +#endif #include "systick.h" #include "readline.h" #include "pyexec.h" |