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

USBD with FreeRTOS not work

Without FreeRTOS usbd working normaly with config:

#define NRF_SDH_DISPATCH_MODEL 0
#define APP_SCHEDULER_ENABLED 1

But with FreeRTOS need use

#define NRF_SDH_DISPATCH_MODEL 2

else it has errror

Error[Li006]: duplicate definitions for "SWI2_EGU2_IRQHandler"

How to solve this problem? What methods of USB need polling for working with FreeRTOS?

I'm use SDK15 and S140 v.6.0.0 Production

Related