Sorry, not easy to express in a short title line, what I want to ask …
Espressif uses ESP-IDF to develop sketches for ESP32. So if I use PlattformIO I can see a part called “menuconfig”, where developer choose different settings. What happens to such settings, when a esp32-core for ArduinoIDE is made?
For example: in ArduinoIDE clock signal during deep sleep of ESP32 is internal RC oszillator. I remember this is fix. you can’t change it to an external 32 kHz crystal (that should be possible in PlattformIO). Is there a file inside package, where I can see such settings?
Bye
Jürgen
No, there isn't. These values are stored in the localStorage of the browser. See the details here: Boards.txt changes not applied, workaround doesn't work - #6 by dankeboy36
May be you missunderstand me?
This is the menuconfig in ESP-IDF:
menuconfig
And such settings must find a way inside package files of ArduinoIDE.
Bye
Jürgen
I guess Espressif has moved some options from menuconfig into the tools menu of the IDE. But possibly not all.
The options that you can influence are specified in the boards.txt file in the ESP32 package directory; under Windows it would be C:\Users\yourUsername\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.2.
I don't have experience with the ESP32 IDF nor with PlatformIO so can't judge which options are available in these.
Note that Espressif is responsible for the board package for the Arduino IDE, not Arduino.
@sterretje
YOu ‘re right. The group producing the ESP32-core for Arduino is respobsible. My hope was, that someone of ArduinoIDE-team may also know, where such settings are stored. I will ask the core-team.
Jürgen
Should still be using menuconfig file but the Arduino core’s idf is pre-compiled so any changes to it are ignored..
There is the Arduino Static Library Builder.
Never tried to use it but looks like it would rebuild the core using your changes..
When I need full control over the core I use vscode, idf has an extension and I use Arduino as a component then yes, can change anything in menuconfig..
good luck.. ~q