Commit graph

1901 commits

Author SHA1 Message Date
953694d56c Fix -Wold-style-definion errors in the raspberrypi port
This mostly means changing `void foo()` to `void foo(void)` at
the function definition site. This was previously only an error
if the declaration site didn't have `(void)`, but the unix
coverage build enables the more strict warning and there's little
difficulty in resolving these diagnostics.

.. other ports can be done too, if desired.
2025-05-25 09:16:00 +02:00
Dan Halbert
a0c9188d0d Merge remote-tracking branch 'adafruit/9.2.x' into merge-from-9.2.x-2025-05-23 2025-05-23 09:05:14 -04:00
Neradoc
506205743c fix dirty palette never being clean by setting dirty on shapes that depend on it 2025-05-17 14:29:35 +02:00
Scott Shawcroft
1f4d1cff85
Update tinyusb to improve direct USB host
These changes improve direct USB host on RP2350 in particular.
2025-05-14 11:32:38 -07:00
Scott Shawcroft
6bf42f12b2
Merge pull request #10336 from jonnybergdahl/DupMessages
Fix duplicated error messages
2025-05-13 10:58:29 -07:00
Jonny Bergdahl
a54e707c43 Fix duplicated error messages 2025-05-10 17:32:10 +02:00
Scott Shawcroft
2601436eb2
Fix vectorio in group tracking
They have Group specific state so limit them to one group at a time.

Fixes #10226
2025-05-09 15:55:45 -07:00
Scott Shawcroft
a3506a79a3
Merge pull request #10318 from FoamyGuy/tilepalettemapper_tilegrid
Integrate TilePaletteMapper and TileGrid further
2025-05-09 11:08:11 -07:00
Scott Shawcroft
71ba3ad616
Merge pull request #10324 from FoamyGuy/tabs_in_terminal
show 4 spaces in place of tab in Terminal
2025-05-09 10:57:50 -07:00
foamyguy
04b98ed71f fix pixel_shader property name, add tilegrid property and set tilegrid to None before it is bound, disallow TPM from being bound multiple times. 2025-05-09 09:56:34 -05:00
foamyguy
4fb7d44714 pixel_shader back to required on TileGrid. TPM init with no tilegrid or width/height, internal bind function is used to bind a TileGrid to a TilePaletteMapper when the TileGrid is init with or has pixel_shader set to a TPM 2025-05-08 18:08:56 -05:00
foamyguy
5b621b0bad format 2025-05-08 14:32:18 -05:00
foamyguy
dc676f194b show 4 spaces in place of tab in Terminal 2025-05-08 13:57:23 -05:00
foamyguy
f2de64c883 set partial_change flag from mark_tile_dirty 2025-05-07 16:21:17 -05:00
foamyguy
01da5c7c88 make TilePaletteMapper accept TileGrid as arg, make pixel_shader optional on TileGrid init, make TPM mark single tile dirty instead of whole TileGrid when mapping is changed. 2025-05-07 15:24:32 -05:00
Bernhard Bablok
28ee20abcb implement spectra6 support 2025-05-06 19:20:16 +02:00
Bob Hammell
8c12ec27b0 Add end() method to MixerVoice to allow samples to finish playing before ending looping 2025-05-05 05:57:42 -04:00
Scott Shawcroft
054c0c1eac
Merge pull request #10304 from relic-se/phaser
Phaser Audio Effect
2025-05-02 10:43:33 -07:00
Cooper Dalrymple
02382401c6 Reduce data size of internal buffers. 2025-05-02 09:08:19 -05:00
Scott Shawcroft
7c64ac6b8f
Merge pull request #10267 from eightycc/issue-10191
Upgrade ESP-IDF v5.3.2 to v5.4.1
2025-05-01 15:41:49 -07:00
Cooper Dalrymple
421521516c Convert floating point operations to fixed point and use synthio_sat16. 2025-05-01 15:27:23 -05:00
foamyguy
8a9d78ada4 use m_malloc for outter mappings pointers 2025-05-01 14:57:36 -05:00
Cooper Dalrymple
e855e3e1ba Limit feedback range to 0.1 - 0.9 2025-05-01 10:54:10 -05:00
Cooper Dalrymple
ba81c6b1c4 Implement allpass filters. 2025-05-01 10:42:03 -05:00
Cooper Dalrymple
e729849fac Initial setup of phaser effect. 2025-05-01 08:15:43 -05:00
eightycc
f495e6d3d5
Merge branch 'adafruit:main' into issue-10191 2025-04-29 09:26:39 -07:00
Mark
1e4d766789
Merge pull request #10288 from gamblor21/synthio_fixedpoint_fix
Fix for fixed point overflow in synthio
2025-04-28 16:52:58 -05:00
gamblor21
5fcf8aeced Merge remote-tracking branch 'adafruit/main' into synthio_fixedpoint_fix 2025-04-25 16:48:04 -05:00
gamblor21
511df46504 replace number with constant in Biquad 2025-04-25 16:40:11 -05:00
Dan Halbert
62d16ce61f Fix TLS for v5.4.1 update
Cert bundle code in lib/mbedtls_config was being used, and assumed the older ESP-IDF internal
bundle format, which was changed in ESP-IDF v5.4. Added a wrapper around the ESP-IDF
bundle routines, and stopped using the shared bundle code.

Also fixed extraneous blank lines in mbedtls logging and removed an extraneous, unused, damaged .h.
2025-04-25 15:14:20 -04:00
Scott Shawcroft
91cf8fb83d
Make collect the default 2025-04-24 14:59:07 -07:00
Scott Shawcroft
35ffb64a11
Apply suggestions from code review
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2025-04-24 12:29:57 -07:00
gamblor21
530ce2dfe5 Accidently removed an int16_t 2025-04-23 16:22:26 -05:00
gamblor21
ce75e5df6b Add sat16 function in more locations 2025-04-23 15:20:47 -05:00
Scott Shawcroft
c340596580
Add selective collect to memory allocations
By selectively collecting an allocation, we can skip scanning many
allocations for pointers because we know up front they won't have
them. This helps a ton when large buffers are being used and memory is
slow (PSRAM). In one Fruit Jam example GC times drop from 80+ms to
~25ms. The example uses a number of bitmaps that are now no longer
scanned.
2025-04-22 14:07:00 -07:00
Scott Shawcroft
492f6e90e8
Merge pull request #10263 from tannewt/next_code_working_dir
Add working_directory for subsequent code file
2025-04-22 14:03:54 -07:00
Scott Shawcroft
3377765004
Add working_directory for subsequent code file
This allows subfolders to be treated similar to / for multiple
apps within different folders.

Also, fix up the internal current working directory so it doesn't
depend on volumes.

Fixes #9045 and fixes #8409.
2025-04-22 09:58:45 -07:00
Cooper Dalrymple
7d0e72e5ca Unify echo buffer channel splitting. 2025-04-21 17:42:39 -05:00
Cooper Dalrymple
feee74a5e2 Improve right channel logic. 2025-04-21 17:31:58 -05:00
Scott Shawcroft
952bea23f8
Run background tasks during display refresh
This allows audio buffers to be filled during display refresh.
Howevere, this only works during explicit refreshes though because
background tasks cannot be recursive.

Also, on RP2, disable a finished audio DMA so it isn't accidentally
triggered and restart the channels if needed.
2025-04-21 14:31:11 -07:00
gamblor21
3478eea1f0 Merge remote-tracking branch 'adafruit/main' into audioeffect-reverb 2025-04-20 09:25:38 -05:00
gamblor21
f6357d5ddb Change to how malloc is called 2025-04-19 15:35:42 -05:00
gamblor21
eb53338e1b Revert "Fixes for zephyr build"
This reverts commit f011df26fa.
2025-04-19 15:33:39 -05:00
gamblor21
f011df26fa Fixes for zephyr build 2025-04-19 09:51:02 -05:00
Cooper Dalrymple
3c17a1e510 Fix explicit type conversion error. 2025-04-16 14:51:33 -05:00
Cooper Dalrymple
14d455fe70 Use as basic delay when taps=None 2025-04-16 08:54:48 -05:00
Cooper Dalrymple
394b22ebb8 Allow integers for tap values. 2025-04-16 08:23:38 -05:00
Cooper Dalrymple
63b0a24517 Fix delay buffer update error. 2025-04-16 08:03:53 -05:00
Cooper Dalrymple
59d48c8655 Add mutli-tap functionality. 2025-04-15 21:54:51 -05:00
Cooper Dalrymple
1bf769a083 Initial setup of multi-tap delay effect. 2025-04-15 16:45:38 -05:00