v1.6.2
Compatability
Tested with
- Visual Studio Code v1.83.0
- vscode-cpptools v1.17.5
- cortex-debug v1.12.1
The MSDK has been updated with these v1.6.2 project files, and all examples have been populated.
Change Notes
Support for Native Make Binaries on Windows
The primary feature of this release is the settings.json
change to support native Make binaries Windows for Windows. See the MSDK October Release Notes for more details.
--- a/.vscode/settings-old.json
+++ b/.vscode/settings.json
@@ -1,6 +1,6 @@
{
"terminal.integrated.env.windows": {
- "Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:Make_path};${env:PATH}",
+ "Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:MSYS_path}/usr/bin;${config:Make_path};${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
@@ -33,7 +33,8 @@
"OCD_path":"${config:MAXIM_PATH}/Tools/OpenOCD",
"ARM_GCC_path":"${config:MAXIM_PATH}/Tools/GNUTools/${config:v_Arm_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-elf-gcc/${config:v_xPack_GCC}",
- "Make_path":"${config:MAXIM_PATH}/Tools/MSYS2/usr/bin",
+ "Make_path":"${config:MAXIM_PATH}/Tools/GNUTools/Make",
+ "MSYS_path":"${config:MAXIM_PATH}/Tools/MSYS2",
"C_Cpp.default.includePath": [
"${workspaceFolder}",
RISC-V Debug Launch Profiles Update
RISC-V launch profiles GDB (RISC-V)
have been updated to use the latest riscv-none-elf-gdb
instead of the now deprecated riscv-none-embed-gdb
.
--- a/MaximSDK/Inject/.vscode/launch.json
+++ b/MaximSDK/Inject/.vscode/launch.json
@@ -91,15 +91,15 @@
"externalConsole": false,
"MIMode": "gdb",
"linux": {
- "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
+ "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
- "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
+ "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-embed-gdb",
+ "miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-elf-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {