updates submodules and setup files

This commit is contained in:
2025-08-08 09:36:34 +02:00
parent b29f7ab6fa
commit d6a71a2065
7 changed files with 22 additions and 12 deletions

17
.vscode/launch.json vendored
View File

@@ -18,7 +18,7 @@
"cwd": "${workspaceRoot}",
"gdb": "riscv64-unknown-elf-gdb",
"presentation": {
"hidden": true,
"hidden": false,
"group": "FW Debug",
"order": 2
}
@@ -29,9 +29,9 @@
"name": "Launch VP with gdbserver",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "-f fw/hello-world/hello.elf -g 10000",
"arguments": "--isa 'rv32gc|msu_vp' -v DEBUG --disass -f fw/hello-world/hello.elf -g 10000",
"presentation": {
"hidden": true,
"hidden": false,
"group": "FW Debug",
"order": 1
}
@@ -42,9 +42,18 @@
"name": "Launch VP",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "-v DEBUG --isa tgc5c -f fw/hello-world/hello.elf",
"arguments": "-v DEBUG -t 3 --isa tgc5c -f fw/hello-world/hello.elf",
"openGdbConsole": true
},
{
"type": "gdb",
"request": "launch",
"name": "Launch VP (asmjit)",
"cwd": "${workspaceRoot}",
"program": "${workspaceFolder}/build/Debug/src/riscv-vp",
"arguments": "--isa tgc5c --backend asmjit -f fw/hello-world/hello.elf",
"openGdbConsole": true
}
],
"compounds": [
{

8
.vscode/tasks.json vendored
View File

@@ -4,7 +4,7 @@
{
"label": "CMake-and-make",
"type": "shell",
"command": "source .venv/bin/activate && cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cmake --build build",
"command": "cmake --preset Release -B build/Release && cmake --build build/Release",
"problemMatcher": [],
"presentation": {
"echo": true,
@@ -22,7 +22,7 @@
{
"label": "Build-FW",
"type": "shell",
"command": "cd fw/hello-world/ && make",
"command": "make -C fw/hello-world clean all",
"problemMatcher": [],
"presentation": {
"echo": true,
@@ -36,7 +36,7 @@
{
"label": "Execute-VP",
"type": "shell",
"command": "build/src/tgc-vp -f fw/hello-world/hello -p pctrace=contrib/TGC_C_cycles.json",
"command": "build/Debug/src/riscv-vp -f fw/hello-world/hello.elf -p pctrace=contrib/TGC_C_cycles.json",
"problemMatcher": [],
"presentation": {
"echo": true,
@@ -50,7 +50,7 @@
{
"label": "VP-GDB-Server",
"type": "shell",
"command": "build/src/tgc-vp -f fw/hello-world/hello -g 10000",
"command": "build/Debug/src/riscv-vp -v TRACEALL --disass -f fw/hello-world/hello.elf -g 10000",
"problemMatcher": [],
"presentation": {
"echo": true,

View File

@@ -19,6 +19,7 @@
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "scc/cmake/conan_provider.cmake",
"CONAN_BUILD_PROFILE": "auto-cmake",
"WITH_TCC": "OFF"
}
},

View File

@@ -33,7 +33,7 @@ class Pkg(ConanFile):
"boost/*:without_timer": "True",
"boost/*:without_type_erasure": "True",
"boost/*:without_wave": "True",
"systemc/*:shared": "True"
"systemc/*:shared": "True",
}
def requirements(self):

View File

@@ -8,7 +8,7 @@ BOARD=riscv_vp
LINK_TARGET=flash
RISCV_ARCH:=rv32imc
RISCV_ABI:=ilp32
LDFLAGS := -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)
LDFLAGS := -g -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)
compiler := $(shell which riscv64-unknown-elf-gcc)
TOOL_DIR=$(dir $(compiler))

2
scc

Submodule scc updated: 13d2138e7e...badc373aae