New C library available

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

New C library available

Postby xsamc » Thu Jun 02, 2016 8:34 am

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.

Cheers,
Sam
Attachments
lib_xcore_c_1.0.0rc1.pdf
(361.46 KiB) Downloaded 412 times
lib_xcore_c_1.0.0rc1.pdf
(361.46 KiB) Downloaded 412 times
User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm
Contact:

Postby Folknology » Fri Jun 03, 2016 9:08 am

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

regards
Al
User avatar
infiniteimprobability
XCore Legend
Posts: 1118
Joined: Thu May 27, 2010 10:08 am
Contact:

Postby infiniteimprobability » Mon Jun 06, 2016 3:15 pm

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: posting.php?mode=post&f=26

Who is online

Users browsing this forum: No registered users and 26 guests