Scott Shawcroft
5823bcc744
Merge branch 'main' into c3_short_send
2022-08-11 12:45:02 -07:00
Hosted Weblate
0d4ad2ff52
Merge remote-tracking branch 'origin/main'
2022-08-11 21:42:29 +02:00
Dan Halbert
f9b9f55683
Merge pull request #6744 from tannewt/wifi_retry_fix
...
Fix retries after successful connection.
2022-08-11 15:42:23 -04:00
Scott Shawcroft
3dc0290e56
Don't reload or enter repl when autoreloading
...
A keypress while we waited for autoreload used to enter repl. Now
it won't.
Fixes #6480
2022-08-11 12:23:25 -07:00
Hosted Weblate
891a066f87
Merge remote-tracking branch 'origin/main'
2022-08-11 20:42:56 +02:00
Dan Halbert
3347ee685f
Merge pull request #6726 from tannewt/design_guide_update
...
Add register library topic to design guide
2022-08-11 14:42:45 -04:00
Scott Shawcroft
f1053fb963
Introduce port_yield()
...
This allows the web workflow send code to yield briefly when
waiting for more room to send in a socket. Waiting for an "interrupt"
could wait forever because the select task only waits for read and
error. Adding wait on write is tricky because much of the time we
don't care if the sockets are ready to write. Using yield avoids
this trickiness.
2022-08-11 11:25:34 -07:00
Scott Shawcroft
471053c315
Merge remote-tracking branch 'adafruit/main' into c3_short_send
2022-08-11 11:12:51 -07:00
Scott Shawcroft
553367105f
Add examples of non-applicable cases and SPI link
2022-08-11 11:01:16 -07:00
Scott Shawcroft
1ae88c3131
Merge remote-tracking branch 'adafruit/main' into design_guide_update
2022-08-11 10:52:06 -07:00
Jonny Bergdahl
11b434c8bf
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-08-11 19:18:14 +02:00
Dan Halbert
d645e9cad8
Merge pull request #6743 from Sciss/patch-1
...
Touchin.c - fix clean up in constructor before exception is thrown
2022-08-11 09:27:18 -04:00
Dan Halbert
5a2d870a9b
Merge pull request #6741 from tannewt/remove_pulseout_pwm_param
...
Remove PWMOut parameter to PulseOut
2022-08-11 09:26:51 -04:00
Dan Halbert
9a44e126a4
Merge pull request #6740 from pypewpew/stage
...
Bump circuitpython-stage to 1.3.5
2022-08-11 09:26:31 -04:00
Scott Shawcroft
9c6c8b5d62
Don't build boards for docs changes
2022-08-10 16:31:50 -07:00
Scott Shawcroft
f9d724c09e
Fix retries after successful connection.
...
We may have set retries to 0 to enforce a timeout but the connect
succeeded. When it succeeds, we want to allow retries later in
case we lose signal briefly. (The callback will do this too but
the connect function will override it after.)
Also, remove extra code from websocket that is leftover from
debugging.
2022-08-10 15:24:08 -07:00
Hanns Holger Rutz
92231e88ca
Touchin.c - fix clean up in constructor before exception is thrown
...
When the constructor value reading times out, an exception is thrown, but the digital pin is not de-initialised. Make sure to run the clean up, so user could catch the exception and retry using the same pin.
2022-08-10 21:49:18 +02:00
Jeff Epler
c2a45c1f27
Merge pull request #6739 from jepler/qrio-esp32camera
...
Enable qrio to work with rgb565 data, including byte-swapped data
2022-08-10 13:54:40 -05:00
Scott Shawcroft
0b098f5013
Retry send if only some bytes sent
...
Fixes #6654 and fixes #6689
2022-08-10 11:34:49 -07:00
Scott Shawcroft
b423520eb3
Merge pull request #6693 from RetiredWizard/sort_filemanager
...
Add filename sort to web workflow file manager
2022-08-10 11:29:39 -07:00
Radomir Dopieralski
412d6fee56
Bump circuitpython-stage to 1.3.5
2022-08-10 19:55:00 +02:00
Scott Shawcroft
7a5d2e81fc
Merge pull request #6734 from dhalbert/remove-autobrightness
...
Remove support for auto-brightness
2022-08-10 10:22:53 -07:00
Dan Halbert
a1d48e9978
Merge pull request #6729 from tannewt/websocket_ctrl_c
...
Read websocket in background to look for ctrl-c
2022-08-10 13:16:09 -04:00
Dan Halbert
08e3133435
Merge pull request #6731 from tannewt/ww_unicode
...
Decode percent encoded file paths and set charset
2022-08-10 13:13:53 -04:00
Dan Halbert
ff04c25021
Merge pull request #6738 from dhalbert/i2c-peripheral-target-confusion
...
switch back one I2C message
2022-08-10 12:34:00 -04:00
Scott Shawcroft
73ffd1f221
Merge pull request #6733 from Neradoc/nera-web-workflow-3
...
Use emojis as icons in the Web Workflow
2022-08-10 09:33:11 -07:00
Scott Shawcroft
741a5c2bec
Merge pull request #6722 from dhalbert/micropython-float-print-fix
...
py/formatfloat: Format all whole-number floats exactly.
2022-08-10 09:32:28 -07:00
Jeff Epler
3c3b7cb1e7
whitespace in docstrings
2022-08-10 11:14:33 -05:00
Jeff Epler
5168f6ec1f
Add support for RGB565 images in qrio
...
Most cameras produce RGB565_SWAPPED data
2022-08-10 11:13:26 -05:00
Jeff Epler
86f9d98a5d
fix documentation of framebuffer_count
2022-08-10 11:12:54 -05:00
Dan Halbert
af64faae1e
switch back one I2C message
2022-08-10 12:06:43 -04:00
RetiredWizard
0b286b7e7e
does pre-commit not like split lines?
2022-08-10 10:44:06 -04:00
Dan Halbert
198c8fea11
merge from upstream and fix espressif_esp32s3_eye
2022-08-10 08:43:08 -04:00
Dan Halbert
02cc6c2aee
Merge remote-tracking branch 'adafruit/main' into remove-autobrightness
2022-08-10 08:35:53 -04:00
Dan Halbert
dd28341b94
Merge pull request #6728 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-08-10 08:20:31 -04:00
Hosted Weblate
d37d785e99
Merge remote-tracking branch 'origin/main'
2022-08-10 14:18:41 +02:00
Dan Halbert
ce2bd9b9bc
Merge pull request #6712 from jepler/keyboard-keypad-ioctl
...
Make keypad select/poll'able, which leads to async goodness
2022-08-10 08:18:36 -04:00
Wellington Terumi Uemura
f5f77937d0
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-10 09:18:42 +02:00
Hosted Weblate
2fb2023a50
Merge remote-tracking branch 'origin/main'
2022-08-10 07:03:20 +02:00
Scott Shawcroft
e50fc237f8
Merge pull request #6730 from tannewt/remove_scanentry_all
...
Remove all kwarg from ScanEntry.matches
2022-08-09 22:03:14 -07:00
Hosted Weblate
8cea1b75dc
Merge remote-tracking branch 'origin/main'
2022-08-10 06:44:35 +02:00
Scott Shawcroft
138c92f035
Merge pull request #6727 from dhalbert/restore-deleted-modules
...
restore rainbowio and onewireio to a number of boards
2022-08-09 21:44:26 -07:00
Jeff Epler
76f03a2bee
Make keypad select/poll'able for better async
...
This allows a small wrapper class to be written
```py
class AsyncEventQueue:
def __init__(self, events):
self._events = events
async def __await__(self):
yield asyncio.core._io_queue.queue_read(self._events)
return self._events.get()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
pass
```
and used to just "await" the next event:
```py
async def key_task():
print("waiting for keypresses")
with keypad.KeyMatrix([board.D4], [board.D5]) as keys, AsyncEventQueue(keys.events) as ev:
while True:
print(await ev)
```
Because checking the empty status of the EventQueue does not enter
CircuitPython bytecode, it's assumed (but not measured) that this is
more efficient than an equivalent loop with an `await async.sleep(0)`
yield and introduces less latency than any non-zero sleep value.
2022-08-09 21:48:27 -05:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Neradoc
9f4e8efd2e
new icons for web workflow with actual emojis
2022-08-10 02:12:07 +02:00
Hosted Weblate
4934ba10f1
Merge remote-tracking branch 'origin/main'
2022-08-10 01:59:17 +02:00
Scott Shawcroft
59b4353282
Merge pull request #6713 from tannewt/exception_filename
...
Add exception filename to title bar
2022-08-09 16:59:12 -07:00
Hosted Weblate
adec68863c
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/
2022-08-10 01:50:35 +02:00
Hosted Weblate
ed309fba90
Merge remote-tracking branch 'origin/main'
2022-08-10 01:50:32 +02:00
Jeff Epler
5040e1b7a5
Merge pull request #6684 from jepler/espressif-camera-2
...
Rewrite camera support for the Espressif port
2022-08-09 18:50:25 -05:00