Hi,
I am adding pwm in ble_app_template but getting the following issue. Can you please suggest any solution?
Thanks!
Hi,
I am adding pwm in ble_app_template but getting the following issue. Can you please suggest any solution?
Thanks!
Here is my sdk_config.h
2185.sdk_config.h
Hi,
This is a big confusing, but for legacy reasons there are two sets of configuration defines on sdk_config.h. You normally do not need ot set the NRFX* defines, as the value of the legacy configuration is used in stead. So for this specific error, the problem is that even though you have configured NRFX_TIMER1_ENABLED to 1, TIMER1_ENABLED is still set to 0, and this is what is used. This also applies to other driver configuration defines in sdk_config.h.
I have set as recommended values but still getting the same issue. Can you please check I am uploading my project?
PwmProject.zip
Hi,
TIMER1_ENABLED was set to 0 in the project you uploaded. Changing it to one in sdk_config.h makes everything compile, but linking still fails because you also need to set TIMER_ENABLED to 1 and PPI_ENABLED to 1, and add nrfx_ppi.c and nrf_drv_ppi.c to the project. With that it builds.
Thanks @Einar
Problem Solved.