Added hello world project

This commit is contained in:
2018-09-25 18:31:29 +02:00
parent 215767a724
commit 3512206d77
70 changed files with 4835 additions and 5 deletions

14
hello-world/Makefile Normal file
View File

@ -0,0 +1,14 @@
TARGET = hello
C_SRCS += $(wildcard *.c)
#CFLAGS += -O2
#-fno-builtin-printf
BOARD=freedom-e300-hifive1
LINK_TARGET=link
RISCV_ARCH=rv32imac
RISCV_ABI=ilp32
TOOL_DIR?=/opt/riscv/FreedomStudio/20180122/SiFive/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin
BSP_BASE = ./bsp
include $(BSP_BASE)/env/common.mk