Compilation error when LTE and Modbus is used together

Here’s the solution for this error message

zephyr/drivers/serial/uart_nrfx_uarte.c:2087:6:
error: 'const struct uarte_nrfx_config' has no member named 'timer'
 2087 |    (.timer = NRFX_TIMER_INSTANCE(          \
      |      ^~~~~

Modbus uses an interrupt approach. However, LTE serial communication is not using interrupts.
It is necessary to set UART0 not to use interrupts.

So to the existing Modbus configuration options in prj.conf file:

CONFIG_MODBUS_ROLE_CLIENT=y
CONFIG_MODBUS=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=n
CONFIG_UART_SC16IS7XX=y

You need to add this line:

CONFIG_UART_0_INTERRUPT_DRIVEN=n