I used the "echo_bot sample and tried to alter it to use UART2 instead of UART0. Aftet changing the code and putting in the needed overlay, the main() program begins to run but never comes back from the call
int ret = uart_irq_callback_user_data_set(uart_dev, serial_cb, NULL);
This is line 87 of the program I've attached. uart_dev is configured to point to UART2 (line 24). After trying to execute the line above, the console output appear to stall and it doesn't look like the program execution progresses any further. I used an nRF9151 DK for this.
Do you know what the issue is? Have I configured UART2 correctly?
Thank you
Steven Gordecho_bot_uart2.zipon