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

'NRFX_UARTE1_INST_IDX' undeclared here (not in a function)

hi......

i am trying to merge the serial uarte  example sdk 840 and ble_app_uart sdk 840 .. i am getting this error how to resolve it 

Parents Reply
  • Hi, 

    Did you save the file, clean and rebuild the project?

    Could you also try to set the NRFX_UARTE1_ENABLED to in the sdk_config.h file?

    // <o> NRFX_UART0_ENABLED - Enable UART0 instance 
    #ifndef NRFX_UART0_ENABLED
    #define NRFX_UART0_ENABLED 0
    #endif
    
    // <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance 
    #ifndef NRFX_UARTE1_ENABLED
    #define NRFX_UARTE1_ENABLED 1
    #endif

    -Amanda H.

Children
Related