[PATCH 5/5] bsp/riscv: Add NOEL-V configuration files

Daniel Cederman cederman at gaisler.com
Thu Jul 14 08:00:03 UTC 2022


From: Martin Aberg <maberg at gaisler.com>

---
 bsps/riscv/noel/config/noel32im.cfg     | 9 +++++++++
 bsps/riscv/noel/config/noel32imafd.cfg  | 9 +++++++++
 bsps/riscv/noel/config/noel64imac.cfg   | 9 +++++++++
 bsps/riscv/noel/config/noel64imafd.cfg  | 9 +++++++++
 bsps/riscv/noel/config/noel64imafdc.cfg | 9 +++++++++
 5 files changed, 45 insertions(+)
 create mode 100644 bsps/riscv/noel/config/noel32im.cfg
 create mode 100644 bsps/riscv/noel/config/noel32imafd.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imac.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imafd.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imafdc.cfg

diff --git a/bsps/riscv/noel/config/noel32im.cfg b/bsps/riscv/noel/config/noel32im.cfg
new file mode 100644
index 0000000000..46dfdad09c
--- /dev/null
+++ b/bsps/riscv/noel/config/noel32im.cfg
@@ -0,0 +1,9 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv32im -mabi=ilp32
+
+LDFLAGS = -Wl,--gc-sections
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/noel/config/noel32imafd.cfg b/bsps/riscv/noel/config/noel32imafd.cfg
new file mode 100644
index 0000000000..471f5ee2a6
--- /dev/null
+++ b/bsps/riscv/noel/config/noel32imafd.cfg
@@ -0,0 +1,9 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv32imafd -mabi=ilp32d
+
+LDFLAGS = -Wl,--gc-sections
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/noel/config/noel64imac.cfg b/bsps/riscv/noel/config/noel64imac.cfg
new file mode 100644
index 0000000000..e5df5995ac
--- /dev/null
+++ b/bsps/riscv/noel/config/noel64imac.cfg
@@ -0,0 +1,9 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv64imac -mabi=lp64
+
+LDFLAGS = -Wl,--gc-sections
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/noel/config/noel64imafd.cfg b/bsps/riscv/noel/config/noel64imafd.cfg
new file mode 100644
index 0000000000..29324a1edd
--- /dev/null
+++ b/bsps/riscv/noel/config/noel64imafd.cfg
@@ -0,0 +1,9 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv64imafd -mabi=lp64d
+
+LDFLAGS = -Wl,--gc-sections
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
diff --git a/bsps/riscv/noel/config/noel64imafdc.cfg b/bsps/riscv/noel/config/noel64imafdc.cfg
new file mode 100644
index 0000000000..09caf7adbf
--- /dev/null
+++ b/bsps/riscv/noel/config/noel64imafdc.cfg
@@ -0,0 +1,9 @@
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = riscv
+
+CPU_CFLAGS = -march=rv64imafdc -mabi=lp64d
+
+LDFLAGS = -Wl,--gc-sections
+
+CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
-- 
2.34.1



More information about the devel mailing list