From 3ca07eb5259f23711d25491a934588ef21567ba4 Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Thu, 6 Jun 2019 12:54:25 +0200 Subject: [PATCH] WIP: Enable utime Signed-off-by: Rahix <rahix@rahix.de> --- ports/card10/Makefile | 2 +- ports/card10/mpconfigport.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ports/card10/Makefile b/ports/card10/Makefile index 4120a35f1..85382c042 100644 --- a/ports/card10/Makefile +++ b/ports/card10/Makefile @@ -50,7 +50,7 @@ SRC_C = \ lib/libc/string0.c \ lib/mp-readline/readline.c \ -OBJ = $(PY_CORE_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) +OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) # SDK compilation hack diff --git a/ports/card10/mpconfigport.h b/ports/card10/mpconfigport.h index 680f8a6d5..3faa728ef 100644 --- a/ports/card10/mpconfigport.h +++ b/ports/card10/mpconfigport.h @@ -58,6 +58,7 @@ #define MICROPY_CPYTHON_COMPAT (0) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) +#define MICROPY_PY_UTIME_MP_HAL (1) // type definitions for the specific machine -- GitLab