From 0107e90328334fab9a85c1c72c905eed64afee4f Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 12 Oct 2014 20:23:47 +0100 Subject: stmhal: Enable module weak links. os, time, select modules are now prefixed with u, but are still available (via weak links) as their original names. ure and ujson now available as re and json via weak links. --- stmhal/portmodules.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stmhal/portmodules.h') diff --git a/stmhal/portmodules.h b/stmhal/portmodules.h index ebeaae796..86580ea7f 100644 --- a/stmhal/portmodules.h +++ b/stmhal/portmodules.h @@ -24,11 +24,11 @@ * THE SOFTWARE. */ -extern const mp_obj_module_t os_module; extern const mp_obj_module_t pyb_module; extern const mp_obj_module_t stm_module; -extern const mp_obj_module_t time_module; -extern const mp_obj_module_t mp_module_select; +extern const mp_obj_module_t mp_module_uos; +extern const mp_obj_module_t mp_module_utime; +extern const mp_obj_module_t mp_module_uselect; extern const mp_obj_module_t mp_module_usocket; // additional helper functions exported by the modules -- cgit v1.2.3