fix(firmware-build): support CCS artifact paths and bootstrap identity config

This commit is contained in:
2026-10-08 17:57:04 +03:00
parent 131f306131
commit eab8dc5e0a
3 changed files with 20 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -16,6 +16,13 @@ if "%~2"=="" goto usage
if "%~3"=="" goto usage
if "%~4"=="" goto usage
if not "%~5"=="" goto usage
rem Create the editable project configuration once; never overwrite user settings.
if not exist "%~f3" (
copy /Y "%~dp0firmware_identity.example.json" "%~f3" >nul
if errorlevel 1 exit /b 2
echo [firmware-build] Created configuration: "%~f3"
echo [firmware-build] Edit product, target and version in this file, then rebuild.
)
python "%~dp0..\..\..\c\firmware-info\tools\identity.py" prepare --repository "%~f2" --templates "%~dp0..\..\.." --config "%~f3" --output "%~f4"
exit /b %errorlevel%
:usage