Hi All,
I'm trying to add FreeRTOS into an existing project that is based off the UART example but has a lot of stuff stripped out of it. I've been referencing the HRS FreeRTOS project to migrate differences.
However, I'm stuck at a point now where I'm getting the following error:
.\_build\nrf52832_xxaa.axf: Error: L6200E: Symbol SWI2_EGU2_IRQHandler multiply defined (by nrf_sdh_freertos.o and nrf_sdh.o).
It's clear that there is something being defined twice because of these files, but I can't pinpoint why I'm getting this error when compiling in my project as opposed to the HRS FreeRTOS example. I've already done the following:
- Added FreeRTOS source files from SDK external folder into my project
- Added the nrf_sdh_freertos.c file
- Added the appopriate compiler paths for FreeRtos external files
- Added the FREERTOS tag into preprocessor defines
- Copied the FreeRTOSConfig.h file from the example
- Replaced app_timer.c with app_timer_freertos.c
Any ideas if there are other steps I'm missing during this migration? I'm using SDK 14.0.0. Also, I don't have any #includes in my main yet (just think of my main as empty for now).