1 parent 41b1df6 commit 68e1c4fCopy full SHA for 68e1c4f
1 file changed
pic16bit/main.c
@@ -33,6 +33,7 @@
33
#include "py/runtime.h"
34
#include "py/gc.h"
35
#include "py/mphal.h"
36
+#include "py/mperrno.h"
37
#include "lib/utils/pyexec.h"
38
#include "readline.h"
39
#include "board.h"
@@ -98,7 +99,7 @@ void gc_collect(void) {
98
99
}
100
101
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
- return NULL;
102
+ mp_raise_OSError(MP_ENOENT);
103
104
105
mp_import_stat_t mp_import_stat(const char *path) {
0 commit comments