This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51 DK (PCA10028) Error : Undefined Symbols app_pwm_init, app_pwm_enable and app_pwm_duty_cycle

Hello,

I am using the nrF51 DK (PCA10028 board) which has been programmed with the Softdevice 130 in the Keil uv5 IDE on windows 10. I am working on the proximity application example provided by the SDK and I tried implementing an APP_PWM_INSTANCE. for TIMER 1 in order to send pwm signals to LEDS 3 and 4 on the board.

I have enabled most of the PWM-based macros found in the 'sdkconfig.h' file such as: APP_PWM_ENABLED,  TIMER_ENABLED, TIMER0_ENABLED, TIMER1_ENABLED, PWM_ENABLED and PWM1_ENABLED .

After defining my APP_TIMER_INSTANCE for TIMER1 and performing the necessary actions (channel configuration, initialization and enabling), I tried building my application and  I get the following errors:

undefined symbol app_pwm_init

undefined symbol app_pwm_enable

undefined symbol app_pwm_duty_cycle_set

I understand that the softdevice users TIMER0  and I used TIMER1 but I don't understand why I am having these errors.

Regards

Joseph AYuk

Parents Reply Children
No Data
Related