Skip to content

Commit a98fdc7

Browse files
committed
- moved/renamed CMSIS installation script to root as Install-cmsis.ps1 to simplify finding it.
1 parent 244daef commit a98fdc7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMSIS/Get-CMSIS.ps1 Install-CMSIS.ps1

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Retrieves and extracts the CMSIS pack supported by NETMF from the official GitHu
88
Get-CMSIS
99
#>
1010

11-
Import-Module ..\tools\scripts\Build-netmf.psm1
11+
Import-Module .\tools\scripts\Build-netmf.psm1
1212

1313
# current officially supported version
1414
$packVersion = "4.3.0"
@@ -20,4 +20,5 @@ $packFileName = "ARM.CMSIS.$packVersion.pack"
2020
$packSourceURLBase = "https://github.com/ARM-software/CMSIS/releases/download/v$packVersion"
2121

2222
# download the pack and extract the files into the curent directory
23-
Invoke-WebRequest -Uri "$packSourceURLBase/$packFileName" | Expand-Stream
23+
$dstPath = [System.IO.Path]::Combine( $SPOCLIENT, "CMSIS" )
24+
Invoke-WebRequest -Uri "$packSourceURLBase/$packFileName" | Expand-Stream -Destination $dstPath

0 commit comments

Comments
 (0)