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

Commit

Permalink
Minor fixes, standalone installer
Browse files Browse the repository at this point in the history
  • Loading branch information
ndabas committed Nov 8, 2022
1 parent 92e03f7 commit 7edecce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Downloaded installers
installers/
layout/

# Generated NSIS scripts
*.nsi
Expand Down
20 changes: 9 additions & 11 deletions pico-env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,17 @@ for %%i in (sdk examples extras playground) do (

call :AddToPath "%~dp0tools"

if exist "%~dp0tools\openocd" (
echo OPENOCD_SCRIPTS=%~dp0tools\openocd\scripts
set "OPENOCD_SCRIPTS=%~dp0tools\openocd\scripts"
set "PATH=%~dp0tools\openocd;%PATH%"
if exist "%~dp0openocd" (
echo OPENOCD_SCRIPTS=%~dp0openocd\scripts
set "OPENOCD_SCRIPTS=%~dp0openocd\scripts"
set "PATH=%~dp0openocd;%PATH%"
)

call :AddToPath "%ProgramFiles(x86)%\doxygen\bin"
call :AddToPath "%ProgramFiles%\doxygen\bin"
call :AddToPath "%ProgramW6432%\doxygen\bin"

call :AddToPath "%ProgramFiles(x86)%\Graphviz\bin"
call :AddToPath "%ProgramFiles%\Graphviz\bin"
call :AddToPath "%ProgramW6432%\Graphviz\bin"
call :AddToPath "%~dp0cmake\bin"
call :AddToPath "%~dp0gcc-arm\bin"
call :AddToPath "%~dp0ninja"
call :AddToPath "%~dp0python"
call :AddToPath "%~dp0git\cmd"

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

0 comments on commit 7edecce

Please sign in to comment.