Commit Graph

23853 Commits

Author SHA1 Message Date
Jeff Epler acc6bec9da exclude test-stubs files from docs 2021-06-22 09:15:30 -05:00
Jeff Epler f51ca53553 refine stubs-building procedure
* so that excess files are not included in sdist, perform build down
   in circuitpython-stubs
 * This means we need to
   * Remove the need-pypi check
   * Copy a setup.py, README, and MANIFEST.in into the stubs build location
   * Revamp how the overall `mypy --strict` check lists its inputs
 * Add a new test that actually installing the stubs lets us do type
   checking (tools/test-stubs.sh)
 * Add a missing return type to a __init__ function (why was this not
   an error under `mypy --strict`, I wonder)
2021-06-22 08:59:05 -05:00
Jeff Epler 47a6b13d63
Merge pull request #4906 from FoamyGuy/remove_duplicate_line
remove duplicate line in setup py
2021-06-22 07:41:25 -05:00
foamyguy 17cef0019a remove duplicate line in setup py 2021-06-21 20:14:50 -05:00
Scott Shawcroft 2548f865fe
Merge pull request #4902 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-21 17:57:37 -07:00
Hosted Weblate f9524469b3
Merge remote-tracking branch 'origin/main' into main 2021-06-22 00:28:37 +02:00
Scott Shawcroft 0f54124e08
Merge pull request #4876 from t-ikegami/fix_TileGrid_refresh_areas
Fix partial refresh of displayio.TileGrid
2021-06-21 15:28:34 -07:00
Hosted Weblate c282e69486
Merge remote-tracking branch 'origin/main' into main 2021-06-22 00:27:16 +02:00
Wellington Terumi Uemura d372e9561c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-22 00:27:16 +02:00
Scott Shawcroft 44d471a5ab
Merge pull request #4861 from FoamyGuy/upload_stubs_action
Stubs upload actions
2021-06-21 15:27:07 -07:00
Hosted Weblate 723266b33f
Merge remote-tracking branch 'origin/main' into main 2021-06-21 15:39:51 +02:00
Jonny Bergdahl d283034ad2
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-21 15:39:51 +02:00
Dan Halbert 624a53adee
Merge pull request #4900 from hathach/fix-nrf-control-race-condition
update tinyusb to fix nrf control race condition
2021-06-21 09:39:43 -04:00
Hosted Weblate a9a4d2e613
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-06-19 22:18:06 +02:00
Hosted Weblate 7dbd754416
Merge remote-tracking branch 'origin/main' into main 2021-06-19 22:18:04 +02:00
hexthat 4c5bccba0a
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-19 22:18:03 +02:00
Zoltán Vörös f19dbf637d
Translated using Weblate (German)
Currently translated at 75.8% (754 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2021-06-19 22:18:03 +02:00
Limor "Ladyada" Fried 6dbeb75a4f
Merge pull request #4880 from jepler/esp32s2-imagecapture
Esp32s2: implement ParallelImageCapture
2021-06-19 16:17:56 -04:00
foamyguy c81f3fd789 Merge branch 'adafruit_main' into upload_stubs_action
# Conflicts:
#	setup.py
2021-06-19 12:36:13 -05:00
foamyguy 1fe38138e8 use scm_version for stubs. seperate stubs upload from S3 mpy-cross upload steps in actions. 2021-06-19 12:33:34 -05:00
hathach b3a91220de fix build with esp32s2 2021-06-19 12:55:54 +07:00
hathach 683304fd3c update tinyusb to fix nrf control race condition 2021-06-19 02:27:41 +07:00
Jeff Epler 198e3aded7 imagecapture: Fix doc markup, update docs for data_pins
Closes: #4896
2021-06-18 12:40:35 -05:00
Dan Halbert a4d6452452
Merge pull request #4890 from t-ikegami/fix_typo_pin_name_wio
Fix typo in a pin name of Wio Terminal
2021-06-15 09:08:18 -04:00
Tsutomu IKEGAMI fd222dd066 Fix typo in Wio Terminal pin board.I2S_BLCK to I2S_BCLK (bit clock) 2021-06-15 20:51:55 +09:00
Dan Halbert b151bee0a2
Merge pull request #4887 from mcauser2/tinys2spi
Change TinyS2 default SPI pins
2021-06-14 19:30:26 -04:00
Dan Halbert 278ebef878
Merge pull request #4889 from kattni/slider-trinkey-add-a0
Add A0 as alias to potentiometer pin.
2021-06-14 16:36:46 -04:00
Kattni Rembor 12d0e65a2a Space out pin groups. 2021-06-14 15:37:02 -04:00
Kattni Rembor f96642de25 Add A0 as alias to pot pin. 2021-06-14 15:32:12 -04:00
Mike Causer ceea6397a3 Change TinyS2 default SPI pins 2021-06-15 01:17:39 +10:00
Jeff Epler 84e1d77664
Merge pull request #4885 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-13 16:10:39 -05:00
Jonny Bergdahl 4a4ec9e1ea
Translated using Weblate (Swedish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-13 06:32:13 +02:00
Wellington Terumi Uemura b24c9694af
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-13 06:32:12 +02:00
Alvaro Figueroa e115d34ee1
Translated using Weblate (Spanish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-13 06:32:12 +02:00
Jeff Epler 5f81f9ed1c
Merge pull request #4882 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-11 19:57:06 -05:00
Hosted Weblate 75da0b9b3e
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-06-11 18:18:01 +02:00
Dan Halbert d1463596be
Merge pull request #4881 from jepler/update-ulab-3.0
update to ulab 3.0.0
2021-06-11 12:17:49 -04:00
Jeff Epler 1a06d06468 ulab: disable on several stm boards with constrained flash storage 2021-06-11 07:46:21 -05:00
Jeff Epler 046dc28d4c make translate 2021-06-10 13:00:21 -05:00
Jeff Epler 430480afaa update to ulab 3.0.0 2021-06-10 12:54:55 -05:00
Jeff Epler 2cbdd18a20 esp32s2: Implement parallel image capture 2021-06-10 11:27:49 -05:00
Jeff Epler 268717e427 ParallelImageCapture: Switch to taking a list of pins
.. adopting validate_pins from RGBMatrix into shared-bindings

.. updating other platforms for API change
2021-06-10 11:15:18 -05:00
Jeff Epler 7782bc2e2e Skeleton implementation, does nothing 2021-06-10 11:15:18 -05:00
Jeff Epler 98f812e0c2 esp32s2: cam.c: Remove GPIO interrupt at deinit 2021-06-10 11:15:18 -05:00
Jeff Epler 929d6dab73 esp32s2: cam.c: work around possible compiler bug 2021-06-10 11:15:18 -05:00
Jeff Epler 8c88ab8142 cam: Use a named constant instead of a number 2021-06-10 11:15:18 -05:00
Jeff Epler 400d1d90c9 cam: Add a way to check if a frame is ready without blocking 2021-06-10 11:15:18 -05:00
Jeff Epler 5d5098152a cam: Remove support for xclk
we do this our own way in CP
2021-06-10 11:15:18 -05:00
Jeff Epler 20098dfdd8 cam: Improve memory allocation
* realloc the dma descriptors and buffers, so we can change the image size
 * NULL out the camera pointer after deinit, so deinit is idempotent
2021-06-10 11:15:18 -05:00
Jeff Epler 43509495ea cam: Always work in total pixels, not width x height 2021-06-10 11:15:18 -05:00