I am attempting to develop an application for a custom board with the nRF52832. I am attempting to use the UART functions in the SDK but I am running into compile errors. I assumed that I should use the sdk_config.h from the SDK\config\nrf52832\config folder. However, this sdk_config.h does not contain the APP_UART and APP_UART_FIFO flags so I copied those from the UART example sdk_config.h. Unfortunately I am still getting errors. I included them below. I have set the NRFX_UART and NRFX_UARTE drivers to enabled. I can see the first type listed in the rrors clearly in the HAL so I am guessing there is an additional setting I am missing in my config file?
app_uart.c
unknown type name 'nrf_uarte_baudrate_t'
unknown type name 'nrf_uarte_error_mask_t'
unknown type name 'nrf_uarte_hwfc_t'
unknown type name 'nrf_uarte_parity_t'
unknown type name 'nrf_uarte_task_t'
unknown type name 'nrf_uarte_event_t'
'NRF_UARTE_PSEL_DISCONNECTED' undeclared (first use in this function); did you mean 'NRF_UART_PSEL_DISCONNECTED'?
in expansion of macro 'NRF_UART_PSEL_DISCONNECTED'
in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG'
each undeclared identifier is reported only once for each function it appears in
in expansion of macro 'NRF_UART_PSEL_DISCONNECTED'
in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG'
'NRF_UARTE_HWFC_DISABLED' undeclared (first use in this function); did you mean 'NRF_UART_HWFC_DISABLED'?
in expansion of macro 'NRF_UART_HWFC_DISABLED'
'NRF_UARTE_HWFC_ENABLED' undeclared (first use in this function); did you mean 'NRF_UART_HWFC_ENABLED'?
in expansion of macro 'NRF_UART_HWFC_ENABLED'
'NRF_UARTE_PARITY_INCLUDED' undeclared (first use in this function); did you mean 'NRF_UART_PARITY_INCLUDED'?
in expansion of macro 'NRF_UART_PARITY_INCLUDED'
'NRF_UARTE_PARITY_EXCLUDED' undeclared (first use in this function); did you mean 'NRF_UART_PARITY_EXCLUDED'?
in expansion of macro 'NRF_UART_PARITY_EXCLUDED'
app_uart_fifo.c
unknown type name 'nrf_uarte_baudrate_t'
unknown type name 'nrf_uarte_error_mask_t'
unknown type name 'nrf_uarte_hwfc_t'
unknown type name 'nrf_uarte_parity_t'
unknown type name 'nrf_uarte_task_t'
unknown type name 'nrf_uarte_event_t'
'NRF_UARTE_PSEL_DISCONNECTED' undeclared (first use in this function); did you mean 'NRF_UART_PSEL_DISCONNECTED'?
in expansion of macro 'NRF_UART_PSEL_DISCONNECTED'
in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG'
each undeclared identifier is reported only once for each function it appears in
in expansion of macro 'NRF_UART_PSEL_DISCONNECTED'
in expansion of macro 'NRF_DRV_UART_DEFAULT_CONFIG'
'NRF_UARTE_HWFC_DISABLED' undeclared (first use in this function); did you mean 'NRF_UART_HWFC_DISABLED'?
in expansion of macro 'NRF_UART_HWFC_DISABLED'
'NRF_UARTE_HWFC_ENABLED' undeclared (first use in this function); did you mean 'NRF_UART_HWFC_ENABLED'?
in expansion of macro 'NRF_UART_HWFC_ENABLED'
'NRF_UARTE_PARITY_INCLUDED' undeclared (first use in this function); did you mean 'NRF_UART_PARITY_INCLUDED'?
in expansion of macro 'NRF_UART_PARITY_INCLUDED'
'NRF_UARTE_PARITY_EXCLUDED' undeclared (first use in this function); did you mean 'NRF_UART_PARITY_EXCLUDED'?
in expansion of macro 'NRF_UART_PARITY_EXCLUDED'
Build failed