Migration of example projects

This section assumes that your example is still using Arm Compiler 5. Therefore, the project first needs to be migrated to Arm Compiler 6 before it can be automatically converted to the new CMSIS-Toolbox project standard (csolution/cproject).

  1. Install the newly created device family pack in ┬ÁVision.

  2. Go to Options for Target - Target and set the ARM Compiler to Use default compiler version 6:

    Image Alt Text: Set default compiler version 6

  3. Go to the C/C++ [AC6] tab and set the appropriate defines. It is also good practice to set the compiler warnings to AC5-like Warnings as the new compiler is much stricter and may overwhelm you with warning messages:

    Image Alt Text: Compiler tab

  4. Copy the new scatter file from the device family pack into the project. Check if your project needs specific settings (you can compare against the original scatter file). Once done, go to the Linker tab and remove the checkmark at Use Memory Layout from Target Dialog and set the path to the new scatter file:

    Image Alt Text: Scatter file in the Linker tab

  5. Finally, build the project to verify the correct operation. Do not forget to add the updated example project to the CMSIS-Pack.

Tip

Use the Arm Compiler for Embedded Migration and Compatibility Guide in case you encounter any problems when migrating to Arm Compiler 6.

Back
Next