Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 7edecce

Browse files
committed
Minor fixes, standalone installer
1 parent 92e03f7 commit 7edecce

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Downloaded installers
22
installers/
3+
layout/
34

45
# Generated NSIS scripts
56
*.nsi

pico-env.cmd

+9-11
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,17 @@ for %%i in (sdk examples extras playground) do (
3535

3636
call :AddToPath "%~dp0tools"
3737

38-
if exist "%~dp0tools\openocd" (
39-
echo OPENOCD_SCRIPTS=%~dp0tools\openocd\scripts
40-
set "OPENOCD_SCRIPTS=%~dp0tools\openocd\scripts"
41-
set "PATH=%~dp0tools\openocd;%PATH%"
38+
if exist "%~dp0openocd" (
39+
echo OPENOCD_SCRIPTS=%~dp0openocd\scripts
40+
set "OPENOCD_SCRIPTS=%~dp0openocd\scripts"
41+
set "PATH=%~dp0openocd;%PATH%"
4242
)
4343

44-
call :AddToPath "%ProgramFiles(x86)%\doxygen\bin"
45-
call :AddToPath "%ProgramFiles%\doxygen\bin"
46-
call :AddToPath "%ProgramW6432%\doxygen\bin"
47-
48-
call :AddToPath "%ProgramFiles(x86)%\Graphviz\bin"
49-
call :AddToPath "%ProgramFiles%\Graphviz\bin"
50-
call :AddToPath "%ProgramW6432%\Graphviz\bin"
44+
call :AddToPath "%~dp0cmake\bin"
45+
call :AddToPath "%~dp0gcc-arm\bin"
46+
call :AddToPath "%~dp0ninja"
47+
call :AddToPath "%~dp0python"
48+
call :AddToPath "%~dp0git\cmd"
5149

5250
call :VerifyExe "GNU Arm Embedded Toolchain" "arm-none-eabi-gcc --version"
5351
call :VerifyExe "CMake" "cmake --version"

0 commit comments

Comments
 (0)