mirror of
https://github.com/marqs85/ossc
synced 2026-10-30 19:57:20 +03:00
switch to RV32E
This commit is contained in:
1 parent
f2405989e9
commit
76d69d19bf
11 files changed
+7449
-7534
No files matched your search
@@ -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.
@@ -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
|
||||
|
||||
Reference in new issue
Block a user