4 how to build the compiler project, How to build the compiler project, Structure and dependencies of the firmware files – Motorola USB08 User Manual

Page 45

Advertising
background image

Software Module Descriptions

How to Build the Compiler Project

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Software Module Descriptions

45

Figure 3-1

shows the structure and interaction of the modules and files

that could be included by means of “#include” instructions. To
accomplish a complete compiler build, the grey modules have to be
included in a compiler project.

3.4 How to Build the Compiler Project

The Cosmic C Compiler can to arrange a project within the compiler IDE.
The compiler project owns:

A list of source modules to be complied

Translation options

Additional tools such as S-record generation

Figure 3-1. Structure and Dependencies of the Firmware Files

HC08JB8.H

Register Definitions

U08USB.H

USB Communication

U08232.H

RS232 Communication

U08KEY.H

Push Button Module

U08LED.H

LED Functions

U08ADC.H

Soft ADC Module

U08DESC.C

USB Descriptors

U08USB.C*)

USB Communication

U08232.C*)

RS232 Communication

*) = Alternative

CRTSJB8.S

C-Startup Module

U08ADC.C

Soft ADC Module

VECJB8.C

Interrupt Vectors

U08MAIN.C

Main Module

U08KEY.C

Push Button Module

Project Files

Advertising