..\stm32f4 library\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(122): error: #35: #error directive: "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
plezse give me the solution of this error
It means your device is undefined.You need to add a preprocessor symbol to your project.
If you are using keil.Project ->options for target 'project name' -> c/c++
Then add a symbol STM32F4xx symbol. (Replace the xx with your device type.)
You can look in stm32f4xx.h file for the options.
The STM32F429I-DISCO examples have the following defines in the project
Retrieving data ...