From 0e1b5faad5b29de39a42cc59ee4a6ac8355c8bcc Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 18 Dec 2015 22:22:43 +0200 Subject: [PATCH] stmhal, cc3200: Actually implement machine -> umachine module weak link. --- cc3200/mpconfigport.h | 1 + stmhal/mpconfigport.h | 1 + 2 files changed, 2 insertions(+) diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h index 83f3aaf75c..97c89c6fe4 100644 --- a/cc3200/mpconfigport.h +++ b/cc3200/mpconfigport.h @@ -154,6 +154,7 @@ extern const struct _mp_obj_module_t mp_module_ussl; { MP_OBJ_NEW_QSTR(MP_QSTR_socket), (mp_obj_t)&mp_module_usocket }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_binascii), (mp_obj_t)&mp_module_ubinascii }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_ssl), (mp_obj_t)&mp_module_ussl }, \ + { MP_OBJ_NEW_QSTR(MP_QSTR_machine), (mp_obj_t)&machine_module }, \ // extra constants #define MICROPY_PORT_CONSTANTS \ diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 3f5caeca98..22e3c05e91 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -136,6 +136,7 @@ extern const struct _mp_obj_module_t mp_module_network; { MP_OBJ_NEW_QSTR(MP_QSTR_select), (mp_obj_t)&mp_module_uselect }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_socket), (mp_obj_t)&mp_module_usocket }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_struct), (mp_obj_t)&mp_module_ustruct }, \ + { MP_OBJ_NEW_QSTR(MP_QSTR_machine), (mp_obj_t)&machine_module }, \ // extra constants #define MICROPY_PORT_CONSTANTS \