Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use STM32 library and Keil ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Activity points
9,442
Friends,

I tried to compile STM32 Peripheral library but got this error :
..\User\stm32f10x_conf.h(49): error: #5: cannot open source input file "misc.h": No such file or directory

I don't understand since I put "misc.h" already in the directory, could you help me telling what's missing in here ?
Thanks

add library.jpg
 

Have all the files been added to the project window of the left, in the appropriate directory under Target1?

BigDog
 

Have all the files been added to the project window of the left, in the appropriate directory under Target1?

BigDog

Yes, they have, please have a look, may be I made something wrong :
stm32 misc2.jpg

Could you suggest me what to fix ?
Thanks
 

Zip and upload the entire project directory.

I'll take a look at it and hopefully sort it out here.

BigDog
 

Zip and upload the entire project directory.

I'll take a look at it and hopefully sort it out here.

BigDog
Ok, here's the entire directory, please have a look and help, thank you very much
 

Where is the uVision Project file?

What is the exact model of STM32 for which you are compiling the example?

BigDog
 

Where is the uVision Project file?

What is the exact model of STM32 for which you are compiling the example?

BigDog
it's inside "src" directory,"MDK-ARM" directory, I upload another one again to make it clear
The model of STM32, I'm compiling the example is STM32F103VCT

Can you see the code already ? thanks
 
Last edited:

Now I've found :
.\Object\blinker.axf: Error: L6218E: Undefined symbol assert_param (referred from misc.o)

What's wrong with it ? any of you guys have experience ? thanks
 
Last edited:

Horay, I've found the way :
Options-> C / C + + -> preprocessor Symboles the Define: Enter USE_STDPERIPH_DRIVER
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top