diff options
Diffstat (limited to 'teensy/lexerfatfs.c')
-rw-r--r-- | teensy/lexerfatfs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/teensy/lexerfatfs.c b/teensy/lexerfatfs.c index 2ded0756f7..95084b6501 100644 --- a/teensy/lexerfatfs.c +++ b/teensy/lexerfatfs.c @@ -2,11 +2,13 @@ #include <stdio.h> #include "misc.h" +#include "mpconfig.h" +#include "qstr.h" #include "lexer.h" typedef int FIL; #include "../stm/lexerfatfs.h" -mp_lexer_t *mp_lexer_new_from_file(const char *filename, mp_lexer_file_buf_t *fb) { +mp_lexer_t *mp_lexer_new_from_file(const char *filename) { printf("import not implemented\n"); return NULL; } @@ -15,3 +17,8 @@ mp_lexer_t *mp_import_open_file(qstr mod_name) { printf("import not implemented\n"); return NULL; } + +mp_import_stat_t mp_import_stat(const char *path) { + // TODO implement me! + return MP_IMPORT_STAT_NO_EXIST; +} |