I wanted to file a feature request but thought I should ask here first. My ESP32 project has a single sdkconfig.default file and the stock platformio build process generates from it sdkconfig.release and sdkconfig.debug when I build the release and debug target respectively. So far so good, and since I don’t consider sdkconfig.release and sdkconfig.debug to be source files they are in my .gitignore.
My questions:
-
Why the generated sdkconfig.debug and sdkconfig.realase are not deleted when I clean the project?
-
Since sdkconfig.default is the source config, how do I run a menuconfig on it? I don’t see that option for the default target.
Is it reasonable to file feature request for #1, and #2 above?
My platformio.ini
; Base
[env]
platform = espressif32
board = esp32dev
framework = espidf
monitor_speed = 115200
; Adjust to the actual serial port on your comptuer.
upload_port=COM6
board_build.partitions = partitions_singleapp_large.csv
debug_tool=esp-prog
upload_speed=921600
; Pathes are for IntelliSense. Notice the embded framework id in the path.
build_flags =
-I$PROJECT_CORE_DIR/packages/framework-espidf/components/driver
-I$PROJECT_CORE_DIR/packages/framework-espidf/components/freertos
-I$PROJECT_CORE_DIR/packages/framework-espidf/components/bt/host/bluedroid/api
-I$PROJECT_CORE_DIR/packages/framework-espidf/components/bt/host/bluedroid/stack/gatt
[env:release]
build_type = release
[env:debug]
build_type = debug