#including 3rd party projects as libraries/modules

New to XMOS and XCore? Get started here.
JohnRobert
Active Member
Posts: 34
Joined: Fri Nov 02, 2012 8:10 am

#including 3rd party projects as libraries/modules

Postby JohnRobert » Mon Feb 11, 2013 6:26 am

G'day,

I was wondering how I might be able to include other projects as a library/module, for example..

Code: Select all

#include <platform.h>
#include <XUart.h>

out port TX = XS1_PORT_1B;
out port RX = XS1_PORT_1C;

void main(){

}
Take note to XUart.h... This is another project in my Eclipse/xTimeComposer workspace. How could I make XUart a library/module?

Thanks for the help.

-John
User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm

Postby Folknology » Mon Feb 11, 2013 9:36 am

Jonh take a look at the Xcore template on github, this is a good place to start.

regards
Al
JohnRobert
Active Member
Posts: 34
Joined: Fri Nov 02, 2012 8:10 am

Postby JohnRobert » Mon Feb 11, 2013 9:54 am

Ahh, thank you very much - this is brilliant!

Who is online

Users browsing this forum: No registered users and 3 guests