Hello,
I am struggling with linking libraries to my program. I tried to run rotary_encoder example from esp-idf GitLab. After coping in the program to the platformio project I can acces the file driver/pulse_cnt.h but during the build process there are errors like this:
undefined reference to \pcnt_unit_get_count’\ whitch are functions in the pulse_cnt.h file.
I tried to find how to properly link the files in the documentation but I couldn’t understand how exactly it’s done.
Can anyone share a tip to how its done?