You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have ESP32 S3 project and I am aiming to hold my generic components one level above the project root.
Project structure is as below.
- components
- zmod4xxx (component directory)
- common
- sensor
- wifi
- project_root
- src
Now, issue is that when I compile project it says "undefined reference to `init_iaq_2nd_gen'". This function is from the
zmod4xxx component which contains a pre-built binary file "lib_iaq_2nd_gen.a".
Please note that if I copy components folder to same level as project root where platformio.ini exists, then it compiles without any error.
I suppose zmod4xxxx component is ESP-IDF components, therefore I declared it in the CMakeLists.txt as below, according to the document.
Thank you for fixing it, it works perfectly.
Do you recommend updating the platform-espressif32? If yes please tell me which version I shall update.
I would be happy if you provide me with a link guiding for an update.
Currently, the upstream version of the platform from the repository is the only way to obtain the fix. When a new release is published you will be able to update it automatically.
Hello,
I have ESP32 S3 project and I am aiming to hold my generic components one level above the project root.
Project structure is as below.
- components
- zmod4xxx (component directory)
- common
- sensor
- wifi
- project_root
- src
Now, issue is that when I compile project it says "undefined reference to `init_iaq_2nd_gen'". This function is from the
zmod4xxx component which contains a pre-built binary file "lib_iaq_2nd_gen.a".
Please note that if I copy components folder to same level as project root where platformio.ini exists, then it compiles without any error.
I suppose zmod4xxxx component is ESP-IDF components, therefore I declared it in the CMakeLists.txt as below, according to the document.
Also I declared components folder in the platformio.ini lib_extra_dirs.
lib_extra_dirs = ../../common/esp-idf-lib/components ../../common/components ../components ../common
Please help me to find an issue. Below is my project folder.
https://github.com/jacque99/iaq_zmod4xxx.git
Thank you and best regards,
Lhagva
The text was updated successfully, but these errors were encountered: