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

Nrf52832 app_uart problem

Hello, although i have included every library and c file that is needed. i still get a declaration error. I'm almost sure that i enabled everything in sdk_config . I'm kinda stuck here and would appreciate any help.

nrf_drv_uart.h:88:30: error: 'NRF_UARTE1' undeclared here (not in a function)
Parents
  • As endnode points out, UARTE1 is not available on nRF52832 which has only one UARTE instance called UARTE0. However, your error message seems to indicate that somewhere in your code, defines, or build setup you are telling the compiler to use the UARTE1 instance anyway. This is very strange if you have really just copy pasted all relevant UART files. I searched through the files you linked to and I couldn't find anything related to UART instances. Can you also upload your sdk_config.h file? (You can edit your original question and attach the files there instead of using external download sites).

    As endnode also mentions, your build setup seems radically different from the setups used in our SDKs which makes it very hard do help you out.

Reply
  • As endnode points out, UARTE1 is not available on nRF52832 which has only one UARTE instance called UARTE0. However, your error message seems to indicate that somewhere in your code, defines, or build setup you are telling the compiler to use the UARTE1 instance anyway. This is very strange if you have really just copy pasted all relevant UART files. I searched through the files you linked to and I couldn't find anything related to UART instances. Can you also upload your sdk_config.h file? (You can edit your original question and attach the files there instead of using external download sites).

    As endnode also mentions, your build setup seems radically different from the setups used in our SDKs which makes it very hard do help you out.

Children
No Data
Related