Commit Graph

26506 Commits

Author SHA1 Message Date
Scott Shawcroft 779b5c1850
Merge pull request #5040 from lesamouraipourpre/max-size
Remove the max_size parameter from displayio.Group
2021-07-22 16:56:14 -07:00
Hosted Weblate da44a6b091
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-07-23 01:51:45 +02:00
Hosted Weblate d9dcbc476c
Merge remote-tracking branch 'origin/main' into main 2021-07-23 01:51:42 +02:00
Scott Shawcroft 9c8c4a301d
Merge pull request #5028 from jepler/ulab-fix-docs
ulab: move documentation to the right location
2021-07-22 16:51:32 -07:00
Scott Shawcroft 2cb25622d0
Comment where -2 value comes from 2021-07-22 16:38:48 -07:00
James Carr 45fd6dd68c Remove the max_size parameter from displayio.Group
max_size has been ignored for a while with the intention of removing it in 7.0
2021-07-22 19:41:45 +01:00
Jonny Bergdahl f0bd922196
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-07-22 20:33:44 +02:00
Wellington Terumi Uemura 8eb82d299b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-22 20:33:43 +02:00
Jeff Epler 8cf6fd7fec make translate 2021-07-22 13:29:35 -05:00
Jeff Epler 35fe8a7a5f Upgrade ulab to 3.3.1 2021-07-22 13:29:21 -05:00
Lucian Copeland ace04ef600 Formatting fixes 2021-07-22 12:57:10 -04:00
Nathan Young 8221a12cf6 Added support for specifying the JMP pin (RP2 PIO) 2021-07-22 18:39:04 +02:00
Christian Walther cf97793af8 Add supervisor.get_previous_traceback() function.
Useful for #1084.
2021-07-22 12:23:55 -04:00
Sashkoiv 753b08cae6 stm32/boards/NUCLEO_F446RE: Enable CAN bus support. 2021-07-23 00:06:13 +10:00
Roberto Colistete Jr b099db4426 esp8266/Makefile: Add more libm files to build.
Allows MICROPY_PY_MATH_SPECIAL_FUNCTIONS to be enabled, and for ulab to be
built as a user C module.
2021-07-22 23:55:31 +10:00
Seon Rozenblum 25159129dd tools/autobuild: Add FeatherS2 and TinyS2 to esp32 auto builds. 2021-07-22 22:42:37 +10:00
Damien George 0256e1ab8b tools/autobuild: Use separate IDF version to build newer esp32 SoCs.
Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 22:42:37 +10:00
Damien George 7f69246895 docs/library/uasyncio.rst: Document stream readexactly() method.
Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 22:39:04 +10:00
Damien George a5ac3d5645 samd: Add support for building with user C modules.
Fixes issue #7545.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 22:22:03 +10:00
iabdalkader 7649f5fbd2 stm32/sdram: Make SDRAM test cache aware, and optional failure with msg.
* Make SDRAM test cache-aware for newer MCUs.
* Use the defined data bus width (instead of the fixed 8-bits).
* Allow optional failure on error with verbose error messages.
* Test speed is now inverted (test accepts exhaustive instead fast).
2021-07-22 16:47:49 +10:00
Jeff Epler 02b094b638 make translate 2021-07-21 19:38:58 -05:00
Scott Shawcroft f84cb94819
Remove OSError(0) and old network modules
The newer modules are `socketpool` and `ssl`.

Fixes #3924, related to #2021, closes #1880, closes #2273, closes #2274
2021-07-21 17:33:40 -07:00
Dan Halbert 10645bf538
Merge pull request #5035 from tannewt/correct_a2040_flash
Fix Arduino RP2040 flash size
2021-07-21 15:53:50 -04:00
Scott Shawcroft 109bd2886b
Fix Arduino RP2040 flash size
For RP2040 boards, we now change the default flash size based on
the configured flash. We will still try to read the size from the
flash first.

Fixes #4874
2021-07-21 11:02:55 -07:00
Scott Shawcroft 8723a0335f
Merge pull request #5032 from DavePutz/multi_pulseout
Moved global variables to support multiple RP2040 PulseOuts
2021-07-21 10:26:17 -07:00
Dan Halbert 626b06f8a7
Merge pull request #5031 from dhalbert/keymatrix-scan-false-readings
Make KeyMatrix row output switch faster
2021-07-21 12:03:17 -04:00
Scott Shawcroft e14923028f
Merge pull request #5030 from dhalbert/update-to-raspberrypi-pico-sdk-1.2.0
Update pico-sdk to 1.2.0, using raspberrypi repo
2021-07-21 08:14:13 -07:00
root b2d6203c63 fix formatting 2021-07-21 10:05:09 -05:00
root 0559fcd1c0 Moved global variables to support multiple PulseOuts 2021-07-21 09:52:17 -05:00
Damien George 6214fa3f9e esp32/mphalport: Always yield at least once in delay_ms.
This helps the OS switch to and give other threads processing time during
the sleep.  It also ensures that pending events are handled, even when
sleeping for 0ms.

Fixes issue #5344.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 00:20:53 +10:00
Damien George 2cfbe5bc0f esp32/modmachine: Release the GIL in machine.idle().
So that other threads get a chance to run when taskYIELD() is called.

See issue #5344.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 00:17:59 +10:00
Josh Lloyd 6bc50c4fa9 stm32/systick: Always POLL_HOOK when delaying for milliseconds.
Call MICROPY_EVENT_POLL_HOOK even on very short delays so that busy loops
that call sleep_ms still yield to events and other threads.

See related issue #5344.
2021-07-22 00:15:36 +10:00
Damien George a5221c47eb docs/library/utime.rst: Clarify behaviour and precision of sleep ms/us.
This description is based on the existing bare-metal ports implementations.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-22 00:07:37 +10:00
Josh Lloyd db6d60b079 extmod/utime: Always invoke mp_hal_delay_ms when >= to 0ms.
This makes sleep_ms(0) useful as a "yield" so event processing and thread
switching can take place.

Fixes issue #5345.
2021-07-22 00:05:17 +10:00
Dan Halbert f1d2eee58f Make KeyMatrix row output switch faster 2021-07-21 09:08:32 -04:00
Jeff Epler 9c38fb4377
Merge pull request #5029 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-07-21 07:52:48 -05:00
Hosted Weblate 1e9789f29d
Merge remote-tracking branch 'origin/main' into main 2021-07-21 05:07:05 +02:00
microDev 8386b77194
Merge pull request #5027 from tannewt/main_s3
Only push `main` builds to S3
2021-07-21 08:36:59 +05:30
Hosted Weblate cca9ce74c4
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-07-21 05:05:05 +02:00
microDev 68070318f0
Merge pull request #5026 from tannewt/samd_uart
Fix crash when UART construct fails
2021-07-21 08:34:50 +05:30
Jeff Epler 7dfb999391 _typing: ulab.ndarray is moving 2021-07-20 19:49:43 -05:00
Jeff Epler 755caddc89 extract_py: Import Dict if needed 2021-07-20 19:49:25 -05:00
Scott Shawcroft ec6e432f23
Only push `main` builds to S3
That will ensure it is always the latest instead of a .x or feature
branch.

Fixes #4632
2021-07-20 17:30:10 -07:00
Scott Shawcroft db0adf1253
Merge pull request #5025 from DavePutz/issue_5016
Turn off PWM pin during PulseOut construct
2021-07-20 17:25:10 -07:00
Scott Shawcroft fece0fb432
Fix crash when UART construct fails
After the script stops with the exception thrown the final gc_sweep
will call any finalizers and they usually call deinit. deinit on
invalid objects can wreak havoc by changing random memory or
(hopefully) crashing. This fixes ensures the object is deinited
until initialization succeeds and the object is valid.

Do the same fix for I2C and SPI too.

Fixes #4700 and fixes #5005
2021-07-20 17:15:19 -07:00
root 8fe4fa0114 Turn off PWN pin during PulseOut construct 2021-07-20 17:17:41 -05:00
Dan Halbert 0293ec261a Update pico-sdk to 1.2.0, using raspberrypi repo 2021-07-20 17:31:29 -04:00
Dan Halbert ce7301527a
Merge pull request #5024 from tannewt/rp2_ble_wait
Don't blink blue on non-BLE workflow boards
2021-07-19 23:51:27 -04:00
Scott Shawcroft f8290e746b
Don't blink blue on non-BLE workflow boards
This includes any boards that have _bleio implemented via HCI.

Fixes #4969
2021-07-19 18:40:37 -07:00
Dan Halbert 5e773b863f
Merge pull request #4793 from kmatch98/funhouse_spi_speed
reduce SPI display baudrate from 60 MHz to 5 MHz to eliminate display glitch
2021-07-19 18:24:48 -04:00