Jump to content


HW processes in multiple .c files


  • You cannot reply to this topic
2 replies to this topic

#1 Diego

    Member

  • Members
  • PipPip
  • 11 posts

Posted 21 June 2010 - 06:23 AM

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

#2 meix

    Advanced Member

  • Impulse Staff
  • PipPipPip
  • 32 posts

Posted 22 June 2010 - 01: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

#3 Diego

    Member

  • Members
  • PipPip
  • 11 posts

Posted 23 June 2010 - 08:03 AM

QUOTE (meix @ Jun 22 2010, 11:11 PM) <{POST_SNAPBACK}>
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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users