XK-EVK-XU316: accessing the GPIO Topic is solved

New to XMOS and XCore? Get started here.
Joe
Verified
Active Member
Posts: 59
Joined: Sun Dec 13, 2009 1:12 am

Post by Joe »

Can you try removing the square brackets text "[sw]" from the path and seeing if that helps? I have found some evidence this can cause issues on Linux. I know it's part of the root filename which we are going to address.
XMOS hardware grey beard.
View Solution
User avatar
HerbieSundiver
Member++
Posts: 17
Joined: Mon Dec 30, 2013 12:49 pm
Location: Germany

Post by HerbieSundiver »

Hi Ross,
thanks for your answer!
I try setting up a separate machine with win10 english to see if that helps :-)

On the linuxes I do not see why it does not see the libs but lets wait for the win10 machine.

I'll surely generate more questions ;-)

Best regards,
Sun
User avatar
HerbieSundiver
Member++
Posts: 17
Joined: Mon Dec 30, 2013 12:49 pm
Location: Germany

Post by HerbieSundiver »

Joe wrote: Thu May 09, 2024 5:29 pm Can you try removing the square brackets text "[sw]" from the path and seeing if that helps? I have found some evidence this can cause issues on Linux. I know it's part of the root filename which we are going to address.
solved!

Awesome!
Thanks so much Joe, that was the issue!
I'm strongly reminded of the old Xilinx Environments where blank spaces were not allowed and caused funny errors...

Ok then, I'll move on to actually code something :-)

Greets,
Sun
Joe
Verified
Active Member
Posts: 59
Joined: Sun Dec 13, 2009 1:12 am

Post by Joe »

Ah great! Thanks for confirming that fixes the issue. I also found that although having square brackets in path does build on windows it makes it more than 4x slower so seems problematic in many places. We're going to remove the square brackets from the zip file names.
XMOS hardware grey beard.
Kevin Jordan
Member++
Posts: 26
Joined: Fri May 22, 2020 5:52 pm

Post by Kevin Jordan »

Harold Barrel wrote: Tue May 07, 2024 2:41 pm Hello Sun, I feel you, getting started with this XMOS project isn't super easy.
My recommendation is to download the entire release package: https://github.com/xmos/sw_usb_audio/re ... _8.0.0.zip
It contains all the libraries that are needed as dependencies (which is what you're missing).

Another approach is to set up the libraries as git submodules, which is what I did. But try to compile from the zipped release first.
Harold, Thanks so much, this worked well for me. Getting each library separately was a giant pain in the ass, and it didn't work. This compiled binary xmakes fine in Ubuntu 22.04.4 LTS:

Code: Select all

kevin@server1:~/xmos/XMOS/XTC/15.2.1$ source SetEnv
kevin@server1:~/xmos/XMOS/XTC/15.2.1$ cd ~/xmos/sw_usb_audio_8.1.0/sw_usb_audio/
kevin@server1:~/xmos/sw_usb_audio_8.1.0/sw_usb_audio$ xmake all

FYI, here is the updated location for the release, for 8.1.0: https://github.com/xmos/sw_usb_audio/re ... _8.1.0.zip