From 14ad39552361815e17ddf9764228a093489555f7 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Thu, 10 Sep 2015 20:22:32 +0900 Subject: Version 0.09 --- ChangeLog | 7 +++++++ NEWS | 2 +- README | 13 ++++++++----- VERSION | 2 +- chopstx.c | 4 ++-- chopstx.h | 2 ++ doc/chopstx.texi | 8 ++++---- 7 files changed, 25 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 711f8ae..dd2f6ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * example-cdc/usb-cdc.c (usb_cb_ctrl_write_finish): Distinguish diff --git a/NEWS b/NEWS index 580bafd..16b373f 100644 --- a/NEWS +++ b/NEWS @@ -3,7 +3,7 @@ NEWS - Noteworthy changes * Major changes in Chopstx 0.09 - Released 2015-09-?? + Released 2015-09-10 ** New board support: Nitrokey-Start It is contributed by Mateusz Zalega. diff --git a/README b/README index 5410be7..4535876 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ Chopstx - Threads and only Threads - Version 0.08 - 2015-07-31 + Version 0.09 + 2015-09-10 Niibe Yutaka Flying Stone Technology @@ -28,16 +28,19 @@ EXCEPTION. Example code ============ -We have two examples in this distribution, LED blinker and -USB CDC-ACM function. You can build it like: +We have some examples in this distribution; Useful ones are LED +blinker and USB CDC-ACM function. For STM32F103, you can build it +USB CDC-ACM demo by: $ cd example-cdc - $ ln -s ../board/board-olimex-stm32-h103.h board.h + $ ln -sf ../board/board-olimex-stm32-h103.h board.h $ make 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 ============ diff --git a/VERSION b/VERSION index 70acf27..650f03f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -release/0.08 +release/0.09 diff --git a/chopstx.c b/chopstx.c index 285f4e9..bf335bb 100644 --- a/chopstx.c +++ b/chopstx.c @@ -1155,7 +1155,7 @@ chopstx_release_irq (chopstx_intr_t *intr0) static void -chopstx_release_irq_thread (struct chx_thread *tp) +chx_release_irq_thread (struct chx_thread *tp) { chopstx_intr_t *intr, *intr_prev; @@ -1274,7 +1274,7 @@ chopstx_exit (void *retval) chx_cpu_sched_unlock (); } - chopstx_release_irq_thread (running); + chx_release_irq_thread (running); chx_exit (retval); } diff --git a/chopstx.h b/chopstx.h index 330593d..cc8ae46 100644 --- a/chopstx.h +++ b/chopstx.h @@ -118,6 +118,8 @@ enum { void chopstx_cancel (chopstx_t thd); void chopstx_testcancel (void); + +/* NOTE: This signature is different to PTHREAD's one. */ int chopstx_setcancelstate (int); struct chx_cleanup { diff --git a/doc/chopstx.texi b/doc/chopstx.texi index 51ff22b..eb278b8 100644 --- a/doc/chopstx.texi +++ b/doc/chopstx.texi @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename chopstx.info -@set VERSION 0.08 +@set VERSION 0.09 @settitle Chopstx Reference Manual @c Unify some of the indices. @syncodeindex tp fn @@ -11,7 +11,7 @@ This manual is for Chopstx (version @value{VERSION}). @noindent -Copyright @copyright{} 2013 Flying Stone Technology @* +Copyright @copyright{} 2013, 2015 Flying Stone Technology @* @quotation Permission is granted to copy, distribute and/or modify this document @@ -83,8 +83,8 @@ Indexes @node Introduction @chapter Introduction -Chopstx is an RT thread library for ARM Cortex-M3, specifically, -STM32F103. +Chopstx is an RT thread library for ARM Cortex-M0 and Cortex-M3. +Specifically, it is used for STM32F030 and STM32F103. While most RTOSes come with many features, drivers, and stacks, Chopstx just offers a RT thread library. -- cgit v1.2.3