Commit Graph

24518 Commits

Author SHA1 Message Date
Jeff Epler
67551c1ac0 qrio: Split QRInfo & PixelPolicy to their own .c/.h files 2021-08-06 09:53:17 -05:00
Jeff Epler
8e201d519e better document constructor arguments 2021-08-05 15:04:28 -05:00
Jeff Epler
2e8eb43dcc Use new quirc define for small stacks
.. and revert stack enlargement of esp32-s2
2021-08-05 12:52:43 -05:00
Jeff Epler
0fbe56c915 Better Document PixelPolicy and the pixel_policy argument 2021-08-05 12:27:49 -05:00
Jeff Epler
e5a57d2399 Fix function name in prototype 2021-08-05 12:24:12 -05:00
Jeff Epler
46ac717538 Rename qrinfo -> QRInfo 2021-08-05 12:24:12 -05:00
Jeff Epler
14f1d95d2d qrio: Fix handling of 1-arg decode() 2021-08-05 12:24:12 -05:00
Jeff Epler
f9393c9e51 enable qrio in unix coverage build, and add a test 2021-08-05 12:24:07 -05:00
Jeff Epler
131dbf1e87 Remove hard-coded disable of USB_HID for kaluga devkits 2021-08-04 18:17:20 -05:00
Jeff Epler
bd903f2f03 Add qrio: Decode QR codes with quirc lib 2021-08-04 09:16:00 -05:00
Jeff Epler
38f392f318 esp32s2: Increase C stack size
The QR decoder has a single item that is 8908 bytes big and placed
on the stack.  (struct datastream)

Without enlarging the stack, this will reliably crash.
2021-08-03 13:40:27 -05:00
Jeff Epler
dfc992b7be Make it easier to disable wifi 2021-08-03 13:40:27 -05:00
Jeff Epler
ac4b10bcd9 It's "shared-module", not "shared-modules" 2021-08-03 10:37:47 -05:00
Dan Halbert
0affb0b413
Merge pull request #5088 from cwalther/bootout
Fix empty boot_out.txt (#5062)
2021-08-02 22:16:14 -04:00
Christian Walther
09e6846135 Fix empty boot_out.txt
A pointer to the FIL structure was kept after it went out of scope.
Apparently this happened to work until cf97793 added the `result`
variable that clobbered it.

Fixes #5062
2021-08-02 23:46:33 +02:00
Scott Shawcroft
686103fd8e
Merge pull request #5085 from dhalbert/board-specific-pico-sdk-settings
Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards
2021-08-02 10:53:54 -07:00
Scott Shawcroft
9ee60aef14
Merge pull request #5073 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-02 10:23:19 -07:00
Hosted Weblate
4884c32f08
Merge remote-tracking branch 'origin/main' into main 2021-07-31 21:32:57 +02:00
microDev
98cd989c16
Merge pull request #5083 from hierophect/stm32-sleepmem
STM32: add SleepMemory
2021-07-31 08:48:25 +05:30
Dan Halbert
a358e5f58a Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards 2021-07-30 18:50:21 -04:00
Lucian Copeland
da149b0a42 Merge remote-tracking branch 'upstream/main' into stm32-sleepmem 2021-07-30 15:35:55 -04:00
Hosted Weblate
522ec1a2e5
Merge remote-tracking branch 'origin/main' into main 2021-07-30 18:19:17 +02:00
Scott Shawcroft
bfe29786ce
Merge pull request #5074 from tannewt/break_deep_sleep
Fix a couple fake sleep bugs on nrf and esp
2021-07-30 09:19:08 -07:00
Hosted Weblate
11cea6c073
Merge remote-tracking branch 'origin/main' into main 2021-07-29 05:12:45 +02:00
microDev
afa4ddb8d6
Merge pull request #5075 from tannewt/magtag_4_status
Use all four LEDs for status on MagTag
2021-07-29 08:42:31 +05:30
Scott Shawcroft
d5cdceb9b9
Use all 4 status pixels on neotrinkey too 2021-07-28 14:25:21 -07:00
Scott Shawcroft
bc0f8ac55d
Use all four LEDs for status on MagTag
Fixes #5051
2021-07-28 14:17:31 -07:00
Scott Shawcroft
cdf978f3af
Fix a couple fake sleep bugs on nrf and esp
On ESP ctrl-c during fake sleep will now stop the sleep. A crash
on real deep sleep is now fixed as well. (Exception string saving
was crashing on reading the deep sleep exception.) Fixes #4010

This also fixes nRF fake sleep after the first time. The internal
variable wasn't being reset early enough. Fixes #4869
2021-07-28 13:27:48 -07:00
Hosted Weblate
cd14b7682a
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-07-28 20:58:21 +02:00
Dan Halbert
e9369d50e1
Merge pull request #5067 from tannewt/pulseout_switch
Switch to pin, frequency and duty_cycle PulseOut
2021-07-28 14:58:06 -04:00
Scott Shawcroft
9e54606ba1
Set output low in SIO 2021-07-28 09:00:36 -07:00
Dan Halbert
7641bf15c0
Merge pull request #5070 from jepler/check-duplicate-topdir
check vid/pid: find topdir relative to this script
2021-07-27 21:08:33 -04:00
Jeff Epler
5e07b7959f check vid/pid: find topdir relative to this script
@dhalbert noticed that if a fork was called `micropython`, the
existing check could fail during CI because it will be cloned into a
directory also called `micropython`.

Instead of hardcoding a range of strings that are OK as top directories,
find the location of the top directory relative to the script.

This will be conflicty after #5069 is merged, but it should be easy to
fix.
2021-07-27 15:20:58 -05:00
Scott Shawcroft
4be904fd4a
Switch to gpio mux to disable/enable pwm signal 2021-07-27 12:38:18 -07:00
Scott Shawcroft
e87e1d8175
Block when setting duty_cycle until the new value is taken 2021-07-27 12:37:35 -07:00
Dan Halbert
84ddb17c78
Merge pull request #5054 from jepler/rmatrix
docs: Add list of supported board to each module's page
2021-07-27 15:05:47 -04:00
Scott Shawcroft
17ff891ee0
Merge pull request #5071 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-07-27 11:29:25 -07:00
Jeff Epler
94a4090542 Make summary more helpful; use a html list 2021-07-27 12:01:18 -05:00
Hosted Weblate
adfe2f0504
Merge remote-tracking branch 'origin/main' into main 2021-07-27 17:35:12 +02:00
Kattni
fc59a7ac02
Merge pull request #5068 from dhalbert/remove-gamepad
remove gamepad; deprecate gamepadshift
2021-07-27 11:35:06 -04:00
Hosted Weblate
7ddb4159ed
Merge remote-tracking branch 'origin/main' into main 2021-07-27 17:18:52 +02:00
Kattni
460643f983
Merge pull request #5066 from dhalbert/led-everywhere
add board.LED wherever possible
2021-07-27 11:18:47 -04:00
Noel Gaetan
6713a254cb
Translated using Weblate (French)
Currently translated at 94.3% (955 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-07-27 16:33:15 +02:00
Dan Halbert
297919bbdd
Merge pull request #5069 from kamtom480/sdk2.2.0
spresense: update SDK to 2.2.0
2021-07-27 10:15:51 -04:00
Dan Halbert
a974a2d3c1 allow micropython as top-level dir name in duplicate pid/vid check 2021-07-27 09:04:44 -04:00
Dan Halbert
0eab2eb162 Use sphinx-autoapi 1.8.1 until it's fixed 2021-07-27 08:45:30 -04:00
Kamil Tomaszewski
ff65863719 spresense: update SDK to 2.2.0 2021-07-27 11:25:51 +02:00
Dan Halbert
b0fb709d83 more gamepad removal 2021-07-26 23:34:25 -04:00
Dan Halbert
7392bf7cb4 Use sphinx-autoapi 1.8.1 until it's fixed
Thanks @tannewt for this:
080e5233b4
2021-07-26 22:35:25 -04:00
Scott Shawcroft
080e5233b4
Use sphinx-autoapi 1.8.1 until it's fixed
Related to https://github.com/readthedocs/sphinx-autoapi/issues/299
2021-07-26 19:21:52 -07:00