From 802dbbd639f0f85969724b24ab5100c6e44e6b9d Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 9 May 2018 12:29:52 +0900 Subject: [PATCH] Version 1.9. --- ChangeLog | 7 ++++++- README | 10 ++++++---- VERSION | 2 +- doc/chopstx.texi | 10 ++++++++-- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4d0b44..96bbd5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ +2018-05-09 NIIBE Yutaka + + * VERSION: 1.9. + * doc/chopstx.texi (VERSION): 1.9. + 2018-05-08 NIIBE Yutaka * board/board-blue-pill.h (GPIO_USB_SET_TO_ENABLE): Remove. - * doc/chopstx.texi (Compile-time macro): Add chapter. + * doc/chopstx.texi (Compile-time macro): New chapter. * mcu/sys-stm32f103.c (usb_lld_sys_init): Use MHZ. (flash_protect): Fix for GD32F103. diff --git a/README b/README index 6463a80..3b2c7af 100644 --- a/README +++ b/README @@ -1,14 +1,14 @@ Chopstx - Threads and only Threads - Version 1.8 - 2018-01-19 + Version 1.9 + 2018-05-09 Niibe Yutaka Flying Stone Technology What's Chopstx? =============== -Chopstx is an RT thread library for STM32F103 (ARM Cortex-M3), -STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus), and +Chopstx is an RT thread library for STM32F103 and GD32F103 (ARM +Cortex-M3), STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus), and emulation on GNU/Linux. While most RTOSes come with many features, drivers, and protocol @@ -49,6 +49,8 @@ CDC-ACM demo by: $ 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. diff --git a/VERSION b/VERSION index 4c7c5a7..b6f2fe9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -release/1.8 +release/1.9 diff --git a/doc/chopstx.texi b/doc/chopstx.texi index 11167ec..1a3ec81 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 1.8 +@set VERSION 1.9 @settitle Chopstx Reference Manual @c Unify some of the indices. @syncodeindex tp fn @@ -62,6 +62,7 @@ section entitled ``Copying''. * Threads and only Threads:: Threads and only Threads. * Poll or Pole:: Poll or Pole. * Note (Use of sleep mode):: Use it carefully. +* Compile-time macro:: Macro to be defined. * API:: API. Appendix @@ -88,7 +89,7 @@ Indexes Chopstx is an RT thread library for ARM Cortex-M0, Cortex-M0plus, Cortex-M3 and GNU/Linux emulation. Specifically, it is used for -STM32F030, MKL27Z, STM32F103 and as a command on GNU/Linux. +STM32F030, MKL27Z, STM32F103, GD32F103 and as a command on GNU/Linux. While most RTOSes come with many features, drivers, and stacks, Chopstx just offers an RT thread library. @@ -160,6 +161,11 @@ board with no RESET pin cannot be debugged by JTAG/SWD. @node Compile-time macro @chapter Compile-time macro +Compiling Chopstx, a macro MHZ should be supplied. + +For example, when using the makefile rule of chopstx/rules.mk, please +define the make variable DEFS with -DMHZ=72 before inclusion of the rule file. + @subheading MHZ @anchor{MHZ} @defmac {MHZ}