Hi everybody,
I'll try to be straight cause I am pretty sure that this is an easy problem.
I am building an application that uses a module(m1) which uses another module(m2). As explained m1 uses some functions of m2 but how do I compile these so that they can "see" eachother? I tried to play with the "Project References" but with no luck.
Thank you in advance,
Dimitris
Module using module
-
- Active Member
- Posts: 37
- Joined: Tue Feb 19, 2013 5:07 pm
-
- Respected Member
- Posts: 279
- Joined: Fri Dec 11, 2009 1:34 pm
See Section 10 of the tools user guide for information on how to setup the Makefiles correctly: http://www.xmos.com/download/public/xTI ... 66A%29.pdf
You need to set the USED_MODULES parameter in the application Makefile to reference the used modules. This can be done via the Eclipse XMOS Makefile editor GUI or via a text editor.
You need to set the USED_MODULES parameter in the application Makefile to reference the used modules. This can be done via the Eclipse XMOS Makefile editor GUI or via a text editor.
-
- Active Member
- Posts: 37
- Joined: Tue Feb 19, 2013 5:07 pm
Andy thank you. I can't believe I have missed that part.