Commit Graph

28047 Commits

Author SHA1 Message Date
EmergReanimator 3c58870816 Fixes from PR feedback: Test DISABLE_FILESYSTEM after it set.
53f4eeaf8b (r899419987)
2022-06-16 21:43:07 +02:00
EmergReanimator 53f4eeaf8b Fixed build issue when DISABLE_FILESYSTEM is set. 2022-06-16 19:27:08 +02:00
Scott Shawcroft 894cea217d
Merge pull request #6486 from DavePutz/issue_6478
Fix for Issue #6478
2022-06-15 09:43:09 -07:00
Scott Shawcroft d996495752
Merge pull request #6488 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-15 09:36:54 -07:00
root 8668dee3df Fix declaration of print_wakeup_cause 2022-06-14 20:51:07 -05:00
root 669e45497c Uncommented call to print_wakeup_cause 2022-06-14 13:27:15 -05: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
Dan Halbert 5c941ca8cd
Merge pull request #6473 from tannewt/auto_wifi
Wi-Fi autoconnect and title bar status
2022-06-14 13:41:33 -04:00
root 015e95807a Fix for Issue #6478 2022-06-14 12:14:05 -05:00
Scott Shawcroft 0c418e98b1
Merge remote-tracking branch 'adafruit/main' into auto_wifi 2022-06-13 15:44:43 -07:00
Scott Shawcroft dc794f91c0
Speed up auto-wifi with wrong password
This adds basic timeout support to connect by preventing subsequent
retries if over time. The first connect may still take more than
the timeout.
2022-06-13 15:38:19 -07:00
Scott Shawcroft 1a3d2a5b5e
Shrink nrf52833 builds
Make them CIRCUITPY_FULL_BUILD = 0 and rework the boards to have
the same modules enabled (ish.)

Also make ZLIB require FULL_BUILD and disable advanced `micropython`
module APIs by default on all builds.
2022-06-13 15:36:15 -07:00
Scott Shawcroft 4e70781c45
Remove extra glyph padding 2022-06-13 09:21:41 -07:00
Scott Shawcroft b191075ab8
Better length checks 2022-06-13 09:18:42 -07:00
Scott Shawcroft ab346a27fc
Merge pull request #6468 from blues/stm32_rtc
feat(swan_r5): adds a basic STM32 RTC implementation.
2022-06-13 09:00:09 -07:00
Scott Shawcroft 39b8c2c94e
Merge pull request #6453 from KurtE/ESP32_UART
ESP32 USE uart_param_config
2022-06-13 08:56:32 -07:00
Dan Halbert 7579791007
Merge pull request #6474 from rtyley/enable-collections-deque-for-raspberrypi
Enable collections deque for raspberrypi
2022-06-12 00:29:50 -04:00
Dan Halbert 4647ea0af3
Merge pull request #6479 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-12 00:28:00 -04: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
Limor "Ladyada" Fried 14b734be6e
Merge pull request #6477 from FoamyGuy/rotozoom_docs_improvements
improving rotozoom() argument docstrings
2022-06-11 00:04:50 -04:00
Matthew McGowan beafbc7c60 enable RTC for all STM32 devices 2022-06-10 17:37:33 -07:00
Matthew McGowan 6ee8e00936 fix(stm32): correct include path after translation header was moved 2022-06-10 17:37:33 -07:00
Matthew McGowan a889638468 feat(swan_r5): adds a basic RTC implementation. 2022-06-10 17:37:32 -07:00
foamyguy b6c7815f83 improving rotozoom() argument docstrings 2022-06-10 18:01:02 -05:00
Dan Halbert 6e090c96a5 squeeze some specialized builds 2022-06-10 16:24:52 -04:00
Roberto Tyley 09091ecb83 Enable collections deque for CIRCUITPY_FULL_BUILD
I'd like to use `collections.deque`:

https://docs.circuitpython.org/en/latest/docs/library/collections.html#collections.deque

...on my RP2040-based Keybow 2040 (https://circuitpython.org/board/pimoroni_keybow2040/).

For MicroPython, `collections.deque` is enabled for all `rp2` devices,
because they all have `MICROPY_CONFIG_ROM_LEVEL` set to 'extra features':

cf7d962cf3/ports/rp2/mpconfigport.h (L44)

...which includes `MICROPY_PY_COLLECTIONS_DEQUE` (see
6bda80d811/py/mpconfig.h (L1225-L1227) ).

For CircuitPython, it looks like `MICROPY_CONFIG_ROM_LEVEL` defaults to
'core' (`MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES`) and isn't updated
against any of the ports, so the only port getting `collections.deque`
is the `unix` port, which explcitly sets `MICROPY_PY_COLLECTIONS_DEQUE`:

6925a00138/ports/unix/mpconfigport.h (L134)

At Dan Halbert's suggestion...

https://github.com/adafruit/circuitpython/pull/6474#issuecomment-1152364768

... this commit enables `MICROPY_PY_COLLECTIONS_DEQUE` for all builds where
`CIRCUITPY_FULL_BUILD` is true - which includes Raspberry Pi:

6925a00138/ports/raspberrypi/mpconfigport.mk (L11)

See also:

* https://github.com/adafruit/circuitpython/issues/5734
* 970eedce8f
  which originally added collections.deque to MicroPython
2022-06-10 15:29:22 +01: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
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