48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
Chopstx - Threads and only Threads
|
|
Version 0.04
|
|
2014-12-10
|
|
Niibe Yutaka
|
|
Flying Stone Technology
|
|
|
|
What's Chopstx?
|
|
===============
|
|
|
|
Chopstx is an RT thread library for ARM Cortex-M3, specifically,
|
|
STM32F103.
|
|
|
|
While most RTOSes come with many features, drivers, and stacks,
|
|
Chopstx just offers a RT thread library.
|
|
|
|
With Chopstx, interrupt handling is also done by a thread. This
|
|
enables coherent code for ease of maintenance.
|
|
|
|
|
|
License
|
|
=======
|
|
|
|
It is distributed under GNU General Public Licence version 3 or later
|
|
(GPLv3+), with additional permission. Please see COPYING and
|
|
EXCEPTION.
|
|
|
|
|
|
Example code
|
|
============
|
|
|
|
We have two examples in this distribution, LED blinker and
|
|
USB CDC-ACM function. You can build it like:
|
|
|
|
$ cd example-cdc
|
|
$ ln -s ../board/board-olimex-stm32-h103.h board.h
|
|
$ make
|
|
|
|
|
|
Future Works
|
|
============
|
|
|
|
We have a development branch for ARM Cortex-M0 and it works fine.
|
|
It will be merged into mainline.
|
|
|
|
Thread local storage and support of interface like poll/select would
|
|
be next thing to be done.
|
|
--
|