Hey Nordic Team,
I noticed an issue with the SDK and `nrf_serial.c`
After deactivating all legacy code and removing all references to standard UART I noticed that I was still getting this error during compile time:
../_sdk//components/libraries/serial/nrf_serial.c: In function 'nrf_serial_init': ../_sdk//components/libraries/serial/nrf_serial.c:211:15: error: 'nrf_drv_uart_config_t {aka struct <anonymous>}' has no member named 'use_easy_dma' drv_config.use_easy_dma = (p_config->mode == NRF_SERIAL_MODE_DMA);
If you go to line 210 in `nrf_serial.c` it's defined like this:
#if defined(UARTE_PRESENT) && defined(UART_PRESENT)
In order to compile properly and be consistent with `nrf_drv_uart.h` it should be:
#if defined(NRF_DRV_UART_WITH_UARTE) && defined(NRF_DRV_UART_WITH_UART)
As of this writing I'm using SDK 16
Thanks
Jared