The project does not contain any source code files at this point. Copy and paste the C source code (*.c) and header (*.h) files from the previous project,
HCS08_project, to save time.
- Copy the Sources folder from the HCS08_project folder and paste it into the X15 project folder.
- Copy the Project_Headers folder from the HCS08_project folder and paste it into the X15 project folder.
- Copy and paste the HCS08_project project's Lib folder into the X15 project folder.
- In the X15 folder, create a new folder Project_Settings. Copy and paste the Startup_Code folder from the HCS08_project\Project_Settings folder into the X15\Project_Settings folder.
Now there are five items in the
X15 project folder, as shown in the figure below:
- the project.ini configuration file
- the Sources folder, which contains the main.c source file
- the Project_Headers folder, which contains:
- the derivative.h header file, and
- the mc9s08gt32.h header file
- the Lib folder, which contains the mc9s08gt32.h source file
- the Project_settings\Startup_Code folder, which contains the start up and initialization file, start08.c
Figure 1. Folders and Files in X15 Project Folder 