Commit Graph

19569 Commits

Author SHA1 Message Date
Dan Halbert 5c37b73c6d fix typo to fix nrf builds 2021-02-18 11:09:32 -05:00
Luca De Filippo 84d3c0d02f
Translated using Weblate (Italian)
Currently translated at 45.0% (432 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/it/
2021-02-18 16:50:24 +01:00
microDev 696d212dc7
fix nvm rewrite 2021-02-18 18:42:00 +05:30
Dan Halbert ed49c02feb add timeout; finish up for PR 2021-02-17 23:24:11 -05:00
Jeff Epler ab5eb86118 raspberrypi: implement os.urandom
Since the datasheet cast some doubt on the strength of the "rosc_hw->randombit",
I use the SHA256 hash function to create a high quality random seed
from random values of uncertain entropy, as well as to generate a sequence
of random values from that seed using SHA256 as a cryptographically-secure
random number generator.

In practice, it produces over 100kB/s of random data which does not
have any gross problems according to _PractRand_.
2021-02-17 17:49:25 -06:00
Lucian Copeland 59429cdcbe Move manual tests and rename 2021-02-17 11:43:45 -05:00
Lucian Copeland a3aa48b8df Merge remote-tracking branch 'upstream/main' into manual-tests 2021-02-17 11:39:46 -05:00
Scott Shawcroft 261b077209
Merge pull request #4192 from dhalbert/pico-pwmout-top-fix-4189
RP2040: fix off-by-one PWM top issue
2021-02-16 17:38:09 -08:00
Scott Shawcroft 2d23b79551
Merge pull request #4203 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-16 14:40:56 -08:00
Dan Halbert c26de0136a works! no timeouts 2021-02-16 17:39:36 -05:00
Dan Halbert 0b8f1b9a90 wip: usb_cdc.serials 2021-02-15 20:06:18 -05:00
Dan Halbert 93d788543c Merge remote-tracking branch 'adafruit/main' into secondary-cdc 2021-02-15 20:03:53 -05:00
Hosted Weblate c47b2ad921 Merge remote-tracking branch 'origin/main' into main 2021-02-15 21:12:39 +01:00
Dan Halbert 5ccbb0be62
Merge pull request #4205 from hierophect/esp32s2-fix-pinfree
ESP32S2: pin_number_is_free should not check never_reset tables
2021-02-15 15:12:34 -05:00
Hosted Weblate a424dbcbbd Merge remote-tracking branch 'origin/main' into main 2021-02-15 21:11:23 +01:00
Dan Halbert 2a467f1376
Merge pull request #4200 from pewpew-game/pewpew-get-ticks
pewpew10 - use _pew.get_ticks() for time tracking
2021-02-15 15:11:18 -05:00
Hosted Weblate d696c8f3b5 Merge remote-tracking branch 'origin/main' into main 2021-02-15 21:10:55 +01:00
Dan Halbert 91b137ec2b
Merge pull request #4206 from iot49/cp-exec
memoryview is valid argument to exec
2021-02-15 15:10:47 -05:00
Bernhard Boser f8f59598c7 memoryview is valid argument to exec 2021-02-15 10:05:57 -08:00
Lucian Copeland 6d5ffc677b is_free should not check never_reset 2021-02-15 10:29:05 -05:00
Jonny Bergdahl 8942d7f089
Translated using Weblate (Swedish)
Currently translated at 100.0% (960 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-02-15 01:33:24 +01:00
Radomir Dopieralski 6e338842fc pewpew10 - use _pew.get_ticks() for time tracking 2021-02-14 18:15:38 +01:00
Dan Halbert 0ec99b37e0 handle 100% duty cycle; improve actual_frequency calc 2021-02-13 13:16:49 -05:00
Dan Halbert d54b5861a3 wip 2021-02-12 19:01:14 -05:00
Dan Halbert 3e4328140c fix off-by-one PWM top issue 2021-02-12 15:53:31 -05:00
Scott Shawcroft 766e79ad3d
Merge pull request #4185 from caternuson/doc_update
Design Guide Update - Exception and asserts
2021-02-12 11:12:34 -08:00
Scott Shawcroft 9aecbd6432
Merge pull request #4183 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-12 11:01:37 -08:00
Jeff Epler ff1942cff6 Enable protomatter on RP2040 builds
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it.  That's what pausing inside reconstruct
fixes.

So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer.  It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
2021-02-12 08:25:15 -06:00
microDev f2d7a5f1e1
Merge branch 'main' into nvm-rp 2021-02-12 18:36:54 +05:30
microDev 527b11f99e
implement suggested changes
- update FLASH_FIRMWARE length
- use linker script define value
2021-02-12 18:28:48 +05:30
Hosted Weblate 418f52177d Merge remote-tracking branch 'origin/main' into main 2021-02-12 04:20:03 +01:00
Wellington Terumi Uemura 0399010ead
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (960 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-02-12 04:20:03 +01:00
Dan Halbert 08f30fedf5
Merge pull request #4188 from ladyada/main
QT Py with RP2040
2021-02-11 22:19:56 -05:00
lady ada 6428b9e728 sort 2021-02-11 19:31:10 -05:00
lady ada 6c914b8722 QT Py with RP2040 2021-02-11 19:21:42 -05:00
Dan Halbert f0564b4986 merge from upstream; complicated webusb merge 2021-02-11 18:50:02 -05:00
Lucian Copeland 2d2c40b3d4 Add Socket tests 2021-02-11 17:36:40 -05:00
caternuson ac6695faba update design guide 2021-02-11 14:28:58 -08:00
Lucian Copeland edb7f2d807 Free up space for JA build 2021-02-11 16:30:27 -05:00
Lucian Copeland a061768ceb Merge remote-tracking branch 'upstream/main' into stm32-i2cstart 2021-02-11 16:19:12 -05:00
Hosted Weblate 1207dcd127
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-02-11 21:20:08 +01:00
Scott Shawcroft aae10fb37f
Merge pull request #4167 from tannewt/rp2040_audiopwmio
Add PWM based audio playback
2021-02-11 12:19:57 -08:00
Scott Shawcroft e15f157826
Merge pull request #4179 from dhalbert/remove-spidevice-spi-4172
Remove adafruit_bus_device.SPIDevice.spi
2021-02-11 12:17:38 -08:00
Dan Halbert d7305182f0 Remove adafruit_bus_device.SPIDevice.spi 2021-02-11 10:33:57 -05:00
microDev 205837c47b
nvm implementation for rp2040 2021-02-11 12:48:36 +05:30
Dan Halbert 206109763f
Merge pull request #4174 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-10 19:55:24 -05:00
Maciej Stankiewicz 95a7f47f01
Translated using Weblate (Polish)
Currently translated at 65.6% (628 of 956 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2021-02-10 22:50:24 +01:00
Lucian Copeland d00bee2149 Fix I2C Repeated start error by converting to IT mode 2021-02-10 14:59:19 -05:00
Scott Shawcroft f6603aa566
Merge pull request #4168 from BHDynamics/main
Add DynaLoRa-USB Dongle
2021-02-10 11:03:16 -08:00
Enrique Casado 795ec21f6c Fix alphabetic order or build.yml 2021-02-10 12:55:08 +01:00