summaryrefslogtreecommitdiff
path: root/code/ecp/Makefile.fe310
blob: aae779325cdda4bff220c616f9283659eb2cc225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
platform=fe310

htable=
vconn=vconn
rbuf_obj=

FE310_HOME = /opt/my/freedom-e-sdk

CC = $(FE310_HOME)/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-gcc
AR = $(FE310_HOME)/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-ar

CFLAGS_PL = -DECP_WITH_VCONN=1 -DECP_DEBUG=1 -O3 -fno-builtin-printf -march=rv32imac -mabi=ilp32 -mcmodel=medany -I$(FE310_HOME)/bsp/include -I$(FE310_HOME)/bsp/drivers -I$(FE310_HOME)/bsp/env -I$(FE310_HOME)/bsp/env/freedom-e300-hifive1
# LDFLAGS_PL=-lm -pthread