I have small problem. When I build my project, it returns thise error: Symbol SWI2_IRQHandler multiply defined (by nrf_sdh.o and nrf_drv_swi.o). I want to use SWI0. I copied the exemple from documentation, where you can read that using SWI library and a SoftDevice is a good idea.
How is this error solved?
What SDK version is this ? Note that the SoftDevice uses some of the SWIs, see this page.
If this is SDK 15.x, try setting the define NRFX_SWI2_DISABLED in sdk_config.h to 1.
I use SDK 14.2.0 and softdevice 112.
Ok, for SDK 14.2, set this in sdk_config.h
#define SWI_DISABLE2 1
#define SWI_DISABLE5 1