![]() ![]() |
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 |
|
|
|
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 |
|
|
|
Jun 23 2010, 08:03 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Members Posts: 10 Joined: 1-December 09 Member No.: 2,555 |
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 |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 10th September 2010 - 10:50 AM |