Add example-fsm-55.

This commit is contained in:
NIIBE Yutaka
2014-07-31 14:57:05 +09:00
parent f865e5149c
commit b05e4030d2
5 changed files with 1236 additions and 0 deletions

31
example-fsm-55/Makefile Normal file
View File

@@ -0,0 +1,31 @@
# Makefile for Hacker Emblem application of Chopstx
PROJECT = hacker-emblem
CHOPSTX = ..
LDSCRIPT= hacker-emblem.ld
CSRC = sys.c hacker-emblem.c
###################################
CROSS = arm-none-eabi-
CC = $(CROSS)gcc
LD = $(CROSS)gcc
OBJCOPY = $(CROSS)objcopy
MCU = cortex-m0 # -save-temps
CWARN = -Wall -Wextra -Wstrict-prototypes
DEFS = -DHAVE_SYS_H -DFREE_STANDING -DMHZ=48
OPT = -O3 -Os -g
LIBS =
####################
include ../rules.mk
board.h:
@echo Please make a symbolic link \'board.h\' to a file in ../board;
@exit 1
sys.c: board.h
distclean: clean
rm -f board.h