Porting to a specific target, Code and data segments, Standard libraries – Freescale Semiconductor 802.15.4 User Manual

Page 45: Compiler #defines, Porting to a specific target -3, Code and data segments -3, Standard libraries -3, Compiler #defines -3, 3 porting to a specific target, 1 code and data segments

Advertising
background image

Freescale Semiconductor Embedded Bootloader Reference Manual, Rev. 0.0

6-3

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.

Advertising