Hi everyone,
I am working on a project with the NRF9160 DK where I want to use the UART3 channel.
The issue is that I got compiling errors when I add CONFIG_UART_3_NRF_UARTE=y to my proj.conf file (The solution was working fine before).
The errors I got are :
Building ‘zephyr/drivers/serial/libdrivers__serial.a’ from solution ‘build’ in configuration ‘Common’
Compiling ‘uart_nrfx_uarte.c’
'DT_NORDIC_NRF_UARTE_UART_3_CURRENT_SPEED' undeclared here (not in a function); did you mean 'DT_NORDIC_NRF_UARTE_UART_0_CURRENT_SPEED'?
in expansion of macro 'UARTE_CONFIG'
in expansion of macro 'UART_NRF_UARTE_DEVICE'
'DT_NORDIC_NRF_UARTE_UART_3_BASE_ADDRESS' undeclared here (not in a function); did you mean 'DT_NORDIC_NRF_UARTE_UART_0_BASE_ADDRESS'?
in expansion of macro 'UART_NRF_UARTE_DEVICE'
'DT_NORDIC_NRF_UARTE_UART_3_TX_PIN' undeclared (first use in this function); did you mean 'DT_NORDIC_NRF_UARTE_UART_1_TX_PIN'?
in expansion of macro 'UART_NRF_UARTE_DEVICE'
each undeclared identifier is reported only once for each function it appears in
in expansion of macro 'UART_NRF_UARTE_DEVICE'
'DT_NORDIC_NRF_UARTE_UART_3_RX_PIN' undeclared (first use in this function); did you mean 'DT_NORDIC_NRF_UARTE_UART_0_RX_PIN'?
in expansion of macro 'UART_NRF_UARTE_DEVICE'
sched_priq.h
kernel_includes.h
kernel.h
device.h
uart.h
uart_nrfx_uarte.c
'DT_NORDIC_NRF_UARTE_UART_3_IRQ_0_PRIORITY' undeclared (first use in this function); did you mean 'DT_NORDIC_NRF_UARTE_UART_1_IRQ_0_PRIORITY'?
in definition of macro '__DEBRACKET'
in expansion of macro '__GET_ARG2_DEBRACKET'
in expansion of macro '__COND_CODE'
in expansion of macro 'Z_COND_CODE_1'
in expansion of macro 'COND_CODE_1'
in expansion of macro 'Z_ARCH_IRQ_CONNECT'
in expansion of macro 'IRQ_CONNECT'
in expansion of macro 'UART_NRF_UARTE_DEVICE'
'DT_NORDIC_NRF_UARTE_UART_3_IRQ_0' undeclared (first use in this function); did you mean 'DT_NORDIC_NRF_UARTE_UART_0_IRQ_0'?
in definition of macro '__DEBRACKET'
in expansion of macro '__GET_ARG2_DEBRACKET'
in expansion of macro '__COND_CODE'
in expansion of macro 'Z_COND_CODE_1'
in expansion of macro 'COND_CODE_1'
in expansion of macro 'irq_enable'
in expansion of macro 'UART_NRF_UARTE_DEVICE'
uart.h
uart_nrfx_uarte.c
'DT_NORDIC_NRF_UARTE_UART_3_LABEL' undeclared here (not in a function); did you mean 'DT_NORDIC_NRF_UARTE_UART_1_LABEL'?
in definition of macro 'DEVICE_AND_API_INIT'
in expansion of macro 'DEVICE_DEFINE'
in expansion of macro 'UART_NRF_UARTE_DEVICE'
Build failed
How can I properly configure the UART3 to get it working ?
Thanks in advance.
Thomas