mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
tools: support for embedded python
This commit is contained in:
8
tools/windows/tool_setup/Scripts/Prepare-Cache.ps1
Normal file
8
tools/windows/tool_setup/Scripts/Prepare-Cache.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
param (
|
||||
[string]$IdfVersion = "v4.1"
|
||||
)
|
||||
$ErrorActionPreference = "Stop"
|
||||
New-Item -Path C:\Users\ContainerAdministrator\ -Name .espressif -ItemType "directory"
|
||||
New-Item -Path C:\Users\ContainerAdministrator\.espressif -Name releases -ItemType "directory"
|
||||
Copy-Item -Recurse -Verbose -Path C:\Cache\dist -Destination C:\Users\ContainerAdministrator\.espressif\dist
|
||||
Copy-Item -Verbose -Path C:\Cache\releases\esp-idf-${IdfVersion}.zip -Destination C:\Users\ContainerAdministrator\.espressif\releases
|
Reference in New Issue
Block a user