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

gpiote config for PWM with softdevice

I need a PWM signal as outoput from the nRF51-DK. And I do need the softdevice. So I decided to pick the code from the nrf51-pwm-library-master and add it to my project(SKD 8.1).

The problem is, when I add the nrf_pwm.c file to my project I will get these errors:

Error: L6218E: Undefined symbol nrf_gpiote_unconfig (referred from nrf_pwm.o).

Error: L6218E: Undefined symbol nrf_gpiote_task_config (referred from nrf_pwm.o).

nrf_gpiote_unconfig and nrf_gpiote_task_config are defined in the nrf_gpiote.h file.

The nrf_gpiote.h file from SDK 7.0 is not the same as for 8.1.

Is there a pwm libray for SDK 8.1 available?

If not I will place the project in the SDK 7.0 then the error should be solved.

Related