mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
updates dbt-rise-riscv
This commit is contained in:
19
.vscode/launch.json
vendored
19
.vscode/launch.json
vendored
@@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"server": "${workspaceFolder}/build/RelWithDebInfo/src/riscv-vp",
|
"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,
|
"watchServerProcess": true,
|
||||||
"port": "10000"
|
"port": "10000"
|
||||||
},
|
},
|
||||||
@@ -50,7 +50,16 @@
|
|||||||
"name": "32bit VP with gdbserver",
|
"name": "32bit VP with gdbserver",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
"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
|
"openGdbConsole": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -68,7 +77,7 @@
|
|||||||
"name": "64bit VP with gdbserver",
|
"name": "64bit VP with gdbserver",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
"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
|
"openGdbConsole": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -77,7 +86,7 @@
|
|||||||
"name": "TGC5 VP",
|
"name": "TGC5 VP",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
"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
|
"openGdbConsole": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -86,7 +95,7 @@
|
|||||||
"name": "TGC5 VP (asmjit)",
|
"name": "TGC5 VP (asmjit)",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
"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
|
"openGdbConsole": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
TARGET = hello
|
TARGET = hello
|
||||||
C_SRCS = $(wildcard *.c)
|
C_SRCS = $(wildcard *.c)
|
||||||
HEADERS = $(wildcard *.h)
|
HEADERS = $(wildcard *.h)
|
||||||
CFLAGS += -O0 -g
|
CFLAGS += -Og -g
|
||||||
|
|
||||||
BOARD=riscv_vp
|
BOARD=riscv_vp
|
||||||
LINK_TARGET=flash
|
LINK_TARGET=rom
|
||||||
RISCV_ARCH:=rv32imc
|
RISCV_ARCH:=rv32imc
|
||||||
RISCV_ABI:=ilp32
|
RISCV_ABI:=ilp32
|
||||||
#RISCV_ARCH:=rv64imc
|
#RISCV_ARCH:=rv64imc
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user