@@ -1,3 +1,9 @@
|
|||||||
|
2017-10-10 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* VERSION: 1.5.
|
||||||
|
* doc/chopstx.texi (VERSION): 1.5.
|
||||||
|
* doc/chopstx-api.texi: Regenerated.
|
||||||
|
|
||||||
2017-10-09 NIIBE Yutaka <gniibe@fsij.org>
|
2017-10-09 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* example-cdc-gnu-linux/sample.c (main): Support debug option.
|
* example-cdc-gnu-linux/sample.c (main): Support debug option.
|
||||||
|
|||||||
15
NEWS
15
NEWS
@@ -1,6 +1,21 @@
|
|||||||
NEWS - Noteworthy changes
|
NEWS - Noteworthy changes
|
||||||
|
|
||||||
|
|
||||||
|
* Major changes in Chopstx 1.5
|
||||||
|
|
||||||
|
Released 2017-10-10
|
||||||
|
|
||||||
|
** Stack size definition by stack-def.h
|
||||||
|
Stack size of each thread was used to be defined in ldscript.
|
||||||
|
While emulation on GNU/Linux doesn't use ldscript, it is better
|
||||||
|
to put those definitions in independent header file. Please see
|
||||||
|
example-cdc/stack-def.h and example-cdc/sample.ld.
|
||||||
|
|
||||||
|
** More support for emulation on GNU/Linux
|
||||||
|
We have SYS driver for emulation on GNU/Linux. It has flash ROM
|
||||||
|
emulation.
|
||||||
|
|
||||||
|
|
||||||
* Major changes in Chopstx 1.4
|
* Major changes in Chopstx 1.4
|
||||||
|
|
||||||
Released 2017-08-11
|
Released 2017-08-11
|
||||||
|
|||||||
21
README
21
README
@@ -1,6 +1,6 @@
|
|||||||
Chopstx - Threads and only Threads
|
Chopstx - Threads and only Threads
|
||||||
Version 1.4
|
Version 1.5
|
||||||
2017-08-11
|
2017-10-10
|
||||||
Niibe Yutaka
|
Niibe Yutaka
|
||||||
Flying Stone Technology
|
Flying Stone Technology
|
||||||
|
|
||||||
@@ -11,12 +11,19 @@ Chopstx is an RT thread library for STM32F103 (ARM Cortex-M3),
|
|||||||
STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus), and
|
STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus), and
|
||||||
emulation on GNU/Linux.
|
emulation on GNU/Linux.
|
||||||
|
|
||||||
While most RTOSes come with many features, drivers, and stacks,
|
While most RTOSes come with many features, drivers, and protocol
|
||||||
Chopstx just offers a simple RT thread library.
|
stacks, Chopstx just offers a simple RT thread library.
|
||||||
|
|
||||||
With Chopstx, interrupt handling is also done by a thread. This
|
With Chopstx, interrupt handling is also done by a thread. This
|
||||||
enables coherent code for ease of maintenance.
|
enables coherent code for ease of maintenance.
|
||||||
|
|
||||||
|
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 the opportunity
|
||||||
|
visiting the wiki page.
|
||||||
|
|
||||||
|
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
@@ -30,8 +37,8 @@ Example code
|
|||||||
============
|
============
|
||||||
|
|
||||||
We have some examples in this distribution; Useful ones are LED
|
We have some examples in this distribution; Useful ones are LED
|
||||||
blinker and USB CDC-ACM function. For STM32F103, you can build it
|
blinker and USB CDC-ACM device. For STM32F103, you can build it USB
|
||||||
USB CDC-ACM demo by:
|
CDC-ACM demo by:
|
||||||
|
|
||||||
$ cd example-cdc
|
$ cd example-cdc
|
||||||
$ ln -sf ../board/board-olimex-stm32-h103.h board.h
|
$ ln -sf ../board/board-olimex-stm32-h103.h board.h
|
||||||
@@ -47,7 +54,7 @@ Future Works
|
|||||||
============
|
============
|
||||||
|
|
||||||
Convenience function to determine the bottom of thread stack,
|
Convenience function to determine the bottom of thread stack,
|
||||||
configuration of thread size by comiler's output would be next things
|
configuration of thread size by compiler's output would be next things
|
||||||
to be done.
|
to be done.
|
||||||
|
|
||||||
Experimental SMP port for Cortex-A7 is under development. For SMP,
|
Experimental SMP port for Cortex-A7 is under development. For SMP,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ stop further execution of code. It never returns.
|
|||||||
|
|
||||||
@subheading chopstx_create
|
@subheading chopstx_create
|
||||||
@anchor{chopstx_create}
|
@anchor{chopstx_create}
|
||||||
@deftypefun {chopstx_t} {chopstx_create} (uint32_t @var{flags_and_prio}, uint32_t @var{stack_addr}, size_t @var{stack_size}, voidfunc @var{thread_entry}, void * @var{arg})
|
@deftypefun {chopstx_t} {chopstx_create} (uint32_t @var{flags_and_prio}, uintptr_t @var{stack_addr}, size_t @var{stack_size}, voidfunc @var{thread_entry}, void * @var{arg})
|
||||||
@var{flags_and_prio}: Flags and priority
|
@var{flags_and_prio}: Flags and priority
|
||||||
|
|
||||||
@var{stack_addr}: Stack address
|
@var{stack_addr}: Stack address
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
\input texinfo @c -*-texinfo-*-
|
\input texinfo @c -*-texinfo-*-
|
||||||
@c %**start of header
|
@c %**start of header
|
||||||
@setfilename chopstx.info
|
@setfilename chopstx.info
|
||||||
@set VERSION 1.4
|
@set VERSION 1.5
|
||||||
@settitle Chopstx Reference Manual
|
@settitle Chopstx Reference Manual
|
||||||
@c Unify some of the indices.
|
@c Unify some of the indices.
|
||||||
@syncodeindex tp fn
|
@syncodeindex tp fn
|
||||||
|
|||||||
Reference in New Issue
Block a user