circuitpython/ports
Damien George 9955553001 extmod/modutime: Provide a generic time module.
Based on extmod/utime_mphal.c, with:
- a globals dict added
- time.localtime wrapper added
- time.time wrapper added
- time.time_ns function added

New configuration options are added for this module:
- MICROPY_PY_UTIME (enabled at basic features level)
- MICROPY_PY_UTIME_GMTIME_LOCALTIME_MKTIME
- MICROPY_PY_UTIME_TIME_TIME_NS

Signed-off-by: Damien George <damien@micropython.org>
2023-04-27 15:09:56 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
embed embed: Fix arguments to mp_raw_code_load_mem. 2023-03-13 12:35:12 +11:00
esp32 extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
esp8266 extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
mimxrt extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
minimal shared/runtime/pyexec: Don't allow Ctrl+C to interrupt frozen boot code. 2023-04-05 10:38:50 +10:00
nrf extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
pic16bit ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
powerpc shared/runtime/pyexec: Don't allow Ctrl+C to interrupt frozen boot code. 2023-04-05 10:38:50 +10:00
qemu-arm shared/runtime/gchelper: Drop cpu directive from ARM asm helpers. 2023-01-28 15:51:38 +11:00
renesas-ra extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
rp2 extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
samd extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
stm32 extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
teensy shared/runtime/pyexec: Don't allow Ctrl+C to interrupt frozen boot code. 2023-04-05 10:38:50 +10:00
unix extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
webassembly extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
windows extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00
zephyr extmod/modutime: Provide a generic time module. 2023-04-27 15:09:56 +10:00