Migrating your EmberZNet project to a new stack version

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> kpszupin ‎12-27-2016 10:29 AM - edited ‎12-29-2016 03:42 PM

This article covers migrating from an old EmberZNet stack version to a current version (pre-EmberZNet5.8) using Simplicity Studio v4 and your project's ISC file.

1. Copy the ISC file and any additional files in the project that were modified into the same directory. For example:

./Gismo1Migrate/Gismo1.isc
./Gismo1Migrate/Gismo1_callbacks.c
./Gismo1Migrate/Gismo1_peripherals.c
./Gismo1Migrate/Gismo1_peripherals.h
./Gismo1Migrate/Gismo1_board.h

2. Start up Studio v4 and go to the Simplicity IDE perspective.
3. Go to Window -> Preferences -> Simplicity Studio -> SDKs and uncheck all EmberZNet stack installs other than the most current EmberZNet stack you are migrating to.
4. Go to File -> Import and select Simplicity Studio -> MCU Project. This will open up a dialogue.
4. Find your ISC file and add it to the list. Click Next and the Build Configuration will show that there or some unresolved dependencies. Click Next again to make changes.
5. Under Reconstruct Build Configurations make sure you have the proper Board (if you have one), Part, SDK, and Toolchain are selected. Click Next.
6. Under Project Configuration, type in a Project name. Click Finish.
7. Navigate to your project in Project Explorer and open your ISC file. Simplicity Studio might ask you to select the specific stack you want to use. This is because of the differences between Host and SoC code. After this, an "Auto upgrade notice" should pop up. Closing this window, your project has been updated to the new stack you have available.
8. Under the General tab, check the stack version and generation directory.
8. Navigate to the "Other" tab in AppBuilder and update any additional files added by clicking on the file and reselecting it.
9. Generate.
10. Compile.