Commit Graph

1955 Commits

Author SHA1 Message Date
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
Hosted Weblate 67c1912f8f
Merge remote-tracking branch 'origin/main' 2022-05-22 02:18:18 +02:00
Dan Halbert 39de1c952b
Translated using Weblate (English (United Kingdom))
Currently translated at 89.5% (879 of 982 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2022-05-22 02:18:18 +02:00
Jonny Bergdahl 9fe57d27e4
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-05-22 02:18:17 +02:00
Dan Halbert 309dab4c75 merge 7.3.0-rc.1 changes to main 2022-05-20 15:37:56 -04:00
Hosted Weblate d98c6ecde2
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-20 21:25:25 +02:00
Hosted Weblate 146a223311
Merge remote-tracking branch 'origin/main' 2022-05-20 21:25:21 +02:00
Fabian Affolter ea430d678f
Translated using Weblate (German)
Currently translated at 100.0% (1059 of 1059 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-05-20 21:25:21 +02:00
Dan Halbert f63b26c534 address jepler's comments and further squeezes 2022-05-20 10:10:55 -04:00
Dan Halbert a01dec1df9 message consolidation and more use of validators 2022-05-19 15:38:37 -04:00
Dan Halbert 4487f61404 Restore automatic gc_collect() after an import 2022-05-18 11:37:13 -04:00
Jonny Bergdahl 1de1460ea8
Translated using Weblate (Swedish)
Currently translated at 100.0% (1059 of 1059 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-05-14 14:35:45 +02:00
Wellington Terumi Uemura 860f0b8239
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1059 of 1059 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-05-14 14:35:44 +02:00
Hosted Weblate 341941c0be
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-14 02:37:37 +02:00
Dan Halbert 936f5bf23e
Merge pull request #6338 from jepler/fix-display-invalid-sh1107
Fix display invalid sh1107
2022-05-13 20:33:43 -04:00
Dan Halbert ae8347f5e5 add error msg for SH1107 fix 2022-05-13 12:54:46 -04:00
Jonny Bergdahl 720d1c86f9
Translated using Weblate (Swedish)
Currently translated at 100.0% (1058 of 1058 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-05-11 01:52:44 +02:00
Wellington Terumi Uemura 88c331d749
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1058 of 1058 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-05-11 01:52:43 +02:00
Hosted Weblate 8ed10faf1a
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-10 21:51:09 +02:00
Dan Halbert 78695f528b
Merge pull request #6376 from dhalbert/errno-messages
Correct errno messages
2022-05-10 15:51:00 -04:00
Dan Halbert 58646a936e Correct errno messages 2022-05-10 14:01:30 -04:00
Jonny Bergdahl 7ecfa6611d
Translated using Weblate (Swedish)
Currently translated at 100.0% (1057 of 1057 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-05-10 10:16:24 +02:00
Wellington Terumi Uemura 07917fee82
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1057 of 1057 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-05-08 18:37:30 +02:00
Hosted Weblate 9a1c7cddd4
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-07 16:36:08 +02:00
Jeff Epler b482a732c6
StateMachine: add swap flag
Always use DMA if swap flag is enabled.

Improve docs a bit
2022-05-06 15:22:43 -05:00
Hosted Weblate e52fd0871b
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-04 04:43:56 +02:00
Dan Halbert 9717fd235d make Pin hashable 2022-05-03 15:28:42 -04:00
Wellington Terumi Uemura dd5288127c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-27 20:11:12 +02:00
Jonny Bergdahl 6e6679b039
Translated using Weblate (Swedish)
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 17:40:27 +02:00
Hosted Weblate ab73741b40
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-04-26 16:09:16 +02:00
Hosted Weblate 59c2ad69a2
Merge remote-tracking branch 'origin/main' 2022-04-26 16:09:13 +02:00
Dan Halbert c8e8171cec
Merge pull request #6300 from jepler/pio-continuous
rp2040: add a background write with looping to StateMachines
2022-04-26 10:09:02 -04:00
Jonny Bergdahl 339a3608a5
Translated using Weblate (Swedish)
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 15:00:42 +02:00
Wellington Terumi Uemura c28c028f90
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-26 15:00:42 +02:00
Hosted Weblate 2955112b5c
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-04-25 15:09:37 +02:00
Hosted Weblate 12f823286d
Merge remote-tracking branch 'origin/main' 2022-04-25 15:09:34 +02:00
Dan Halbert 0642917cf7
Merge pull request #6270 from FoamyGuy/tilegrid_bitmap_property
adding bitmap property to TileGrid
2022-04-25 09:09:28 -04:00
hexthat 5d1fe5f2ad
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.2% (1046 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-04-23 23:13:20 +02:00
Wellington Terumi Uemura 02a0cbb155
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1054 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-23 23:13:20 +02:00
Jeff Epler 989fb828d4
Revamp background writing
Now a 'once' and a 'loop' buffer can be specified.

'once' is useful for things like writing a neopixel strip in the background,
if you can guarantee the buffer contents are stable until the write is complete.

'loop' is useful for periodic things, like pwm & servos.

both together are useful for some special cases of pwm/servo, where a
transitional waveform needs to be played for one repetition and then
a new waveform needs to be played after that.

The API is renamed to reflect that it's a more generic 'background'
operation.
2022-04-23 13:09:36 -05:00
Jonny Bergdahl e007e9a003
Translated using Weblate (Swedish)
Currently translated at 100.0% (1054 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-21 15:12:30 +02:00
Hosted Weblate e4944fc98d
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-04-20 14:31:52 +02:00
Dan Halbert 4aea8049c5
Merge pull request #6279 from mjs513/main
Added Settable Clock for MIMXRT BOARDS
2022-04-20 08:31:41 -04:00
mjs513 2e9e29bf1b Delete Left Over Comments 2022-04-20 04:10:16 -04:00
Siyabend Ürün 59ccbc6316
Translated using Weblate (Turkish)
Currently translated at 12.6% (133 of 1052 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-04-19 19:07:44 +02:00
foamyguy 6e3fe07943 remove redundant type check. remove blank line. revert locale change 2022-04-19 09:07:35 -05:00
foamyguy 9fdd804365 enforce new bitmap same size as previous 2022-04-18 20:31:47 -05:00
Siyabend Ürün 92f2c6e53e
New Turkish translations 2022-04-18 07:04:39 +03:00
mjs513 208bfb33aa Deleted Warnings Chanaged ValueError Method 2022-04-17 15:04:16 -04:00
mjs513 fd41c1ac5b Update based on PR Comments 2022-04-14 06:45:16 -04:00
root 716497c132 corrected pre-commit errors 2022-04-13 12:04:28 -04:00