init
This commit is contained in:
commit
a1cbf4a3c3
11 files changed
+460
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# 检查 pyOCD 是否已在运行,没有则启动
|
||||
$port = 3333
|
||||
$alreadyRunning = netstat -ano 2>$null | Select-String ":$port .*LISTENING"
|
||||
|
||||
if ($alreadyRunning) {
|
||||
Write-Host "pyOCD already running on port $port"
|
||||
} else {
|
||||
Write-Host "Starting pyOCD GDB server..."
|
||||
python -m pyocd gdbserver -t mspm0g3507 -f 500000
|
||||
}
|
||||
Reference in new issue
Block a user