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

ESB app_timer SWI3 multiply define error

The chip uses nRF 52832. MDK keil μVision V 5.22.0.0 is used as the development environment. The SDK version uses 13.0.0_04a 0 bfd.It is based on template_project.

1drv.ms/.../s!Avi3XPNJyYuthwXwOn4fu72Ylm2-

I am trying to combine ESB and app_timer. I tried a method to rewrite app_timer.c from past questions and use SWI 3. In the definition of app_timer.c

#elif (APP_TIMER_CONFIG_SWI_NUMBER == 3)

#define SWI_IRQn SWI3_IRQn

#define SWI_IRQHandler SWI3_IRQHandler

Add. I have made sdk_config.h APP_TIMER_CONFIG_SWI_NUMBER 3.

However, with this setting, the build fails and the following error appears.

". \ _ Build \ nrf 52832 _ xxaa.axf: Error: L 6200 E: Symbol SWI 3 _EGU 3 _IRQHandler multiply defined (by nrf_drv_swi.o and app_timer_swi 3.

There is no error if nrf_drv_swi.c is excluded from the build, what is the cause?

Related