diff --git a/.vscode/launch.json b/.vscode/launch.json index 488d4f1..2254b56 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,29 @@ { "version": "0.2.0", "configurations": [ + { + "type": "gdbtarget", + "request": "launch", + "name": "Debug hello world 32bit", + "program": "fw/hello-world/hello.elf", + "imageAndSymbols": { + "symbolFileName": "fw/hello-world/hello.elf" + }, + "target": { + "server": "${workspaceFolder}/build/RelWithDebInfo/src/riscv-vp", + "serverParameters": ["--isa", "rv32gc|msu_vp", "-v", "INFO", "--disass", "-f", "fw/hello-world/hello.elf", "-g", "10000"], + "watchServerProcess": true, + "port": "10000" + }, + "cwd": "${workspaceRoot}", + "gdb": "riscv64-unknown-elf-gdb", + "openGdbConsole": true, + "presentation": { + "hidden": false, + "group": "FW Debug", + "order": 2 + },"initCommands": ["b main"] + }, { "type": "gdbtarget", "request": "attach", @@ -61,11 +84,11 @@ "compounds": [ { "name": "FW-Debug 32bit", - "configurations": ["32bit VP with gdbserver", "Attach to VP"] + "configurations": ["32bit VP with gdbserver", "Attach GDB to VP"] }, { "name": "FW-Debug 64bit", - "configurations": ["64bit VP with gdbserver", "Attach to VP"] + "configurations": ["64bit VP with gdbserver", "Attach GDB to VP"] } ] } \ No newline at end of file diff --git a/dbt-rise-riscv b/dbt-rise-riscv index 1260c9d..45dc8bd 160000 --- a/dbt-rise-riscv +++ b/dbt-rise-riscv @@ -1 +1 @@ -Subproject commit 1260c9db5ec97242d07b20254654a057db3e7288 +Subproject commit 45dc8bd3fd093207b6d11c97c0de2fb85a2fe627 diff --git a/fw/hello-world/hello.elf b/fw/hello-world/hello.elf index 4162422..2dcce54 100755 Binary files a/fw/hello-world/hello.elf and b/fw/hello-world/hello.elf differ