summaryrefslogtreecommitdiff
path: root/tests/cpydiff/module_array_constructor.py
diff options
context:
space:
mode:
authorKrzysztof Adamski <k@japko.eu>2021-02-18 19:45:23 +0100
committerDamien George <damien@micropython.org>2021-06-12 23:02:54 +1000
commit37d01d4be3ab5d86e6d4042ccf140cd13a55ac4c (patch)
treebd9511a4b8f5a8f3b6cc6d9944948d8785e6f5f4 /tests/cpydiff/module_array_constructor.py
parentc0499bc2b9a7b4ceb1e0bdd65e900be162810d3d (diff)
rp2/machine_rtc: Add initial support for RTC.
Initial support for machine.RTC on rp2 port. It only supports datetime() method and nothing else. The method gets/returns a tuple of 8 items, just like esp32 port, for example, but the usec parameter is ignored as the RP2 RTC only works up to seconds precision. The Pico RTC isn't very useful as the time is lost during reset and there seems to be no way to easily power up just the RTC clock with a low current voltage, but still there seems to be use-cases for that, see issues #6831, and a Thonny issue #1592. It was also requested for inclusion on v1.15 roadmap on #6832. Signed-off-by: Krzysztof Adamski <k@japko.eu>
Diffstat (limited to 'tests/cpydiff/module_array_constructor.py')
0 files changed, 0 insertions, 0 deletions