Commit Graph

2184 Commits

Author SHA1 Message Date
Bill Sideris
a61a9f4bde
Size reductions (attempts, at the very least) 2023-02-16 13:12:21 +02:00
Bill Sideris
f6e7edc900
Size reductions 2023-02-16 12:34:48 +02:00
Bill Sideris
b00a25fecc
Merge branch 'adafruit:main' into settings-toml-pystack 2023-02-16 10:44:01 +02:00
Scott Shawcroft
931c7c1c51
Add Bangle.js 2, JDI memory displays and ACeP epd
This 2-in-1 PR started with the goal of support the Bangle.js 2
smartwatch with *no USB*.
* Adds "secure" DFU build support with a committed private key.
* Adds 3-bit color support with one dummy bit for the JDI memory display
* Allows nrf boards to have a board_background_task() run in RUN_BACKGROUND_TASK.
  This is needed because the Bangle.js 2 uses the watchdog to reset.
* Renamed port_background_task() to port_background_tick() to indicate it
  runs on tick, not RUN_BACKGROUND_TASK.
* Marks serial connected when the display terminal is inited. This means
  that safe mode messages show up on the display.

ACep, 7-color epaper displays also pack 3 bits in 4. So, I added that
support as well.
* Adds 3-bit ACeP color support for 7-color e-paper displays. (Not
  watch related but similar due to color depth.)
* Allows a refresh sequence instead of a single int command. The 7" ACeP
  display requires a data byte for refresh.
* Adds optional delay after resetting the display. The ACeP displays
  need this. (Probably to load LUTs from flash.)
* Adds a cleaning phase for ACeP displays before the real refresh.

For both:
* Add dither support to Palette.
* Palette no longer converts colors when set. Instead, it caches
  converted colors at each index.
* ColorConverter now caches the last converted color. It should make
  conversions faster for repeated colors (not dithering.)
2023-02-15 15:03:40 -08:00
Jonny Bergdahl
f3cc597c13
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/
2023-02-15 22:55:48 +01:00
Bill Sideris
133045a95a
Add error message and guardrail 2023-02-15 23:15:21 +02:00
Hosted Weblate
bf274258a4
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/
2023-02-15 22:07:24 +01:00
Jeff Epler
73840f840d Improve boot_out.txt truncation
* write any partial message
 * instead of "..." show a sensible (translatable) message

This does slightly lower the amount of data that can be printed,
and makes the exact amount dependent on the language. However, if boot.py
intentionally needs to produce larger amounts of output, it can
deliberately mount the filesystem in RW mode and perform any writes needed.
In that case it's up to the boot.py to choose an appropriate way to
limit the number of writes if needed for the application.
2023-02-14 10:47:06 -06:00
Dan Halbert
d46d9d5c21 shorten safe mode messages; improve message printing; fix CIRCUITPY_SAFEMODE_PY=0 2023-02-13 21:29:57 -05:00
Dan Halbert
d8231f1588 Implement safemode.py 2023-02-13 18:26:38 -05:00
Wellington Terumi Uemura
8ca22a8a41
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/
2023-02-03 05:15:46 +01:00
Jose David M
8529ec2649
Translated using Weblate (Spanish)
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-01 23:11:16 +01:00
Hosted Weblate
764d731e24
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/
2023-02-01 22:25:19 +01:00
Dan Halbert
c9e45433ff make translate 2023-02-01 14:03:52 -05:00
Jonny Bergdahl
aee16df340
Translated using Weblate (Swedish)
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-01-29 17:16:49 +01:00
Wellington Terumi Uemura
07c45b9bcf
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-01-29 17:16:49 +01:00
Jose David M
172ef91e71
Translated using Weblate (Spanish)
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-01-29 17:16:48 +01:00
Hosted Weblate
aaa9ac4aff
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/
2023-01-28 00:59:07 +01:00
MicroDev
cda5689263
move esp32_camera to espcamera 2023-01-27 22:05:43 +05:30
hexthat
d9d77e1c15
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-01-25 04:47:47 +01:00
Jose David M
3cbc8e54f2
Translated using Weblate (Spanish)
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-01-18 19:05:17 +01:00
Jose David M
9c5e7bffbd
Translated using Weblate (Spanish)
Currently translated at 95.2% (945 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-01-18 17:18:38 +01:00
Jonny Bergdahl
a3882e725c
Translated using Weblate (Swedish)
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-01-13 19:51:20 +01:00
Wellington Terumi Uemura
dbf66f1f01
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (992 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-01-13 19:51:20 +01:00
Ettore Atalan
8423650b78
Translated using Weblate (German)
Currently translated at 98.6% (979 of 992 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-01-13 19:51:19 +01:00
Hosted Weblate
9a5b6cacbd
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/
2023-01-11 19:54:42 +01:00
Dan Halbert
a974402542 Improve type validation errors messages, especially for pins 2023-01-10 15:02:55 -05:00
Matt Watson
987b6d1140
Translated using Weblate (Japanese)
Currently translated at 42.1% (420 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2023-01-05 03:52:14 +01:00
Jonny Bergdahl
9660685a6b
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/
2023-01-05 03:52:14 +01:00
Wellington Terumi Uemura
1f78d817c6
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/
2023-01-05 03:52:13 +01:00
Hosted Weblate
86e2a24401
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/
2023-01-02 19:23:35 +01:00
Dan Halbert
03b43b7b3f complete rework for microcontroller.cpu.frequency and wifi.radio MAC addresses 2023-01-02 11:45:58 -05:00
Dan Halbert
a3adcf0e1a clarify read-only mac address; reuse translate msgs 2023-01-02 10:13:20 -05:00
Orlando Caro
91d28c7623
Translated using Weblate (Spanish)
Currently translated at 85.8% (856 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2022-12-31 18:50:31 +01:00
Dan Halbert
3d6f377226
Fix single quote in ru.po 2022-12-28 18:36:25 -05:00
Jonny Bergdahl
e62e9bd4af
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-12-28 04:47:24 +01:00
Wellington Terumi Uemura
373db78978
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-12-28 04:47:23 +01:00
Hosted Weblate
ac3b46111b
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-12-27 19:16:00 +01:00
Hosted Weblate
e0343bb213
Merge remote-tracking branch 'origin/main' 2022-12-27 19:15:57 +01:00
Jeff Epler
785ebe1f41
Merge pull request #7382 from jepler/translate-name-not-known
Make the "name or service not known" message translatable
2022-12-27 12:15:52 -06:00
Jonny Bergdahl
2ad767ee4b
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-12-27 19:02:03 +01:00
Blinka CircuitPython
10640c9065
Translated using Weblate (French)
Currently translated at 97.0% (967 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-12-27 19:02:03 +01:00
Blinka CircuitPython
d92cb154d6
Translated using Weblate (Filipino)
Currently translated at 33.4% (333 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fil/
2022-12-27 19:02:02 +01:00
Hosted Weblate
7925069a77
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-12-27 18:42:37 +01:00
Hosted Weblate
2f54f12b86
Merge remote-tracking branch 'origin/main' 2022-12-27 18:42:35 +01:00
Clay
fc67e87942
Translated using Weblate (Russian)
Currently translated at 35.6% (355 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2022-12-27 18:42:35 +01:00
Jeff Epler
928fb0a9c4
Make the "name or service not known" message translatable 2022-12-26 13:58:31 -06:00
Jeff Epler
4dbbfa0931
Print errors to repl about getenv 2022-12-26 10:53:58 -06:00
Jonny Bergdahl
9bf62d1433
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-12-22 16:49:13 +01:00
Wellington Terumi Uemura
26143e057f
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-12-22 16:49:12 +01:00
Hosted Weblate
826116879b
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-12-21 02:43:15 +01:00
Scott Shawcroft
f8ac1d9261
Rework the coproc API
It is now a generic `memorymap` API and an ESP specific `espulp` module.

Fixes #7218. Fixes #3234. Fixes #7300.
2022-12-19 14:08:38 -05:00
Wellington Terumi Uemura
49dba47f4e
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (991 of 991 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-16 22:50:39 +01:00
Jonny Bergdahl
dddc3e31bd
Translated using Weblate (Swedish)
Currently translated at 100.0% (991 of 991 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-15 13:49:05 +01:00
Hosted Weblate
fa4b809337
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-12-14 01:56:45 +01:00
Jeff Epler
499af3ed00
update source locations in translation file 2022-12-09 14:11:57 -06:00
Jeff Epler
19ad1d5f53
update translations 2022-12-08 14:12:59 -06:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml 2022-12-08 12:44:20 -06:00
Boran Roni
1e34fc110a
Translated using Weblate (Turkish)
Currently translated at 26.7% (264 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-12-05 22:48:20 +01:00
Wellington Terumi Uemura
d080f81ffe
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (987 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-05 22:48:19 +01:00
Jonny Bergdahl
51df14896b
Translated using Weblate (Swedish)
Currently translated at 100.0% (987 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-04 18:47:22 +01:00
Hosted Weblate
248c17d8bf
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-12-02 23:53:24 +01:00
Hosted Weblate
c9edac7532
Merge remote-tracking branch 'origin/main' 2022-12-02 23:53:21 +01:00
Jonny Bergdahl
54831ae692
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-12-02 23:53:21 +01:00
Scott Shawcroft
4c064c263e
Merge pull request #7294 from tannewt/analogbufio_rework
Rework the analogbufio API.
2022-12-02 14:53:16 -08:00
Hosted Weblate
6a34f51465
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-12-02 02:55:28 +01:00
Hosted Weblate
96ac6bdc17
Merge remote-tracking branch 'origin/main' 2022-12-02 02:55:25 +01:00
Jonny Bergdahl
42e7981b4f
Translated using Weblate (Swedish)
Currently translated at 100.0% (982 of 982 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-02 02:55:25 +01:00
Jeff Epler
ddc56f5fdf
Merge pull request #7101 from bill88t/picow-ap
Attempt at pi cow ap
2022-12-01 19:55:17 -06:00
Scott Shawcroft
255e997345
Rework the analogbufio API.
* read() is now readinto() and takes the buffer to write into.
* readinto() returns the number of valid samples.
* readinto() can be interrupted by ctrl-c.
* readinto() API doesn't support signed numbers because it never did.
* sample_rate is now required in the constructor because supported
  values will vary per-port.
* 16 bit values are full range. 12 bit samples from RP2040 are stretched
  in the same way they are for AnalogIn.

Fixes #7226
2022-12-01 17:46:07 -08:00
Hosted Weblate
91b47d435d
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-12-01 17:43:18 +01:00
Dan Halbert
082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
Hosted Weblate
4f471dbd08
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-12-01 07:55:39 +01:00
Jeff Epler
08d372aedc
Merge remote-tracking branch 'origin/main' into merge-weblate-manually 2022-11-30 21:09:31 -06:00
Jeff Epler
9916b39b65
update nl translation to fit in uint8_t 2022-11-30 14:39:52 -06:00
Jeff Epler
0f6091cc73
update fil translation to fit in uint8_t 2022-11-30 14:39:52 -06:00
Jeff Epler
19a3893d40
update translations again 2022-11-30 14:39:51 -06:00
Jeff Epler
4671658c63
Use ASCII apostrophe in french translation, it saves flash space
.. it makes mchar_t, the type of storage needed for all the code points
in all translation messages, be an 8-bit type instead of a 16-bit type
2022-11-30 14:39:50 -06:00
Jeff Epler
d39d146352
Merge some messages 2022-11-30 14:39:47 -06:00
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