circuitpython/ports
Sean Cross 4cca455c9b nrf: reset rtc as part of port_reset()
On NRF, the `rtc_reset()` function is never called.  As a result,
calls to `time.time()` return a cryptic error>

```
>>> import time
>>> time.time()
'' object has no attribute 'datetime'
>>>
```

This is because `MP_STATE_VM(rtc_time_source)` is not initialized
due to `rtc_reset()` never being called.

If `CIRCUITPY_RTC` is enabled, call `rtc_reset()` as part of the
`reset_port()` call. This ensures that `time.time()` works as expected.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-20 16:44:18 +08:00
..
atmel-samd Merge pull request #2837 from k0d/serial-debug 2020-05-18 18:13:31 -07:00
cxd56 Merge pull request #2837 from k0d/serial-debug 2020-05-18 18:13:31 -07:00
litex refactor countio based on feedback 2020-05-05 15:23:38 +10:00
mimxrt10xx Merge pull request #2837 from k0d/serial-debug 2020-05-18 18:13:31 -07:00
nrf nrf: reset rtc as part of port_reset() 2020-05-20 16:44:18 +08:00
stm Merge pull request #2837 from k0d/serial-debug 2020-05-18 18:13:31 -07:00
unix ulab: rename enable macro so it appears in the support matrix 2020-03-17 09:33:03 -05:00