Commit Graph

29764 Commits

Author SHA1 Message Date
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
Jeff Epler e489b73d88
update esp-idf to merge commit 2022-11-30 12:04:47 -06:00
Bill Sideris 44d5326d4c
fix picow-ap 2022-11-30 19:36:00 +02:00
Bill Sideris 362018dcca
Merge branch 'main' into picow-ap 2022-11-30 19:11:03 +02:00
Hosted Weblate 440c32d3b2
Merge remote-tracking branch 'origin/main' 2022-11-30 17:18:52 +01: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
Hosted Weblate eb1913576e
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-30 17:14:26 +01:00
Hosted Weblate 8b7b23f9dc
Merge remote-tracking branch 'origin/main' 2022-11-30 17:14:19 +01:00
hexthat 1711cce52b
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-30 17:14:18 +01:00
Jonny Bergdahl 7c336c51a8
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-11-30 17:14:17 +01: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
m1cha1s 3c5fb360a4 Removed uncrustify.cfg 2022-11-30 15:27:14 +01: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
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
m1cha1s 680e56c52a Changed creator id 2022-11-25 14:09:35 +01:00
m1cha1s 26fbb25653 Fixed formatting 2022-11-25 13:55:06 +01:00