158
158
#define MICROPY_PORT_BUILTINS \
159
159
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
160
160
161
- // extra built in modules to add to the list of known ones
162
- extern const struct _mp_obj_module_t mp_module_ubinascii ;
163
- extern const struct _mp_obj_module_t mp_module_ure ;
164
- extern const struct _mp_obj_module_t mp_module_uzlib ;
165
- extern const struct _mp_obj_module_t mp_module_ujson ;
166
- extern const struct _mp_obj_module_t mp_module_uheapq ;
167
- extern const struct _mp_obj_module_t mp_module_uhashlib ;
168
- extern const struct _mp_obj_module_t mp_module_utime ;
169
- extern const struct _mp_obj_module_t mp_module_onewire ;
170
-
171
161
#if MICROPY_PY_MACHINE
172
162
#define MACHINE_BUILTIN_MODULE_CONSTANTS \
173
163
{ MP_ROM_QSTR(MP_QSTR_umachine), MP_ROM_PTR(&mp_module_machine) }, \
@@ -176,22 +166,6 @@ extern const struct _mp_obj_module_t mp_module_onewire;
176
166
#define MACHINE_BUILTIN_MODULE_CONSTANTS
177
167
#endif
178
168
179
- #if MICROPY_PY_UTIME
180
- #define UTIME_BUILTIN_MODULE { MP_ROM_QSTR(MP_QSTR_utime), MP_ROM_PTR(&mp_module_utime) },
181
- #else
182
- #define UTIME_BUILTIN_MODULE
183
- #endif
184
-
185
- #if MICROPY_PY_ONEWIRE
186
- #define ONEWIRE_BUILTIN_MODULE { MP_ROM_QSTR(MP_QSTR__onewire), MP_ROM_PTR(&mp_module_onewire) },
187
- #else
188
- #define ONEWIRE_BUILTIN_MODULE
189
- #endif
190
-
191
- #define MICROPY_PORT_BUILTIN_MODULES \
192
- UTIME_BUILTIN_MODULE \
193
- ONEWIRE_BUILTIN_MODULE \
194
-
195
169
// extra constants
196
170
#define MICROPY_PORT_CONSTANTS \
197
171
MACHINE_BUILTIN_MODULE_CONSTANTS \
0 commit comments