Commit Graph

29733 Commits

Author SHA1 Message Date
Scott Shawcroft 81afe05811
Merge pull request #7265 from jepler/wifi-monitor-docs
Fix documentation of wifi.Monitor
2022-11-28 16:23:40 -08:00
Scott Shawcroft c13ca95da1
Add MDNS support to Pico W
This adds both cpy-MAC.local and circuitpython.local support.

Fixes #7214
2022-11-28 16:15:28 -08:00
foamyguy 1bbdc820c0 make show(None) show the terminal 2022-11-28 17:02:46 -06:00
Jeff Epler aef55b7e41
Add SocketPool.gaierror
gaierror(-2) is raised in the failure case of getaddrinfo. This is
compatible with cpython's socket module.

Typical session:
```
>>> import socketpool
>>> import wifi
>>> socket = socketpool.SocketPool(wifi.radio)
>>> try: socket.getaddrinfo("boo", 0)
... except socket.gaierror as e: ee = e
...
>>> type(ee)
<class 'gaierror'>
>>> ee.errno == socket.EAI_NONAME
True
>>> ee.strerror
'Name or service not known'
>>> raise ee
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 1, in <module>
gaierror: (-2, 'Name or service not known')
```

Closes: #6941
2022-11-28 16:57:44 -06:00
Scott Shawcroft ad2d190507
Merge pull request #7247 from tannewt/picow_web_workflow
Enable* web workflow for Pico W
2022-11-28 14:19:42 -08:00
Bernhard Bablok fba71010ac be more specific with exclude_patterns 2022-11-28 21:09:57 +01:00
Jeff Epler e1c025d6dd
Fix documentation of wifi.Monitor
Its methods & properties were incorrectly documented as being directly
in 'wifi'
2022-11-28 13:30:08 -06:00
Scott Shawcroft 6457827514
Merge pull request #7253 from dhalbert/samd51-stereo-fix
fix playing mono files on stereo output
2022-11-28 10:54:28 -08:00
Bernhard Bablok 0a59b6560a added .devcontainer/* to exclude_patterns 2022-11-28 19:40:09 +01:00
foamyguy 553d48f887 return None for NULL 2022-11-28 09:03:03 -06:00
foamyguy b8d6605cff code format, extra space 2022-11-27 17:26:46 -06:00
foamyguy 52be2b80c1
fix out of range
Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
2022-11-27 17:04:25 -06:00
foamyguy 3419b118fd
fix out of range
Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
2022-11-27 17:02:55 -06:00
Bernhard Bablok 0f3695d0f4 initial commit 2022-11-27 21:24:44 +01:00
foamyguy 6844dc0cb7 code format, extra space 2022-11-27 14:20:15 -06:00
foamyguy 15a9e63fda remove is_null troubleshooting function. remove empty line 2022-11-27 14:08:38 -06:00
Dan Halbert 1f3b2433c0
Merge pull request #7259 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-27 14:59:04 -05:00
foamyguy 738b73d4b4 check for NULL in fill_area. moved start_terminal to reset_display. 2022-11-27 13:54:53 -06:00
foamyguy 2c479f4fce working on None behavior 2022-11-26 11:00:09 -06:00
Clay 54f37c3e5a
Translated using Weblate (Russian)
Currently translated at 31.9% (318 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2022-11-26 05:48:31 +01:00
foamyguy c6ca2bdd59 disable pixelmap on bluemicro833 2022-11-24 09:09:48 -06:00
foamyguy 57d7f7f2ad move to _pixelmap 2022-11-24 09:07:08 -06:00
Jeffrey Shimbo 84da3b29c4
Merge pull request #1 from jshimbo/jshimbo-patch-1
Typo in docs for supervisor.ticks_ms()
2022-11-24 06:26:47 -08:00
Jeffrey Shimbo c0b57ff8c5
Typo in docs for supervisor.ticks_ms()
https://docs.circuitpython.org/en/latest/shared-bindings/supervisor/index.html#supervisor.ticks_ms
ticks_add() helper function has an error
2022-11-24 06:05:46 -08:00
Dan Halbert 79f4344860 fix playing mono files on stereo output 2022-11-23 22:11:41 -05:00
Scott Shawcroft 30563655d7
Merge pull request #7249 from dhalbert/wifi-connect-ap-api
correct Radio.connect() and .start_ap() signatures; clean up some code
2022-11-23 10:29:05 -08:00
foamyguy e5ea1d2247 try to revert pixelbuf merge brokenness. remove second color_u def. 2022-11-22 18:47:25 -06:00
Dan Halbert 17be447c4b correct Radio.connect() and .start_ap() signatures; clean up some code 2022-11-22 17:11:03 -05:00
Scott Shawcroft 167a50658a
Try and fix ci change script 2022-11-22 09:42:59 -08:00
Scott Shawcroft dc20390588
Fix stubs 2022-11-22 09:04:12 -08:00
Dan Halbert 6d022733b3
Merge pull request #7162 from rhooper/boards-list
add boards list to make error message
2022-11-21 23:18:37 -05:00
MicroDev e7c87a4acd
Merge pull request #7245 from dhalbert/c3-sdkconfig
Simplify some ESP32-C3 board sdkconfig files
2022-11-22 09:15:30 +05:30
foamyguy 19f1119994 Merge branch 'main' into fastpixelmap
# Conflicts:
#	shared-module/adafruit_pixelbuf/PixelBuf.c
2022-11-21 20:25:58 -06:00
foamyguy fa4b480439 looking into how null show works 2022-11-21 20:21:39 -06:00
Scott Shawcroft c3a96a63c0
Enable* web workflow for Pico W
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.

Progress on #7214
2022-11-21 16:24:05 -08:00
Bill Sideris b40facd0b4
Error msg changes 2022-11-22 01:00:34 +02:00
Scott Shawcroft c12e2a170d
Merge pull request #7235 from MicroDev1/ci
Fix json parse issue in ci_set_matrix.py
2022-11-21 13:06:06 -08:00
Dan Halbert df0150ff0e Add common settings to sdkconfig-esp32c3.defaults 2022-11-21 15:15:26 -05:00
Dan Halbert 85a83b8150 Simplify some ESP32-C3 board sdkconfig files 2022-11-21 12:35:10 -05:00
MicroDev 73a43aa30d
Merge pull request #7236 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-21 01:04:09 +05:30
Hosted Weblate 16e34b147a
Merge remote-tracking branch 'origin/main' 2022-11-20 20:16:36 +01:00
Jeff Epler 63e18cdfe7
Merge pull request #7242 from s-ol/i2ctarget_fix
Don't block in I2CTarget.request(-1)
2022-11-20 13:16:22 -06:00
s-ol 40d35e9eaa Don't block in I2CTarget.request(-1)
Partially reverts #6985
Closes #7241
2022-11-20 16:08:00 +01:00
Hosted Weblate 3f357d39f4
Merge remote-tracking branch 'origin/main' 2022-11-19 20:46:22 +01:00
Dan Halbert d4834cb7ec
Merge pull request #7234 from jepler/espressif-uart-console-break
Interrupt on UART 'break'
2022-11-19 14:46:18 -05:00
Hosted Weblate b601e4c466
Merge remote-tracking branch 'origin/main' 2022-11-19 20:32:09 +01:00
Dan Halbert 96fc85cd18
Merge pull request #7229 from dhalbert/rp2040-spi-mode-3
RP2040: have clock start high when SPI polarity high
2022-11-19 14:32:02 -05:00
hexthat 4856f42f84
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-19 19:48:17 +01:00
MicroDev 7ea563e661
fix json parse issue 2022-11-19 23:29:05 +05:30
foamyguy ef3398422a allow set_root_group for FrameBufferDisplay instead of show() 2022-11-19 11:41:48 -06:00