Commit Graph

19836 Commits

Author SHA1 Message Date
Jose David M df1789c270
Translated using Weblate (Spanish)
Currently translated at 91.4% (878 of 960 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-02-19 03:29:13 +01:00
Jeff Epler 1cd4e4552e
Merge pull request #4219 from jepler/bit_transpose
Add Bit transpose function to support piopixl8
2021-02-18 20:29:05 -06:00
Jeff Epler b854c06a0c make translate 2021-02-18 17:23:55 -06:00
Jeff Epler 5c758523c0 requested changes 2021-02-18 17:19:34 -06:00
Jeff Epler ffae89b191 bitops: fix argument parsing 2021-02-18 16:10:57 -06:00
Jeff Epler 72e8fb085c remove debug print during build 2021-02-18 16:01:23 -06:00
Jeff Epler d56fe7691d bitops: doc correction 2021-02-18 15:44:51 -06:00
Jeff Epler 7fd4567893 bitops: rename from _bit_transpose, describe the algorithm 2021-02-18 15:41:23 -06:00
Lucian Copeland e77981f86e Fix file ends for CI 2021-02-18 16:26:14 -05:00
Lucian Copeland 0ecb24c3e5
Merge pull request #4169 from hierophect/stm32-i2cstart
STM32: Fix I2C repeated start by converting to IT mode
2021-02-18 15:19:00 -05:00
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
Dan Halbert 53a002a096 Initial fix, but bitbangio timing may be off 2021-02-18 13:14:51 -05: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
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