Sean Cross
9f7c26c60d
nrf: port: call common_hal_rtc_init() during init
...
Call the new function to set the RTC, or reset it if the offset is not
valid.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:30 +08:00
Sean Cross
83680c41db
nrf: rtc: persist rtc offset across reboots
...
Store the RTC value in the .uninitialized section, but make sure to
flank it with some known values. That way we can determine if the RTC
value has been initialized, or if it's random uninitialized garbage.
As part of this, add a `common_hal_rtc_init()` routine to determine if
the value is correct, or reset it to 0 if it is not valid.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:27 +08:00
Sean Cross
3b5f5ddaa6
nrf: port: move saved word into .uninitialized section
...
Circuit Python supports saving a single word of data across reboots.
Previously, this data was placed immediately following the .bss.
However, this appeared to not work, as Circuit Python zeroes out the
heap when it starts up, and the heap begins immediately after the .bss.
Switch to using the new .uninitialized section in order to store this
word across resets.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:25 +08:00
Sean Cross
192bb155fa
nrf: port: move the heap after .uninitialized
...
Previously, it was placed following .bss. However, now that there is a
new section after .bss, the heap must be moved forward.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:20 +08:00
Sean Cross
f002c784c0
nrf: linker: add a new .uninitialized section
...
This section immediately follows the .bss section, and is designed to
contain uninitialized variables that should persist across reboots.
The section is placed directly after .bss, under the theory that the
size of Circuit Python's .bss + .data is bigger than the bootloader's
.bss + .data, so there is less likely to be a conflict.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-18 11:52:17 +08:00
Jeff Epler
2314f988b1
Merge pull request #2921 from weblate/weblate-circuitpython-master
...
Translations update from Weblate
2020-05-17 22:23:38 -05:00
Jeff Epler
66b79c994e
Translated using Weblate (German)
...
Currently translated at 66.6% (497 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
2020-05-18 04:48:01 +02:00
Anonymous
cb3c8f1423
Translated using Weblate (German)
...
Currently translated at 66.6% (497 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
2020-05-18 04:47:39 +02:00
Anonymous
f362ee1e75
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (746 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-18 04:23:28 +02:00
Anonymous
4d1cbf3d63
Translated using Weblate (French)
...
Currently translated at 100.0% (746 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
bc64b8b358
Translated using Weblate (French)
...
Currently translated at 100.0% (746 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
5454877fb8
Translated using Weblate (Spanish)
...
Currently translated at 68.9% (514 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/es/
2020-05-18 04:23:28 +02:00
Jonny Bergdahl
5506765db5
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (746 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-18 04:23:28 +02:00
Anonymous
b7292a3c34
Translated using Weblate (French)
...
Currently translated at 92.8% (693 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
a04d453e5c
Translated using Weblate (French)
...
Currently translated at 92.8% (693 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
85fb231639
Translated using Weblate (French)
...
Currently translated at 92.3% (689 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
2c4e18be60
Translated using Weblate (French)
...
Currently translated at 92.3% (689 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
a543f9fd71
Translated using Weblate (French)
...
Currently translated at 92.0% (687 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
360777e7fe
Translated using Weblate (French)
...
Currently translated at 92.0% (687 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
0d7e22b36d
Translated using Weblate (French)
...
Currently translated at 91.9% (686 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
5eb43a35a2
Translated using Weblate (French)
...
Currently translated at 91.9% (686 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
edb033c63b
Translated using Weblate (French)
...
Currently translated at 91.5% (683 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
68406d0eea
Translated using Weblate (French)
...
Currently translated at 91.5% (683 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
f48a50fdd1
Translated using Weblate (French)
...
Currently translated at 91.2% (681 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Jeff Epler
a0d7f5cce3
Translated using Weblate (French)
...
Currently translated at 91.2% (681 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:28 +02:00
Anonymous
4642c60f14
Translated using Weblate (French)
...
Currently translated at 91.1% (680 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
f4e8213439
Translated using Weblate (French)
...
Currently translated at 91.1% (680 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
b88541158c
Translated using Weblate (French)
...
Currently translated at 89.4% (667 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
2f363b5052
Translated using Weblate (French)
...
Currently translated at 89.4% (667 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
e942dd6f78
Translated using Weblate (French)
...
Currently translated at 89.0% (664 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
362c4d3443
Translated using Weblate (French)
...
Currently translated at 89.0% (664 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
a65182dccf
Translated using Weblate (French)
...
Currently translated at 88.0% (657 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
a7f4a35d80
Translated using Weblate (French)
...
Currently translated at 88.0% (657 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
992f290eb8
Translated using Weblate (French)
...
Currently translated at 85.2% (636 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
d40ac8e65d
Translated using Weblate (French)
...
Currently translated at 85.2% (636 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
c51f5a6b26
Translated using Weblate (French)
...
Currently translated at 83.6% (624 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
19eec97959
Translated using Weblate (French)
...
Currently translated at 83.6% (624 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
aa0b21a852
Translated using Weblate (French)
...
Currently translated at 83.3% (622 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
8ed19c16e2
Translated using Weblate (French)
...
Currently translated at 83.3% (622 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
56c8a3d5bd
Translated using Weblate (French)
...
Currently translated at 82.7% (617 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
9aee97c0a0
Translated using Weblate (French)
...
Currently translated at 82.7% (617 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
0475897b69
Translated using Weblate (French)
...
Currently translated at 82.3% (614 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
78506469e5
Translated using Weblate (French)
...
Currently translated at 82.3% (614 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
1238850bc6
Translated using Weblate (French)
...
Currently translated at 81.9% (611 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
fbdd45cbb7
Translated using Weblate (French)
...
Currently translated at 81.9% (611 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
eee39afdbe
Translated using Weblate (French)
...
Currently translated at 81.7% (610 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
2263b3c536
Translated using Weblate (French)
...
Currently translated at 81.7% (610 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
4341b4a356
Translated using Weblate (French)
...
Currently translated at 81.5% (608 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Jeff Epler
d5097891f1
Translated using Weblate (French)
...
Currently translated at 81.5% (608 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00
Anonymous
ce1767ef08
Translated using Weblate (French)
...
Currently translated at 81.3% (607 of 746 strings)
Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:27 +02:00