24314 Commits

Author SHA1 Message Date
Hosted Weblate
0b8824313a Merge remote-tracking branch 'origin/main' into main 2021-05-06 19:51:51 +02:00
Wellington Terumi Uemura
45cf638ba0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (973 of 973 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-05-06 19:51:51 +02:00
Hugo Dahl
8de14446cd
Translated using Weblate (French)
Currently translated at 100.0% (973 of 973 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-05-06 19:51:50 +02:00
Jose David M
bd731a14bb
Translated using Weblate (Spanish)
Currently translated at 100.0% (973 of 973 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-05-06 19:51:50 +02:00
Dan Halbert
ebf9dcb47a
Merge pull request #4689 from dhalbert/dynamic-usb-descriptors
Dynamic USB descriptors
2021-05-06 13:51:38 -04:00
Scott Shawcroft
71d2536725
Build fixes thanks to jepler 2021-05-06 09:04:56 -07:00
Artyom Skrobov
908d83d1f2 s/Circuit Python/CircuitPython/g
Some comments and messages used the non-standard spelling
2021-05-06 16:22:35 +03:00
Jeff Epler
03a4f85556
Merge pull request #4713 from jepler/mpy-magic-number
Change the first byte of CircuitPython 'mpy' files to "C"
2021-05-06 08:01:22 -05:00
Mike Causer
9eea51b730 drivers/display/ssd1306.py: Add rotate method.
And clean up (make more efficient) display set-up commands.
2021-05-06 15:57:19 +10:00
mishafarms
8ff3520f67 esp32/esp32_rmt: Clear config struct before filling it out.
Or unset entries will have garbage in them.

Signed-off-by: mishafarms <github@mishafarms.us>
2021-05-06 15:53:56 +10:00
Mike Causer
64aebed70e docs/esp8266: Add WDT to quickref. 2021-05-06 15:50:42 +10:00
Mike Causer
a111889705 docs/esp32: Add SDCard to quickref. 2021-05-06 15:48:09 +10:00
Mike Causer
a65942a41d docs/esp32: Add WDT to quickref. 2021-05-06 15:46:28 +10:00
Mike Causer
b98197f950 docs/esp32: Add UART to quickref. 2021-05-06 15:44:53 +10:00
Damien George
47583d8cbd extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32.
uctypes.FLOAT32 has a special value representation and
uctypes_struct_scalar_size() should be used instead of GET_SCALAR_SIZE().

Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 13:11:33 +10:00
Damien George
350a66a863 extmod/moductypes: Replace numbers with macro constants.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 12:40:53 +10:00
Damien George
02dc1644b6 extmod/moductypes: Remove double blank lines and debugging printf's.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 12:32:09 +10:00
Damien George
4791d290c6 extmod: Remove old comments used for auto-doc generation.
They are no longer used, and the text in the docs is more up to date.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 12:27:31 +10:00
Damien George
9e29217c73 unix/modffi: Use a union for passing/returning FFI values.
This fixes a bug where double arguments on a 32-bit architecture would not
be passed correctly because they only had 4 bytes of storage (not 8).  It
also fixes a compiler warning/error in return_ffi_value on certian
architectures: array subscript 'double[0]' is partly outside array bounds
of 'ffi_arg[1]' {aka 'long unsigned int[1]'}.

Fixes issue #7064.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-06 12:17:10 +10:00
Scott Shawcroft
59c2787702
Fix esp32s2 build 2021-05-05 18:27:21 -07:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
Scott Shawcroft
7f2f8e2d58
Turn off CPython warnings in tests 2021-05-05 17:26:39 -07:00
Lucian Copeland
22feda1066
Merge pull request #4708 from hierophect/supervisor-run-reason
Remove overwrite of run_reason in main
2021-05-05 19:18:16 -04:00
Jeff Epler
ef3ec93c8b Change the first byte of CircuitPython 'mpy' files to "C"
.. and also distinguish CircuitPython better in `mpy-cross --version`
2021-05-05 18:06:06 -05:00
Scott Shawcroft
d8701e5136
Update binary path 2021-05-05 15:48:01 -07:00
Dan Halbert
843598ec3a fix more board builds 2021-05-05 18:44:27 -04:00
Scott Shawcroft
c34ddf14d6
Switch from recommonmark to myst-parser
It's the *future* and fixes a doc build error.

Related to https://github.com/readthedocs/recommonmark/issues/221
2021-05-05 15:25:37 -07:00
Scott Shawcroft
3dad2cbb56
Merge pull request #9 from jepler/1.13_test_fixes
1.13 test fixes
2021-05-05 14:29:04 -07:00
Jeff Epler
3e1c3547bd
Merge pull request #4712 from jepler/mpy-cross-aarch64
Build an aarch64 version of mpy-cross
2021-05-05 16:14:40 -05:00
Lucian Copeland
f38f5dbce6 Set reload reason when reloaded from repl 2021-05-05 17:02:32 -04:00
Dan Halbert
1d385e1a27
Merge pull request #4707 from tyomitch/patch-4
qstr: Use `const` consistently to avoid a cast.
2021-05-05 16:56:35 -04:00
Dan Halbert
579cdf30f1 fix more build errors 2021-05-05 16:49:29 -04:00
Limor "Ladyada" Fried
1668e9c4f3
Merge pull request #4711 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-05 16:21:43 -04:00
Jeff Epler
b9f349779e Build an aarch64 version of mpy-cross 2021-05-05 14:43:53 -05:00
Hosted Weblate
54bfedbf6f Merge remote-tracking branch 'origin/main' into main 2021-05-05 20:42:02 +02:00
Jonny Bergdahl
2c66dd869e
Translated using Weblate (Swedish)
Currently translated at 100.0% (973 of 973 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-05 20:42:02 +02:00
Kattni
c7e8160514
Merge pull request #4709 from jposada202020/adding_usage_template
adding_usage_template in Design Guide
2021-05-05 14:41:57 -04:00
Dan Halbert
8f9c9dd45f doc error 2021-05-05 13:41:44 -04:00
Jeff Epler
716a82ba67 set the coroutine generator for native generators 2021-05-05 11:36:40 -05:00
Jeff Epler
eb4cf7add3 Add natmod "features0" example
This example works, and was useful when fixing a native code test.
Most of the other natmod examples do not work, however.
2021-05-05 11:36:07 -05:00
Dan Halbert
c37f021791 regularize and shrink many builds 2021-05-05 12:35:41 -04:00
Dan Halbert
fc8e1c4c2e address review comments 2021-05-05 12:35:12 -04:00
jposada202020
0f60a3b997 Better_phrasing 2021-05-05 12:18:26 -04:00
Jeff Epler
2bcfe21916 Add natmod examples
At least features0 works, and was useful in fixing the related native
test
2021-05-05 11:01:41 -05:00
Jeff Epler
68d4682298 compile: Reserve labels for native await 2021-05-05 11:00:39 -05:00
Jeff Epler
4054860ff3 Name the variant like micropython does 2021-05-05 11:00:39 -05:00
Jeff Epler
607148bb85 Add frzqstr to coverage build
This fixes a fail in extra_coverage.py.
2021-05-05 11:00:39 -05:00
Jeff Epler
f21c2bd25a Update native skips to match micropython 2021-05-05 11:00:39 -05:00
Jeff Epler
cdf220bcb4 Fix ure tests 2021-05-05 11:00:39 -05:00
Jeff Epler
8fae7d2e30 runtime.c: Fix reading properties
.. this fixes the vfs_fat_ramdisk failure.
2021-05-05 11:00:39 -05:00