ESP32-C3 reports an error when using ESP-IDF's I2S
Posted: Wed Aug 11, 2021 10:41 am
ESP32-C3 reports an error when using ESP-IDF's I2S, the same code runs normally on ESP32
The error is as follows:
esp-idf-v4.3/components/driver/i2s.c:1017: undefined reference to `rtc_clk_apll_enable'
esp-idf-v4.3/components/driver/i2s.c:398: undefined reference to `rtc_clk_apll_enable'
esp-idf-v4.3/components/hal/i2s_hal.c:273: undefined reference to `I2S0'
/esp-idf-v4.3/components/hal/i2s_hal.c:273: undefined reference to `I2S0'
collect2.exe: error: ld returned 1 exit statu
The error is as follows:
esp-idf-v4.3/components/driver/i2s.c:1017: undefined reference to `rtc_clk_apll_enable'
esp-idf-v4.3/components/driver/i2s.c:398: undefined reference to `rtc_clk_apll_enable'
esp-idf-v4.3/components/hal/i2s_hal.c:273: undefined reference to `I2S0'
/esp-idf-v4.3/components/hal/i2s_hal.c:273: undefined reference to `I2S0'
collect2.exe: error: ld returned 1 exit statu