Commit 2127aa8
committed
audio: bt: add ESP32-C6 Bluetooth LE Audio pipeline endpoint and static routing
- Add Bluetooth LE Audio (BAP / LC3 @ 48kHz stereo) support utilizing the
onboard ESP32-C6 co-processor via SDIO / GPIO 54 power control.
- Implement bt_audio component with zero-heap static ring buffers (10ms SDU).
- Implement bt_service to manage C6 power, scanning, and LE Audio broadcast.
- Extend sof_static_pipeline with dynamic 3-way endpoint routing:
Route 0: USB <-> DAI (Default)
Route 1: BT <-> DAI (DUT Audio Bridge)
Route 2: USB <-> BT (PC to Bluetooth Broadcast)
- Add Kcontrols: ID 8 (BT Stream Switch), ID 9 (BT Stream Volume),
ID 10 (Audio Endpoint Route).
- Add interactive shell commands: 'sof bt <status|broadcast|scan|power>'
and 'sof route <usb_dai|bt_dai|usb_bt>'.
- Verified 100% pass on pre-commit loopback test suite (I2S: 93.88dB,
PDM: 82.44dB, DMIC: 19.66dB).1 parent 6a0f013 commit 2127aa8
14 files changed
Lines changed: 1009 additions & 3 deletions
File tree
- app
- boards
- src
- src
- audio
- pipeline
- debug/shell
- include/sof/audio
- pipeline
- platform/esp32p4
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
0 commit comments