Looking for an expert programmer
-
- Junior Member
- Posts: 6
- Joined: Sun Jan 12, 2025 3:31 am
Looking for an expert programmer
Hi, I am currently working with a Xu316 chip, on an audio project. I got some examples running but I am getting lost when on how to add libraries, the i2S and USB ones. I am looking for someone expert to teach me.Thanks
-
Verified
- XCore Legend
- Posts: 1210
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Adding a library to your project should be easy, assuming you're using the cmake based build system (xcommon-cmake)
Add the following to the application CMakeLists.txt
set(APP_DEPENDENT_MODULES "lib_i2s" "lib_xud")
Application notes are a pretty good start for projects.
Add the following to the application CMakeLists.txt
set(APP_DEPENDENT_MODULES "lib_i2s" "lib_xud")
Application notes are a pretty good start for projects.
Technical Director @ XMOS. Opinions expressed are my own
-
- Junior Member
- Posts: 6
- Joined: Sun Jan 12, 2025 3:31 am
Hi Ross, thanks! I've got the basic example working, and running on my board!
Would you be so kind in giving me step by step recipy to add the libraries. I have downloaded them, but I am not sure were to copy the files.
Thanks! in advance
Would you be so kind in giving me step by step recipy to add the libraries. I have downloaded them, but I am not sure were to copy the files.
Thanks! in advance
-
Verified
- XCore Legend
- Posts: 1210
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Which basic example?
Technical Director @ XMOS. Opinions expressed are my own
-
- Junior Member
- Posts: 6
- Joined: Sun Jan 12, 2025 3:31 am
the one "ExampleXCommonCMake"
-
Verified
- XCore Legend
- Posts: 1210
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Are you trying to produce a usb audio device? If so a different starting place would be better
If not, add the line I provided to the cmakelists.txt file. The libs will be downloaded to the correct place on the next build.
If not, add the line I provided to the cmakelists.txt file. The libs will be downloaded to the correct place on the next build.
Technical Director @ XMOS. Opinions expressed are my own
-
- Junior Member
- Posts: 6
- Joined: Sun Jan 12, 2025 3:31 am
Thanks I will try it and let you know. Were would you start?