micropython/ports
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
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Rename thread_t to mp_thread_t. 2022-05-24 00:51:23 +10:00
esp32 ports: Rename thread_t to mp_thread_t. 2022-05-24 00:51:23 +10:00
esp8266 py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
javascript py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
mimxrt mimxrt: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:56:30 +10:00
minimal py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
nrf py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
pic16bit pic16bit: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
powerpc py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
qemu-arm py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
renesas-ra renesas-ra/modmachine: Add missing MP_REGISTER_MODULE for umachine. 2022-05-25 00:05:30 +10:00
rp2 rp2: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
samd samd: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
stm32 Revert "stm32/rfcore: Intercept addr-resolution HCI cmd to work arou..." 2022-05-25 11:02:35 +10:00
teensy py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
unix unix: Implement `-X realtime` command-line option on macOS. 2022-05-24 00:51:47 +10:00
windows unix: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
zephyr py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00