-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When audio is initialised twice we get a error and make it more obvious how to change the pins for audio hat hardware
- Loading branch information
1 parent
cf0ef9c
commit ebf7966
Showing
4 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
picow_bt_example(hfp_hf_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder) | ||
add_library(hfp_hf_demo_pins INTERFACE) | ||
target_compile_definitions(hfp_hf_demo_pins INTERFACE | ||
PICO_AUDIO_I2S_DATA_PIN=9 | ||
PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 | ||
) | ||
picow_bt_example(hfp_hf_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder hfp_hf_demo_pins) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
picow_bt_example(mod_player pico_btstack_hxcmod_player) | ||
add_library(mod_player_pins INTERFACE) | ||
target_compile_definitions(mod_player_pins INTERFACE | ||
PICO_AUDIO_I2S_DATA_PIN=9 | ||
PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 | ||
) | ||
picow_bt_example(mod_player pico_btstack_hxcmod_player mod_player_pins) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
picow_bt_example(sine_player) | ||
add_library(sine_player_pins INTERFACE) | ||
target_compile_definitions(sine_player_pins INTERFACE | ||
PICO_AUDIO_I2S_DATA_PIN=9 | ||
PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 | ||
) | ||
picow_bt_example(sine_player sine_player_pins) |