Jeremy Drake 5fe5ff36c4 Allow compile-time override of detected flash size.
On the STM32F103C8, as used in the "blue pill" boards, it has been
determined that, despite these only officially having 64KiB flash, it is
possible to actually use 128KiB of flash.

This commit allows for a preprocessor define
STM32F103_OVERRIDE_FLASH_SIZE which, when set, is used as the size of
flash in KiB instead of reading it from the FLASH_SIZE_REG.
2017-08-03 20:48:13 +09:00
2017-08-02 14:19:10 +09:00
2017-02-02 12:56:13 +09:00
2016-07-11 17:21:32 +09:00
2017-07-06 16:06:46 +09:00
2016-07-11 17:21:32 +09:00
2016-07-11 17:21:32 +09:00
2016-07-11 17:21:32 +09:00
2015-07-15 12:09:07 +09:00
2016-05-30 20:06:43 +09:00
2017-06-23 09:03:26 +09:00
2017-06-26 19:52:19 +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
2017-06-26 19:52:19 +09:00
2016-06-28 15:48:15 +09:00
2016-05-19 11:48:01 +09:00
2013-05-23 11:19:16 +09:00
2017-02-02 12:56:13 +09:00
2017-02-02 12:56:13 +09:00
2017-06-26 19:32:23 +09:00
2016-06-02 11:01:11 +09:00
2017-06-26 19:50:55 +09:00
2017-06-26 19:50:55 +09:00
2017-02-02 12:56:13 +09:00

Chopstx - Threads and only Threads
							 Version 1.3
							  2017-02-02
							Niibe Yutaka
					     Flying Stone Technology

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

Chopstx is an RT thread library for STM32F103 (ARM Cortex-M3),
STM32F030 (ARM Cortex-M0), and MKL27Z (ARM Cortex-M0plus).

While most RTOSes come with many features, drivers, and 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.


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 function.  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

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
============

Convenience function to determine the bottom of thread stack,
configuration of thread size by comiler'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%