Commit Graph

2205 Commits

Author SHA1 Message Date
Jeff Epler
0e19fbb60f
Use a function to raise ZeroDivisionError, consistent string 2022-11-30 14:39:30 -06:00
Jonny Bergdahl
2e9954e43d
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-11-30 21:18:36 +01:00
Bill Sideris
362018dcca
Merge branch 'main' into picow-ap 2022-11-30 19:11:03 +02: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
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
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
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
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
19f1119994 Merge branch 'main' into fastpixelmap
# Conflicts:
#	shared-module/adafruit_pixelbuf/PixelBuf.c
2022-11-21 20:25:58 -06:00
Bill Sideris
b40facd0b4
Error msg changes 2022-11-22 01:00:34 +02: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
Bill Sideris
88bd9ef6b8
just change the ap error 2022-11-18 22:51:05 +02:00
Bill Sideris
b8cd6c093f
picow-ap progress 2022-11-17 21:47:39 +02:00
River Wang
a4dd1b2341
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.4% (990 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-15 05:35:35 +01:00
River Wang
ce22a3293d
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.6% (992 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 23:15:34 +01:00
hexthat
63ad2b763e
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.6% (992 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 23:15:34 +01:00
River Wang
e53bbb1bd2
Translated using Weblate (Chinese (Pinyin))
Currently translated at 97.3% (969 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-14 16:47:28 +01:00
Jeff Epler
b6f86e1e73
Recursively print chained exceptions 2022-11-13 19:53:21 -06:00
Jonny Bergdahl
b9ce2867a0
Translated using Weblate (Swedish)
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-11-11 19:49:47 +01:00
Wellington Terumi Uemura
d5ea4d8f2f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-11-11 19:49:47 +01:00
Jeff Epler
f5c637dc10
Add adafruit_pixelmap.PixelMap
.. a fast helper for animations. It is similar to and inspired by the
PixelMap helper in Adafruit LED Animation library, but with an extremely
fast 'paste' method for setting a series of pixels. This is a common
operation for many animations, and can give a substantial speed improvement.

It's named `adafruit_pixelmap` so that we can package a compatible version
in pure Python for systems that can't fit it in C in flash, or for
Blinka.

This is a proof of concept and can make a very fast comet animation:
```python
import time
import adafruit_pixelbuf
import adafruti_pixelmap
import board
import neopixel
from supervisor import ticks_ms
from adafruit_led_animation.animation.solid import Solid
from adafruit_led_animation import color

pixel_pin = board.GP0
pixel_num = 96

pixels = neopixel.NeoPixel(pixel_pin, pixel_num, brightness=1, auto_write=False, pixel_order="RGB")

evens = adafruit_pixelmap.PixelMap(pixels, tuple(range(0, pixel_num, 2)))
odd_indices = tuple((i, i+2) for i in range(1, pixel_num, 4))
print(odd_indices)
odds = adafruit_pixelbuf.PixelMap(pixels, odd_indices)
assert len(odds) == len(odd_indices)


comet_length = 16

comet1 = [color.calculate_intensity(color.GREEN, ((1+i) / comet_length) ** 2.4)
        for i in range(comet_length)]
comet2 = [color.calculate_intensity(color.PURPLE, ((1+i) / comet_length) ** 2.4)
        for i in range(comet_length)]

pos1 = 0
pos2 = 96//4

while True:
    evens.paste(comet1, pos1, wrap=True, reverse=False, others=0)
    pos1 = (pos1 + 1) % len(evens)

    odds.paste(comet2, pos2, wrap=True, reverse=True, others=0)
    pos2 = (pos2 - 1) % len(odds)
    pixels.show()

    m = ticks_ms()
    if m % 2000 > 1000:
        time.sleep(.02)
```
2022-11-11 07:54:33 -06:00
Hosted Weblate
3910557605
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-09 20:20:06 +01:00
Hosted Weblate
2be3f26508
Merge remote-tracking branch 'origin/main' 2022-11-09 20:20:04 +01:00
Deleted User
98ee03259c
Translated using Weblate (French)
Currently translated at 99.2% (986 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-11-09 20:20:04 +01:00
Neradoc
b46997fbca
Translated using Weblate (French)
Currently translated at 99.2% (986 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-11-09 20:20:03 +01:00
Ettore Atalan
e390e71426
Translated using Weblate (German)
Currently translated at 99.7% (991 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-11-09 20:20:03 +01:00
Dan Halbert
e6936decac
Merge pull request #7169 from blues/pdmin
STM32L4 PDMIn support
2022-11-09 14:19:51 -05:00
Jonny Bergdahl
7a26443da8
Translated using Weblate (Swedish)
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-11-09 11:48:29 +01:00
Wellington Terumi Uemura
93b6772c65
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-11-09 11:48:29 +01:00
Hosted Weblate
9f3d3ed9b0
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-08 00:29:35 +01:00
Hosted Weblate
e713f831ce
Merge remote-tracking branch 'origin/main' 2022-11-08 00:29:33 +01:00
Jeff Epler
9cdfba2e47
Simplify argument checking to reduce translated strings
Build size on proxlight trinkey m0 en_US:
Before:  2412 (en_US)  820 (ru)
After:   2544 (en_US)  984 (ru)
Savings: +132 (en_US) +164 (ru) bytes available flash
2022-11-07 12:37:11 -06:00
Matthew McGowan
ad9db01f5f Implements PDMIn for STM32L4 using the SAI peripheral and decimation/filtering in software. 2022-11-04 17:27:08 -07:00
Ettore Atalan
39bab07973
Translated using Weblate (German)
Currently translated at 99.8% (1001 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-11-04 16:05:38 +01:00
Wellington Terumi Uemura
52de6e8559
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-11-02 10:33:26 +01:00
Jonny Bergdahl
5a2d1ef49f
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-31 14:02:34 +01:00
Hosted Weblate
1d1cb1fe36
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-30 11:24:25 +01:00
Dan Halbert
28c9aff7c4
Merge pull request #7150 from Neradoc/cleanup-boot-button-message
Change boot button message to an independent sentence
2022-10-30 06:24:16 -04:00
Neradoc
8f82db5b22 define out the safe mode message if none 2022-10-30 03:55:59 +01:00
Neradoc
0aa41fa92e change BOARD_USER_SAFE_MODE_ACTION into a separate sentence 2022-10-30 01:55:42 +02:00
Jonny Bergdahl
c6cfb031d0
Translated using Weblate (Swedish)
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-10-30 00:00:38 +02:00
Wellington Terumi Uemura
3f2e8feb5c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-30 00:00:37 +02:00
Hosted Weblate
ec7df0d17c
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-29 20:16:41 +02:00
Hosted Weblate
62f1470a1c
Merge remote-tracking branch 'origin/main' 2022-10-29 20:16:39 +02:00
Jonny Bergdahl
16eb601caa
Translated using Weblate (Swedish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-10-29 20:16:38 +02:00
Wellington Terumi Uemura
2893ab3557
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-29 20:16:38 +02:00
CDario
19fd9107a2 Merded with main branch 2022-10-29 07:46:54 +00:00
Hosted Weblate
e83b96afca
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-28 22:00:10 +02:00
CDario
b815a4cc5e Added safe mode button and fix coyright attribution 2022-10-28 12:06:11 +00:00
CDario
b94447fde5 Added safe mode button 2022-10-28 05:00:54 +00:00
Senuros
b0457ff3e0
Adding more translation entries
Those might be the last translations that were still missing.
2022-10-27 20:52:08 +02:00
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
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
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
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
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
5232e3f6c3
add coproc module 2022-10-20 09:09:44 +05:30
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
Hosted Weblate
e4953a4935
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-17 01:55:36 +02:00
Hosted Weblate
12be7b136a
Merge remote-tracking branch 'origin/main' 2022-10-17 01:55:31 +02:00
microDev
e7b25dbf73
improve dualbank errors 2022-10-15 13:20:10 +05:30
Dan Halbert
7e4b2a09eb
Merge pull request #7000 from MicroDev1/storage-extend
Add Storage Extension Support
2022-10-13 10:05:55 -04:00
Jonny Bergdahl
92864467c0
Translated using Weblate (Swedish)
Currently translated at 100.0% (999 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-10-13 08:43:22 +02:00
Wellington Terumi Uemura
40d77b6738
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (999 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-10-13 08:43:22 +02:00
Ettore Atalan
cf875c04b7
Translated using Weblate (German)
Currently translated at 99.2% (992 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-10-13 08:43:21 +02:00
microDev
728fea4ca4
add storage extension python api 2022-10-13 09:53:33 +05:30
Hosted Weblate
2ad5c11ca9
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-10 21:13:35 +02:00
Hosted Weblate
83fc85cb6f
Merge remote-tracking branch 'origin/main' 2022-10-10 21:13:32 +02:00
Boran Roni
3a5eb31b4e
Translated using Weblate (Turkish)
Currently translated at 14.5% (145 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-10-10 20:23:14 +02:00
Dan Halbert
86a0f9a861 save about 112 bytes 2022-10-09 19:22:39 -04:00
Hosted Weblate
a673ee73c4
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-07 00:32:24 +02:00
Dan Halbert
833f55922c
Remove multiterminal
This module has not been built in years, since the (removed) esp8266 port.
Delete the code, as it is not likely to be useful in its current form.

Closes: #7015
2022-10-06 14:02:47 -05:00
Hosted Weblate
e9376d0f8f
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-06 16:51:51 +02:00
Jeff Epler
dcb650c513 pico w: add ssl module
Note: at this time, the ssl module on pico_w never verifies the server
certificate. This means it does not actually provide a higher security
level than regular socket / http protocols.
2022-10-05 13:12:43 -04:00
Bill Sideris
e064500411
Translated using Weblate (Greek)
Currently translated at 18.5% (185 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/el/
2022-10-05 14:23:42 +02:00
Bill Sideris
a599e66c33
Translated using Weblate (Greek)
Currently translated at 8.2% (82 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/el/
2022-10-03 15:20:50 +02:00
Jonny Bergdahl
7107995efd
Translated using Weblate (Swedish)
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-09-30 10:18:14 +02:00
Wellington Terumi Uemura
83a138cfbc
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-09-30 10:18:14 +02:00
Hosted Weblate
6049728ed2
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-09-29 00:09:41 +02:00
Dan Halbert
db065a299f
Merge pull request #6933 from jepler/🥧🐮
Implement a useful subset of `wifi` and `socketpool` modules on 🥧🐮
2022-09-28 18:09:24 -04:00
Jeff Epler
6c3cdceb45
Implement scan, connect, ping
My pings go out, and then they come back

```py
import os
import wifi
import ipaddress

wifi.radio.connect(os.getenv('WIFI_SSID'), os.getenv('WIFI_PASSWORD'))
ipv4 = ipaddress.ip_address("8.8.4.4")
print("Ping google.com: %f ms" % (wifi.radio.ping(ipv4)*1000))
```
2022-09-28 10:06:33 -05:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out 2022-09-28 10:06:33 -05:00
Hosted Weblate
77c1c695b0
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-09-25 23:56:04 +02:00
Dan Halbert
a7b10d41b4
Merge pull request #6522 from jepler/must-be-int
Improve argument checking & reduce strings to translate
2022-09-25 17:55:56 -04:00
Bill Sideris
c19bceaeaa
Translated using Weblate (Greek)
Currently translated at 2.5% (26 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/el/
2022-09-23 19:20:45 +02:00
Alvaro Figueroa
714da7bc28
Translated using Weblate (Spanish)
Currently translated at 86.5% (868 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2022-09-23 19:20:44 +02:00
Jeff Epler
ef35ca1d3e
vectorio: Simplify argument checking of x/y values 2022-09-22 08:39:33 -05:00
Jeff Epler
267ec1dc4f
unify some 'must/should be an int' messages 2022-09-22 08:39:32 -05:00
Wellington Terumi Uemura
3fdc02baa2
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-09-19 23:21:01 +02:00
Jonny Bergdahl
5f65a887a1
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-09-16 20:51:37 +02:00
Hosted Weblate
e069c6dead
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-09-16 18:46:34 +02:00
Hosted Weblate
afee7fd417
Merge remote-tracking branch 'origin/main' 2022-09-16 18:46:31 +02:00
Jonny Bergdahl
bdb4793b3e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-09-16 18:46:31 +02:00
Dan Halbert
6f8fe1b3e1 touch up analogbufio ValueError msg; consolidate with another message 2022-09-16 11:17:13 -04:00
Hosted Weblate
593a1f2bc0
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-09-16 14:32:39 +02:00
Hosted Weblate
278c5a2872
Merge remote-tracking branch 'origin/main' 2022-09-16 14:32:37 +02:00
Dan Halbert
8a568d18b5
Merge pull request #6757 from latkinso42/adcdma
analogbufio
2022-09-16 08:32:24 -04:00
Hosted Weblate
7540ae87d4
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-09-16 14:22:20 +02:00
Dan Halbert
60f43b1703 allow preserving pin state during deep sleep 2022-09-15 17:35:14 -04:00
Lee Atkinson
f279a2dbb2
Merge branch 'adafruit:main' into adcdma 2022-09-08 11:46:01 -04:00
latkinso42
c1f57c6ceb Pushing for resolution 2022-09-07 18:53:35 -04:00
Wellington Terumi Uemura
ab8eb346ee
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-09-05 06:21:43 +02:00
latkinso42
6fe2ea4513 Merging back with updated main files 2022-09-02 15:51:45 -04:00
Hosted Weblate
eebd7f86a2
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-08-30 17:41:50 +02:00
Dan Halbert
3ba385ff5c
Merge pull request #6794 from jepler/esp32-camera-error-checking
Esp32 camera error checking
2022-08-30 11:41:42 -04:00
Boran Roni
6ec5ae1d86
Translated using Weblate (Turkish)
Currently translated at 13.1% (132 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-08-29 20:20:41 +02:00
Maxime Leroy
72fe1a95f6
Translated using Weblate (French)
Currently translated at 99.6% (999 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-08-29 20:20:41 +02:00
Jeff Epler
dc27fb967d error at runtime if no psram actually reserved 2022-08-26 09:27:50 -05:00
Lee Atkinson
57c9d9cad5
Merge branch 'adafruit:main' into adcdma 2022-08-23 08:04:23 -04:00
hexthat
0b3c74283a
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1003 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-08-20 16:09:59 +02:00
River Wang
de6929d2bb
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.1% (994 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-08-20 01:08:13 +02:00
hexthat
ffc7e2b0c2
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.1% (994 of 1003 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-08-20 01:08:13 +02:00
Lee Atkinson
f91af513b7 Introduced odule adcbuffer / removed analogio/AnalogFastIn 2022-08-18 16:23:17 -04:00
Lee Atkinson
34b8fbaf14
Merge branch 'adafruit:main' into adcdma 2022-08-18 09:08:10 -04:00
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
Lee Atkinson
c3c1e307c4 Sample Rate Enhancements 2022-08-11 17:50:30 -04: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
Wellington Terumi Uemura
f5f77937d0
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-08-10 09:18:42 +02:00
Hosted Weblate
adec68863c
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-08-10 01:50:35 +02:00
Hosted Weblate
ed309fba90
Merge remote-tracking branch 'origin/main' 2022-08-10 01:50:32 +02:00
Scott Shawcroft
554063a817
Merge branch 'main' into espressif-camera-2 2022-08-09 14:07:14 -07:00
Hosted Weblate
7a152794cd
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-08-09 22:12:31 +02:00
Dan Halbert
84807cd6eb Change I2C terminology from "peripheral" to "target" 2022-08-09 13:13:19 -04:00
Maxime Leroy
7877f4d08a
Translated using Weblate (French)
Currently translated at 99.6% (997 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-08-09 06:22:16 +02:00
Maxime Leroy
f00eac7e6e
Translated using Weblate (French)
Currently translated at 99.5% (996 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-08-08 06:20:52 +02:00
Jonny Bergdahl
9571bab8f8
Translated using Weblate (Swedish)
Currently translated at 100.0% (1001 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-08-07 17:16:49 +02:00
Wellington Terumi Uemura
843ccb71c0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1001 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-07 17:16:49 +02:00
Jeff Epler
1a11ff864a
Merge remote-tracking branch 'origin/main' into espressif-camera-2 2022-08-05 21:08:12 -05:00
Hosted Weblate
5e58fc1167
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-08-06 00:59:15 +02:00
Hosted Weblate
e9d10dfa38
Merge remote-tracking branch 'origin/main' 2022-08-06 00:59:12 +02:00
Jeff Epler
1da8065d6b
Merge remote-tracking branch 'origin/main' into espressif-camera-2 2022-08-05 16:38:51 -05:00
Scott Shawcroft
207311b02a
Merge branch 'main' into title_execution_status 2022-08-05 13:42:58 -07:00
Hosted Weblate
db9a9a1571
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-08-05 21:06:53 +02:00
Dan Halbert
8c10e09ba0
Merge pull request #6667 from jepler/esp-reserve-heap-for-idf
Add ability to reserve psram
2022-08-05 15:06:44 -04:00
River Wang
1e741f53fa
Translated using Weblate (Chinese (Pinyin))
Currently translated at 93.4% (932 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-08-05 16:18:53 +02:00
Jonny Bergdahl
d61f9eee7f
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-08-05 16:18:53 +02:00
Wellington Terumi Uemura
7f600422b0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-05 16:18:53 +02:00
Scott Shawcroft
83cbbc9946
Add BLE status to title bar 2022-08-04 16:33:10 -07:00
Scott Shawcroft
3a2bcbc5c7
Enable title bar on all builds
* Tweak scroll area position so last line is complete and top is
  under the title bar.
* Pick Blinka size based on the font to minimize unused space in
  title bar. Related to #2791
* Update the title bar after terminal is started. Fixes #6078

Fixes #6668
2022-08-04 16:33:10 -07:00
Jeff Epler
258f72640a
Implement a pile of getters & setters 2022-08-04 15:11:57 -05:00
Jeff Epler
82be75adb5 Add ability to reserve psram
.. the primary user of which will be the camera, since the framebuffers
must be allocated via esp-idf allocation function and never from the
gc heap.

A board can have a default value, and the value can also be set in the
/.env file using the key CIRCUITPY_RESERVED_PSRAM with the value being
the reserved size in bytes.

Co-authored-by: Dan Halbert <halbert@adafruit.com>
2022-08-03 16:19:40 -05:00
Hosted Weblate
8bd54726e4
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-08-03 03:31:53 +02:00
Scott Shawcroft
9661d3256c
Add more ESP32 boards and enable web workflow 2022-08-01 15:52:08 -07:00
Wellington Terumi Uemura
22e774fbb2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-25 00:22:34 +02:00
Jonny Bergdahl
01f6051bc4
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-07-21 22:15:09 +02:00
Hosted Weblate
7b3ac1ce65
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-07-20 01:15:35 +02:00
Hosted Weblate
03dce053e1
Merge remote-tracking branch 'origin/main' 2022-07-20 01:15:33 +02:00
Maxime Leroy
6a2ba17362
Translated using Weblate (French)
Currently translated at 99.5% (991 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-20 01:15:33 +02:00
Dan Halbert
bb47484cb1 Merge remote-tracking branch 'adafruit/main' into from_bytes-check-parameters 2022-07-19 17:18:26 -04:00
Wellington Terumi Uemura
d39236b114
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-15 23:21:14 +02:00
Jonny Bergdahl
49a5e83a61
Translated using Weblate (Swedish)
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-14 20:05:21 +02:00
Hosted Weblate
3111d2dba9
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-07-14 02:36:55 +02:00
Hosted Weblate
b7a7370297
Merge remote-tracking branch 'origin/main' 2022-07-14 02:36:52 +02:00
Scott Shawcroft
ac460dd1e1
Merge branch 'main' into esp32 2022-07-13 15:30:53 -07:00
Hosted Weblate
04004210f5
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-07-13 23:16:06 +02:00
Scott Shawcroft
23bbb19138
Merge remote-tracking branch 'adafruit/main' into websocket_serial 2022-07-12 13:15:38 -07:00
Jonny Bergdahl
636e22b05b
Translated using Weblate (Swedish)
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-12 15:10:20 +02:00
Wellington Terumi Uemura
83b62567d2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (993 of 993 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-12 15:10:19 +02:00
Hosted Weblate
69b84e0c8e
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-07-11 22:05:49 +02:00
Dan Halbert
2c7ad7a39f make translate and pre-commit formatting fixes 2022-07-08 16:53:53 -04:00
Jeff Epler
1c3655c07b
update translations 2022-07-07 13:28:54 -05:00
Isaac Benitez
4d3ab4f4fc Added non-keyword args to allowed_args 2022-07-06 07:22:45 -07:00
Isaac Benitez
ac9cb9389c Check parameters of int.from_bytes 2022-07-05 22:37:33 -07:00
Maxime Leroy
591390ad85
Translated using Weblate (French)
Currently translated at 99.5% (981 of 985 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-06 07:15:31 +02:00
Wellington Terumi Uemura
2879cc21b3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (985 of 985 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-03 02:22:05 +02:00
Maxime Leroy
5522ba5322
Translated using Weblate (French)
Currently translated at 98.9% (975 of 985 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-03 02:22:04 +02:00
Jonny Bergdahl
38efb636c4
Translated using Weblate (Swedish)
Currently translated at 100.0% (985 of 985 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-01 19:46:11 +02:00
Scott Shawcroft
7589e53fea
WIP websocket accept and hashlib 2022-07-01 10:18:33 -07:00
Hosted Weblate
a57d1ad0c4
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-07-01 04:56:42 +02:00
Dan Halbert
187f156ac7
Merge pull request #6534 from tannewt/esp_wdt_safe_mode
Safe mode when ESP interrupt watchdog fires
2022-06-30 22:56:35 -04:00
Maxime Leroy
1bc3bdcfc4
Translated using Weblate (French)
Currently translated at 98.0% (967 of 986 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-01 00:19:51 +02:00
Scott Shawcroft
d42c811fb9
Safe mode when ESP interrupt watchdog fires
This makes us enter safe mode when sleep on the S3 fails. The
task watchdog is used for the user watchdog.
2022-06-29 12:31:18 -07:00
Jonny Bergdahl
81aa143271
Translated using Weblate (Swedish)
Currently translated at 100.0% (986 of 986 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-06-16 10:18:01 +02:00
Wellington Terumi Uemura
987196fe78
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (986 of 986 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-06-16 10:18:00 +02:00
Hosted Weblate
c95f4cdd03
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-06-14 19:41:43 +02:00
Scott Shawcroft
0c418e98b1
Merge remote-tracking branch 'adafruit/main' into auto_wifi 2022-06-13 15:44:43 -07:00
Matěj Soukup
9485cab594
Translated using Weblate (Czech)
Currently translated at 26.4% (260 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2022-06-11 12:17:13 +02:00
Scott Shawcroft
6446010753
Wi-Fi autoconnect and title bar status
This adds support for CIRCUITPY_WIFI_SSID and CIRCUITPY_WIFI_PASSWORD
in `/.env`. When both are defined, CircuitPython will attempt to
connect to the network even when user code isn't running. If the
user code attempts to a network with the same SSID, it will return
immediately. Connecting to another SSID will disconnect from the
auto-connected network. If the user code initiates the connection,
then it will be shutdown after user code exits. (Should match <8
behavior.)

This PR also reworks the default displayio terminal. It now supports
a title bar TileGrid in addition to the (newly renamed) scroll area.
The default title bar is the top row of the display and is positioned
to the right of the Blinka logo when it is enabled. The scroll area
is now below the Blinka logo.

The Wi-Fi auto-connect code now uses the title bar to show its
state including the IP address when connected. It does this through
the "standard" OSC control sequence `ESC ] 0 ; <s> ESC \` where <s>
is the title bar string. This is commonly supported by terminals
so it should work over USB and UART as well.

Related to #6174
2022-06-09 14:55:54 -07:00
Matěj Soukup
d492565ab6
Translated using Weblate (Czech)
Currently translated at 20.7% (204 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2022-06-08 17:15:37 +02:00
Matěj Soukup
db28264c5c
Translated using Weblate (Czech)
Currently translated at 11.6% (115 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2022-06-07 23:19:17 +02:00
Matěj Soukup
37bbd2c675
Translated using Weblate (Czech)
Currently translated at 11.3% (112 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2022-06-07 18:16:30 +02:00
ajs256
963861d0b6
Translated using Weblate (French)
Currently translated at 95.5% (939 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-06-03 03:35:22 +02:00
ajs256
29e9f44724
Translated using Weblate (French)
Currently translated at 95.5% (939 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-06-02 06:53:36 +02:00
Maxime Leroy
3202d52554
Translated using Weblate (French)
Currently translated at 95.5% (939 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-06-02 06:53:36 +02:00
Wellington Terumi Uemura
8630ecbeba
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (983 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-05-25 13:17:32 +02:00
Jonny Bergdahl
af80d54c38
Translated using Weblate (Swedish)
Currently translated at 100.0% (983 of 983 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-05-23 16:18:09 +02:00
Hosted Weblate
1e8f371d2b
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-05-22 02:18:21 +02:00