From a9c469b5e1890d8074f5287507d0b8707892a7c6 Mon Sep 17 00:00:00 2001 From: feabhas <28291143+martinbond7@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:02:05 +0100 Subject: [PATCH] cpp_properties for latest Arm toolchain, revised run-qemu.sh for usart debugging --- .vscode/c_cpp_properties.json | 2 +- run-qemu.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 8186907..d57c415 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -23,7 +23,7 @@ "OS_USE_SEMIHOSTING", "TRACE_ENABLED" ], - "compilerPath": "/opt/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-g++", + "compilerPath": "/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-g++", "cStandard": "c99", "cppStandard": "c++17", "intelliSenseMode": "gcc-arm", diff --git a/run-qemu.sh b/run-qemu.sh index 7bf5a19..8ef2b7b 100755 --- a/run-qemu.sh +++ b/run-qemu.sh @@ -65,8 +65,8 @@ if [[ ! -f "$IMAGE" ]]; then fi if [[ -z "$GRAPHIC" ]]; then -# Old config required for remote Docker debugging - breaks serial output on USART3 -# OPTIONS="$OPTIONS -nographic --chardev file,path=/dev/null,mux=on,id=c0 -mon chardev=c0 -serial chardev:c0" +# Old config for remote Docker debugging - breaks serial output on USART3, kept for reference +# OPTIONS="$OPTIONS -nographic --chardev file,path=/dev/null,mux=on,id=c0 -mon chardev=c0 -serial chardev:c0" OPTIONS="$OPTIONS -nographic" fi