IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HW processes in multiple .c files
Diego
post Jun 21 2010, 06:23 AM
Post #1


Member
**

Group: Members
Posts: 10
Joined: 1-December 09
Member No.: 2,555



Hi,

Is it possible to split the source in multiple .c HW files?

I've written each HW processes in one different file and declared them as external in the file with the config function without success.

Thanks in advance,

Diego
Go to the top of the page
 
+Quote Post
meix
post Jun 22 2010, 01:11 PM
Post #2


Advanced Member
***

Group: Impulse Staff
Posts: 32
Joined: 7-May 07
Member No.: 1,338



Hi Diego,

Yes, you can split hardware processes into multiple _hw.c files. Putting the function declaration in a header file, and including the header file in the hardware configuration _hw.c will make it work.

Thanks,

meix
Go to the top of the page
 
+Quote Post
Diego
post Jun 23 2010, 08:03 AM
Post #3


Member
**

Group: Members
Posts: 10
Joined: 1-December 09
Member No.: 2,555



QUOTE (meix @ Jun 22 2010, 11:11 PM) *
Hi Diego,

Yes, you can split hardware processes into multiple _hw.c files. Putting the function declaration in a header file, and including the header file in the hardware configuration _hw.c will make it work.

Thanks,

meix


Thank you very much. I don't know exactly what I was doing wrong. All working now wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 10th September 2010 - 10:50 AM