[python] Use a custom modtime implementation

It only exposes "monotonic" and "sleep" functions, which are the
only part of CPython's time we can actually do at the moment.
This commit is contained in:
Romain Goyet
2018-11-15 14:18:01 +01:00
parent 1b57bc39c0
commit 1142fd00a2
4 changed files with 44 additions and 73 deletions

View File

@@ -123,7 +123,6 @@ py_objs = $(addprefix python/src/py/,\
extmod_objs += $(addprefix python/src/extmod/,\
modurandom.o \
modutime.o \
)
port_objs += $(addprefix python/port/,\
@@ -132,6 +131,7 @@ port_objs += $(addprefix python/port/,\
helpers.o \
modkandinsky.o \
modkandinsky_impl.o \
modtime.o \
mphalport.o \
)