From ee009d713a40e710bd6c7d5e98b47f5825fd3e69 Mon Sep 17 00:00:00 2001 From: Robert HH Date: Mon, 30 May 2016 21:09:20 +0200 Subject: 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. --- unix/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unix') 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) -- cgit v1.2.3