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.

[General] Undefined symbols in Keil

Status
Not open for further replies.

uplifting_mind

Newbie level 6
Newbie level 6
Joined
May 7, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Slovakia
Visit site
Activity points
1,359
Hello,
I´m trying to build project with Rx and Tx interrupts from USART for STM32F10x. For Tx is used fifo buffer as a structure. During building this project, I obtained a following errors messages on the picture bellow. Notice that periph_init.h is included in both main.c and stdio_through_usart.c, where this symbols are using.
Where is a problem?

Snímka.JPG
 

Have you defined these variables in your source file, or these are just extern declarations? I think you should define the variables in the source file to overcome the error.
 

You are right, it working. But this variables must be realy declared in both of this files? There are no directives for situation, when I want to have this declarations only in header file?
 

A variable must be defined.

You declare it as an extern variable to use it in another file.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top