Skip to content
U2F firmware for Tomu board (+ chopstx port)
C Makefile C++ Objective-C Python Modula-3 Other
Branch: efm32
Clone or download
Pull request Compare This branch is 46 commits ahead, 121 commits behind Nitrokey:master.
xobs Merge pull request #8 from EdgarBarrantes/patch-1
Adds missing "git clone".
Latest commit 449b9e5 Dec 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
board Add support for Tomu board Oct 8, 2017
contrib Add adc-gnu-linux driver. Aug 2, 2017
doc Version 1.4. Aug 11, 2017
example-cdc-gnu-linux Use flash routines in example-cdc-gnu-linux. Sep 27, 2017
example-cdc Define threads stack size by stack-def.h. Sep 5, 2017
example-fraucheky Add EXAMPLE-README. Jul 6, 2017
example-fs-bb48 stackaddr/size change Jul 11, 2016
example-fsm-55 stackaddr/size change Jul 11, 2016
example-led stackaddr/size change Jul 11, 2016
example-primer2 Cleanup of sys and its macro May 31, 2016
example-tomu U2F port to EFM32 Oct 12, 2017
mcu Support toboot API 2.0 Apr 7, 2018
u2f
.gitignore Version 0.07 Jul 15, 2015
.travis.yml update Travis tests with the new defaults Aug 7, 2018
AUTHORS Allow compile-time override of detected flash size. Aug 3, 2017
COPYING Initial commit May 21, 2013
ChangeLog Fix sys for STM32F103. Sep 29, 2017
EXCEPTION update licence text May 23, 2013
NEWS Version 1.4. Aug 11, 2017
README Version 1.4. Aug 11, 2017
VERSION Version 1.4. Aug 11, 2017
adc.h USB cleanup May 30, 2016
chopstx-cortex-m.c Factor out arch dependent code. Jun 23, 2017
chopstx-cortex-m.h Factor out arch dependent code. Jun 23, 2017
chopstx-gnu-linux.c Fix for GNU/Linux emulation. Jun 26, 2017
chopstx-gnu-linux.h Fix for GNU/Linux emulation. Jun 26, 2017
chopstx.c Factor out arch dependent code. Jun 23, 2017
chopstx.h Fix for GNU/Linux emulation. Jun 26, 2017
chopstx.png Initial commit May 21, 2013
chopstx.svg Initial commit May 21, 2013
entry.c Fix for GNU/Linux emulation. Jun 26, 2017
eventflag.c chopstx_poll change Jun 28, 2016
eventflag.h eventflag API addtiion May 19, 2016
rules.mk Support emulation on GNU/Linux. Jun 26, 2017
sys.h Add support for Tomu board Oct 8, 2017
usb_lld.h USB and ADC drivers, USB-CDC example Oct 8, 2017
usb_lld_driver.h

README

Chopstx - Threads and only Threads
							 Version 1.4
							  2017-08-11
							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
emulation on GNU/Linux.

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.
-- 
You can’t perform that action at this time.