summaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorRobert HH <robert@hammelrath.com>2016-05-30 21:09:20 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-31 13:03:12 +0300
commitee009d713a40e710bd6c7d5e98b47f5825fd3e69 (patch)
tree9eda6e3b5d6821fe31e8474dd842826121e9bf63 /unix
parent7d4fd8b6db5ce81ea239efa53118e126a2b8dd54 (diff)
extmod/vfs_fat.c: Add vfs.stat().
The call to stat() returns a 10 element tuple consistent to the os.stat() call. At the moment, the only relevant information returned are file type and file size.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile
index a3c119791..90653e88e 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -15,6 +15,7 @@ include ../py/py.mk
INC += -I.
INC += -I..
+INC += -I../lib/timeutils
INC += -I$(BUILD)
# compiler settings
@@ -163,6 +164,7 @@ LIB_SRC_C = $(addprefix lib/,\
utils/printf.c \
fatfs/ff.c \
fatfs/option/ccsbcs.c \
+ timeutils/timeutils.c \
)
OBJ = $(PY_O)