Skip to content

Commit

Permalink
Merge pull request #9 from MaximIntegratedTechSupport/develop
Browse files Browse the repository at this point in the history
Merge v1.4.2 Develop
  • Loading branch information
Jake-Carter authored May 16, 2022
2 parents bb61fc0 + 2402965 commit ad624c3
Show file tree
Hide file tree
Showing 16 changed files with 332 additions and 168 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build
buildlogs*
__pycache__
9 changes: 5 additions & 4 deletions MaximSDK/Inject/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
"request": "launch",
"program": "${workspaceFolder}/buildrv/${config:program_file}",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {
Expand All @@ -95,6 +95,7 @@
{ "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 }
]
}
Expand Down
9 changes: 5 additions & 4 deletions MaximSDK/New_Project/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
"request": "launch",
"program": "${workspaceFolder}/buildrv/${config:program_file}",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {
Expand All @@ -95,6 +95,7 @@
{ "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 }
]
}
Expand Down
9 changes: 5 additions & 4 deletions MaximSDK/Template/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
"request": "launch",
"program": "${workspaceFolder}/buildrv/${config:program_file}",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {
Expand All @@ -95,6 +95,7 @@
{ "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 }
]
}
Expand Down
2 changes: 2 additions & 0 deletions MaximSDK/Template/.vscode/templatesettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:Make_path};${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",

"terminal.integrated.env.linux": {
"PATH":"${config:OCD_path}:${config:ARM_GCC_path}/bin:${config:xPack_GCC_path}/bin:${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
"request": "launch",
"program": "${workspaceFolder}/buildrv/${config:program_file}",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {
Expand All @@ -95,6 +95,7 @@
{ "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 }
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:Make_path};${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",

"terminal.integrated.env.linux": {
"PATH":"${config:OCD_path}:${config:ARM_GCC_path}/bin:${config:xPack_GCC_path}/bin:${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type": "shell",
"command": "arm-none-eabi-gdb",
"args": [
"--ex=\"cd ${workspaceFolder}\"",
"--cd=\"${workspaceFolder}\"",
"--se=\"build/${config:program_file}\"",
"--symbols=build/${config:symbol_file}",
"-x=\"${workspaceFolder}/.vscode/flash.gdb\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
"request": "launch",
"program": "${workspaceFolder}/buildrv/${config:program_file}",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
},
"logging": {
Expand All @@ -95,6 +95,7 @@
{ "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 }
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:Make_path};${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",

"terminal.integrated.env.linux": {
"PATH":"${config:OCD_path}:${config:ARM_GCC_path}/bin:${config:xPack_GCC_path}/bin:${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type": "shell",
"command": "arm-none-eabi-gdb",
"args": [
"--ex=\"cd ${workspaceFolder}\"",
"--cd=\"${workspaceFolder}\"",
"--se=\"build/${config:program_file}\"",
"--symbols=build/${config:symbol_file}",
"-x=\"${workspaceFolder}/.vscode/flash.gdb\"",
Expand Down
Loading

0 comments on commit ad624c3

Please sign in to comment.