Hi there,
I am starting with nrf52 and SDK 9.0.2 and am struggling with the SDK structure.
Can anyone please explain the difference between
components/libraries/uart
and drivers_nrf/uart
Why are there two different UART drivers? What should be used? They differ e.g. in app_uart_init
:
// drivers_nrf/uart/app_uart.c
uint32_t app_uart_init(const app_uart_comm_params_t * p_comm_params,
app_uart_buffers_t * p_buffers,
app_uart_event_handler_t event_handler,
app_irq_priority_t irq_priority,
uint16_t * p_app_uart_uid)
// libraries/uart/app_uart.c
uint32_t app_uart_init(const app_uart_comm_params_t * p_comm_params,
app_uart_buffers_t * p_buffers,
app_uart_event_handler_t event_handler,
app_irq_priority_t irq_priority)
Is there an introduction of the different parts and folders of the SDK and the intended use?