diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-01-14 22:23:56 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-02-10 09:06:41 -0800 |
commit | 6f9c03676bdf66274c199d296e98e7027324d22e (patch) | |
tree | b6b715bd4710ff6541f343a5af2706f7ad20c056 /teensy/lexerfatfs.c | |
parent | 2e24ee8d80de20e879275c087ecc1ca9b4d27297 (diff) | |
download | micropython-6f9c03676bdf66274c199d296e98e7027324d22e.tar.gz micropython-6f9c03676bdf66274c199d296e98e7027324d22e.zip |
Updated teensy to work with latest on master
Added analogRead, analogWriteXxx and servo support for teensy.
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; +} |