Commit Graph

24785 Commits

Author SHA1 Message Date
Jeff Epler
131dbf1e87 Remove hard-coded disable of USB_HID for kaluga devkits 2021-08-04 18:17:20 -05:00
Scott Shawcroft
4bcf0d419f
Merge pull request #5095 from dhalbert/raytac_mdbt50q-rx
Add raytac_mdbt50q-rx
2021-08-04 15:47:11 -07:00
Dan Halbert
3ec3e7081e
Merge pull request #5096 from jepler/unpin-autoapi
Unpin sphinx-autoapi as the bug is resolved
2021-08-04 16:35:58 -04:00
Dan Halbert
81833035fc raytac_mdbt50q-rx 2021-08-04 15:47:19 -04:00
Jeff Epler
937ef7ea7a Unpin sphinx-autoapi as the bug is resolved 2021-08-04 14:30:03 -05:00
Scott Shawcroft
b5fa6b5920
Merge pull request #5093 from microDev1/update-ci
CI: Add `Print failure info`
2021-08-04 10:20:10 -07:00
Jeff Epler
bd903f2f03 Add qrio: Decode QR codes with quirc lib 2021-08-04 09:16:00 -05:00
microDev
fb0f2583db
update traceback module 2021-08-04 12:22:21 +05:30
microDev
193a8d2e67
add traceback object 2021-08-04 12:10:57 +05:30
microDev
d35af506a5
ci: add print failure info 2021-08-04 08:16:26 +05:30
Scott Shawcroft
713c8e7b3f
Fix builds without the ble workflow 2021-08-03 14:36:41 -07: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
Kenny
48ea81e2f1
Vexing pedantry
Spaces deleted from phone
Eternal chore, lint
2021-08-03 11:25:31 -07:00
Kenny
ac2f4bb6c9
Create __init__.h
More random spaces. Why isn’t this in a pre-commit check
2021-08-03 09:20:11 -07:00
Kenny
739ef92fc9
Update __init__.h
More random spaces. Why isn’t this in a pre-commit check
2021-08-03 09:20:02 -07:00
Jeff Epler
ac4b10bcd9 It's "shared-module", not "shared-modules" 2021-08-03 10:37:47 -05:00
Kenny
464281b881
Stub comma 2021-08-03 08:08:11 -07:00
ZodiusInfuser
6663dacedb Added board configurations for Plasma and Interstate 2021-08-03 14:01:56 +01:00
Kenny
8c22993e28 fix linter 2021-08-02 20:38:37 -07:00
Kenny
8607cdd783 vectorio: add draw protocol
* Removes VectorShape from user python interactions
* Re-integrates vectorio with displayio behind draw protocol implementations
* Implements draw protocol with VectorShape
* Composes VectorShape behaviors into Rectangle, Circle and Polygon
* Fixes terrible pixel garbage being left behind
* Improves redraw performance (heuristically) by tracking dirty area separately from current area.

Known Issues:
It does not work with transposed views.
2021-08-02 20:19:54 -07: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
Scott Shawcroft
1e225610cc
Add ability to disable BLE workflow
Call `supervisor.disable_ble_workflow()` and the BLE workflow will
be disabled until the chip is reset.

This also includes a couple fixes:
1. Terminals can now be deinit by setting the tilegrid to NULL. This
  prevents using the tilegrid before display is init.
2. Fix BLE serial send amount when sending more than a single packet.

Fixes #5049
2021-08-02 18:37:19 -07: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
Kenny
1b67b91edd fix inverted logic 2021-07-31 16:59:44 -07:00
Kenny
0afd863224 vectorio: palettes don't color dirty rectangles
This is a breaking change with previous palette semantic with respect to python code that uses vectorio.
Displayio has breaking changes in cpy 7 for Group's removal of max_size parameter so this is as good a
time as any to break everything.

Currently:
To color vectorio shapes correctly you have to pass in a palette with length 2. Palette[0] must be set transparent and palette[1] must be the color you want.

New:
To color vectorio shapes correctly you pass in a palette with length >= 1. Palette[0] will be the color of the shape.

Also improves pixels per second when skipping areas that aren't covered by the shape.
2021-07-31 16:32:01 -07:00
Tyler Crumpton
5f2cd41bf2 Update PID/VID to real values 2021-07-31 18:05:43 -05:00
Tyler Crumpton
f7727405d3 Add CrumpSpace CrumpS2 board definition 2021-07-31 17:01:48 -05: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
Ryan A. Pavlik
c54b86dd0c
Update ter-u12n.bdf
Remove duplicate ENDCHAR that made it invalid
2021-07-30 10:41:38 -05:00
microDev
4938851122
remove legacy sys.atexit() implementation 2021-07-30 10:00:00 +05:30
microDev
a3998d0626
add atexit module 2021-07-30 09:32:28 +05:30
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
microDev
f371c0a609
add traceback module 2021-07-28 18:06:23 +05:30
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