This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create application that use spi with cmsis drivers

hi to all
i am new to keil and arm and i'm trying to create a application that use spi of micro and i read in keil cmsis documentation that cmsis:driver has an API to communicate with spi of micro,but when i try to do that by setting checkbox of spi in cmsis:driver in packet manager ,after building my project,compiler give below error to me:

C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\RTE_Driver\SPI_STM32F10x.h(49): error: #35: #error directive: "SPI not configured in RTE_Device.h!"

can any one help me and tell to me that where is my mistake??