Ian currently using Nrf52840 development kit and SDK 4,0 fir the zigbee and the thread. SDK 4.0 is being used for the project due to some functions that are not present in the SDK 4.1
On doing an interfacing on the UART0 in the example of the thread that am using, I come across the following error:
"../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk.a(uart.c.o): in function `UARTE0_UART0_IRQHandler':
multiple definition of `UARTE0_UART0_IRQHandler'; Output/Executable_1 Release External/Obj/nrfx_prs.o:D:\Project\Eurotronics\Thread_Radiator\nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b\examples\thread\Thread_VAS_20211024/../../../modules/nrfx/drivers/src/prs/nrfx_prs.c:81: first defined here"
I have put into use the thread MTD as an example for referencing. I have gone a notch higher and removed the cli library so that the UART can be free. With me is the whole procedure that can be used to make the UART0 available for my applications
Before trying these, steps, I had made a step of trying application of the UART in freeRTOS for example the blinky that worked so well.so I decided to transfer in the thread example. But I ended up getting the error that is listed above.
I did some research online and found some links that were addressing the mentioned errors but the outcome was still the same.
Then when I decided that it is time to remove the “nrfprs” then I get another error as listed below;
"1> c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: missing --end-group; added as last command line option
1> c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: Output/Executable_1 Release External/Obj/nrfx_uart.o: in function `nrfx_uart_init':
1> D:\Project\Eurotronics\Thread_Radiator\nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b\examples\thread\Thread_VAS_20211024/../../../modules/nrfx/drivers/src/nrfx_uart.c:189: undefined reference to `nrfx_prs_acquire'
1> c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: Output/Executable_1 Release External/Obj/nrfx_uarte.o: in function `nrfx_uarte_init':
1> D:\Project\Eurotronics\Thread_Radiator\nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b\examples\thread\Thread_VAS_20211024/../../../modules/nrfx/drivers/src/nrfx_uarte.c:235: undefined reference to `nrfx_prs_acquire'
1> collect2.exe: error: ld returned 1 exit status"
Please guys, help me resolve the error issue.
Thank you
