diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-10 22:51:35 +0000 |
commit | f1081f400b3dd072fd46704d93557bd40ae617e5 (patch) | |
tree | 418dbb67431fe21ce9ca8578c3ec271a52ceded5 /teensy/lexerfatfs.c | |
parent | ed378cd12f05c78c735dffe1c0a6b3cb4337e67d (diff) | |
parent | 724026ab402a13a2344ac6679a665394777ff0fa (diff) | |
download | micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.tar.gz micropython-f1081f400b3dd072fd46704d93557bd40ae617e5.zip |
Merge branch 'master' of github.com:micropython/micropython
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; +} |