3.5.1. Changing build options

Follow the steps below to create an application with a better debug view:

  1. Start CodeWarrior and open the led.mcp project.

  2. Select Edit → semihosted settings to display the settings dialog (see Figure 3.19).

    Figure 3.19. Changing the settings

    Changing the settings
  3. Select the Linker entry. Check the Include debugging information box (see Figure 3.20).

    Figure 3.20. Linker options

    Linker options
  4. Select the ARM C Compiler entry and the Debug tab. Change the settings to produce optimum debug view (see Figure 3.20).

    Figure 3.21. Debug options

    Debug options
  5. Save the changes.

  6. Open the uHAL subproject and change its settings as in step 3.

  7. Select Project → Make to rebuild the µHAL library.

    Note

    Remember to change the settings back to optimum code size if you rebuild the project later and do not want the full debug information.

Copyright © 2000-2002 ARM Limited. All rights reserved.ARM DUI 0136D
Non-Confidential