Commit Graph

26792 Commits

Author SHA1 Message Date
Dan Halbert
ff0b3a9f50
Merge pull request #6153 from tannewt/refine_autoreload
Further refine autoreload
2022-03-14 22:22:08 -04:00
Dan Halbert
0fd3da5edb
Merge pull request #6154 from tannewt/matrixportal_ble
Re-enable BLE on MatrixPortal. Remove PortalBase
2022-03-14 22:08:52 -04:00
Scott Shawcroft
f602296e59
Re-enable BLE on MatrixPortal. Remove PortalBase
We have a guide that uses it. It was removed in #6043 without
realizing that.

Fixes #6152
2022-03-14 17:04:46 -07:00
Scott Shawcroft
32ac396a41
Further refine autoreload
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.

We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
Scott Shawcroft
7cb66dd316
Merge pull request #6142 from dhalbert/7.2.x-autoreload-fake-sleep
7.2.x autoreload rework (again)
2022-03-11 16:46:04 -08:00
Dan Halbert
e4cd9690f1 rework auto-reload delay logic 2022-03-11 14:03:04 -05:00
Dan Halbert
dbc8a312a2
Merge pull request #6137 from dhalbert/7.2.x-__future__
Backport from __future__ import annotations from #6117
2022-03-10 20:46:05 -05:00
Dan Halbert
19e7647f3d turn off MIDI on sensebox_mcu for sapce 2022-03-10 18:20:04 -05:00
Dan Halbert
50e93fe9a4
Merge pull request #6139 from dhalbert/7.2.x-backport-6097
7.2.x backport of #6097 (nina-fw update for certs)
2022-03-10 16:17:15 -05:00
Dan Halbert
a7260a8b61 squeeze arduino_zero further 2022-03-10 15:56:51 -05:00
Dan Halbert
6ce4cb6ff8
Merge pull request #6138 from dhalbert/7.2.x-backport-6106
Backport 6106 (countio long-lived fix) to 7.2.x
2022-03-10 13:46:04 -05:00
Dan Halbert
c5947fd6de squeeze arduino_zero and sensebox_mcu 2022-03-10 12:46:08 -05:00
foamyguy
2f83264f09 update nina-fw submodule 2022-03-10 12:24:43 -05:00
DavePutz
d365d1b2a0 Update Counter.c
Add a comment as to why the countio object needs to be long-lived.
2022-03-10 11:26:42 -05:00
root
a165bdf583 Make countio object long-lived 2022-03-10 11:26:42 -05:00
Dan Halbert
6ddab0f3c8 shrink matrixportal_m4 2022-03-10 11:20:44 -05:00
Dan Halbert
c70425ab6b add annotations to __future__; don't generate __future__ stubs 2022-03-10 11:19:35 -05:00
Dan Halbert
f59f8acf78 implement: from __future__ import annotations 2022-03-10 11:19:35 -05:00
Scott Shawcroft
0957c1546f
Merge pull request #6132 from dhalbert/fix-autoreload
Make autoreload checking more robust
2022-03-09 14:02:15 -08:00
Dan Halbert
6465d81918
Update ports/stm/boards/stm32f411ce_blackpill_with_flash/mpconfigboard.h
whoopsies

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-03-09 13:33:54 -05:00
Dan Halbert
9b2e22a6df Make autoreload checking more robust
- Add reset for autoreload. De-request ticks.
- Separate state a little more in autoreload.c
- Rename some routines.
- Remove redundant settings of CIRCUITPY_AUTORELOAD_DELAY_MS.
2022-03-09 11:07:55 -05:00
Dan Halbert
63ac23a631
Merge pull request #6129 from prplz/backport-6126
Espressif: Fix i2c pullup detection
2022-03-08 18:00:11 -05:00
Michael Himing
d933f8ac50 Espressif: Fix i2c pullup detection 2022-03-09 07:36:17 +11:00
Dan Halbert
aeeb58fd45
Merge pull request #6077 from kmatch98/trial_repl
fix REPL terminal garbled characters upon code.py finished
2022-02-21 17:55:14 -05:00
Kevin Matocha
790af2d9a6 fix REPL terminal garbled characters upon code.py finished 2022-02-21 14:58:16 -06:00
Dan Halbert
478fb6934e
Merge pull request #6076 from kmatch98/trial_repl
Retains REPL contents when display.show(None) is called or code.py finishes and REPL is not resized
2022-02-21 13:53:19 -05:00
Kevin Matocha
6b2266b240 retains REPL terminal data after display.show(None) when terminal size is not changed 2022-02-21 10:33:48 -06:00
Kevin Matocha
03f42406d3 updated code so the REPL will retain its text if not resized when code stops 2022-02-21 10:33:08 -06:00
Dan Halbert
b3f06688d3
Merge pull request #6064 from dhalbert/7.2.x-tools-describe-long
use --long for describe in setup.py-stubs
2022-02-20 12:49:26 -05:00
Dan Halbert
7107692678 use --long for describe in setup.py-stubs 2022-02-18 21:22:02 -05:00
Scott Shawcroft
291a33521e
Merge pull request #6060 from dhalbert/update-frozen-libs-7.2.0
update frozen libraries before 7.2.0 RC
2022-02-18 13:42:49 -08:00
Dan Halbert
ca766f3b86 update frozen libraries before 7.2.0 RC 2022-02-18 14:23:10 -05:00
Dan Halbert
57bbe7922d
Merge pull request #6058 from Neradoc/add-hiibot-iots2
Add hiibot iots2
2022-02-18 12:18:25 -05:00
Dan Halbert
faf6ac5022
Merge pull request #6052 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-02-18 12:16:54 -05:00
Hosted Weblate
5056333e9e
Merge remote-tracking branch 'origin/main' 2022-02-18 03:12:21 +01:00
Dan Halbert
1c3e03d1b1
Merge pull request #6057 from tannewt/board_pin_reset
Allow ESP boards to customize how a pin is reset
2022-02-17 21:12:11 -05:00
Hosted Weblate
6e7eb78a10
Merge remote-tracking branch 'origin/main' 2022-02-18 02:19:40 +01:00
Dan Halbert
60ceb6e367
Merge pull request #6043 from makermelissa/main
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-17 20:19:33 -05:00
Hosted Weblate
8ea0301b14
Merge remote-tracking branch 'origin/main' 2022-02-18 02:02:50 +01:00
Scott Shawcroft
5a51aa2a75
Merge pull request #6056 from Neradoc/qtpys2-debug-uart
free RX and TX on QTPY-ESP32S2 in non debug builds
2022-02-17 17:02:46 -08:00
Hosted Weblate
06b16fe728
Merge remote-tracking branch 'origin/main' 2022-02-18 02:02:36 +01:00
Scott Shawcroft
9f751927e7
Merge pull request #6054 from tannewt/funhouse_crash
Don't update status LED color on brightness change
2022-02-17 17:02:26 -08:00
Hosted Weblate
d9b0e3cf48
Merge remote-tracking branch 'origin/main' 2022-02-18 01:44:01 +01:00
Dan Halbert
c9a65af1c9
Merge pull request #6051 from dhalbert/deep-sleep-usb-delays
don't wait for USB or BLE workflow after true deep sleep
2022-02-17 19:43:55 -05:00
Scott Shawcroft
c4fb5f7df1
Allow ESP boards to customize how a pin is reset
This allows board code to override the default pull up reset state.

It is useful for pins that are already externally connected, pulled
or otherwise used by the board.

Fixes #5931
2022-02-17 16:32:29 -08:00
Neradoc
3acb0d48bc free RX and TX on QTPY-ESP32S2 in non debug builds 2022-02-18 01:13:37 +01:00
Scott Shawcroft
7f3f4e409d
Update set_rgb_status_brightness doc and arg check 2022-02-17 14:37:25 -08:00
Scott Shawcroft
bdee6cf3b6
Don't update status LED color on brightness change
Brightness changes now happen when the LED isn't active or
initialized. When not init, CP may crash.

Fixes #5872
2022-02-17 14:21:03 -08:00
Hosted Weblate
0167673a67
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-02-17 22:02:19 +01:00
Dan Halbert
fe6e03f504
Merge pull request #6013 from tannewt/esp_ble_gatt_client
Add S3 GATT client support
2022-02-17 16:02:11 -05:00