tinyriscv/sdk/examples/FreeRTOS/Demo/tinyriscv_GCC/Makefile

28 lines
573 B
Makefile

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 +=
INCLUDES += -I. -I../../Source/portable/RISC-V -I../../Source/include -I../../../../bsp
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 \
BSP_DIR = ../../../../bsp
include ../../../../bsp/bsp.mk