I really need help here because I'm trying to make a project for stm32f10x microcontrollers, I've found in the following thread of Keil forum
that the best way to add the library to a project is to add the needed files to the project folder and use them.
The problem here is that I did that and right now the compiler is giving me a lot of errors of the type
./stm32f10x_gpio.h(349): error: unknown type name 'GPIO_TypeDef'
The previous is one of the 76 errors that the compiler gave me on definitions. I have the ST document about how to migrate projects from the old library to the newest one and the say that those definitions are for legacy projects in stm32f10x.h which I verified is true so I included in the file with the definition problem by doing this
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"
and still is giving me those error, I'm new to this so right now I don't have any idea of what to do make those errors disappear.
Previous to ask this question I tried to copy those definitions inside the header of the file with definition problems, after compiled it then said that there are several definitions of the same type and gives me a warning or an error (I don't remember), to me this means that the compiler is seeing the file stm32f10x.h but for some unknown reason is not getting the definitions to make it work.
How can this problem be solved?. I'm blocked here right now.