New C library available

All the latest news and announcements from XCore and XMOS.
Post Reply
User avatar
xsamc
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.

Cheers,
Sam
Attachments
lib_xcore_c_1.0.0rc1.pdf
(361.46 KiB) Downloaded 1306 times
lib_xcore_c_1.0.0rc1.pdf
(361.46 KiB) Downloaded 1306 times


User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm
Contact:

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'...

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

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: http://www.xcore.com/forum/posting.php?mode=post&f=26
Post Reply