Hello,
It's my first time discovering XMOS device.
I went directly for lib_xcore and full C (it seems to be the future of the SDK ?).
I was wondering if I have a way in C to select tile for running my code (I want to access specific port/GPIO)
or if I still have to use an XC main to dispatch the job to different tiles ?
Thanks a lot,
Selecting tiles using only C Topic is solved
-
- New User
- Posts: 2
- Joined: Wed Oct 04, 2023 3:47 pm
-
- XCore Expert
- Posts: 944
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
My advice would be to use an xc main to make calls to your c functions/tasks. Even if its just:
Code: Select all
main()
{
par
{
on tile[0]: tile0_tasks();
on tile[1]: tile1_tasks();
}
}
-
- New User
- Posts: 2
- Joined: Wed Oct 04, 2023 3:47 pm
I'll do that then.
Thanks a lot :)
Thanks a lot :)