Commit Graph

28412 Commits

Author SHA1 Message Date
Scott Shawcroft
c27ecc9bb1
Merge pull request #6495 from DavePutz/issue_6451
Test for a BLE disconnect while reading
2022-06-17 09:37:07 -07:00
Dan Halbert
8a48f89edf
Merge pull request #6498 from dhalbert/update-samd-peripherals-for-dma-spi
Update samd-peripherals to fix SPI DMA problem
2022-06-17 12:17:23 -04:00
Dan Halbert
f0bf14094b Update samd-peripherals to fix SPI DMA problem 2022-06-17 10:59:59 -04:00
Jeff Epler
da26c9ce82
use setup-python v4 for python-path support 2022-06-17 16:21:27 +02:00
Dan Halbert
f590c7cc9a
Merge pull request #6485 from electrolama/add-board-electrolama-minik
Add custom board: Electrolama minik (RP2040 module)
2022-06-17 09:01:04 -04:00
Limor "Ladyada" Fried
0aa73da6f7
Merge pull request #6494 from jepler/include-py-verion-in-key
include python executable path in the idf key
2022-06-16 22:00:07 -04:00
root
cdc7140318 Test for a BLE disconnect while reading 2022-06-16 14:56:18 -05:00
EmergReanimator
3c58870816 Fixes from PR feedback: Test DISABLE_FILESYSTEM after it set.
53f4eeaf8b (r899419987)
2022-06-16 21:43:07 +02:00
Jeff Epler
8ed791060c
include python executable path in the idf key
I noticed that the latest time we needed to switch the idf key was when
the environment changed from python 3.10.4 to 3.10.5. I don't know if
this is the only cause of needing to change the key, but it seems to be
a good idea to make the key include it.

I think this is what's going on because when I replaced a virtualenv's
"python" with a dangling symlink (same as would occur when python's
version gets bumped), I got a similar error.
2022-06-16 21:10:19 +02:00
EmergReanimator
53f4eeaf8b Fixed build issue when DISABLE_FILESYSTEM is set. 2022-06-16 19:27:08 +02:00
Scott Shawcroft
7294c5f28b
Merge pull request #6491 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-16 08:12:38 -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
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
Patrick Van Oosterwijck
ad56a16c2d Add board Silicognition LLC RP2040-Shim 2022-06-14 11:28:41 -06:00
root
015e95807a Fix for Issue #6478 2022-06-14 12:14:05 -05:00
Omer Kilic
9fbad229c0 Add custom board: Electrolama minik (RP2040) 2022-06-14 15:51:10 +01: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