Commit Graph

16259 Commits

Author SHA1 Message Date
Scott Shawcroft
4146d6f872
Merge pull request #2890 from jepler/nrf-audio-tick
nrf: put supervisor enable/disable tick in place
2020-06-01 15:51:22 -07:00
Scott Shawcroft
dd2cd6f002
Merge pull request #2979 from hierophect/stm32-remove-crystals
STM32: Set correct crystal settings on Discovery boards
2020-06-01 15:21:39 -07:00
Scott Shawcroft
a170c5e13a
Merge branch 'master' into update-ulab 2020-06-01 15:19:21 -07:00
Scott Shawcroft
323cca8910
Merge remote-tracking branch 'adafruit/master' into wdt-nrf 2020-06-01 15:18:12 -07:00
Scott Shawcroft
bdbb16ec83
Merge pull request #2983 from jepler/fix-storage-docs
shared-bindings: Fix docs of storage.VfsFat
2020-06-01 14:36:58 -07:00
Scott Shawcroft
e7abd8a0ab
Merge pull request #2986 from xiongyihui/master
include uf2 firmware for nrf52840 mdk usb dongle
2020-06-01 14:35:58 -07:00
Scott Shawcroft
f4d3c352ae
Merge pull request #2988 from jepler/change-make-translate
Makefile: "make translate" will only update circuitpython.pot
2020-06-01 14:34:45 -07:00
Jeff Epler
2e29f26e53
Merge pull request #2980 from bd34n/flash-device-gd25s512md
.../devices.h: Add GigaDevices GD25S512MD 64 MiB flash chip support.
2020-06-01 11:40:08 -05:00
Jeff Epler
70e99e78b6
Merge pull request #2990 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-06-01 11:38:57 -05:00
Lucian Copeland
75eb44f234 Note temporary issue with Nucleo boards 2020-06-01 12:26:08 -04:00
Jeff Epler
7f3fd20ea9 ulab: update submodule again 2020-06-01 11:03:38 -05:00
Jeff Epler
8af77cb91f ulab: docs: Fix markup error 2020-06-01 11:02:51 -05:00
Jeff Epler
5061405eb3 fix spelling 2020-06-01 09:16:55 -05:00
Jeff Epler
9f7a874d02 make translate 2020-06-01 09:02:29 -05:00
Jeff Epler
18c659780e ulab: update
.. add new modules and functions to our shared-bindings stubs
2020-06-01 09:02:29 -05:00
Jeff Epler
f211a090e2 py.mk: Assume we want all C source files in ulab 2020-06-01 08:26:23 -05:00
Jeff Epler
1cc281b6a4 py.mk: Assume we want all C files from ulab 2020-06-01 08:20:23 -05:00
Jeff Epler
81452475e4
Translated using Weblate (Swedish)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-06-01 15:17:08 +02:00
David Glaude
c909b733a8
Translated using Weblate (French)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-01 15:17:07 +02:00
Jeff Epler
9cffe28ae7
Translated using Weblate (French)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-01 15:17:07 +02:00
Jeff Epler
cd5577c4d9
Merge pull request #2987 from kamtom480/spresense-raw-ticks
spresense: Fix port_get_raw_ticks
2020-06-01 08:16:59 -05:00
Jeff Epler
79e2ede7c1 Makefile: "make translate" will only update circuitpython.pot
We can now rely on weblate to regularly update the individual language
files from the template, so "make translate" only needs to update the
template file circuitpython.pot.

This is advantageous because updating the other files in locale/ was
a frequent source of merge conflicts; resolving the conflict incorrectly
was something that could easily occur (and did).
2020-06-01 07:51:57 -05:00
Kamil Tomaszewski
ce337eaa27 Fix port_get_raw_ticks 2020-06-01 11:35:46 +02:00
Yihui Xiong
e0ca70119c include uf2 firmware for nrf52840 mdk usb dongle which has a uf2 bootloader now 2020-06-01 07:13:45 +00:00
Jeff Epler
89bd87d9fc shared-bindings: Fix docs of storage.VfsFat
This is almost, but not entirely, a whitespace change.

"..." was missing or mis-placed in several places

The invalid syntax 'def f(self, ):' was used in several places.
2020-05-31 10:35:42 -05:00
Jeff Epler
47efd595fc
Merge pull request #2970 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-05-31 09:19:01 -05:00
_fonzlate
b354c9e2e8
Translated using Weblate (Dutch)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/nl/
2020-05-31 13:41:40 +02:00
Jonny Bergdahl
a76447ea6c
Translated using Weblate (Swedish)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-30 04:52:21 +02:00
Brian Dean
cf888dc02b .../devices.h: Add GigaDevices GD25S512MD 64 MiB flash chip support. 2020-05-29 15:40:56 -04:00
Thomas Friehoff
1616f7cf95 Translated using Weblate (German)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
2020-05-29 20:21:10 +02:00
Hosted Weblate
2303291f38 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/
2020-05-29 20:21:10 +02:00
Jeff Epler
5cd6bb4d56
Merge pull request #2978 from tannewt/fix_merge_translate
Fix merge-translate by starting with 'theirs'
2020-05-29 13:21:04 -05:00
Dan Halbert
4667d4de8c
Merge pull request #2975 from dhalbert/aesio-nrf52840
enable aesio on all nRF52840 boards
2020-05-29 14:07:30 -04:00
Lucian Copeland
0fe7efdf36 Set correct crystal settings on Discovery boards 2020-05-29 14:01:34 -04:00
Scott Shawcroft
ddcae19254
Merge pull request #2964 from hierophect/mimxrt-busio-cleanup
mimxrt10xx: Busio cleanup and bugfixes
2020-05-29 10:42:16 -07:00
Scott Shawcroft
0e6813d084
Fix merge-translate by starting with 'theirs' 2020-05-29 10:17:42 -07:00
Scott Shawcroft
2fd7a43f2f
Merge remote-tracking branch 'adafruit/master' into wdt-nrf 2020-05-29 10:16:24 -07:00
Lucian Copeland
fe75c7793c Fix SWO/Analog overlap, style changes 2020-05-29 12:19:37 -04:00
Dan Halbert
0d2fee95e2 enable aesio on all nRF52840 boards 2020-05-29 11:06:30 -04:00
Dan Halbert
7ea95457ee
Merge pull request #2974 from tannewt/esp32s2_spill
Spill registers before scanning the stack.
2020-05-28 22:10:46 -04:00
Dan Halbert
6ace4ee7e8
Merge pull request #2968 from jepler/more-efficient-translation
More efficient translation
2020-05-28 21:37:45 -04:00
Scott Shawcroft
2fb4fa3289
Spill registers before scanning the stack.
From the change:

    // xtensa has more registers than an instruction can address. The 16 that
    // can be addressed are called the "window". When a function is called or
    // returns the window rotates. This allows for more efficient function calls
    // because ram doesn't need to be used. It's only used if the window wraps
    // around onto itself. At that point values are "spilled" to empty spots in
    // the stack that were set aside. When the window rotates back around (on
    // function return), the values are restored into the register from ram.

    // So, in order to read the values in the stack scan we must make sure all
    // of the register values we care about have been spilled to RAM. Luckily,
    // there is a HAL call to do it. There is a bit of a race condition here
    // because the register value could change after it's been restored but that
    // is unlikely to happen with a heap pointer while we do a GC.

Fixes #2907
2020-05-28 18:34:14 -07:00
Dan Halbert
d98151a434
Merge pull request #2972 from tannewt/esp32s2_fixes1
A number of small ESP32S2 fixes
2020-05-28 19:25:53 -04:00
Scott Shawcroft
796373b8be
A number of small ESP32S2 fixes:
* Fix flash writes that don't end on a sector boundary. Fixes #2944
* Fix enum incompatibility with IDF.
* Fix printf output so it goes out debug UART.
* Increase stack size to 8k.
* Fix sleep of less than a tick so it doesn't crash.
2020-05-28 15:43:55 -07:00
Scott Shawcroft
a9419b5d46
Update ESP IDF 2020-05-28 15:38:48 -07:00
Scott Shawcroft
b901def8b3
Merge pull request #2967 from jepler/fix-translation-merge-error
locale:  Restore translations lost in 357467022
2020-05-28 11:52:18 -07:00
Jeff Epler
d0f9b5901e translations: document the compressed format 2020-05-28 11:30:46 -05:00
Lucian Copeland
9ee278d2ac Merge remote-tracking branch 'upstream/master' into mimxrt-busio-cleanup 2020-05-28 12:24:37 -04:00
Lucian Copeland
fd00bb8b7f Fix pin reset flash conflict error 2020-05-28 12:15:21 -04:00
Jeff Epler
fe3e8d1589 string compression: save a few bits per string
Length was stored as a 16-bit number always.  Most translations have
a max length far less.  For example, US English translation lengths
always fit in just 8 bits.  probably all languages fit in 9 bits.

This also has the side effect of reducing the alignment of
compressed_string_t from 2 bytes to 1.

testing performed: ran in german and english on pyruler, printed messages
looked right.

Firmware size, en_US
Before: 3044 bytes free in flash
After: 3408 bytes free in flash

Firmware size, de_DE (with #2967 merged to restore translations)
Before: 1236 bytes free in flash
After: 1600 bytes free in flash
2020-05-28 08:36:08 -05:00