build(userspace): update vscode launch configuration and Makefiles for utest and libc_test

Easier to debug

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-02-21 02:37:48 +02:00
parent 9dfa750444
commit 2c2e7d9de3
3 changed files with 9 additions and 4 deletions

View File

@ -14,7 +14,7 @@ build: $(FILENAME).elf
cp $(FILENAME).elf $(WORKSPACE_DIR)/out/bin/$(FILENAME)
# Use static linking
LDFLAGS += -static -fno-pic -fno-pie -Wl,-static
LDFLAGS += -static -fno-pic -fno-pie -Wl,-static -Wl,-Ttext=0x00600000
CFLAGS += -ggdb3 -O0 -g -fdiagnostics-color=always
# Use default toolchain if not specified