Commit Graph

28847 Commits

Author SHA1 Message Date
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
Lee Atkinson 5fb5fd0558
Merge branch 'adafruit:main' into adcdma 2022-08-10 18:33:52 -04: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
Lee Atkinson e778112710
Merge branch 'adafruit:main' into adcdma 2022-08-10 10:29:17 -04:00
Lee Atkinson 9e0c580d3d AnalogFastIn 2022-08-10 09:42:24 -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
Hosted Weblate 4e02fba009
Merge remote-tracking branch 'origin/main' 2022-08-10 01:40:26 +02:00
Scott Shawcroft db837e2b48
Merge pull request #6725 from dhalbert/esp-stack-size-16kB
increase main task stack size from 8kB to 16kB
2022-08-09 16:40:16 -07:00
Scott Shawcroft e0fb308972
Decode percent encoded file paths and set charset
Also, fix multiple file uploads from directory browser.

Fixes #6646
2022-08-09 16:36:57 -07:00
Scott Shawcroft 35f3773e94
Remove PWMOut parameter to PulseOut
Fixes #3264
2022-08-09 14:55:13 -07:00
Scott Shawcroft 7a07247974
Remove all kwarg from ScanEntry.matches
Fixes #3007
2022-08-09 14:37:52 -07:00
RetiredWizard c8a5149560
Sort json data rather than index of table data 2022-08-09 17:13:18 -04:00
Scott Shawcroft 554063a817
Merge branch 'main' into espressif-camera-2 2022-08-09 14:07:14 -07:00
Hosted Weblate 854887c110
Merge remote-tracking branch 'origin/main' 2022-08-09 23:06:18 +02:00
Scott Shawcroft 5084de1b73
Merge pull request #6708 from strid3r21/main
Added Smart Bee Design Boards
2022-08-09 14:06:11 -07:00