pschatzmann / arduino-audiokit

Arduino ADF/Audiokit HAL (support for ESP32-A1S, AI-Thinker, LyraT for ES7148, ES7210, ES7243, ES8311, ES8347, ES8388, TAS5805M, AC101 audio chips)
GNU General Public License v3.0
153 stars 40 forks source link

fix mck_io_num #70

Closed apiel closed 1 year ago

apiel commented 1 year ago

mck_io_num does not exist in i2s_pin_config_t

pschatzmann commented 1 year ago

How about using an actual ESP32 version. Why are you still using this old release ? An alternative is to make sure that you deactivate this only for releases < 2.0

apiel commented 1 year ago

I don't know, I just git clone and run the example. When removing this line it worked... How should I do to use the new release?

pschatzmann commented 1 year ago

Go to the Arduino Board Manager and install a recent ESP32 Release. The latest version is 2.0.6!

pschatzmann commented 1 year ago

If you want to keep your PR, please correct it to

if ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(4, 4, 0)

  KIT_LOGI("- mck_io_num: %d", pin_config.mck_io_num);

endif

apiel commented 1 year ago

done