creating your own libraries?

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

creating your own libraries?

Post by yzoer »

Howdy!

Has anyone here built their own libraries / modules? What's the easiest / most straightforward way to do this? Looking at the (old) XDK there doesn't really seem to be an option to just build one..

Thoughts?

-Yvo


yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

Post by yzoer »

Bump. Anyone done this before?
richard
Respected Member
Posts: 318
Joined: Tue Dec 15, 2009 12:46 am

Post by richard »

When you mention modules are you referring to the modules used by the XMOS Makefile system? In that case there are some templates here and some documentation here. There is also an option in the xTIMEcomposer to create modules - select File -> New -> xTIMEcomposer project and then chose "Create a new module based project".

There's some documentation on using the XMOS makefiles to create binary libraries here.
yzoer
XCore Addict
Posts: 133
Joined: Tue Dec 15, 2009 10:23 pm

Post by yzoer »

I mean being able to stick part of my code into a library that other people can just link with. I tried making a new project with the 'create a module based project' ( on 11.xx version, not the xtime composer) that but gave me a bunch of errors..

I'll have a look at the template tonight..

Thanks!

-Yvo