Error Building xCore IoT Repo Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Jcvc
Member
Posts: 13
Joined: Wed May 07, 2025 11:13 pm

Error Building xCore IoT Repo

Post by Jcvc »

Hi,

I'm new to XMOS, so apologies if I make any newbie question!
So, I'm trying to build the https://github.com/xmos/xcore_iot so that I can play around with it a bit to better understand how freeRTOS is being integrated and used on XMOS, however I'm encountering the following error:
"C:\xmos\xcore_iot>cmake -G "NMake Makefiles" -B build -DCMAKE_TOOLCHAIN_FILE=xmos_cmake_toolchain/xs3a.cmake
CMake Error at CMakeLists.txt:9 (project):
Running

'nmake' '-?'

failed with:

no such file or directory


-- Configuring incomplete, errors occurred!
"

I've tried using the latest XTC tool version, 15.3.1 and because I've seen a ticket on https://www.xcore.com/viewtopic.php?p=4 ... iot#p41956, I've also attempted to run with 15.2.1, but both return the same error.

To provide some context to what I've done:
1- I've cloned the repo and all its submodules (all of the submodules cloned just fine)
2- I have the XTC tools installed and I've successfully been able to run the SW USB Audio application and make some minor modifications to it.

As when setting up the USB Audio application, all the steps were super smooth, I'm not sure if I'm making some newbie mistake or if there's a build failure on the repo? I'm assuming the repo is not deprecated.

Thanks! :)
View Solution
Jcvc
Member
Posts: 13
Joined: Wed May 07, 2025 11:13 pm

Post by Jcvc »

Hi,

Any confirmation on whether the repo is active and working fine would be great (and which branch) :) From there at least I'll know if I'm debugging some mistake on my end or not.

Thank you!
User avatar
upav
Verified
Member++
Posts: 29
Joined: Wed May 22, 2024 3:30 pm

Post by upav »

Hey, the error message looks like you might not have an nmake tool installed on your computer.
To address your other question: the repo is not active.. it's been unmaintained for a while

Depending on what you're looking for I can advise you on different starting points.
slv_voice - rtos-based voice dsp pipelines sdk
lib_xua/sw_usb_audio - bare-metal usb sdk
lib_audio_dsp - dsp generation tool

We also have many interesting application notes on your website, you can find a lot of cool things there :)

Cheers
Pavel
xmos software engineer
Jcvc
Member
Posts: 13
Joined: Wed May 07, 2025 11:13 pm

Post by Jcvc »

Thanks Pavel for the information :) Ok, I'll stay aware from the repo for now then whilst I ramp up my knowledge.

Yup, I've been already ramping up using both the audio and starter dev kit along with some of their examples & application notes. Still playing around with it a bit to get familiar with the code.
In terms of what I'm currently looking for, it's essentially USB Audio + CDC (I'll have to see how to integrate the CDC enumeration into the USB Audio application) and then having multiple I2S outputs/inputs with independent/dedicated BCLK/LRCLKs lines for each I2S channel. From what I'm seeing/learning, it should be something fairly simple to do once I'm more familiar with the framework, I'm going through the Application Notes AN124 & AN162, however if you think I should also look at others in specific, happy to go through them as well :) But overall, yup, there's enough information for me to get around and learn.

Thanks Pavel :)
User avatar
upav
Verified
Member++
Posts: 29
Joined: Wed May 22, 2024 3:30 pm

Post by upav »

I couldn't find what an162 is, but an124 should be a great start for you.
You can then pick up on sw_usb_audio and related appnotes

Hope xcore satisfies your requirements (sparkles emoji) ;)
Pavel
xmos software engineer