2014-04-28 08:45 AM
Hi guys!
I have a problem in creating a project with STM32F030.I use CMSIS library to create a project with STM32F030, but it have some mistake.I added all driver, startup, system libariy files but nothing change.In other hand, I create a project with STM32F103 with this way, no mistake and I build successfully.What happened to my project with STM32F030??I'm looking forward to your answers.Thank u very much.P/S: I download STM32F0xx libraries in some sources, but it have no core_m0.c file. #understand-your-tools #ask-better-questions2014-04-28 10:09 AM
And you're using what tool chain?
Can you use/review any of the template/example projects in the firmware library package?2014-04-28 06:05 PM
2014-04-28 07:42 PM
So Keil uv5, and perhaps you haven't configured the Include paths within the project.
2014-04-29 05:24 PM
Thank for your help!
I fixed this mistake.As u said, I miss a driver library, so some fault happened.When I add all driver source file, no mistake occur.2014-08-28 03:39 AM
Hello, could you please tell me what driver file you missed out that caused the error? Thanks
2014-08-28 08:21 AM
Hello, could you please tell me what driver file you missed out that caused the error?
Please try to provide SOME detail in your post about exactly what you're doing, with what, and what you're seeing? ST provides Example and Template projects that contain all the pieces you need. You need to add all firmware library files to provide the functions you USE, and complete the linkage. You have to provide the compiler with a list of include file paths so it knows where to look when you #include things. You have to have specific defines that reflect the system and options from the library you expect to be using.