mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-06 04:51:36 -07:00
ProxSpace path fixes
This commit is contained in:
parent
a103628a35
commit
7357d17c8c
2 changed files with 7 additions and 13 deletions
13
.vscode/setup.sh
vendored
13
.vscode/setup.sh
vendored
|
@ -20,8 +20,7 @@
|
||||||
# Uncomment to override #
|
# Uncomment to override #
|
||||||
###############################
|
###############################
|
||||||
#export SerialPort="COM5"
|
#export SerialPort="COM5"
|
||||||
#export DebuggerPath="${workspaceFolder}/../../msys2/mingw64/bin/gdb.exe"
|
#export JLinkServerPath="C:/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe"
|
||||||
#export JLinkServerPath="/c/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe"
|
|
||||||
|
|
||||||
#Debugging on 256KB systems is not recommended
|
#Debugging on 256KB systems is not recommended
|
||||||
#This option does not override PLATFORM_SIZE
|
#This option does not override PLATFORM_SIZE
|
||||||
|
@ -59,12 +58,6 @@ function setup_gdb_linux {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_gdb_ps {
|
|
||||||
if [ -z "$DebuggerPath" ]; then
|
|
||||||
export DebuggerPath="${workspaceFolder}/../../msys2/mingw64/bin/gdb.exe"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function setup_jlink_linux {
|
function setup_jlink_linux {
|
||||||
if [ -z "$JLinkServerPath" ]; then
|
if [ -z "$JLinkServerPath" ]; then
|
||||||
export JLinkServerPath="/opt/SEGGER/JLink/JLinkGDBServerCLExe"
|
export JLinkServerPath="/opt/SEGGER/JLink/JLinkGDBServerCLExe"
|
||||||
|
@ -88,9 +81,9 @@ function setup_jlink_wsl {
|
||||||
|
|
||||||
function setup_jlink_ps {
|
function setup_jlink_ps {
|
||||||
if [ -z "$JLinkServerPath" ]; then
|
if [ -z "$JLinkServerPath" ]; then
|
||||||
export JLinkServerPath="/c/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe"
|
export JLinkServerPath="c:/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe"
|
||||||
fi
|
fi
|
||||||
if [ ! -x "$JLinkServerPath" ]; then
|
if [ ! -x $(cygpath \"$JLinkServerPath\") ]; then
|
||||||
echo >&2 "[!!] JLinkGDBServerCL.exe not found, please set JLinkServerPath manually"
|
echo >&2 "[!!] JLinkGDBServerCL.exe not found, please set JLinkServerPath manually"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
7
.vscode/templates/launch_ps.json
vendored
7
.vscode/templates/launch_ps.json
vendored
|
@ -15,6 +15,7 @@
|
||||||
"name": "Client: (gdb) Build & Launch",
|
"name": "Client: (gdb) Build & Launch",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
"program": "${cwd}/client/proxmark3",
|
"program": "${cwd}/client/proxmark3",
|
||||||
"args": ["${SerialPort}"],
|
"args": ["${SerialPort}"],
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
|
@ -28,13 +29,13 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"preLaunchTask": "client: Debug: clean & make",
|
"preLaunchTask": "client: Debug: clean & make",
|
||||||
"miDebuggerPath": "${DebuggerPath}"
|
"miDebuggerPath": "${workspaceFolder}/../../msys2/mingw64/bin/gdb.exe"
|
||||||
},{
|
},{
|
||||||
"name": "Firmware: (J-Link) Build & Launch",
|
"name": "Firmware: (J-Link) Build & Launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"preLaunchTask": "fullimage: clean & make",
|
"preLaunchTask": "fullimage: clean & make debug",
|
||||||
"executable": "${workspaceRoot}/armsrc/obj/fullimage.elf",
|
"executable": "${workspaceRoot}/armsrc/obj/fullimage.elf",
|
||||||
"serverpath": "${JLinkServerPath}",
|
"serverpath": "${JLinkServerPath}",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
||||||
"runToMain": false,
|
"runToMain": false,
|
||||||
"armToolchainPath": "/usr/bin/"
|
"armToolchainPath": "${workspaceFolder}/../../msys2/mingw64/bin"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue