Dear Nordic Developer,
I can compile and ran examples of uart, saadc, pwm_driver, pwm_libraries. Now I would like to include uart in pwm_libraries to get inputs from PUTTY (COM port) but I got compiling error with app_uart_fifo.c . I added uart include path to the project.
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'nrf52832_xxaa'
compiling main.c...
compiling boards.c...
compiling nrf_drv_common.c...
compiling nrf_drv_gpiote.c...
compiling nrf_drv_ppi.c...
compiling nrf_drv_timer.c...
compiling nrf_drv_uart.c...
compiling app_error.c...
compiling app_error_weak.c...
compiling app_pwm.c...
compiling app_util_platform.c...
compiling nrf_assert.c...
compiling sdk_errors.c...
compiling retarget.c...
compiling app_fifo.c...
compiling app_uart_fifo.c...
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #20: identifier "UARTAPP_UART_DRIVER_INSTANCE_CONFIG_USE_EASY_DMA" is undefined
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #20: identifier "NRF_UARTEAPP_UART_DRIVER_INSTANCE" is undefined
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #44: expression must have pointer type
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #20: identifier "NRF_UARTAPP_UART_DRIVER_INSTANCE" is undefined
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #44: expression must have pointer type
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c(19): error: #20: identifier "UARTAPP_UART_DRIVER_INSTANCE_INSTANCE_INDEX" is undefined
static nrf_drv_uart_t app_uart_inst =
RF_DRV_UART_INSTANCE(APP_UART_DRIVER_INSTANCE);
..\..\..\..\..\..\components\libraries\uart\app_uart_fifo.c: 0 warnings, 6 errors
compiling nrf_log_backend_serial.c...
compiling nrf_log_frontend.c...
compiling SEGGER_RTT.c...
".\_build\nrf52832_xxaa.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:01:07