Commit Graph

23804 Commits

Author SHA1 Message Date
Lucian Copeland 372ddfd562 Fix deep sleep masking, cleanup 2021-06-20 17:20:47 -04:00
Lucian Copeland 626e4e9748 Fix missed precommit formatting 2021-06-20 17:00:56 -04:00
Lucian Copeland 2c30312dd4 Fix waitskip behavior 2021-06-20 16:57:20 -04:00
Lucian Copeland cf9741bd3a Merge remote-tracking branch 'upstream/main' into setnextcode 2021-06-20 15:25:37 -04: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
Dan Halbert eef3ca54a5
Merge pull request #4878 from jepler/fix-stubs-setup.py
setup.py: Improve installation of stubs
2021-06-10 11:48:49 -04:00
Jeff Epler 8e5c389c95 setup.py: Improve installation of stubs
* Don't include a full path from the build system
 * Rename all packages to "foo-stubs"
 * Don't install stubs for standard packages like "os"

After this, I can `python setup.py install --user` to install the stubs
to my local environment, and successfully check code against the stubs,
such as
```
/$ mypy -c 'import busio; b: busio.I2C; b.readfrom_into(0x30, b"")'
<string>:1: error: Argument 2 to "readfrom_into" of "I2C" has incompatible type "bytes"; expected "Union[bytearray, memoryview, array[Any], ndarray, RGBMatrix]"
Found 1 error in 1 file (checked 1 source file)
```

The structure of a wheel built with `python setup.py bdist_wheel` looks
more like lxml-stubs, as well.
```
Archive:  dist/circuitpython_stubs-7.0.0a3.dev28+g124c7b785-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
    30705  2021-06-10 13:50   _bleio-stubs/__init__.pyi…
```

Finally, by eliminating `site.getsitepackages()`, this **may** fix
the doc building problem on readthedocs.
2021-06-10 09:27:33 -05:00
Scott Shawcroft fb7dc9bcd5
Merge pull request #4875 from benclifford/pulldown
Correct pull-down direction in parameter documentation for rp2pio
2021-06-09 18:21:55 -07:00
Ben Clifford 5c835adb10 Correct pull-down direction in parameter documentation for rp2pio 2021-06-09 20:39:56 +00:00
Jeff Epler 576003e989
Merge pull request #4873 from netroy/fix-4810
Update the sdkconfig for LILYGO TTGO T8 ESP32-S2
2021-06-09 14:44:42 -05:00
Jeff Epler 26a75f74ec
Merge pull request #4862 from DavePutz/issue_3383
Fix for issue #3383 - SAMD5x microcontroller.cpu.voltage
2021-06-09 14:42:27 -05:00
root bc34403d71 Removed all references to MICROCONTROLLER_VOLTAGE_DISABLE 2021-06-09 10:46:14 -05:00
Aditya 3e463ed89e fix #4810 2021-06-09 17:37:22 +02:00
Jeff Epler c6dee5288f
Merge pull request #4870 from jepler/kaluga-1.3
Add kaluga version 1.3
2021-06-09 08:37:51 -05:00
Jeff Epler 124c7b785a Add kaluga version 1.3
.. this board is nearly the same as the "1.2" version originally
released, but makes a few changes to reduce pin conflicts between the 13-pin
camera header and the bootstrapping pins.  "1.3" was introduced in summer
2020-- check the bottom of your board silk to find out whether you have a 1.2
or a 1.3, because it's not clear whether there is remaining 1.2 stock.

Another vexing fact about the 1.3 is that its LCD can have one of two
chipets, and the chipset used is not marked anywhere!
2021-06-08 13:28:48 -05:00
root 72db13fc2d enable microcontroller.cpu.voltage on SAME54 2021-06-08 10:04:40 -05:00
Limor "Ladyada" Fried c1c101ca2d
Merge pull request #4864 from ladyada/main
macropad rev B definion and fix for SH110x addressing
2021-06-07 21:59:56 -04:00
lady ada 467a4e7664 fix comment 2021-06-07 19:51:57 -04:00
lady ada b39dd84560 move the col/row offsets to the top so oleds can take advantage of em 2021-06-07 19:43:49 -04:00
Scott Shawcroft 12499d6e26
Merge pull request #4860 from microDev1/update-readme
Update readme
2021-06-07 15:08:23 -07:00
lady ada 2ff9e9766f handclang 2021-06-07 12:39:59 -04:00
Limor "Ladyada" Fried c4f685aab1
Merge pull request #4865 from ZodiusInfuser/pimoroni_boards
Added definition for upcoming Pimoroni RP2040 board
2021-06-07 11:13:01 -04:00
lady ada 3890271f19 turn off all neopix when booting 2021-06-06 18:30:17 -04:00
lady ada 8f1c25c8ae fix SH110x mode, the SH1107 is actually column not row mode BUT the SD1107 module we use is vertical orientation (confusing!) so row/col are NOT swapped. we will have to fix the SH1107 driver to match. this fix required for SH1106 (which uses the same page mode commands but ISNT rotated) 2021-06-06 18:25:40 -04:00
lady ada 01195c2089 update to rev B 2021-06-06 15:57:41 -04:00
root b2dea8ae0d Fix for issue #3383 - SAMD51 microcontroller.cpu.voltage 2021-06-05 16:17:14 -05:00
microDev 0de61075e4
update readme 2021-06-05 10:15:57 +05:30
Scott Shawcroft bc014cecb5
Merge pull request #4859 from DavePutz/hcsr04_fix
Fix pulsein pause and resume functions to handle HCSR04
2021-06-04 13:26:05 -07:00
Scott Shawcroft e1ebc37da2
Merge pull request #4858 from EmergReanimator/main
resolves #4153: Fixed build issue when CIRCUITPY_USB is off
2021-06-04 10:42:36 -07:00
Scott Shawcroft 759ec5452e
Merge pull request #4857 from dunkmann00/enable_slice_indices
Enable slice indices
2021-06-04 10:42:05 -07:00
Scott Shawcroft 121ea4283f
Merge pull request #4855 from jepler/update-run-tests
run_tests: Parallelism improvements, partial sync with micropython
2021-06-04 10:36:50 -07:00
root 57334c812e Fix pulsein pause and resume functions to handle HCSR04 2021-06-04 12:10:41 -05:00
ZodiusInfuser af7557b53b
Updated with final USB PID 2021-06-04 16:02:32 +01:00
EmergReanimator f2e3231c46 resolves #4153: Fixed build issue when CIRCUITPY_USB is off 2021-06-04 10:12:50 +02:00
George Waters c5066efacb
Enable slice indices 2021-06-03 22:55:32 -04:00
Jeff Epler a99eba35b8
Merge pull request #4809 from DavePutz/issue_4266
Fix for Issue #4266 - second PWMAudioOut interferes with the first one
2021-06-03 19:08:28 -05:00
Jeff Epler e6fe55349d run_tests: Parallelism improvements, partial sync with micropython
Take changes from https://github.com/micropython/micropython/pull/3694
(expected to be merged soon) as well as other accumulated stuff from
upstream that we want.

Leave our desired differences, including:
 * silencing warnings in python3
 * renaming the file descriptors returned by openpty()
 * adding ulab tests
 * Adding "." to the import path for skip_if

This speeds up `make test_full` and should also reduce the time in CI
a little bit.
2021-06-03 16:17:47 -05:00
Scott Shawcroft 934a14b327
Merge pull request #4853 from t-ikegami/fix_terminalio_esc_sequence
Fix move cursor esc sequence of terminalio to meet ANSI standard
2021-06-03 12:43:43 -07:00
ZodiusInfuser 6011db3aec Added board definition 2021-06-03 15:49:23 +01:00
Jeff Epler c7df5e9980
Merge pull request #4852 from stonehippo/sparkfun-micromod-samd51
Sparkfun micromod samd51
2021-06-03 07:14:25 -06:00
Tsutomu IKEGAMI a4be61912c Fix move cursor esc sequence of terminalio to meet ANSI standard 2021-06-03 20:40:37 +09:00
George White 9cde8a2265
MicroMod SAMD51 - correct I2C_INT pin 2021-06-03 06:05:13 -04:00
George White 26c6bd2346
MicroMod SAMD51 - correct SCL2 2021-06-03 05:39:09 -04:00
George White 6e36f30d9f
MicroMod SAMDt1 - correct board nane 2021-06-03 05:36:05 -04:00
George White 2b068414e1
Fix missing comma
Doh
2021-06-02 23:13:08 -04:00