Go! Go! LifeGame
C Perl C++ ATS Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
board
doc
example-cdc
example-fsm-55-ats
example-fsm-55
example-led
metasepi
.gitignore
.travis.yml
COPYING
ChangeLog
EXCEPTION
GNUmakefile
NEWS
README
README.md
chopstx.c
chopstx.h
chopstx.png
chopstx.svg
entry.c
eventflag.c
eventflag.h
rules.mk

README.md

ATS programing on Chopstx Build Status

What is Chopstx

See original README and original git repository.

Hardware specification

  • MCU: STM32F030F4P6
  • Flash ROM: 16kB
  • SRAM: 4kB
  • Battery: CR2032
  • External port K1: PF0 (GPIO, connected to USER button), PF1 (GPIO), GND
  • External port K2: PB1 (GPIO/TIMER/ADC), GND, VDD
  • PCB design (kicad)

You can buy it at Seeedstudio, or make your own FSM-55 board on PCB.

Setup build environment

Debian GNU/Linux

T.B.D.

Windows

T.B.D.

Mac OS X

T.B.D.

  1. Install Xcode.
  2. Install Homebrew.
  3. Download ATS2 (ATS/Postiats), and build it.
$ brew install ats2-postiats
  1. Install OpenOCD.
$ brew install openocd
  1. Install GNU Tools for ARM Embedded Processors.
$ cd /usr/local
$ sudo tar xf ~/Downloads/gcc-arm-none-eabi-4_9-2014q4-20141203-mac.tar.bz2 
$ export PATH=$PATH:/usr/local/gcc-arm-none-eabi-4_9-2014q4/bin

How to build

$ git clone https://github.com/fpiot/chopstx-ats.git
$ cd chopstx-ats/example-fsm-55-ats
$ make

How to write firmware

Connect FSM-55 board and debugger. See following for detail.

$ cd chopstx-ats/example-fsm-55-ats
$ sudo make write

How to connect FSM-55 board and debugger

STMicroelectronics - ST-LINK/V2

BAITE - ST-LINK V2

License

Under "metasepi" directory

Copyright (c) 2014 Metasepi team.

It is distributed under GNU General Public Licence version 2 or later (GPLv2+). Please see "metasepi/COPYING".

The others

Copyright (c) 2013 Flying Stone Technology.

It is distributed under GNU General Public Licence version 3 or later (GPLv3+), with additional permission. Please see "COPYING" and "EXCEPTION".