diff options
| author | Damien George <damien@micropython.org> | 2022-03-03 17:59:30 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-03-09 10:03:23 +1100 |
| commit | 926b554dafffa1e9bd80aa12fea5c621221c9d79 (patch) | |
| tree | 448ffc696c24da0ef1e88c6c46f2f8bd328ab0a2 /ports/zephyr/moduos.c | |
| parent | 507ad03329983551635831c0b5ba76319eaca165 (diff) | |
extmod/moduos: Create general uos module to be used by all ports.
Based on the rp2 port version, with the rp2 port converted to use this
module.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/zephyr/moduos.c')
| -rw-r--r-- | ports/zephyr/moduos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/zephyr/moduos.c b/ports/zephyr/moduos.c index 49d5744af..4d1eeb667 100644 --- a/ports/zephyr/moduos.c +++ b/ports/zephyr/moduos.c @@ -36,7 +36,7 @@ #include "extmod/vfs_lfs.h" #endif -#if MICROPY_PY_UOS +#if MICROPY_PY_UOS_ZEPHYR STATIC const mp_rom_map_elem_t uos_module_globals_table[] = { { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_uos) }, @@ -72,4 +72,4 @@ const mp_obj_module_t mp_module_uos = { .globals = (mp_obj_dict_t *)&uos_module_globals, }; -#endif // MICROPY_PY_UOS +#endif // MICROPY_PY_UOS_ZEPHYR |
