For the ESP32 we need to run make menuconfig. For ESP32 IDF i know how to do this but with PlatformIO and using Arduino, how do we make changes in menuconfig. For instance, how can we enable PSRAM, and change other settings there ?
Aha! This is the ESP32 - for those who haven't heard of it, search about it in the net! It's the pretty much of the 'sequel' of the ESP8266, which is also a popular little WiFi module that can be reprogrammed using Arduino and can be coupled with...
I can make changes in menuconfig with the help of this tutorial. I want to use latest esp-idf version. Is there a way to use the latest esp-idf version with platformio?
I was looking for a way compiling for Arduino projects. But to answer you question, I posted a video how to get Microsoft Visual Studio working with ESP-IDF. Of all the other ways I have tried this, this one is by far the best (IMHO). and will let you use the latest ESP-idf.
I changed some things, but the credit goes to
PlantformIO, do you have anything to comment about this topic?
May 5, 2018, 2:37pm
In ESP-IDF env, menuconfig is able to setup for example secure boot or encryption :
# Security features
In the documentation of PlatformIO, Espressif 32 ([
Espressif 32 — PlatformIO latest documentation]), we can adjust only some parameters : upload, OTA, partition
Is it possible to access from PlatformIO to all parameters present in menuconfig ?
Or can we use menuconfig of ESP-IDF with a platformIO Arduino Project ? How ?
Thanks for help.
PlantformIO, why are you so quite on this topic. How can we use the device fully if we cannot make changes to Menuconfig?
How can we use the ESP32-WROVER to enable the external RAM without using Menuconfig ?
I would also like to use menuconfig within platformio.
I also want to understand how to use menuconfig
05:44AM - 10 Jun 17 UTC
Copying issue from https://community.platformio.org/t/arduino-h-not-found-e
… sp32-with-esp-idf-framework/1257 to platform-espressif32.
Currently I am building for ESP32 using PlatformIO + Atom with the ESP-IDF Framework. The Platform.ini file details are as below:
platform = espressif32
framework = espidf
board = esp32dev
According to the docs https://github.com/espressif/arduino-esp3217 (section: Using as ESP-IDF component) the ESP-IDF Framework can have Arduino as component (and this works with ESP-IDF using make flash). Trying the same with PlatformIO, but compiler throws an error that Arduino.h cannot be found.
Is this an issue or do I need to make some changes which I am not aware of? hope somebody can help here.
------------- Log Start -----------------
Processing esp32dev (platform: espressif32; lib_ldf_mode: deep; board: esp32dev; framework: espidf)
Verbose mode can be enabled via `-v, --verbose` option
Collected 0 compatible libraries
Looking for dependencies...
Project does not have dependencies
Generating partitions .pioenvs\esp32dev\partitions_table.bin
Generating LD script .pioenvs\esp32dev\esp32_out.ld
src\main.c:8:52: fatal error: components/arduino/cores/esp32/Arduino.h: No such file or directory
*** [.pioenvs\esp32dev\src\main.o] Error 1
------------- Log End ------------------
02:12PM - 23 Nov 18 UTC
By adding the following to the sdkconfig.h in the project using fr
… amework=espidf the framework-arduinoesp32 code is automatically included/compiled.
#define ENABLE_ARDUINO_DEPENDS 1
The default configuration is to require the application to define app_main as per usual with ESPIDF and call to arduinoInit(). By adding the following:
#define CONFIG_AUTOSTART_ARDUINO 1
the arduino-esp32 app_main will instead be used and the application can instead use setup()/loop() which are more common in arduino applications.
If you want to change any specific option by running
make menuconfig, you can currently edit
Editing sdkconfig.h does nothing for the arduino-esp32 based projects, the ESP-IDF code is pre-compiled and can not be changed simply by editing the sdkconfig.h included within arduino-esp32. The only way to support this will be arduino as an idf component which is what the PR referenced above that I submitted is for.
Oh, ok. Point taken, thanks!
The PS-RAM problem is solved by a flag you have to put it in platform.ini
build_flags = -DBOARD_HAS_PSRAM