New C library available

All the latest news and announcements from XCore and XMOS.
User avatar
Active Member
Posts: 55
Joined: Fri Mar 04, 2011 3:38 pm

New C library available

Post by xsamc »

We've been developing a pure C library to allow users to program xCORE devices directly from C.
The key features are:
  • Support for channel and streaming channels. This includes full interoperability with xC channels and the ability to write custom channel protocols
  • Support for ports and clock blocks
  • Support for timers
  • Support for events so that xC ‘select’ functionality can be implemented
  • Support for hardware locks
We'd love to hear what you think of it - it's available on GitHub, and a PDF of the documentation is attached to this post.

This library is a work in progress, and we hope to add more functionality to it in the coming months, including:
  • Interrupt handlers
  • Task spawning
  • Full worked examples
The current usage examples have been developed in the form of tests, and are all included as subfolders in the tests/ directory.

If you have any issues or feature requests, it's best to submit them via a GitHub Issue so that we can track them.

You do not have the required permissions to view the files attached to this post.
User avatar
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm

Post by Folknology »

Wow, well done guys this is really cool, I am going to have a play and see what it feels like in 'C'...

User avatar
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

Just a note that, due to forum permissions, non admins can't post to this thread. If this topic is of interest to others who wish to discuss it, please do not hesitate to create a new thread: