mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 00:41:35 +00:00
fixes dgb access for 64bit cores
This commit is contained in:
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@@ -17,6 +17,7 @@
|
||||
},
|
||||
"cwd": "${workspaceRoot}",
|
||||
"gdb": "riscv64-unknown-elf-gdb",
|
||||
"openGdbConsole": true,
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "FW Debug",
|
||||
@@ -30,11 +31,16 @@
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa 'rv32gc|msu_vp' -v DEBUG --disass -f fw/hello-world/hello.elf -g 10000",
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "FW Debug",
|
||||
"order": 1
|
||||
}
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"name": "Launch 64bit VP with gdbserver",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "--isa 'rv64gc|msu_vp' -v TRACEALL --disass -f fw/hello-world/hello.elf -g 10000",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
"type": "gdb",
|
||||
@@ -42,7 +48,7 @@
|
||||
"name": "Launch VP",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
|
||||
"arguments": "-v DEBUG -t 3 --isa tgc5c -f fw/hello-world/hello.elf",
|
||||
"arguments": "-v DEBUG -t 3 --isa 'tgc5c|mu_p' -f fw/hello-world/hello.elf",
|
||||
"openGdbConsole": true
|
||||
},
|
||||
{
|
||||
|
||||
Submodule dbt-rise-riscv updated: f4bfd06d7e...48f8983d7e
@@ -8,6 +8,8 @@ BOARD=riscv_vp
|
||||
LINK_TARGET=flash
|
||||
RISCV_ARCH:=rv32imc
|
||||
RISCV_ABI:=ilp32
|
||||
#RISCV_ARCH:=rv64imc
|
||||
#RISCV_ABI:=lp64
|
||||
LDFLAGS := -g -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)
|
||||
|
||||
compiler := $(shell which riscv64-unknown-elf-gcc)
|
||||
|
||||
Reference in New Issue
Block a user