Hosted Weblate
aa9e6148a2
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-10-22 20:28:10 +02:00
Hosted Weblate
c1abbaa020
Merge remote-tracking branch 'origin/main'
2022-10-22 20:28:08 +02:00
Jonny Bergdahl
b3c9cafeba
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-10-22 20:28:08 +02:00
Wellington Terumi Uemura
7c9d0452a8
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-22 20:28:08 +02:00
Dan Halbert
082f573087
Merge pull request #7102 from MicroDev1/coproc
...
Coproc Module Enhancements
2022-10-22 14:28:02 -04:00
Dan Halbert
5c2889f517
Merge pull request #7104 from jepler/remove-mpyerror-doc
...
we removed MpyError
2022-10-22 14:25:40 -04:00
Dan Halbert
17bda551c7
Merge pull request #7103 from jepler/crash-assign-generatorexit
...
Don't crash when assigning attributes of the GeneratorExit const singleton
2022-10-22 14:24:43 -04:00
Jeff Epler
05252c87f4
Don't crash when assigning attributes of the GeneratorExit const singleton
2022-10-22 11:37:34 -05:00
Jeff Epler
3bd7075c55
we removed MpyError
2022-10-22 11:28:23 -05:00
Dan Halbert
5a6fffca42
Merge pull request #7100 from tannewt/fix_usb_cdc_read
...
Fix USB issues caused by early usb_cdc.Serial read
2022-10-22 10:32:43 -04:00
microDev
8f0a674a1b
coproc module enhancements
...
- add light and pretend-to-deep sleep support
- check coproc running status
2022-10-22 19:08:49 +05:30
microDev
83b54d003d
implement more checks in coproc module
...
- check memory address range
- check firmware size at an earlier stage
2022-10-22 19:05:48 +05:30
Scott Shawcroft
eb1b2f38a0
Fix USB issues caused by early usb_cdc.Serial read
...
Check for connected before calling read. Otherwise TinyUSB may
setup the read on the wrong endpoint.
Fixes #6018
`
2022-10-21 20:42:26 -07:00
Kattni
a4238d815d
Merge pull request #7097 from dhalbert/document-limitations
...
catalog implementation limitations in documentation
2022-10-21 18:02:03 -04:00
Dan Halbert
01c15a1d1b
catalog implementation limitations in documentation
2022-10-21 13:58:34 -04:00
Dan Halbert
87a0201acb
Merge pull request #7098 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-10-21 13:37:21 -04:00
Hosted Weblate
b08d2ed9d7
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-10-21 19:36:10 +02:00
Dan Halbert
da7edf80e0
Merge pull request #7091 from MicroDev1/corpoc
...
Add `CoprocAlarm`
2022-10-21 13:36:01 -04:00
Dan Halbert
e46a8ab663
Merge pull request #7096 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-10-21 13:35:26 -04:00
Hosted Weblate
1bd8bb6200
Merge remote-tracking branch 'origin/main'
2022-10-21 18:01:12 +02:00
Dan Halbert
18e70ff9b9
Merge pull request #7094 from MicroDev1/espressif
...
Update espressif build configuration
2022-10-21 12:00:56 -04:00
Jonny Bergdahl
5f2d66abc6
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-10-21 17:02:37 +02:00
Wellington Terumi Uemura
ceb54a7dae
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1003 of 1003 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-21 17:02:37 +02:00
microDev
5b2728bd65
reorganize espressif mpconfigport.mk
2022-10-21 17:35:59 +05:30
microDev
2285dd1838
update espressif risc-v build configuration
...
- use optimization level O2
- explicitly state risc-v arch
2022-10-21 17:11:56 +05:30
Dan Halbert
9c8e6a8698
Merge pull request #7090 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-10-20 09:14:35 -04:00
microDev
b33a2b45dc
add coproc alarm
2022-10-20 18:38:20 +05:30
Hosted Weblate
ea60926b15
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-10-20 09:22:17 +02:00
MicroDev
b5b649801b
Merge pull request #6902 from MicroDev1/coproc
...
Add `coproc` module
2022-10-20 12:51:59 +05:30
microDev
5232e3f6c3
add coproc module
2022-10-20 09:09:44 +05:30
Dan Halbert
7015b7396e
Merge pull request #7089 from jepler/picow-gpio-number
...
pico w: Disentangle "TOTAL_GPIO_COUNT", it's complicated
2022-10-19 22:42:16 -04:00
Dan Halbert
4e007328e0
Merge pull request #7088 from jepler/picow-static-ip
...
pico w: implement static configuration methods in wifi.Radio
2022-10-19 22:41:31 -04:00
Jeff Epler
576a1ac700
pico w: Disentangle "TOTAL_GPIO_COUNT", it's complicated
...
You might wonder how this fixes a problem with PulseIn, when the
changes aren't to any of those files! PulseIn is implemented in terms of
StateMachine, which had some assumptions about the relation between
the index of a pin object in mcu_pin_global_dict_table and its "pin
number". This was true, until some pins were removed from the
microcontroller module on Pico W.
Closes : #7078
2022-10-19 21:09:50 -05:00
Jeff Epler
8bef4282c0
pico w: implement static configuration methods in wifi.Radio
2022-10-19 20:54:53 -05:00
Dan Halbert
31d7c91c85
Merge pull request #7059 from jepler/asyncio-tests-dogfood
...
asyncio: we should dogfood our own asyncio implementation during automated tests
2022-10-19 15:11:04 -04:00
Dan Halbert
08e1cdb282
Merge pull request #7079 from jepler/picow-2xmss
...
Pico W grab bag
2022-10-19 15:03:00 -04:00
Jeff Epler
f1b7bcbbec
Run 'make update-frozen-modules'
2022-10-19 11:28:27 -05:00
Jeff Epler
de0dda989d
Ensure background tasks are serviced during a lengthy sendall
2022-10-19 11:18:29 -05:00
Dan Halbert
b56d5d97d2
Merge pull request #7082 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2022-10-18 08:52:33 -04:00
Jonny Bergdahl
e93869ec42
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-10-18 13:12:01 +02:00
Wellington Terumi Uemura
83d351d01a
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-18 13:12:01 +02:00
Dan Halbert
607e917363
Merge pull request #7073 from MicroDev1/patch
...
Fix 2/4MB Partition Tables & Makefile
2022-10-17 22:29:16 -04:00
Jeff Epler
6e350a65cf
Merge pull request #7076 from bill88t/early-wifi
...
Implement async wifi connection on picow
2022-10-17 19:54:58 -05:00
Jeff Epler
3b7feccd9b
picow: Implement stop_station
...
Weirdly we have to stop the AP too (which we never started),
or cyw43_tcpip_link_status still reports that STA is connected.
As long as AP mode isn't implemented, this doesn't matter and
we can just do it.
2022-10-17 19:42:10 -05:00
Jeff Epler
508c80da8d
socketpool: add sendall
...
The standard Python 'fix' for 'send()' returning prematurely is to
use the 'sendall()' method instead. However, this method was not
available. adafruit_httpserver will probably need to code a version
of it for older versions or for Airlift, but when it's available
this code works (Tested on picow sending 8192 bytes) and may be more
efficient.
(implementing 'sendall' in python should take care to slice a memoryview
rather than the original buffer)
2022-10-17 19:42:09 -05:00
Jeff Epler
57756863ef
picow: depending on memory pressure, may only be able to write 1 MSS
...
Foamyguy discovered that trying to send >2920 bytes at once consistently
failed. I further discovered that sometimes trying to send >1460 bytes
would fail too. By "fail", I mean that it would take a very long time
(around 200 * 50ms) before erroneously reporting that all bytes were
written.
In my testing, this change causes larger writes to successfully
send either 2920 or 1460 bytes (possibly after doing some 50ms waits
for a previous packet to clear).
The documentation of socket.send always stated that it COULD send fewer
bytes than requested, but adafruit_httpserver assumed that the number
of requested bytes were always sent, so after this change alone,
adafruit_httpserver will still not work properly.
Closes : #7077 (albeit fixes are needed in adafruit_httpserver too)
2022-10-17 19:42:07 -05:00
Jeff Epler
861b22730e
picow: if initial write fails, write at most 1 TCP MSS of data
2022-10-17 19:28:02 -05:00
Jeff Epler
1975742d9f
picow: fix formatting numbers in lwip debug output
2022-10-17 19:28:02 -05:00
Jeff Epler
6128f4e5af
picow: add resolution of ".local" names
2022-10-17 19:28:01 -05:00
Jeff Epler
bd3ed2e93d
Merge pull request #7075 from jepler/picow-fix-ipv4addr-unconnected
...
picow: ask at a lower level if the interface is up
2022-10-17 19:27:49 -05:00