Hi,
First day with the uVision tool. I installed the tool chain, and tried downloading one of the example projects for the STM32F, the STM32_PWM_1 and _2.
When I try to build them, I get an error on the first line of their respective pwm.c files on the line: #include <stm32f10x_lib.h> // STM32F10x Library Definitions
cannot find file.
So I tried to make my own project. I copied the stm32f10x_lib.h to the same directory as the project. When I included it using #include "stm32f10x_lib.h" I got the same error. Can't find file.
So I am a bit puzzled about the includes. I added the files to the project group successfully. Because the methods and variables in them don't cause errors in the main.c, yet they cant be found for a build.
Thanks.
Martin,
Not sure what the issue is, so I just copied the blinky example out of the Keil area, and deleted all their unique files and added my own. That seems to compile.
I gather that maybe the new project wizard does not include all the files you need or something, or configure the paths properly.
Thanks, C
Does your project have all the appropiate include paths?
Check in options for target/ c/c++ tab