Hallo,
I want to use the UARTE instead of the UART to transmit some audio data to DK. The Basic Project is the i2s example in nRF5_SDK_15.3.0_59ac345.
I implemented the UARTE drive but I get the error: multiple definition of `nrfx_uarte_0_irq_handler'. In some articles I found the same issue. There the solution should be to remove nrf_uarte.c from build. But then I get another error: undefined reference to `nrfx_uarte_init'. The sdk config file is attached.
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "sdk_config.h"
#include "nrf_delay.h"
#include "app_util_platform.h"
#include "app_error.h"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#include "nrf_log_default_backends.h"
#include "nrf_drv_timer.h" //Timer
#include "nrfx_uarte.h"
....
void nrfx_uarte_0_irq_handler(void)
{
// Code
}
int main(void)
{
nrfx_uarte_t m_uart = NRFX_UARTE_INSTANCE(0);
nrfx_uarte_config_t m_uart_config = NRFX_UARTE_DEFAULT_CONFIG;
any tips?