2020-04-25 08:57:57 +00:00
|
|
|
RISCV_ARCH := rv32im
|
|
|
|
RISCV_ABI := ilp32
|
|
|
|
RISCV_MCMODEL := medlow
|
|
|
|
|
|
|
|
|
|
|
|
TARGET = freertos
|
|
|
|
|
|
|
|
|
|
|
|
# RTL仿真时打开这行注释
|
|
|
|
#CFLAGS += -DSIMULATION
|
|
|
|
CFLAGS += -Os
|
|
|
|
ASM_SRCS := ../../Source/portable/RISC-V/portASM.S
|
|
|
|
#LDFLAGS +=
|
2020-11-08 14:09:38 +00:00
|
|
|
INCLUDES += -I. -I../../Source/portable/RISC-V -I../../Source/include -I../../../../bsp
|
2020-04-25 08:57:57 +00:00
|
|
|
|
|
|
|
C_SRCS := \
|
|
|
|
main.c \
|
|
|
|
./blinky_demo/main_blinky.c \
|
|
|
|
../../Source/list.c \
|
|
|
|
../../Source/tasks.c \
|
|
|
|
../../Source/queue.c \
|
|
|
|
../../Source/portable/MemMang/heap_1.c \
|
|
|
|
../../Source/portable/RISC-V/port.c \
|
|
|
|
|
|
|
|
|
2021-03-29 10:22:52 +00:00
|
|
|
BSP_DIR = ../../../../bsp
|
|
|
|
include ../../../../bsp/bsp.mk
|