Add support for FS-BB48

This commit is contained in:
NIIBE Yutaka
2016-04-18 11:46:14 +09:00
parent 92e17d3bdf
commit 82749ab97a
17 changed files with 2403 additions and 16 deletions

31
example-fs-bb48/Makefile Normal file
View File

@@ -0,0 +1,31 @@
# Makefile for example application of Chopstx
PROJECT = sample
### Currently, it's for FS-BB48.
CHOPSTX = ..
LDSCRIPT= sample.ld
CSRC = sample.c reset.c usb_kl27z.c usb-cdc.c
###################################
CROSS = arm-none-eabi-
CC = $(CROSS)gcc
LD = $(CROSS)gcc
OBJCOPY = $(CROSS)objcopy
MCU = cortex-m0plus
CWARN = -Wall -Wextra -Wstrict-prototypes
DEFS = -DMAKE_ENTRY_PUBLIC -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
distclean: clean
rm -f board.h