Repository navigation
fix(teensy): privatize optional framework extras - #3710
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (69)
📝 WalkthroughWalkthroughAdds private Teensy PJRC I2S audio and SdFat filesystem implementations, integrates them into FastLED’s build and SD/audio paths, tightens namespace policy checks, and updates bloat-analysis ELF detection and baseline data. ChangesTeensy platform support
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related issues
Possibly related PRs
✨ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/platforms/arm/teensy/audio/and route FastLED audio through it.src/platforms/arm/teensy/sdfat/, with lazy implementation-only singleton state.Audio.h,SD.h, andSdFat.h; move the generic Arduino SD implementation into an implementation-only translation unit.fl::platformsnamespaces for the private Teensy forks and teachbash bloat teensy41to find fbuild artifacts.Why
FastLED must not make a Blink sketch depend on framework Audio, SD, SdFat, or SerialFlash merely by including
FastLED.h. The private forks eliminate FastLED-owned include paths and global objects that created those roots.Validation
bash lintbash test --cpp --debug- 355/355 passedbash compile teensy41 --examples Blink- 100,352 B flash / 72,544 B RAMbash compile teensy41 --examples hydropack --no-filter- 161,792 B flash / 85,152 B RAMDependency
Depends on FastLED/fbuild#1097 (sketch-rooted selection) and FastLED/fbuild#1098 (active conditional scanning). After both land, this PR will rerun the Teensy Blink build and symbol report to prove the final bloat reduction before #3696 is closed.
Refs #3696
Summary by CodeRabbit
New Features
Bug Fixes
Documentation