examples/embedding: Fix build with updated sys and os modules.

Signed-off-by: Damien George <damien@micropython.org>
pull/8270/merge
Damien George 2022-03-25 11:47:30 +11:00
rodzic 73623d04d5
commit b083cdba2b
2 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -137,7 +137,6 @@ SRC_C = $(addprefix ports/unix/,\
unix_mphal.c \
input.c \
modmachine.c \
modos.c \
moduselect.c \
alloc.c \
coverage.c \

Wyświetl plik

@ -75,21 +75,18 @@
#define MICROPY_PY_SYS_EXIT (0)
#define MICROPY_PY_SYS_PLATFORM "linux"
#define MICROPY_PY_SYS_MAXSIZE (0)
#define MICROPY_PY_SYS_PATH_DEFAULT ".frozen"
#define MICROPY_PY_SYS_STDFILES (0)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_UCTYPES (0)
#define MICROPY_PY_UZLIB (0)
#define MICROPY_PY_UJSON (0)
#define MICROPY_PY_UOS (1)
#define MICROPY_PY_URE (0)
#define MICROPY_PY_UHEAPQ (0)
#define MICROPY_PY_UHASHLIB (0)
#define MICROPY_PY_UBINASCII (0)
extern const struct _mp_obj_module_t mp_module_os;
#define MICROPY_PORT_BUILTIN_MODULES \
{ MP_ROM_QSTR(MP_QSTR_uos), MP_ROM_PTR(&mp_module_os) }, \
#define MICROPY_PORT_ROOT_POINTERS \
//////////////////////////////////////////