micropython/ports/nrf/modules/uos
Damien George 5956466c0e py/builtin: Clean up and simplify import_stat and builtin_open config.
The following changes are made:

- If MICROPY_VFS is enabled then mp_vfs_import_stat and mp_vfs_open are
  automatically used for mp_import_stat and mp_builtin_open respectively.

- If MICROPY_PY_IO is enabled then "open" is automatically included in the
  set of builtins, and points to mp_builtin_open_obj.

This helps to clean up and simplify the most common port configuration.

Signed-off-by: Damien George <damien@micropython.org>
2022-05-25 13:04:45 +10:00
..
microbitfs.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
microbitfs.h py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
moduos.c nrf: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00