HW_Init.c

Hardware init functions

HW_Init.h

Init function prototypes and defines.

Reset_Vector.c

System reset vector.

main.c

Embedded Bootloader main function.

6.3 Porting to a Specific Target

This section provides guidelines on how to port the Embedded Bootloader to a specific PCB/target.

6.3.1 Code and Data Segments

The Embedded Bootloader must be linked with the linker file as specified in Section 6.1.2. Several code and data segments are listed and must not be changed. Refer to the map file as described in Chapter 8 for more details.

6.3.2 Standard Libraries

The Embedded Bootloader must include the ansiis.lib from Metrowerks for a successful build. The library is part of the Metrowerks CodeWarrior installation and is located in the following path:

[Install Folder]\Metrowerks\CodeWarrior CW08_V3.0\lib\HC08c\*.*

6.3.3 Compiler #defines

No compiler #defines are necessary.

Freescale Semiconductor

Embedded Bootloader Reference Manual, Rev. 0.0

6-3

Page 45
Image 45
Freescale Semiconductor 802.15.4 manual Porting to a Specific Target, Code and Data Segments, Standard Libraries