We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I'm trying to use the STM32F10x_StdPeriph_Lib that I have downloaded from stm.com, my problem is how do I tell uVision that it shall not use the default file located a C:\Keil\ARM\INC\ST\. Or to put it in another words, how do I remove the compiler string “-I "C:\Keil\ARM\INC" ”
now I gets thees kinds of errors: C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error: #256: invalid redeclaration of type name "s32"
Best regards SPA
You mean, comment-out the line?
That will almost certainly prevent the project from building!
stm32f10x_type.h contains the "portable" type definitions like u8, s32, etc, which are used throughout the library - if you comment-out this header, they will all be undefined!