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!!
Using-XMOS-makefiles-to-create-binary-libraries
-
- Junior Member
- Posts: 7
- Joined: Sat Mar 12, 2016 10:08 am
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Hi.
For your example, goto Github -> select the green button to Clone or Download (top right side of the page).
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
For your example, goto Github -> select the green button to Clone or Download (top right side of the page).
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
-
- Junior Member
- Posts: 7
- Joined: Sat Mar 12, 2016 10:08 am
Thank you for your reply!It gave me a lot of help and now I have solved it.Thank you very much!