pca10040 -> pca10040e Change error.

nRF5_SDK_17.1.0_ddde560\examples\dtm\direct_test_mode\pca10040\blank

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fnrf52810_user_guide.html&cp=9_1_5_0_3&anchor=ug_52810_project

I made the changes using this link and now I get this error.

APP_TIMER_V2 APP_TIMER_V2_RTC1_ENABLED BOARD_PCA10040 BSP_DEFINES_ONLY CONFIG_GPIO_AS_PINRESET FLOAT_ABI_HARD NRF52810_XXAA NRF52_PAN_74 __HEAP_SIZE=8192 __STACK_SIZE=8192

Please help me change to nRF52810.

  • Most likely you have enabled both UART and UARTE for the same instance in the sdk_config.h by mistake which includes definition of  UARTE0_UART0_IRQHandler in different files (nrfx_uarte.c and nrfx_uart.c). This can happen when both UART and UARTE drivers are enabled at the same time, which is not allowed as they use the same hardware resources.

    You can enable the NRFX_PRS_BOX_2_ENABLED setting in sdk_config.h to get rid of this multiple definitions error, as mentioned in this discussion.
    Please ensure that only one of the drivers (either UART or UARTE) is enabled at a time in your configuration by checking the configs that you enabled in your sdk_config.h. Make sure that only one of the XXX_UART0_ENABLED and XXX_UARTE0_ENABLED in your config file.
Related