In the CodeWarrior Projects view, the project files are distributed into five major groups, each with their own folder within the CF_project folder.
The default groups and their usual functions are:
The FLASH group contains all of the files that the CodeWarrior IDE uses to build the program. It also stores any files generated by the build process, such as any binaries ( .args, .elf, and .elf.s19), and a map file ( .elf.xmap). The CodeWarrior IDE 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 MCU derivative. For this example, the mcf51ac128a.c file supports the mcf51ac128a derivative. This file defines symbols that you use to access the MCU's 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 MCU 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.
This group contains the linker file.
This group contains the source code that manages the MCU's initialization and startup functions. For CFV1 derivatives, these functions appear in the source file startcf.c.
This group contains the user's 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 Resource Configurations >Exclude from Build to prevent the build tools from compiling them.