Is there a project template available?

New to XMOS and XCore? Get started here.
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Is there a project template available?

Post by andy-aic »

Hi,

I'm just getting started with the xcore.ai platform and I'm already struggling with setting up a first project. I saw that there are some examples in the xcore-iot repo, but I'm wondering what the best practices are for developing an actual project using the XMOS SDK.

I think an out-of-tree project where you have the XMOS SDK within as a submodule would probably work well, but again, I'm not sure what the suggested approach is to start a new project. I don't think I have seen anything related to starting new projects in the documentation.

Also related to that, I'm currently evaluating the platform for using the tfmicro runtime to run a speech enhancement model. Are there any tfmicro examples running on xcore.ai? I'm interested in learning how to place the weights on external flash and all of the basics to get a non-trivial model up-and-running on the dev board, taking advantage of multiple cores/tiles to get the most juice out of the processor.

I'll appreciate any tips. Thanks!
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

I've found several examples in different repos (xmos/ai_tools, xmos/sw_usb_audio), but none of them seem to be using the SDK available in the xmos/xcore_iot repo.

In fact the xcore_iot repo seems somewhat unmaintained? It looks like it hasn't seen any updates since September 2023. I also see the xmos/fwk_rtos repo which looks like it's being actively worked on.

I'm not sure what's the right way to move forward. It feels like things are moving forward and being developed but documentation isn't catching up.
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

I think I found something promising here: https://www.xcore.com/viewtopic.php?t=8429
User avatar
Ross
Verified
XCore Legend
Posts: 1047
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

andy-aic wrote: Thu Jul 04, 2024 2:45 pm I think I found something promising here: https://www.xcore.com/viewtopic.php?t=8429
This is the way we are moving, all application software from XMOS shall use this single build and dependency system and a similar structure. It's recognised that things have gotten a little disjointed over the last few years.

This will take some time I'm afraid, but we're moving in the right direction.
Technical Director @ XMOS. Opinions expressed are my own
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

Is there any word about the xcore-iot situation?