idf.py build errors/messages
Posted: Tue Dec 16, 2025 5:13 pm
When doing a command line build I'm seeing some errors/messages that I'd like to understand.
1) I see a "CMake Deprecation Warning" about the cmake_minimum_required. Is this caused by the fact that I'm using a current version of cmake?
2) I get the error "IDF_TARGET is not set, guessed esp32 from sdkconfig". This I don't understand this because the target is set. Here are the relevant lines from my sdkconfig.
CONFIG_IDF_TARGET_ARCH_XTENSA=y
CONFIG_IDF_TARGET_ARCH="xtensa"
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_TARGET_ESP32=y
1) I see a "CMake Deprecation Warning" about the cmake_minimum_required. Is this caused by the fact that I'm using a current version of cmake?
2) I get the error "IDF_TARGET is not set, guessed esp32 from sdkconfig". This I don't understand this because the target is set. Here are the relevant lines from my sdkconfig.
CONFIG_IDF_TARGET_ARCH_XTENSA=y
CONFIG_IDF_TARGET_ARCH="xtensa"
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_TARGET_ESP32=y