Initial commit: Loongson FPGA SoC project for 2026 CIC-IEC

This commit is contained in:
2026-06-23 01:22:45 +08:00
commit fbc993b846
181 changed files with 51135 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
TARGET = dhrystone
CFLAGS += -O3 -g -G8 -DTIME -DNumber_Of_Runs=1
#根据SIMU宏选择串口波特率,0:FPGA上板;1:仿真
CFLAGS += -DSIMU=0
C_SRCS := $(wildcard ./*.c )
INCLUDES := -I.
OBJDIR = obj
COMMON_DIR = ../../bsp
GCC_DIR=../../../toolchains/loongson-gnu-toolchain-8.3-x86_64-loongarch32r-linux-gnusf-v2.0
PICOLIBC_DIR=../../../toolchains/picolibc
include ../../bsp/common.mk