Skip to content

Commit

Permalink
s3 build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Malyshenko committed Oct 11, 2024
1 parent 188f6cb commit f1b51da
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"files.associations": {
"mdns.h": "c",
"compare": "c",
"cstdint": "c"
}
}
9 changes: 8 additions & 1 deletion components/lightsnapcast/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,12 @@ static esp_err_t player_setup_i2s(i2s_port_t i2sNum,

i2s_std_clk_config_t i2s_clkcfg = {
.sample_rate_hz = setting->sr,
.clk_src = I2S_CLK_SRC_APLL,
.clk_src =
#ifdef CONFIG_IDF_TARGET_ESP32S3
I2S_CLK_SRC_DEFAULT,
#else
I2S_CLK_SRC_APLL,
#endif
.mclk_multiple = I2S_MCLK_MULTIPLE_256,
};
i2s_std_config_t tx_std_cfg = {
Expand Down Expand Up @@ -817,9 +822,11 @@ void adjust_apll(int8_t direction) {
direction = 0;
}

#ifdef CONFIG_IDF_TARGET_ESP32
// periph_rtc_apll_acquire();
rtc_clk_apll_coeff_set(o_div, sdm0, sdm1, sdm2);
// rtc_clk_apll_enable(1, sdm0, sdm1, sdm2, o_div);
#endif

currentDir = direction;
}
Expand Down
12 changes: 6 additions & 6 deletions dependencies.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
dependencies:
espressif/esp-dsp:
component_hash: 3e7bbd487f1357a1d4944d0c85966d049501ea281b8a4c7f93f7cfedd5b7f23d
component_hash: fa7fe74305df6da25867437ebcd4213e047cbfc0556cf92067ab657fce537c6e
source:
service_url: https://api.components.espressif.com/
type: service
version: 1.4.12
version: 1.5.2
espressif/mdns:
component_hash: 9ff9c578fc3a5ea3c68e807233e47f2ce6b2492a92d7a9356ae5c29ab45f0fde
component_hash: af6306fe65d637a3683d1cf671508fcedd6b05f9ca029a8815abeab64001fb8d
source:
service_url: https://api.components.espressif.com/
type: service
version: 1.3.0
version: 1.4.0
idf:
component_hash: null
source:
type: idf
version: 5.1.1
manifest_hash: d6b434b4ae9e215619e0dfb1b731739d5799f7570a1fdee428100c9146c752e2
target: esp32
manifest_hash: 2794288aa23a58851bdf6dac7314b5e498ec3af908be79ff6e230d5a0901ec77
target: esp32s3
version: 1.0.0

0 comments on commit f1b51da

Please sign in to comment.