In the CodeWarrior Projects view, the project files are distributed into five major groups, each with their own folder within the Project1 folder.
The default groups and their usual functions are:
The FLASH 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 chosen Microcontrollers derivative. For this example, the MC9RS08KA1.C file supports the MC9RS08KA1 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, plus 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 MCU's initialization and startup functions. For RS08 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 on the source files and select Exclude from Build to prevent the build tools from compiling them.