Commit Graph

29522 Commits

Author SHA1 Message Date
Jeff Epler
ac999098ee
merge a message 2022-11-30 12:06:18 -06:00
Jeff Epler
7df21c9ecf
Combine a message 2022-11-30 12:06:17 -06:00
Jeff Epler
f652a898e7
merge two messages 2022-11-30 12:06:17 -06:00
Jeff Epler
6ac2022093
merge a message 2022-11-30 12:06:16 -06:00
Jeff Epler
284ac21f51
merge a message 2022-11-30 12:06:16 -06:00
Jeff Epler
2315b62bff
Remove unused static qstrs
These are turned into TRANSLATE() messages now, so the qstr version
would not be used.
2022-11-30 12:06:15 -06:00
Jeff Epler
10d92873c3
Don't generate QSTRs for wrong identifiers
MP_REGISTER_MODULE would use identifiers like
"MODULE_DEF_MP_QSTR___FUTURE__" which would in turn cause
a QSTR to be generated for it. This wasn't desirable, because the
qstr would never be used.

This clears out quite a bit of flash storage on the proxlight trinkey.
2022-11-30 12:06:15 -06:00
Dan Halbert
2f5ec1cab0
Merge pull request #7281 from jepler/esp32-trailing-dot
handle domain with trailing dot
2022-11-30 11:18:47 -05:00
Dan Halbert
c8390a7918
Merge pull request #7069 from jepler/exception-chain
Implement chained exceptions
2022-11-30 11:13:57 -05:00
Jeff Epler
286efc18fc
handle domain with trailing dot
Closes: #7032
2022-11-30 09:29:21 -06:00
Dan Halbert
e82a8bf8bc
Merge pull request #7280 from tannewt/fix_s3_sleep
Fix S3 deep sleep
2022-11-29 21:06:03 -05:00
Scott Shawcroft
a8c70aa7bd
Fix S3 deep sleep
Adding `-u ld_include_highint_hdl` forces the linker to keep the
high priority interrupt handler that calls the ipc_isr handler.

The deep sleep is waiting for this interrupt to be handled on core
0 before sleeping from core 1.

Fixes #6090
2022-11-29 17:20:38 -08:00
Jeff Epler
49ac82564c
Merge pull request #7278 from jepler/sdcardio-failures
Sdcardio failures
2022-11-29 15:13:53 -06:00
Jeff Epler
4af95f1cb1
atmel-samd: Ensure sdioio.SDCard pins are released 2022-11-29 13:45:18 -06:00
Jeff Epler
8e83f36c36
SAM E54 Xplained devkit hardfaults at start with -O2
I don't know why, but other samd5x are using -Os too, see the block above.

Closes: #7277
2022-11-29 13:05:39 -06:00
Dan Halbert
d364d1c516
Merge pull request #7276 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-29 13:32:46 -05:00
Hosted Weblate
eaf0d04a25
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-11-29 16:09:32 +01:00
Dan Halbert
1bcfff3716
Merge pull request #7272 from tannewt/picow_mdns
Add MDNS support to Pico W
2022-11-29 10:09:24 -05:00
MicroDev
8a9d841da9
Merge pull request #7275 from jshimbo/main
supervisor.ticks_ms() documentation has an error
2022-11-29 14:34:24 +05:30
MicroDev
e93af31b63
Merge pull request #7269 from jepler/socketpool-gaierror
Add SocketPool.gaierror
2022-11-29 14:33:12 +05:30
MicroDev
d349c221f7
Merge pull request #7273 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-11-29 14:32:26 +05:30
Clay
f3100af6ac
Translated using Weblate (Russian)
Currently translated at 35.2% (351 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2022-11-29 02:02:58 +01:00
Scott Shawcroft
99bc9127ab
Merge pull request #7263 from bablokb/devcontainer
Add codespaces support (for Cortex-M builds)
2022-11-28 16:25:55 -08:00
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
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
Bernhard Bablok
0f3695d0f4 initial commit 2022-11-27 21:24:44 +01: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
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
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
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
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
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