IDF_PATH in CMakeList

Sysprogs forums Forums VisualGDB IDF_PATH in CMakeList

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34513
    mattia
    Participant

    Hello,

    I recently switched from IDF 5.0_dev to IDF 5.1 release. However, the toolchain now doesn’t work anymore, with CmakeList.txt that gives me an error in the line “include($ENV{IDF_PATH}/tools/cmake/project.cmake)”

    In particular, IDF_PATH still points to the old IDF5.0_Dev and not the new one. Is there a way to make the CmakeList.txt point to this new project? Where is the variable IDF_PATH stored in my project?

    Thank you,

    Mattia

    #34514
    support
    Keymaster

    Hi,

    It looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey

    #34537
    mattia
    Participant

    Ok, I just renewed.

    #34539
    support
    Keymaster

    Hi,

    Thanks for renewing your license.

    VisualGDB sets the IDF_PATH value based on the toolchain and ESP-IDF version selected in VisualGDB Project Properties -> ESP-IDF Project.

    If your existing project stopped working after switching to a new toolchain, we would advise creating a new project for the new toolchain/ESP-IDF, making sure it works, and then using a diffing tool to compare the settings files (.vgdbcmake, sdkconfig, etc.) between the 2 projects.

    You can also find detailed overview of the ESP-IDF project structure and troubleshooting tips here: https://visualgdb.com/documentation/espidf/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.