This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF52832 Nordic UART code: What defines are needed to build for the UARTE

I am currently using Nordic's UART code and wish to build to use the UARTE rather than the legacy UART. I am currently using the following definitions in nrf_drv_config.h:

#define UART_EASY_DMA_SUPPORT     1
#define UART_LEGACY_SUPPORT       0

#define UART0_CONFIG_USE_EASY_DMA true

However, when I build the code I get the following error

#ifdef NRF52
    m_cb.use_easy_dma = p_config->use_easy_dma;
#endif

struct "<unnamed>" has no field "use_easy_dma"

Obviously use_easy_dma is not defined as a member for my compile time definitions. Any ideas ?

Parents Reply Children
No Data
Related