From 3a1bbcc2ef46bbab90ef3cde88dfcd8810e71d74 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 25 Nov 2015 00:43:11 +0200 Subject: extmod: Move fsusermount.c from stmhal for cross-port reuse. --- py/builtin.h | 3 +++ py/py.mk | 1 + 2 files changed, 4 insertions(+) (limited to 'py') diff --git a/py/builtin.h b/py/builtin.h index 891b93e9a..5653c48d3 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -105,4 +105,7 @@ extern const mp_obj_module_t mp_module_ussl; extern const mp_obj_module_t mp_module_machine; extern const mp_obj_module_t mp_module_lwip; +// extmod functions +MP_DECLARE_CONST_FUN_OBJ(pyb_mount_obj); + #endif // __MICROPY_INCLUDED_PY_BUILTIN_H__ diff --git a/py/py.mk b/py/py.mk index 00a8c59b6..75e7f461e 100644 --- a/py/py.mk +++ b/py/py.mk @@ -167,6 +167,7 @@ PY_O_BASENAME = \ ../extmod/modubinascii.o \ ../extmod/modmachine.o \ ../extmod/modussl.o \ + ../extmod/fsusermount.o \ # prepend the build destination prefix to the py object files PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME)) -- cgit v1.2.3