2 Star 3 Fork 1

Kono/Grbl_Esp32

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build-all.ps1 773 Bytes
一键复制 编辑 原始数据 按行查看 历史
# This Windows PowerShell script uses PlatformIO to compile Grbl_ESP32
# for every machine configuration in the Machines/ directory.
# It is useful for automated testing.
# Setting PYTHONIOENCODING avoids an obscure crash related to code page mismatch
$env:PYTHONIOENCODING="utf-8"
Function BuildMachine($names) {
$basename = $names[0]
$env:PLATFORMIO_BUILD_FLAGS = "-DMACHINE_FILENAME=$basename"
$displayname = $basename
Write-Output "Building machine $displayname"
platformio run 2>&1 | Select-String Compiling -NotMatch | Select-String error,Took
Write-Output " "
}
# Build all the machines
foreach ($filepath in Get-ChildItem -file .\Grbl_Esp32\src\Machines\*) {
BuildMachine($filepath.name, "")
}
Remove-Item env:PLATFORMIO_BUILD_FLAGS
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Kono2019/Grbl_Esp32.git
git@gitee.com:Kono2019/Grbl_Esp32.git
Kono2019
Grbl_Esp32
Grbl_Esp32
main

搜索帮助