*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'nrf51422_xxac' compiling main.c... ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #20: identifier "NRF_SPIM_Type" is undefined NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #29: expected an expression NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #18: expected a ")" NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(46): error: #29: expected an expression NRF_SPIM_TASK_STOP = ffsetof(NRF_SPIM_Type, TASKS_STOP), ///< Stop SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(46): error: #18: expected a ")" NRF_SPIM_TASK_STOP = ffsetof(NRF_SPIM_Type, TASKS_STOP), ///< Stop SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(47): error: #29: expected an expression NRF_SPIM_TASK_SUSPEND = ffsetof(NRF_SPIM_Type, TASKS_SUSPEND), ///< Suspend SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(47): error: #18: expected a ")" NRF_SPIM_TASK_SUSPEND = ffsetof(NRF_SPIM_Type, TASKS_SUSPEND), ///< Suspend SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(48): error: #29: expected an expression NRF_SPIM_TASK_RESUME = ffsetof(NRF_SPIM_Type, TASKS_RESUME) ///< Resume SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(48): error: #18: expected a ")" NRF_SPIM_TASK_RESUME = ffsetof(NRF_SPIM_Type, TASKS_RESUME) ///< Resume SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(58): error: #29: expected an expression NRF_SPIM_EVENT_STOPPED = ffsetof(NRF_SPIM_Type, EVENTS_STOPPED), ///< SPI transaction has stopped. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(58): error: #18: expected a ")" NRF_SPIM_EVENT_STOPPED = ffsetof(NRF_SPIM_Type, EVENTS_STOPPED), ///< SPI transaction has stopped. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(59): error: #29: expected an expression NRF_SPIM_EVENT_ENDRX = ffsetof(NRF_SPIM_Type, EVENTS_ENDRX), ///< End of RXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(59): error: #18: expected a ")" NRF_SPIM_EVENT_ENDRX = ffsetof(NRF_SPIM_Type, EVENTS_ENDRX), ///< End of RXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(63): error: #29: expected an expression NRF_SPIM_EVENT_ENDTX = ffsetof(NRF_SPIM_Type, EVENTS_ENDTX), ///< End of TXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(63): error: #18: expected a ")" NRF_SPIM_EVENT_ENDTX = ffsetof(NRF_SPIM_Type, EVENTS_ENDTX), ///< End of TXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(64): error: #29: expected an expression NRF_SPIM_EVENT_STARTED = ffsetof(NRF_SPIM_Type, EVENTS_STARTED) ///< Transaction started. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(64): error: #18: expected a ")" NRF_SPIM_EVENT_STARTED = ffsetof(NRF_SPIM_Type, EVENTS_STARTED) ///< Transaction started. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(83): error: #20: identifier "SPIM_INTENSET_STOPPED_Msk" is undefined NRF_SPIM_INT_STOPPED_MASK = SPIM_INTENSET_STOPPED_Msk, ///< Interrupt on STOPPED event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(84): error: #20: identifier "SPIM_INTENSET_ENDRX_Msk" is undefined NRF_SPIM_INT_ENDRX_MASK = SPIM_INTENSET_ENDRX_Msk, ///< Interrupt on ENDRX event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(88): error: #20: identifier "SPIM_INTENSET_ENDTX_Msk" is undefined NRF_SPIM_INT_ENDTX_MASK = SPIM_INTENSET_ENDTX_Msk, ///< Interrupt on ENDTX event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(89): error: #20: identifier "SPIM_INTENSET_STARTED_Msk" is undefined NRF_SPIM_INT_STARTED_MASK = SPIM_INTENSET_STARTED_Msk ///< Interrupt on STARTED event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(97): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K125" is undefined NRF_SPIM_FREQ_125K = SPIM_FREQUENCY_FREQUENCY_K125, ///< 125 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(98): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K250" is undefined NRF_SPIM_FREQ_250K = SPIM_FREQUENCY_FREQUENCY_K250, ///< 250 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(99): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K500" is undefined NRF_SPIM_FREQ_500K = SPIM_FREQUENCY_FREQUENCY_K500, ///< 500 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(100): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M1" is undefined NRF_SPIM_FREQ_1M = SPIM_FREQUENCY_FREQUENCY_M1, ///< 1 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(101): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M2" is undefined NRF_SPIM_FREQ_2M = SPIM_FREQUENCY_FREQUENCY_M2, ///< 2 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(102): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M4" is undefined NRF_SPIM_FREQ_4M = SPIM_FREQUENCY_FREQUENCY_M4, ///< 4 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(105): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M8" is undefined NRF_SPIM_FREQ_8M = (int)SPIM_FREQUENCY_FREQUENCY_M8 ///< 8 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(124): error: #20: identifier "SPIM_CONFIG_ORDER_MsbFirst" is undefined NRF_SPIM_BIT_ORDER_MSB_FIRST = SPIM_CONFIG_ORDER_MsbFirst, ///< Most significant bit shifted out first. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(125): error: #20: identifier "SPIM_CONFIG_ORDER_LsbFirst" is undefined NRF_SPIM_BIT_ORDER_LSB_FIRST = SPIM_CONFIG_ORDER_LsbFirst ///< Least significant bit shifted out first. ..\..\main.c: 0 warnings, 30 errors compiling nrf_delay.c... compiling bsp.c... compiling nrf_drv_common.c... compiling nrf_drv_spi.c... ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #20: identifier "NRF_SPIM_Type" is undefined NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #29: expected an expression NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(45): error: #18: expected a ")" NRF_SPIM_TASK_START = ffsetof(NRF_SPIM_Type, TASKS_START), ///< Start SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(46): error: #29: expected an expression NRF_SPIM_TASK_STOP = ffsetof(NRF_SPIM_Type, TASKS_STOP), ///< Stop SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(46): error: #18: expected a ")" NRF_SPIM_TASK_STOP = ffsetof(NRF_SPIM_Type, TASKS_STOP), ///< Stop SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(47): error: #29: expected an expression NRF_SPIM_TASK_SUSPEND = ffsetof(NRF_SPIM_Type, TASKS_SUSPEND), ///< Suspend SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(47): error: #18: expected a ")" NRF_SPIM_TASK_SUSPEND = ffsetof(NRF_SPIM_Type, TASKS_SUSPEND), ///< Suspend SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(48): error: #29: expected an expression NRF_SPIM_TASK_RESUME = ffsetof(NRF_SPIM_Type, TASKS_RESUME) ///< Resume SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(48): error: #18: expected a ")" NRF_SPIM_TASK_RESUME = ffsetof(NRF_SPIM_Type, TASKS_RESUME) ///< Resume SPI transaction. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(58): error: #29: expected an expression NRF_SPIM_EVENT_STOPPED = ffsetof(NRF_SPIM_Type, EVENTS_STOPPED), ///< SPI transaction has stopped. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(58): error: #18: expected a ")" NRF_SPIM_EVENT_STOPPED = ffsetof(NRF_SPIM_Type, EVENTS_STOPPED), ///< SPI transaction has stopped. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(59): error: #29: expected an expression NRF_SPIM_EVENT_ENDRX = ffsetof(NRF_SPIM_Type, EVENTS_ENDRX), ///< End of RXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(59): error: #18: expected a ")" NRF_SPIM_EVENT_ENDRX = ffsetof(NRF_SPIM_Type, EVENTS_ENDRX), ///< End of RXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(63): error: #29: expected an expression NRF_SPIM_EVENT_ENDTX = ffsetof(NRF_SPIM_Type, EVENTS_ENDTX), ///< End of TXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(63): error: #18: expected a ")" NRF_SPIM_EVENT_ENDTX = ffsetof(NRF_SPIM_Type, EVENTS_ENDTX), ///< End of TXD buffer reached. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(64): error: #29: expected an expression NRF_SPIM_EVENT_STARTED = ffsetof(NRF_SPIM_Type, EVENTS_STARTED) ///< Transaction started. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(64): error: #18: expected a ")" NRF_SPIM_EVENT_STARTED = ffsetof(NRF_SPIM_Type, EVENTS_STARTED) ///< Transaction started. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(83): error: #20: identifier "SPIM_INTENSET_STOPPED_Msk" is undefined NRF_SPIM_INT_STOPPED_MASK = SPIM_INTENSET_STOPPED_Msk, ///< Interrupt on STOPPED event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(84): error: #20: identifier "SPIM_INTENSET_ENDRX_Msk" is undefined NRF_SPIM_INT_ENDRX_MASK = SPIM_INTENSET_ENDRX_Msk, ///< Interrupt on ENDRX event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(88): error: #20: identifier "SPIM_INTENSET_ENDTX_Msk" is undefined NRF_SPIM_INT_ENDTX_MASK = SPIM_INTENSET_ENDTX_Msk, ///< Interrupt on ENDTX event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(89): error: #20: identifier "SPIM_INTENSET_STARTED_Msk" is undefined NRF_SPIM_INT_STARTED_MASK = SPIM_INTENSET_STARTED_Msk ///< Interrupt on STARTED event. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(97): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K125" is undefined NRF_SPIM_FREQ_125K = SPIM_FREQUENCY_FREQUENCY_K125, ///< 125 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(98): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K250" is undefined NRF_SPIM_FREQ_250K = SPIM_FREQUENCY_FREQUENCY_K250, ///< 250 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(99): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_K500" is undefined NRF_SPIM_FREQ_500K = SPIM_FREQUENCY_FREQUENCY_K500, ///< 500 kbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(100): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M1" is undefined NRF_SPIM_FREQ_1M = SPIM_FREQUENCY_FREQUENCY_M1, ///< 1 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(101): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M2" is undefined NRF_SPIM_FREQ_2M = SPIM_FREQUENCY_FREQUENCY_M2, ///< 2 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(102): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M4" is undefined NRF_SPIM_FREQ_4M = SPIM_FREQUENCY_FREQUENCY_M4, ///< 4 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(105): error: #20: identifier "SPIM_FREQUENCY_FREQUENCY_M8" is undefined NRF_SPIM_FREQ_8M = (int)SPIM_FREQUENCY_FREQUENCY_M8 ///< 8 Mbps. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(124): error: #20: identifier "SPIM_CONFIG_ORDER_MsbFirst" is undefined NRF_SPIM_BIT_ORDER_MSB_FIRST = SPIM_CONFIG_ORDER_MsbFirst, ///< Most significant bit shifted out first. ..\..\..\..\..\components\drivers_nrf\hal\nrf_spim.h(125): error: #20: identifier "SPIM_CONFIG_ORDER_LsbFirst" is undefined NRF_SPIM_BIT_ORDER_LSB_FIRST = SPIM_CONFIG_ORDER_LsbFirst ///< Least significant bit shifted out first. ..\..\..\..\..\components\drivers_nrf\spi_master\nrf_drv_spi.c: 0 warnings, 30 errors compiling nrf_drv_gpiote.c... compiling app_error.c... compiling app_button.c... compiling nrf_assert.c... compiling app_timer.c... compiling app_util_platform.c... assembling arm_startup_nrf51.s... compiling system_nrf51.c... ".\_build\nrf51422_xxac.axf" - 60 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:05