Commit Graph

28020 Commits

Author SHA1 Message Date
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
Dan Halbert 6925a00138
Merge pull request #6472 from PontusO/main
Adds support for Challenger RP2040 LoRa boards
2022-06-09 07:51:54 -04:00
Pontus Oldberg 42f05a32a3
Merge branch 'adafruit:main' into main 2022-06-09 08:42:42 +02:00
Scott Shawcroft 1158437415
Merge pull request #6469 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-08 09:56:41 -07:00
Hosted Weblate 03f0fbf6be
Merge remote-tracking branch 'origin/main' 2022-06-08 17:15:37 +02: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
Scott Shawcroft 9c20eb58e9
Merge pull request #6450 from mwisslead/rp2040_pulsein_common_hal_construct
Rp2040 pulsein improvements
2022-06-08 08:15:29 -07:00
Pontus Oldberg 5c13f844c7 Fixed pre-commit trailing whitespace 2022-06-08 16:43:49 +02:00
Pontus Oldberg 91000ea294 Adds support for Challenger RP2040 LoRa boards 2022-06-08 16:38:21 +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
Scott Shawcroft ee3ccbc61b
Merge pull request #6467 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-07 13:04:13 -07: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
Dan Halbert 9d64ea2fa5
Merge pull request #6466 from jepler/fix-translate-dependency
Fix dependencies for translate.c again
2022-06-07 09:11:39 -04:00
Jeff Epler 0a38088075
Fix dependencies for translate.c again 2022-06-07 07:35:54 +02:00
Scott Shawcroft 2baf476530
Merge pull request #6463 from adafruit/7.3.x
Catch main up to 7.3.x
2022-06-06 11:58:05 -07:00
Dan Halbert c1528e2441
Merge pull request #6465 from tannewt/remove_ulab
Add back ULAB
2022-06-06 14:15:07 -04:00
Scott Shawcroft b90563d504
Merge pull request #6442 from FoamyGuy/tilegrid_contains
tilegrid.contains() function
2022-06-06 11:02:43 -07:00
Scott Shawcroft 6b09f99eaa
Add back ULAB 2022-06-06 10:35:37 -07:00
Dan Halbert 65380c2b0d
Merge pull request #6462 from NathanY3G/remove-default-spi-for-challenger-nb-rp2040-wifi-7.3.x
Disable board.SPI() for Challenger NB RP2040 WiFi
2022-06-06 09:03:07 -04:00
Nathan Young 2f0d82a50b Disable board.SPI() for Challenger NB RP2040 WiFi
This was done as a result of an issue with the SPI pin mappings.
Please refer to the following for additional information: https://ilabs.se/challenger-rp2040-wifi-spi-bug
2022-06-06 09:52:23 +02:00
Dan Halbert 80ae14202a
Merge pull request #6416 from FoamyGuy/display_brightness_pwm
display brightness pwm 500hz frequency
2022-06-05 23:52:42 -04:00
Dan Halbert ac282b2a73
Merge pull request #6440 from tannewt/translate_header
Switch translate() to the header file
2022-06-05 23:50:47 -04:00
Dan Halbert a61c4c1af9
Merge pull request #6411 from fabaff/weact-studio-pico
Add support for WeAct Studio Pico
2022-06-05 19:17:56 -04:00
Fabian Affolter 7a073317f7 Update PID (0x102E) 2022-06-06 01:03:02 +02:00
Dan Halbert c149bbdcfc
Merge pull request #6447 from SimonVail/main
Add files via upload
2022-06-05 17:11:44 -04:00
Limor "Ladyada" Fried c5d1da4a42
Merge pull request #6459 from NathanY3G/enable-uf2-builds-for-stm32-thing-plus
Enable UF2 builds for STM32 Thing Plus
2022-06-05 15:43:46 -04:00
Dan Halbert db6d506b15
Merge pull request #6456 from dhalbert/adafruit_feather_esp32s3_4mbflash_2mbpsram
add adafruit_feather_esp32s3_4mbflash_2mbpsram
2022-06-05 12:31:20 -04:00
foamyguy 67de89861e new argument for feather s3 tft display init 2022-06-04 11:36:45 -05:00
foamyguy 260994d16e Merge branch 'main' into display_brightness_pwm 2022-06-04 11:32:15 -05:00
foamyguy cbff9dd8e3 add new argument for all boards with built-in display 2022-06-04 11:08:20 -05:00
Nathan Young 761e66e85b Enable UF2 builds for STM32 Thing Plus 2022-06-04 15:21:06 +02:00
Scott Shawcroft be6936c8ec
Shrink MatrixPortal M4 build 2022-06-03 18:57:01 -07:00
Scott Shawcroft 5c46f2a5a3
Merge pull request #6454 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-03 17:48:30 -07:00
foamyguy c9c864a4f7 fix off by one right and bottom edges of tilegrid.contains() 2022-06-03 17:51:33 -05:00
Dan Halbert d1cdb72020
Update ports/espressif/boards/adafruit_feather_esp32s3_4mbflash_2mbpsram/mpconfigboard.h
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-06-03 18:21:20 -04:00
Scott Shawcroft be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header 2022-06-03 15:18:18 -07:00
Scott Shawcroft 8ccb955475
Move translation .o to PY_CORE_O 2022-06-03 15:06:58 -07:00
foamyguy 6831dd8aaa return expression formatting 2022-06-03 17:04:53 -05:00
foamyguy bc0fdaa026 fix tilegrid.contains() docstring 2022-06-03 17:01:24 -05:00
Hosted Weblate 885206580b
Merge remote-tracking branch 'origin/main' 2022-06-03 23:58:05 +02:00
Scott Shawcroft 5c9768965c
Merge pull request #6455 from jepler/require-multi-occur
Only check the savings if a word occurs at least twice
2022-06-03 14:58:02 -07:00
Hosted Weblate 85dc83940f
Merge remote-tracking branch 'origin/main' 2022-06-03 23:56:14 +02:00
Scott Shawcroft a4a744bccc
Merge pull request #6441 from gamblor21/static_ip
Static IP address for WiFi
2022-06-03 14:56:08 -07:00
foamyguy 87f4cd6bca
return expression instead of if statement
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-06-03 16:21:50 -05:00
Hosted Weblate 0984e92bfa
Merge remote-tracking branch 'origin/main' 2022-06-03 03:35:22 +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
Dan Halbert edfabb66ff
Merge pull request #6449 from jepler/monkeypatch-sphinx-autoapi
fix autoapi bug ourselves for now
2022-06-02 21:35:08 -04:00
Dan Halbert fdb133bbe8 add adafruit_feather_esp32s3_4mbflash_2mbpsram 2022-06-02 21:09:37 -04:00
gamblor21 1d0546da31 Made tcp set arguments keywords 2022-06-02 16:31:39 -05:00
Scott Shawcroft b690107850
Fix mpy-cross again 2022-06-02 12:33:51 -07:00