I have created two build configurations one for debug and another for release. How can I specify a burner bbl file for each build configuration?

Suppose, you have created two Build Configurations for a bareboard project, one for debug and another one for release, in CodeWarrior for Microcontrollers. You want to configure the build configurations such that each one can use a different burner bbl file. This way the IDE will generate different binaries depending on the active configuration.

To specify a burner bbl file for each build configuration:

  1. Create two .bbl files.
    Figure 1. Burner Files

    Burner Files

  2. Assign each .bbl file to the corresponding build configuration.
    1. Right-click the file and select Resource Configurations > Exclude from build .

      The Exclude from build dialog box appears.

    2. Check the build configurations from which you want to exclude the file.
    3. Click OK .

      Alternatively, open the file properties dialog box. Check the Exclude resource from build checkbox.

      Similarly assign build configuration to the second bbl file.

Now, if you build the Debug configuration, the debug.bbl file will be used. And, if you build the Release configuration, the release.bbl file will be used.