Files
AutoFilm-ESP32/docs/megaplans/integration/I04-audio-i2s.md
gronod d70df219f8
ci / test (pull_request) Successful in 1m16s
ci / firmware (jc4827w543, sdkconfig.s3, esp32s3) (pull_request) Successful in 4m4s
ci / firmware (wroom, sdkconfig.wroom, esp32) (pull_request) Successful in 4m5s
ci / test (push) Successful in 1m13s
ci / firmware (wroom, sdkconfig.wroom, esp32) (push) Successful in 4m15s
ci / firmware (jc4827w543, sdkconfig.s3, esp32s3) (push) Successful in 4m19s
Mark I04 status DONE
2026-09-16 22:28:17 +01:00

24 lines
859 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
STATUS: DONE
DEPENDS: I01
Notes: `idf.py build` for both targets verified via CI run 38684 (no local IDF).
**READ:** `docs/megaplans/INTEGRATION-MEGAPLAN.md`, `components/hal_audio/*`
**IN:**
1. `hal_audio` S3: Implement new `s3/hal_audio.c` using `i2s_std` TX on pins 41/42/2 (via `board_pin_spk_*`) to the NS4168 amp.
2. Generate 2 kHz square-wave bursts into a small DMA buffer.
3. Ensure identical queue protocol (SHORT / 10×ALARM 500ms-on/250ms-off / CANCEL) and non-blocking semantics as the WROOM LEDC version.
**OUT:** Motor logic, Temp logic.
**FORBIDDEN:** Blocking the UI on I2S writes.
**VERIFY:** `idf.py build` succeeds for both targets.
**COMMITS:**
1. `Add I2S speaker audio for S3`
**DoD checkboxes:**
- [x] `hal_audio` I2S implementation added for S3.
- [x] Queue protocol and non-blocking semantics maintained.
- [x] Build succeeds.