Commit Graph

19322 Commits

Author SHA1 Message Date
Dan Halbert e344c6d684 fix some builds 2021-02-18 14:24:58 -05:00
Scott Shawcroft e29178cf94
Merge pull request #4213 from jepler/raspberrypi-urandom2
raspberrypi: implement os.urandom
2021-02-18 10:41:41 -08:00
Scott Shawcroft 6921862d67
Merge pull request #4217 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-18 10:39:12 -08:00
Jeff Epler ac0ffc5656 _bit_transpose: fix docs 2021-02-18 11:45:48 -06:00
Jeff Epler c284728621 bit_transpose: Support from 2 to 7 strands, not just 8 2021-02-18 11:33:13 -06:00
Jeff Epler 9cf7d73c6c core: add bit_transpose function
.. this version can only handle exactly 8 bits "across".  The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
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
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
jun2sak cf2427c561 light sleep reason fix. 2021-02-17 21:51:28 +09:00
jun2sak e6350ff834 Initial commit. 2021-02-17 20:53:18 +09: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
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
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