PlatformIO Community

ESP32-S3 - ESP-IDF with support for platformIO?

Hi,

I have a ESP32-S3 board and I would like to run an older ESP-IDF project on it using Bluedroid. At the moment I can only find the Arduino Framework in PlatformIO for the ESP32-S3 and there I can run a working example.

Is there no support for the ESP-IDF anymore for the new generation of ESP32-S3? Is there something similar? I would like anyway to change to the NimBLE Stack soon, but I prefer something like ESP-IDF over the Arduino IDE.

There is support for the S3 in the actual Platformio espressif32 release for Arduino and IDF.

I don’t understand your reply. I just tried using the Espressif ESP32-S3-DevKitC-1, and the only option is Arduino.

@mikemoy Please post your platformio.ini

There is none, I cannot create the project as the only option is Arduino.

Screenshot 2022-08-13 085827

He’s telling you that PlatformIO supports it, just that the wizard isn’t giving it as an option. i.e. there is nothing stopping you creating the project with Arduino selected as the framework, and going into the platformio.ini once it’s created and changing the framework parameter. Or just creating the platformio.ini from scratch, in a new project dir… i.e. for the ESP32-S3 devkit… (for others, look at the other ESP32S3 in the PlatformIO docs)

[env:esp32-s3-devkitc-1]
platform = espressif32
framework = espidf
board = esp32-s3-devkitc-1

This is obviously not ideal, but until it’s added to the wizard, at least it will get you started.

1 Like

Mhh?
Bildschirmfoto 2022-08-14 um 16.30.33

Thanks or the explanation, I created a new project using esp32-s3-devkitc-1 for Arduino.
Then I added the following in platformio.ini.

[env:esp32-s3-devkitc-1]
platform = espressif32
framework = espidf
board = esp32-s3-devkitc-1

But that does not work. Here’s the build output

Executing task: C:\Users\Jim.platformio\penv\Scripts\platformio.exe run

Processing esp32-s3-devkitc-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: espidf)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 (4.4.0) > Espressif ESP32-S3-DevKitC-1
HARDWARE: ESP32S3 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
Error: This board doesn’t support espidf framework!

  • framework-espidf @ 3.40302.0 (4.3.2)
  • tool-cmake @ 3.16.4
  • tool-esptoolpy @ 1.30300.0 (3.3.0)
  • tool-idf @ 1.0.1
  • tool-mconf @ 1.4060000.20190628 (406.0.0)
  • tool-ninja @ 1.9.0
  • toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
  • toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch3
    =============================================================================================== [FAILED] Took 0.58 seconds ===============================================================================================
  • The terminal process “C:\Users\Jim.platformio\penv\Scripts\platformio.exe ‘run’” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

Update, turns out the problem was I needed to update the Espressif 32 platform to 5.1.0.
Now I get the option for ESP-IDF.

Thanks guys for the help.

1 Like