Commit Graph

28619 Commits

Author SHA1 Message Date
Scott Shawcroft
525eb711c1
Add /code/ for online editing 2022-08-16 15:44:58 -07:00
Scott Shawcroft
4b1d1fd72d
Merge pull request #6768 from mayrhomar/main
Add Waveshare ESP32-S2-Pico-LCD
2022-08-16 09:50:46 -07:00
Scott Shawcroft
3fbddfde59
Merge pull request #6758 from gamblor21/rp2040_i2ctarget
Rp2040 i2ctarget support
2022-08-15 13:57:49 -07:00
Scott Shawcroft
7717ab8e13
Merge pull request #6754 from jepler/check-read-utf8
When reading data from a file into a str, check if it's utf-8
2022-08-15 13:48:43 -07:00
Martin
528da05f54 Add Waveshare ESP32-S2-Pico-LCD 2022-08-15 16:46:14 +02:00
MicroDev
a223102366
Merge pull request #6759 from ladyada/main
pycam rev b pins
2022-08-14 22:01:29 +05:30
MicroDev
8bf88d44fb
Merge pull request #6760 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-14 21:59:17 +05:30
Can Kocyigit
787bfd5b6e
Translated using Weblate (Turkish)
Currently translated at 12.1% (122 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-08-14 14:14:55 +02:00
Can Kocyigit
86dd4c53aa
Translated using Weblate (German)
Currently translated at 99.9% (1002 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-08-14 14:14:55 +02:00
lady ada
2f2ccdddbf pycam rev b pins 2022-08-13 23:41:35 -04:00
gamblor21
7584363f66 Forgot an include 2022-08-13 17:41:45 -05:00
gamblor21
1ae2a2154e Initial i2ctaret commit 2022-08-13 17:00:43 -05:00
MicroDev
fa3e265bfb
Merge pull request #6753 from tannewt/esp_led_reset
Audit all boards with LED pins defined
2022-08-13 15:25:02 +05:30
MicroDev
5c184faa95
Merge pull request #6751 from tannewt/no_any_key_while_reloading
Don't reload or enter repl when autoreloading
2022-08-13 15:22:50 +05:30
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
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
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
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