Commit graph

1915 commits

Author SHA1 Message Date
Dan Halbert
03ea81f9f6
Merge pull request #10565 from tannewt/epd_refactor
Refactor EPaperDisplay args into struct
2025-08-27 15:43:19 -04:00
Dan Halbert
6ed41a0d2f
Merge pull request #10529 from relic-se/audiomixer-mono
Added mono to stereo conversion and panning to `audiomixer.Mixer`
2025-08-22 17:57:30 -04:00
Cooper Dalrymple
a483332512 Scale current duration when tempo is adjusted 2025-08-22 11:34:33 -05:00
Cooper Dalrymple
57c9797b3f Add tempo property 2025-08-12 09:17:03 -05:00
Scott Shawcroft
b739a86fd5
Refactor EPaperDisplay args into struct
Claude helped with initial prompt:

> Refactor common_hal_epaperdisplay_epaperdisplay_construct so that the current arguments are struct fields and then the function only takes the struct. Also add a macro that initializes it to default values.

And one follow up prompt before minor manual cleanup and testing:

> Clean up board files by removing settings that match the default. In particular bools that are false should be default, commands with NO_COMMAND and highlight color as 0.

For issue #10528
2025-08-11 11:47:06 -07:00
Cooper Dalrymple
fb84062800 Fix bitshift operation on atmel-samd 2025-07-30 14:05:24 -05:00
Cooper Dalrymple
c92efd66db Add MixerVoice.panning 2025-07-30 13:26:04 -05:00
Cooper Dalrymple
fd2627cf95 Support mono to stereo conversion in audiomixer.Mixer 2025-07-30 12:45:15 -05:00
Scott Shawcroft
2e183f4c00
Add support for quad color epaper
highlight_color2 is now available for pixel value 0b11.
Black is 0b00, white is 0b01 and highlight_color is 0b10.

Also add support for multibit values written with one command when
color_command isn't provided.
2025-07-28 11:49:51 -07:00
foamyguy
b2a3eefa94 cursor_x and cursor_y props on Terminal 2025-06-25 11:45:46 -05:00
Dan Halbert
ce450dc271 merge from adafruit/main 2025-06-16 09:12:47 -04:00
Dan Halbert
2dd33e3a8d wip: ports compile and pass smoke tests
tests/ not run yet.
Reduced some differences from upstream by changing some error messages and defining some preprocessor macros.
2025-06-10 21:53:41 -04:00
James Bowman
6e0c24f3c7 Support for REGION instruction of new bt820 2025-06-06 15:37:10 -07:00
a4158a3cb2 Fix old-style function definition 2025-05-27 08:20:38 +02:00
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