This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Keil - first project

Hi, I'm working on setting up project inside uVision. I have added all files with headers, and when I try to compile this is what I got:

    ..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_PSEL_TXD" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_PSEL_RXD" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_PSEL_CTS" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_PSEL_RTS" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_HWFC" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_PARITY" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_BAUDRATE" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
..\SDK10.0\components\libraries\uart\app_uart_fifo.c(117): error:  #20: identifier "UART0_CONFIG_IRQ_PRIORITY" is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;

When I try to "Go to definitione of .. it seems to finding header file.

Can anyone point me what I'm doing wrong ?

Thank you!

Related