updates dbt-rise-riscv

This commit is contained in:
2025-09-15 20:54:39 +02:00
parent 6d968ce9d6
commit f9caff073e
3 changed files with 16 additions and 7 deletions

19
.vscode/launch.json vendored
View File

@@ -11,7 +11,7 @@
},
"target": {
"server": "${workspaceFolder}/build/RelWithDebInfo/src/riscv-vp",
"serverParameters": ["--isa", "rv32gc|msu_vp", "-v", "INFO", "--disass", "-f", "fw/hello-world/hello.elf", "-g", "10000"],
"serverParameters": ["--isa", "rv32gc_msu", "-v", "INFO", "-f", "fw/hello-world/hello.elf", "-g", "10000"],
"watchServerProcess": true,
"port": "10000"
},
@@ -50,7 +50,16 @@
"name": "32bit VP with gdbserver",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "--isa 'rv32gc|msu_vp' -v INFO --disass -f fw/hello-world/hello.elf -g 10000",
"arguments": "--isa 'rv32gc_msu' -v INFO --disass -f fw/hello-world/hello.elf -g 10000",
"openGdbConsole": true
},
{
"type": "gdb",
"request": "launch",
"name": "32bit VP",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "--isa 'rv32gc_msu' -v INFO --disass -f fw/hello-world/hello.elf",
"openGdbConsole": true
},
{
@@ -68,7 +77,7 @@
"name": "64bit VP with gdbserver",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "--isa 'rv64gc|msu_vp' -v INFO --disass -f fw/hello-world/hello.elf -g 10000",
"arguments": "--isa 'rv64gc_msu' -v INFO --disass -f fw/hello-world/hello.elf -g 10000",
"openGdbConsole": true
},
{
@@ -77,7 +86,7 @@
"name": "TGC5 VP",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "-v DEBUG -t 3 --isa 'tgc5c|mu_p' -f fw/hello-world/hello.elf",
"arguments": "-v DEBUG -t 3 --isa 'tgc5c_mu' -f fw/hello-world/hello.elf",
"openGdbConsole": true
},
{
@@ -86,7 +95,7 @@
"name": "TGC5 VP (asmjit)",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "-v DEBUG --isa 'tgc5c|mu_p' --backend asmjit -f fw/hello-world/hello.elf",
"arguments": "-v DEBUG --isa 'tgc5c_mu' --backend asmjit -f fw/hello-world/hello.elf",
"openGdbConsole": true
},
{

View File

@@ -2,10 +2,10 @@
TARGET = hello
C_SRCS = $(wildcard *.c)
HEADERS = $(wildcard *.h)
CFLAGS += -O0 -g
CFLAGS += -Og -g
BOARD=riscv_vp
LINK_TARGET=flash
LINK_TARGET=rom
RISCV_ARCH:=rv32imc
RISCV_ABI:=ilp32
#RISCV_ARCH:=rv64imc

Binary file not shown.