Dan Halbert
0da10d802c
advance espressif CI cache id
2022-04-04 22:36:58 -04:00
Jeff Epler
683ece76db
MP3Decoder: Accurately inform when no more data
...
Some audio implementations, notably samd, really don't like it when
you return 0 samples of data. This was the case when reaching the
end of an MP3 file.
Now, we read forward in an MP3 file to the next sync word during
"get_buffer", so that we can accurately return GET_BUFFER_DONE when the
NEXT call WOULD HAVE resulted in 0 samples.
Tested with @gamblor21's "laugh.mp3" file on a Trellis M4 Express.
2022-04-04 09:16:27 -05:00
Dan Halbert
faca1ec3bf
Merge pull request #6212 from dhalbert/7.2.x-6103-backport
...
7.2.x #6103 backport
2022-03-30 19:47:57 -04:00
Dan Halbert
b032d42a71
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c
2022-03-29 12:46:58 -04:00
lady ada
2563c509f7
fix automatic i2c enablement with rev C
2022-03-29 12:46:51 -04:00
Dan Halbert
cf127df560
Merge pull request #6211 from dhalbert/7.2.x-6210-backport
...
backport click and typer pins #6210 to 7.2.x
2022-03-29 12:11:54 -04:00
Jeff Epler
29eed5c21f
also pin typer for windows builds
2022-03-29 10:46:58 -04:00
Dan Halbert
d5868b42ff
Pin typer and click to have compatible versions
2022-03-29 10:46:58 -04:00
Scott Shawcroft
704a50a694
Merge pull request #6172 from tannewt/supervisor_reload
...
Fix supervisor.reload
2022-03-17 14:14:13 -07:00
Scott Shawcroft
78cb61c7a3
Turn off traceback on bluemicro833
2022-03-17 11:38:27 -07:00
Scott Shawcroft
a8a4fbb767
Fix supervisor.reload
...
Fixes #6170
2022-03-17 10:36:45 -07:00
Dan Halbert
66fa923699
Merge pull request #6168 from dhalbert/ReloadException-in-repl
...
fix ReloadException when in REPL
2022-03-16 14:33:52 -04:00
Dan Halbert
bf1329bb1f
fix ReloadException when in REPL
2022-03-16 12:36:52 -04:00
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