Hi all.
I recently tried to migrate a project that was made on IDF 3 and the classic gnu make build system to IDF 4 and CMAKE. It's just impossible to me. My project stop working with many failures (such as spi display stop working and some more).
Does anyone know if there is a tutorial or known issues when migrating from IDF 3 to 4?
Thank you in advance.
Issues migrating from IDF 3.x to IDF 4
Re: Issues migrating from IDF 3.x to IDF 4
Hi wnoliveira,
Thanks for being patient while someone got back to you (the Chinese National holiday just finished).
I don't know if it will be helpful in this case, but there's a summary of breaking changes in the v4.0-beta1 release notes:
https://github.com/espressif/esp-idf/re ... v4.0-beta1
Can you please give more details about the exact errors you're seeing when you build?
ESP-IDF v4.0 still supports the GNU Make build system, so if you can then I suggest breaking your task into two parts - first get the IDF v3.x project to work with ESP-IDF v4.0 and GNU Make, and then convert the working IDF v4.0 project to use CMake.
If you're getting errors about header files not being found, this may be because in CMake each component has to declare the component(s) that it depends on. There is some documentation about this (and an example) in the docs here:
https://docs.espressif.com/projects/esp ... quirements
Angus
Thanks for being patient while someone got back to you (the Chinese National holiday just finished).
I don't know if it will be helpful in this case, but there's a summary of breaking changes in the v4.0-beta1 release notes:
https://github.com/espressif/esp-idf/re ... v4.0-beta1
Can you please give more details about the exact errors you're seeing when you build?
ESP-IDF v4.0 still supports the GNU Make build system, so if you can then I suggest breaking your task into two parts - first get the IDF v3.x project to work with ESP-IDF v4.0 and GNU Make, and then convert the working IDF v4.0 project to use CMake.
If you're getting errors about header files not being found, this may be because in CMake each component has to declare the component(s) that it depends on. There is some documentation about this (and an example) in the docs here:
https://docs.espressif.com/projects/esp ... quirements
Angus
Who is online
Users browsing this forum: No registered users and 93 guests