Upgrade an Existing Project#
Objective#
Upgrade an existing project to use a newer version of the Simplicity Software Development Kit (SDK).
Step 1. Install the New SDK Version or Update the Packages#
slt update slt install
Install a Specific New SDK Version#
slt install simplicity-sdk/2025.12.3 --non-interactive
Verify Installation#
slt where simplicity-sdk/2025.12.3
Step 2. Upgrade the Project .slcp#
Use slc upgrade to update the project metadata to the new SDK version:
slc upgrade -p project.slcp \ --sdk-package-path <new_sdk_location>,<extension_location>
Note: The
slc upgradecommand updates project metadata only. It does not regenerate the files in theautogen/directory.
Step 3. Regenerate the Project#
Regenerate the project files to synchronize them with the new SDK version.
slc generate -p project.slcp \ --sdk-package-path <new_sdk_location>,<extension_location>
Note: Running
slc upgradefollowed byslc generateperforms an in-place project upgrade.
Step 4. Build the Project#
Build the upgraded project.
cmake --build build
Summary: Upgrade Process#
Run
slt install <new-sdk-version>.Run
slc upgrade -p project.slcp --sdk-package-path <new_sdk>,<extensions>.Run
slc generate -p project.slcp --sdk-package-path <new_sdk>,<extensions>.
Note:
Always run
slc upgradebeforeslc generatewhen migrating to a new SDK version.If the upgrade is canceled because manual steps are required, use
--force-upgradeand follow the manual steps listed in the output.The upgrade automatically creates
.bakbackup files for affected project files.