Hello,
I’m sorry I’m throwing my head to wall thinking we are at stone edge …
I try to work on an ESP-32 AI Cam following this Tutorial
Using Arduino IDE 2.3.5 is like being in the StoneEdge with very bad management of library and includes … but it works
Using PlatformIO a modern and cool IDE it do not work because according to ChatGPT ESP_I2S.h is related to a modern Arduino code that requires PlatformIO v3? that is not available and installing it seems very complicated…
It’s been days I’m testing many ways and don’t understand why it is SO complicated. Why did everybody don’t switch to PlatformIO ?? and maintain it ? What am I missing ?
Thanks !
The ESP_I2S library only exists in Arduino-ESP32 core starting with version 3.x (as can be seen by contrasting this with this), but PlatformIO’s official Espressif32 platform only gives you Arduino-ESP32 2.x. There is an ongoing dispute between Espressif and PlatformIO Labs in regards to the support of their boards.
But, the community has created a platform with support for Arduino-ESP32 3.x:
https://github.com/pioarduino/platform-espressif32
All you need to do to use it, is to go into your platformio.ini
, delete the old platform = ...
line and replace it with
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
And then your project will compile under Arduino-ESP32 3.x. That should make the sketch in the blog compile.
Thank You so Much ! It seems to work !
ChatGPT gives me an answer close to that but didn’t work. Thank You !