Migrating existing projects to Code Red IDE Version 4

Code Red IDE Version 4 (including Red Suite and LPCXPresso) is a significant upgrade over previous releases, as described in the FAQ New Functionality in Code Red IDE Version 4.

Generally migrating an existing project from Code Red IDE Version 3 to Version 4 should be straightforward. However there are a number of things that we recommend that you do when carrying out such a migration.

Import projects into a fresh workspace

When moving to Code Red IDE Version 4 we strongly recommend that you create a new workspace and import the projects into the new workspace. Whilst Code Red IDE Version 4 can open Version 3 workspaces, a workspace that has been used by Code Red IDE Version 4 may not correctly load into Version 3 (this can particularly be the case where new projects have been created in Code Red IDE Version 4).

How to import projects into a new workspace is detailed in the FAQ Import/Export projects.

Recreate launch configurations

We would recommend deleting any debug launch configurations within your project which were created in RS3 (these are typically named "<projectname> Debug.launch" and "<projectname> Release.launch"). The easiest way to do this is to right click on the project in Project Explorer and select

Launch Configurations -> Delete Launch Configurations

from the context sensitive menu. The IDE will then automatically create a fresh set of launch configurations the next time that you start a debug session.

Startup code

We would strongly recommend that you consider updating your startup code to match the latest generated by the project wizard for the part that you are using. This is particularly the case if your project was originally created by Code Red IDE v3.5.x or earlier (or 3.7.x in the case of LPCXpresso for Linux).

This will help to avoid potential problems with the enhancements made to linker scripting (as described in the FAQ Enhanced Managed Linker Scripts) as well as C library interaction (as described in the FAQ Redlib v2 Notes).

Convert from CMSIS 1.3 to CMSIS 2.0

If you are using CMSIS, you may wish to consider migrating your projects to CMSIS 2.0. For more details see the FAQ Support for CMSIS.

MigratingToVersion4 (last edited 2011-08-02 13:09:44 by CrSupportAb)