diff --git a/.vscode/launch.json b/.vscode/launch.json index 14723ae..5d591bc 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -17,7 +17,7 @@ }, "cwd": "${workspaceRoot}", "gdb": "riscv64-unknown-elf-gdb", - "openGdbConsole": true, + "openGdbConsole": false, "presentation": { "hidden": false, "group": "FW Debug", @@ -37,7 +37,7 @@ }, "cwd": "${workspaceRoot}", "gdb": "riscv64-unknown-elf-gdb", - "openGdbConsole": true, + "openGdbConsole": false, "presentation": { "hidden": false, "group": "FW Debug", @@ -59,8 +59,7 @@ "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 + "arguments": "--isa 'rv32gc_msu' -v INFO --disass -f fw/hello-world/hello.elf" }, { "type": "gdb", diff --git a/.vscode/settings.json b/.vscode/settings.json index 347762a..a1543ea 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,6 +9,7 @@ "comment": "clang-format" } ], + "editor.formatOnSave": true, "clangd.arguments": [ "--pretty", "--background-index", @@ -17,7 +18,11 @@ "cmake.copyCompileCommands": "${workspaceFolder}/build/compile_commands.json", "cmake.options.statusBarVisibility": "hidden", "cmake.options.advanced": { - "configure": {"projectStatusVisibility": "visible"}, - "build": {"statusBarVisibility": "visible"} + "configure": { + "projectStatusVisibility": "visible" + }, + "build": { + "statusBarVisibility": "visible" + } } } \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 77bd66b..b81526c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,8 @@ include(GNUInstallDirs) # add address sanitizer if(ENABLE_SANITIZER) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fsanitize=address,thread") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=address,thread") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fsanitize=address") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fsanitize=address") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=address") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address") endif() diff --git a/dbt-rise-core b/dbt-rise-core index e60892d..83eb45b 160000 --- a/dbt-rise-core +++ b/dbt-rise-core @@ -1 +1 @@ -Subproject commit e60892d2f9645231d24b02c864b6583ffda0c327 +Subproject commit 83eb45bb3e393eb979b44e97ba08da8460eedea4 diff --git a/dbt-rise-riscv b/dbt-rise-riscv index bfce933..8a884ed 160000 --- a/dbt-rise-riscv +++ b/dbt-rise-riscv @@ -1 +1 @@ -Subproject commit bfce933b60ad4cf999e1d73d4f581c658d1ee560 +Subproject commit 8a884edb80f04a75a78658bef6ec63e455d1c530