I'm using the exemple pipline_play_sdcard_music to play some music from my SD card to my audio codec on lyrat V4.3.
The code is working fine and compile as it should.
I need to make that exemple working on different GPIO for the SD card.
As far as I understand the GPIO pins for the SD card are set in ESP-adf/components/audio_board/lyrat_v4_3/board_def.h
Initially for the lyrat V4.3 the pins are defined as :
Code: Select all
#define ESP_SD_PIN_CLK GPIO_NUM_14
#define ESP_SD_PIN_CMD GPIO_NUM_15
#define ESP_SD_PIN_D0 GPIO_NUM_2
#define ESP_SD_PIN_D1 GPIO_NUM_4
#define ESP_SD_PIN_D2 GPIO_NUM_12
#define ESP_SD_PIN_D3 GPIO_NUM_13
Code: Select all
#define ESP_SD_PIN_CLK GPIO_NUM_14
#define ESP_SD_PIN_CMD GPIO_NUM_15
#define ESP_SD_PIN_D0 GPIO_NUM_16
#define ESP_SD_PIN_D1 GPIO_NUM_17
#define ESP_SD_PIN_D2 GPIO_NUM_18
#define ESP_SD_PIN_D3 GPIO_NUM_19
In the compilation it's saying that the board selected is ESP lyra T V4.3 so I assume I modifided the right file ?
Or could it be the fact that the GPIO 16,17,18,19 are not SPI pins on my board (ESP32-DEVKIT-C) ?
Thank you very much
Valentin