implicit function declaration Warnings

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

In my Project i have 41 input output pins use. I am use there function read pin and write pin in my two functions . but implicit function declaration Warnings

   

i am not add pin.h it every odd to add every pin.h in my function .

   

 

   

Any other solution please tell me

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

i am not add pin.h

   

If that means that you haven't included the needed .h files for your GPIO-pins the error is quite obvious.

   

.h files do not use flash or sram, you do not need to remove them from your project. As a general rule of thumb: Do not touch the generated sources at all. No need to change anything, no need to step through.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

No i am not change the gerenated source file. in my particular function i am not use pin.h 

   

for example 

   

i made add  driver abc.h and abc. c

   

in this abc.c i am using pins  so here i did not add pin.h

   

could it be possible ?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

#include <project.h> into your self-written abc.h

   

 

   

Bob

0 Likes
Anonymous
Not applicable

yes I have add it but warnings comes 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

i am slove out that problem thanks Bob its my mistake

0 Likes