switch to RV32E

This commit is contained in:
marqs committed 2018-10-30 01:31:40 +02:00
1 parent f2405989e9
commit 76d69d19bf
11 files changed
+7449 -7534

No files matched your search

+4 -4
View File
@@ -112,10 +112,10 @@ SOPC_FILE := ../../sys.sopcinfo
#-------------------------------------------------------------------------------
# Archiver command. Creates library files.
AR = riscv64-unknown-elf-ar
AR = riscv32-unknown-elf-ar
# Assembler command. Note that CC is used for .S files.
AS = riscv64-unknown-elf-gcc
AS = riscv32-unknown-elf-gcc
# Custom flags only passed to the archiver. This content of this variable is
# directly passed to the archiver rather than the more standard "ARFLAGS". The
@@ -139,10 +139,10 @@ BSP_CFLAGS_OPTIMIZATION = -Os
BSP_CFLAGS_WARNINGS = -Wall
# C compiler command.
CC = riscv64-unknown-elf-gcc -xc
CC = riscv32-unknown-elf-gcc -xc
# C++ compiler command.
CXX = riscv64-unknown-elf-gcc -xc++
CXX = riscv32-unknown-elf-gcc -xc++
# Command used to remove files during 'clean' target.
RM = rm -f
Binary file not shown.
+1 -1
View File
@@ -259,7 +259,7 @@ ALT_CPPFLAGS += -DSMALL_C_LIB
# or common. none
# setting hal.make.cflags_mgpopt is -mgpopt=global
#ALT_CFLAGS += -mgpopt=global
ALT_CFLAGS += -march=rv32imc -mabi=ilp32
ALT_CFLAGS += -march=rv32emc -mabi=ilp32e
# Enable BSP generation to query if SOPC system is big endian. If true ignores
# export of 'ALT_CFLAGS += -meb' to public.mk if big endian system. none