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

NRF Toolbox with NRF52 Eval Board

I am using nRF52810 Eval board for our project. I am using NRF toolbox UART function to control the PWM and UARTE function . I have tested PWM and UART separately with NRF toolbox UART App and working fine.

 

I try to combine both feature but while compile finding issues. Please refer the errors below i get for more details.

 

1.UARTE0_UART0_IRQHandler function is working without nrfx_prs.c and nrfx_uart.c under nrf drivers sections

2.PWM is working with nrfx_prs.c and nrfx_uart.c under nrf drivers sections

3.When i combine both PWM and uarte in ble_app_hts_pca10040_s132 iam getting compilation error as:

  multiple definition of `UARTE0_UART0_IRQHandler';

  Output/Release/Obj/ble_app_hts_pca10040_s132/nrfx_prs.o:

  C:\Users\99002568\Downloads\DeviceDownload     new\nRF5SDK1702d674dde\nRF5_SDK_17.0.2_d674dde\modules\nrfx\drivers\src\prs/nrfx_prs.c:81: first defined here

4.if i delete nrfx_prs.c and nrfx_uart.c files in ble_app_hts_pca10040_s132 to make the UARTE0_UART0_IRQHandler work

  iam getting compilation error as:

    Linking ble_app_hts_pca10040_s132.elf

    Output/Release/Obj/ble_app_hts_pca10040_s132/nrf_log_backend_uart.o: in function  `nrf_drv_uart_tx':

    undefined reference to `nrfx_uart_tx'

    Output/Release/Obj/ble_app_hts_pca10040_s132/nrf_log_backend_uart.o: in function `nrf_drv_uart_uninit':

    undefined reference to `nrfx_uart_uninit'

    Output/Release/Obj/ble_app_hts_pca10040_s132/nrf_drv_uart.o: in function `nrf_drv_uart_init':

    undefined reference to `nrfx_uart_init'

    Output/Release/Obj/ble_app_hts_pca10040_s132/nrfx_uarte.o: in function `nrfx_uarte_init':

    undefined reference to `nrfx_prs_acquire'

    Output/Release/Obj/ble_app_hts_pca10040_s132/nrfx_uarte.o: in function `nrfx_uarte_uninit':

    undefined reference to `nrfx_prs_release'

    Build failed

Can you please guide us to fix the issue.

 

SDK version : nRF5SDK1702d674dde
file used for PWM and UARTE : ble_app_hts

Parents Reply Children
Related