aboutsummaryrefslogtreecommitdiff
path: root/stmhal/portmodules.h
diff options
context:
space:
mode:
authorDamien George2014-10-12 20:23:47 +0100
committerDamien George2014-10-12 20:23:47 +0100
commit0107e90328334fab9a85c1c72c905eed64afee4f (patch)
tree42c69d95688bc866aeb551ecb2d60e2182293bc4 /stmhal/portmodules.h
parentc14a81662c1df812c0c6b4299f97966302f16477 (diff)
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.
Diffstat (limited to 'stmhal/portmodules.h')
-rw-r--r--stmhal/portmodules.h6
1 files changed, 3 insertions, 3 deletions
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