Version 0.09

This commit is contained in:
NIIBE Yutaka
2015-09-10 20:22:32 +09:00
parent acd4460a6e
commit 14ad395523
7 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +1,10 @@
2015-09-10 Niibe Yutaka <gniibe@fsij.org>
* VERSION: 0.09.
* doc/chopstx.texi (VERSION): 0.09.
* chopstx.c (chx_release_irq_thread): Rename.
2015-09-09 Niibe Yutaka <gniibe@fsij.org> 2015-09-09 Niibe Yutaka <gniibe@fsij.org>
* example-cdc/usb-cdc.c (usb_cb_ctrl_write_finish): Distinguish * example-cdc/usb-cdc.c (usb_cb_ctrl_write_finish): Distinguish

2
NEWS
View File

@@ -3,7 +3,7 @@ NEWS - Noteworthy changes
* Major changes in Chopstx 0.09 * Major changes in Chopstx 0.09
Released 2015-09-?? Released 2015-09-10
** New board support: Nitrokey-Start ** New board support: Nitrokey-Start
It is contributed by Mateusz Zalega. It is contributed by Mateusz Zalega.

13
README
View File

@@ -1,6 +1,6 @@
Chopstx - Threads and only Threads Chopstx - Threads and only Threads
Version 0.08 Version 0.09
2015-07-31 2015-09-10
Niibe Yutaka Niibe Yutaka
Flying Stone Technology Flying Stone Technology
@@ -28,16 +28,19 @@ EXCEPTION.
Example code Example code
============ ============
We have two examples in this distribution, LED blinker and We have some examples in this distribution; Useful ones are LED
USB CDC-ACM function. You can build it like: blinker and USB CDC-ACM function. For STM32F103, you can build it
USB CDC-ACM demo by:
$ cd example-cdc $ cd example-cdc
$ ln -s ../board/board-olimex-stm32-h103.h board.h $ ln -sf ../board/board-olimex-stm32-h103.h board.h
$ make $ make
For a specific board named FSM-55, an example of LED matrix dynamic For a specific board named FSM-55, an example of LED matrix dynamic
driver is provided. See the directory: example-fsm-55. driver is provided. See the directory: example-fsm-55.
For STM32 Primer2, see the directory: example-primer2.
Future Works Future Works
============ ============

View File

@@ -1 +1 @@
release/0.08 release/0.09

View File

@@ -1155,7 +1155,7 @@ chopstx_release_irq (chopstx_intr_t *intr0)
static void static void
chopstx_release_irq_thread (struct chx_thread *tp) chx_release_irq_thread (struct chx_thread *tp)
{ {
chopstx_intr_t *intr, *intr_prev; chopstx_intr_t *intr, *intr_prev;
@@ -1274,7 +1274,7 @@ chopstx_exit (void *retval)
chx_cpu_sched_unlock (); chx_cpu_sched_unlock ();
} }
chopstx_release_irq_thread (running); chx_release_irq_thread (running);
chx_exit (retval); chx_exit (retval);
} }

View File

@@ -118,6 +118,8 @@ enum {
void chopstx_cancel (chopstx_t thd); void chopstx_cancel (chopstx_t thd);
void chopstx_testcancel (void); void chopstx_testcancel (void);
/* NOTE: This signature is different to PTHREAD's one. */
int chopstx_setcancelstate (int); int chopstx_setcancelstate (int);
struct chx_cleanup { struct chx_cleanup {

View File

@@ -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 0.08 @set VERSION 0.09
@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
@@ -11,7 +11,7 @@
This manual is for Chopstx (version @value{VERSION}). This manual is for Chopstx (version @value{VERSION}).
@noindent @noindent
Copyright @copyright{} 2013 Flying Stone Technology @* Copyright @copyright{} 2013, 2015 Flying Stone Technology @*
@quotation @quotation
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
@@ -83,8 +83,8 @@ Indexes
@node Introduction @node Introduction
@chapter Introduction @chapter Introduction
Chopstx is an RT thread library for ARM Cortex-M3, specifically, Chopstx is an RT thread library for ARM Cortex-M0 and Cortex-M3.
STM32F103. Specifically, it is used for STM32F030 and STM32F103.
While most RTOSes come with many features, drivers, and stacks, While most RTOSes come with many features, drivers, and stacks,
Chopstx just offers a RT thread library. Chopstx just offers a RT thread library.