Using-XMOS-makefiles-to-create-binary-libraries

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
dengzicheng
Junior Member
Posts: 4
Joined: Sat Mar 12, 2016 10:08 am

Using-XMOS-makefiles-to-create-binary-libraries

Postby dengzicheng » Wed Feb 28, 2018 1:21 pm

I want to use XMOS makefiles to create binary libraries.I refer to the following case.
https://github.com/xcore/sc_lib_example

But I do not know how to compile this program.How can I generate a library file and how do I call it.
I refer to the following documents, but the description is too simple, I failed.
https://www.xmos.com/download/private/U ... 54A%29.pdf
Who can give me some advices?Thank you!!
User avatar
mon2
XCore Legend
Posts: 1218
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Wed Feb 28, 2018 11:50 pm

Hi.

For your example, goto Github -> select the green button to Clone or Download (top right side of the page).

Image

1) Launch xtimecomposer tool -> start with a fresh workspace for this testing

2) File -> New -> xtimecomposer project -> select a target kit or checkbox for Show Devices in target selection (so you can select the exact XMOS CPU) -> enter a project name

3) File -> Import -> archive file -> browse -> select the github download from above which is a .zip file

4) Finish.

5) Project -> Clean -> Build project.

Here is the result we see after following the above procedure:

the .xe file is the binary file used by xtimecomposer / xflash tools to reflash the code for your XMOS CPU



Image
dengzicheng
Junior Member
Posts: 4
Joined: Sat Mar 12, 2016 10:08 am

Postby dengzicheng » Thu Mar 01, 2018 6:59 am

Thank you for your reply!It gave me a lot of help and now I have solved it.Thank you very much!

Who is online

Users browsing this forum: No registered users and 17 guests