In the CodeWarrior Projects view, the project files are distributed into five major groups, each with their own folder within the HCS08_project folder.
The default groups and their usual functions are:
The HCS08 group contains all of the files that CodeWarrior uses to build the program. It also stores any files generated by the build process, such as any binaries ( .o, .obj, and .abs), and a map file ( .map). CodeWarrior uses this directory to manage the build process, so you should not tamper with anything in this directory. This directory's name is based on the build configuration, so if you switch to a different build configuration, its name changes.
The Lib group contains the C-source code file for the specific Microcontrollers derivative. For this example, the mc9s08gt32.c file supports the MC9S08GT32 derivative. This file defines symbols that you use to access the Microcontrollers registers and bits within a register. It also defines symbols for any on-chip peripherals and their registers. After the first build, you can expand this file to see all of the symbols that it defines.
The Project_Headers group contains the derivative-specific header files required by the Microcontrollers derivative file in the Lib group.
The Project_Settings group consists of the following sub-folders:
This group contains the files used to manage a debugging session. These are the debug launch configuration ( .launch), a memory configuration file ( .mem) for the target hardware, and any TCL script files ( .tcl).
This group contains the burner file ( .bbl), and the linker command file ( .prm).
This group contains the source code that manages the Microcontrollers initialization and startup functions. For HCS08 derivatives, these functions appear in the source file start08.c.
This group contains the C source code files. The New Bareboard Project wizard generates a default main.c file for this group. You can add your own source files to this folder. You can double-click on these files to open them in the IDE's editor. You can right-click the source files and select Resource Configurations > Exclude from Build to prevent the build tools from compiling them.