From 2667ed06431c4be63f3c22bb92521432007a8ac6 Mon Sep 17 00:00:00 2001 From: kalvin mccallum Date: Fri, 20 Dec 2024 10:30:44 -0500 Subject: [PATCH] Remove RISC-V debug configurations from MAX32657 examples --- .../Bluetooth/BLE5_ctr/.vscode/launch.json | 50 ------------------- .../MAX32657/Hello_World/.vscode/launch.json | 50 ------------------- .../NonSecure/.vscode/launch.json | 50 ------------------- .../Hello_World_TZ/Secure/.vscode/launch.json | 50 ------------------- 4 files changed, 200 deletions(-) diff --git a/Examples/MAX32657/Bluetooth/BLE5_ctr/.vscode/launch.json b/Examples/MAX32657/Bluetooth/BLE5_ctr/.vscode/launch.json index 01fe519904..c85058b535 100755 --- a/Examples/MAX32657/Bluetooth/BLE5_ctr/.vscode/launch.json +++ b/Examples/MAX32657/Bluetooth/BLE5_ctr/.vscode/launch.json @@ -78,56 +78,6 @@ { "text":"set $pc=Reset_Handler"}, { "text":"b main" } ] - }, - { - "name": "GDB (RISC-V)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/buildrv/${config:program_file}", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "linux": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/openocd", - }, - "windows": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb.exe", - "debugServerPath": "${config:OCD_path}/openocd.exe", - }, - "osx": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/bin/openocd", - }, - "logging": { - "exceptions": true, - "trace": false, - "traceResponse": false, - "engineLogging": false - }, - "miDebuggerServerAddress": "localhost:3334", - "debugServerArgs": "-c \"gdb_port 3334\" -s ${config:OCD_path}/scripts -f interface/${config:RV_OCD_interface_file} -f target/${config:RV_OCD_target_file}", - "serverStarted": "Info : Listening on port 3334 for gdb connections", - "filterStderr": true, - "customLaunchSetupCommands": [ - {"text":"-list-features"} - ], - "targetArchitecture": "arm", - "setupCommands": [ - { "text":"set logging overwrite on"}, - { "text":"set logging file debug-riscv.log"}, - { "text":"set logging on"}, - { "text":"cd ${workspaceFolder}" }, - { "text": "set architecture riscv:rv32", "ignoreFailures": false }, - { "text":"exec-file build/${config:program_file}", "ignoreFailures": false }, - { "text":"symbol-file buildrv/${config:symbol_file}", "ignoreFailures": false }, - { "text":"target remote localhost:3334" }, - { "text":"b main" }, - { "text": "set $pc=Reset_Handler","ignoreFailures": false } - ] } ] } diff --git a/Examples/MAX32657/Hello_World/.vscode/launch.json b/Examples/MAX32657/Hello_World/.vscode/launch.json index 01fe519904..c85058b535 100755 --- a/Examples/MAX32657/Hello_World/.vscode/launch.json +++ b/Examples/MAX32657/Hello_World/.vscode/launch.json @@ -78,56 +78,6 @@ { "text":"set $pc=Reset_Handler"}, { "text":"b main" } ] - }, - { - "name": "GDB (RISC-V)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/buildrv/${config:program_file}", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "linux": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/openocd", - }, - "windows": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb.exe", - "debugServerPath": "${config:OCD_path}/openocd.exe", - }, - "osx": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/bin/openocd", - }, - "logging": { - "exceptions": true, - "trace": false, - "traceResponse": false, - "engineLogging": false - }, - "miDebuggerServerAddress": "localhost:3334", - "debugServerArgs": "-c \"gdb_port 3334\" -s ${config:OCD_path}/scripts -f interface/${config:RV_OCD_interface_file} -f target/${config:RV_OCD_target_file}", - "serverStarted": "Info : Listening on port 3334 for gdb connections", - "filterStderr": true, - "customLaunchSetupCommands": [ - {"text":"-list-features"} - ], - "targetArchitecture": "arm", - "setupCommands": [ - { "text":"set logging overwrite on"}, - { "text":"set logging file debug-riscv.log"}, - { "text":"set logging on"}, - { "text":"cd ${workspaceFolder}" }, - { "text": "set architecture riscv:rv32", "ignoreFailures": false }, - { "text":"exec-file build/${config:program_file}", "ignoreFailures": false }, - { "text":"symbol-file buildrv/${config:symbol_file}", "ignoreFailures": false }, - { "text":"target remote localhost:3334" }, - { "text":"b main" }, - { "text": "set $pc=Reset_Handler","ignoreFailures": false } - ] } ] } diff --git a/Examples/MAX32657/Hello_World_TZ/NonSecure/.vscode/launch.json b/Examples/MAX32657/Hello_World_TZ/NonSecure/.vscode/launch.json index 01fe519904..c85058b535 100644 --- a/Examples/MAX32657/Hello_World_TZ/NonSecure/.vscode/launch.json +++ b/Examples/MAX32657/Hello_World_TZ/NonSecure/.vscode/launch.json @@ -78,56 +78,6 @@ { "text":"set $pc=Reset_Handler"}, { "text":"b main" } ] - }, - { - "name": "GDB (RISC-V)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/buildrv/${config:program_file}", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "linux": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/openocd", - }, - "windows": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb.exe", - "debugServerPath": "${config:OCD_path}/openocd.exe", - }, - "osx": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/bin/openocd", - }, - "logging": { - "exceptions": true, - "trace": false, - "traceResponse": false, - "engineLogging": false - }, - "miDebuggerServerAddress": "localhost:3334", - "debugServerArgs": "-c \"gdb_port 3334\" -s ${config:OCD_path}/scripts -f interface/${config:RV_OCD_interface_file} -f target/${config:RV_OCD_target_file}", - "serverStarted": "Info : Listening on port 3334 for gdb connections", - "filterStderr": true, - "customLaunchSetupCommands": [ - {"text":"-list-features"} - ], - "targetArchitecture": "arm", - "setupCommands": [ - { "text":"set logging overwrite on"}, - { "text":"set logging file debug-riscv.log"}, - { "text":"set logging on"}, - { "text":"cd ${workspaceFolder}" }, - { "text": "set architecture riscv:rv32", "ignoreFailures": false }, - { "text":"exec-file build/${config:program_file}", "ignoreFailures": false }, - { "text":"symbol-file buildrv/${config:symbol_file}", "ignoreFailures": false }, - { "text":"target remote localhost:3334" }, - { "text":"b main" }, - { "text": "set $pc=Reset_Handler","ignoreFailures": false } - ] } ] } diff --git a/Examples/MAX32657/Hello_World_TZ/Secure/.vscode/launch.json b/Examples/MAX32657/Hello_World_TZ/Secure/.vscode/launch.json index 01fe519904..c85058b535 100644 --- a/Examples/MAX32657/Hello_World_TZ/Secure/.vscode/launch.json +++ b/Examples/MAX32657/Hello_World_TZ/Secure/.vscode/launch.json @@ -78,56 +78,6 @@ { "text":"set $pc=Reset_Handler"}, { "text":"b main" } ] - }, - { - "name": "GDB (RISC-V)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/buildrv/${config:program_file}", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "linux": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/openocd", - }, - "windows": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb.exe", - "debugServerPath": "${config:OCD_path}/openocd.exe", - }, - "osx": { - "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb", - "debugServerPath": "${config:OCD_path}/bin/openocd", - }, - "logging": { - "exceptions": true, - "trace": false, - "traceResponse": false, - "engineLogging": false - }, - "miDebuggerServerAddress": "localhost:3334", - "debugServerArgs": "-c \"gdb_port 3334\" -s ${config:OCD_path}/scripts -f interface/${config:RV_OCD_interface_file} -f target/${config:RV_OCD_target_file}", - "serverStarted": "Info : Listening on port 3334 for gdb connections", - "filterStderr": true, - "customLaunchSetupCommands": [ - {"text":"-list-features"} - ], - "targetArchitecture": "arm", - "setupCommands": [ - { "text":"set logging overwrite on"}, - { "text":"set logging file debug-riscv.log"}, - { "text":"set logging on"}, - { "text":"cd ${workspaceFolder}" }, - { "text": "set architecture riscv:rv32", "ignoreFailures": false }, - { "text":"exec-file build/${config:program_file}", "ignoreFailures": false }, - { "text":"symbol-file buildrv/${config:symbol_file}", "ignoreFailures": false }, - { "text":"target remote localhost:3334" }, - { "text":"b main" }, - { "text": "set $pc=Reset_Handler","ignoreFailures": false } - ] } ] }