The New Bareboard Project wizard sets up the HCS08 project in few minutes. You can add additional components to your project afterwards. A number of files and folders are automatically generated in the project folder. This folder is referred to in this manual as the project directory.
The major GUI component for your project is the CodeWarrior Projects view, as when the project is created, the project appears in the CodeWarrior Projects view in the Workbench window.
The following figure shows the project in the CodeWarrior Projects view.
If you expand the folder icons, actually groups of files, by clicking in the CodeWarrior Project view, you can view the files created by the New Bareboard Project wizard.
The following figure shows the expanded project in the CodeWarrior Projects view.
The expanded view displays the logical arrangement of the project files. At this stage, you can safely close the project and reopen it later, if desired.
The following is the list of default groups and files displayed in the project window.
Examine the project folder that the IDE generated when you created the project. To do this, right-click on the project's name (Project_1 : FLASH) in the CodeWarrior Projects view, and select Show in Windows Explorer. Windows displays the Eclipse workspace folder, along with the project folder, Project_1, within it.
These are the actual folders and files generated for your project. When working with standalone tools, you may need to specify the paths to these files, so it is best that you know their locations and functions.
Note that there are some files (.project, .cproject, and .cwGenerateFileSetLog) that store critical information about the project's state. The CodeWarrior Projects view does not display these files, and they should not be deleted.
The FLASH\Sources folder, which is created after the project is built, holds an object file for every assembly source-code file. In this case, main.obj is generated.
Double-click the main.asm file in the Sources group. The main.asm file opens in the editor area.
The following image displays the main.asm file in the editor view.
You can use this sample main.asm file as a base to rewrite your own assembly source program. Otherwise, you can import other assembly-code files into the project and delete the default main.asm file from the project. For this project, the main.asm file contains the sample Fibonacci program.