Chapter 7. Project Files; Standard Project Files; Initialisation Code (Resetprg.c) - Renesas M3T-ICC740 Tutorial Manual

Starter kit for 38d5, renesas single-chip 8-bit cmos microcomputer 740 family
Table of Contents

Advertisement

Chapter 7. Project Files

7.1. Standard Project Files

The Renesas Starter Kit tutorials are configured so that it is possible to provide the same tutorial code on multiple Renesas Starter Kit
products. This allows the evaluation of the different processor cores using equivalent code. To achieve this, the following files are common
between all device cores and Toolchains.
Each of the tutorial files has detailed comment text describing the function of each code entry. Please refer to the source code for greater
detail on the purpose and operation of the compiler specific details.

7.1.1. Initialisation code (resetprg.c)

This is the entry point of the main tutorial code.
Initialisation of the variables used in the C compilers and initialisation of stack pointers are completed in the cstartup.s31 file for the IAR
ICC740 compiler, this file in turn calls Initialise();
The call to hardwaresetup() will initialise the device hardware and peripherals ready for the tutorial software.
The call to main() will start the main demonstration code.
14

Advertisement

Table of Contents
loading

Table of Contents