NIIBE Yutaka 3507027e98 Fix EP0 receiving more packets.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-12-20 08:30:49 +09:00
2019-12-03 13:30:42 +09:00
2019-11-20 11:32:27 +09:00
2019-12-20 08:30:49 +09:00
2015-07-15 12:09:07 +09:00
2018-01-30 13:52:09 +09:00
2016-05-30 20:06:43 +09:00
2019-05-22 08:25:10 +09:00
2019-12-03 13:27:16 +09:00
2019-12-03 13:27:16 +09:00
2019-12-03 13:15:56 +09:00
2013-05-21 15:16:59 +09:00
2013-05-21 15:16:59 +09:00
2013-05-21 15:16:59 +09:00
2019-12-03 13:27:16 +09:00
2019-11-18 08:25:56 +09:00
2019-12-03 13:27:16 +09:00
2019-03-26 18:18:39 +09:00
2019-03-26 18:18:39 +09:00
2019-11-20 11:32:27 +09:00
2019-12-03 13:47:55 +09:00
2019-04-11 15:34:57 +09:00
2017-06-26 19:50:55 +09:00
2019-04-18 17:12:41 +09:00
2019-11-20 11:32:27 +09:00

Chopstx - Threads and only Threads
							Version 1.17
							  2019-11-20
							Niibe Yutaka
					     Flying Stone Technology

What's Chopstx?
===============

Chopstx is an RT thread library for STM32F103 and GD32F103 (ARM
Cortex-M3), STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus),
STM32L432 (ARM Cortex-M4), and emulation on GNU/Linux.

While most RTOSes come with many features, drivers, and protocol
stacks, Chopstx just offers a simple RT thread library.

With Chopstx, interrupt handling is also done by a thread.  This
enables coherent code for ease of maintenance.

While threads are important, we don't need more threads than
necessary.  Chopstx provides a feature of poll, so that we can
handle multiple events by a single thread.


Note that this library is _not_ related to the hand game:

    https://en.wikipedia.org/wiki/Chopsticks_(hand_game)

Thanks to Yao Wei and Enrico Zini for giving me an opportunity
visiting the wiki page above, when my children were playing the game.


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 some examples in this distribution; Useful ones are LED
blinker and USB CDC-ACM device.  For STM32F103, you can build it USB
CDC-ACM demo by:

   $ cd example-cdc
   $ ln -sf ../board/board-olimex-stm32-h103.h board.h
   $ make

If you want to try GD32F103, Add -DMHZ=96 to DEFS in Makefile.

For a specific board named FSM-55, an example of LED matrix dynamic
driver is provided.  See the directory: example-fsm-55.

For STM32 Primer2, see the directory: example-primer2.


Future Works
============

RISC-V port (for GD32VF103) is under development.

Convenience function to determine the bottom of thread stack,
configuration of thread size by compiler's output would be next things
to be done.

Experimental SMP port for Cortex-A7 is under development.  For SMP,
more careful considerations for shared access to objects of struct
chx_pq is needed.  So, modifications required will not be small.
-- 
Description
No description provided
Readme 1.1 MiB
Languages
C 96.3%
Makefile 1.5%
M4 0.9%
Modula-3 0.7%
HTML 0.5%