Remove detect_pins.py; wiring pins are fixed via the short cable
The recommended tap is the short cable with external pull resistors whose pins are fixed and known in advance (D5=CLK, D0=I/O, D4=RST, D2=VCC), so the auto-detection tool is no longer needed. Drop it and all references: - Delete tools/detect_pins.py. - README: replace the 'Detecting the wiring' section with a fixed-wiring note; drop the Python/numpy prerequisite and the detect_pins capture step from the Windows guide. - setup.bat: remove the Python/numpy check and the 'find the wiring' next step.
This commit is contained in:
1 parent
e1903649a7
commit
b7a6e50fc8
3 files changed
+19
-1133
No files matched your search
@@ -84,20 +84,6 @@ if errorlevel 1 (
|
||||
)
|
||||
echo [ok] %LINK% -^> listed by sigrok-cli
|
||||
|
||||
rem ---- python / numpy (for tools\detect_pins.py) ------------------------
|
||||
echo Checking Python + numpy...
|
||||
set "PY="
|
||||
py -3 --version >nul 2>&1 && set "PY=py -3"
|
||||
if not defined PY (
|
||||
python --version >nul 2>&1 && set "PY=python"
|
||||
)
|
||||
if defined PY (
|
||||
for /f "delims=" %%v in ('!PY! --version 2^>^&1') do echo [ok] %%v
|
||||
!PY! -c "import numpy" >nul 2>&1 || echo [!] numpy missing: run '!PY! -m pip install numpy'
|
||||
) else (
|
||||
echo [!] no python launcher found; detect_pins.py needs Python 3.8+ and numpy
|
||||
)
|
||||
|
||||
rem ---- hardware samplerate probe ---------------------------------------
|
||||
echo Probing device samplerates...
|
||||
set "MAX_RATE="
|
||||
@@ -126,6 +112,5 @@ if defined MAX_RATE (
|
||||
echo.
|
||||
echo Done. Next steps:
|
||||
echo 1. Plug GND first and verify contact manually (see README).
|
||||
echo 2. tools\detect_pins.py -- find the wiring
|
||||
echo 3. start.bat -- capture + GSMTAP stream
|
||||
echo 2. start.bat -- capture + GSMTAP stream
|
||||
endlocal
|
||||
Reference in new issue
Block a user