Commit Graph

29021 Commits

Author SHA1 Message Date
MicroDev 28c93cad68
Merge pull request #6742 from tannewt/c3_short_send
Retry send if only some bytes sent
2022-08-13 15:22:27 +05:30
MicroDev 50be223b5f
Merge pull request #6749 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-13 15:20:14 +05:30
Lee Atkinson 8cd12b2478 Copyright Change 2022-08-12 16:01:58 -04:00
Lee Atkinson 81c7ba899d Copyright Update/Acknowledgements 2022-08-12 13:57:45 -04:00
Jeff Epler 606c75ab62
test must read data in binary mode 2022-08-12 08:34:33 -05:00
Jeff Epler 06f22cb59c
When reading data from a file into a str, check if it's utf-8
Otherwise, weird stuff can happen down the line when it is print()ed,
especially as it can break the webrepl of circuitpython.
2022-08-12 08:25:27 -05:00
Lee Atkinson 35aa8e440f Fixing commits after non rebase 2022-08-11 18:02:05 -04:00
Lee Atkinson 6d8e8c71fc Merge branch 'adcdma' of https://github.com/latkinso42/circuitpython into adcdma
Fixing code behind commits
2022-08-11 17:58:46 -04:00
Lee Atkinson ce24469848
Merge branch 'adafruit:main' into adcdma 2022-08-11 17:57:01 -04:00
Lee Atkinson c3c1e307c4 Sample Rate Enhancements 2022-08-11 17:50:30 -04:00
Scott Shawcroft df1435ae94
Audit all boards with LED pins defined
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)

Fixes #6717
2022-08-11 14:41:20 -07:00
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
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