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

Error: L6218E: Undefined symbol nrf_drv_pwm_init (referred from main.o).

Hello,

I am building a project that required pwm drivers and BLE UART. I started by using peripheral ble uart example in SDK 12 and adding the pwm driver source file from the SDK components. I am using Keil uVision 5.

When I use methods from the pwm driver source file I get a linking error:

Error: L6218E: Undefined symbol nrf_drv_pwm_init (referred from main.o).

Is there a specific linking configuration that needs to be done in order for the project to find the pwm driver ?

Thanks.

Related