Repository navigation
Fix Teensy Audio selection on low-memory boards - #2702
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
✅ Files skipped from review due to trivial changes (5)
📝 WalkthroughWalkthroughThis PR centralizes Teensy audio-library detection into a shared config header, rewires platform detection and conditional includes to use those macros, updates the AudioInput example filter to exclude small-RAM Teensy targets, and adds CI tests that validate the sketch filter behavior for AudioInput and BeatDetection. ChangesTeensy Audio Configuration Consolidation
Examples and CI Validation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #2406.
Summary
libraries/Audiointo low-memory builds while normal compiler behavior is preserved when the feature is enabled.AudioInputexample to large-memory Teensy boards and ESP32.AudioInputboard selection.Validation
uv run pytest ci/tests/test_sketch_filter.py -q-> 68 passed.bash compile --no-interactive --no-parallel --max-failures 1 --backend=fbuild teensy30 AnalogOutput-> pass, flash 29.65 KB / 128 KB, RAM 4.06 KB / 16 KB.bash compile --no-interactive --no-parallel --max-failures 1 --backend=fbuild teensylc Blink-> pass, flash 38.51 KB / 62 KB, RAM 4.48 KB / 8 KB.libraries/Audioentries..dmabuffersreduced to0xf8on Teensy 3.0 and0xc0on Teensy LC.bash compile --no-interactive --no-parallel --max-failures 1 --backend=fbuild teensylc all-> 30/30 selected examples passed.bash compile --no-interactive --no-parallel --max-failures 1 --backend=fbuild teensy30 all-> 31/32 wrapper-level successes;WS2816hit a transient fbuild daemon stream error, and a direct fbuild retry of the generated WS2816 build exited 0 with no RAM overflow.Summary by CodeRabbit
Improvements
Examples
Tests