beautypg.com

Chapter 3. tutorial project workspace – Renesas H8S2215R User Manual

Page 7

background image

Chapter 3. Tutorial Project Workspace

The workspace includes all of the files for two build configurations. The tutorial code is common to both the Debug and the Release build

configurations. The tutorial is designed to show how code can be written, debugged then downloaded without the debug monitor in a

‘Release’ situation.

The build configuration menu in High-performance Embedded Workshop (HEW) allows the project to be configured such that certain files

may be excluded from each of the build configurations. This allows the inclusion of the debug monitor within the Debug build, and its

exclusion in the Release build. Contents of common C files are controlled with defines set up in the build configuration options and #ifdef

statements within the source files.

Maintaining only one set of project files means that projects are more controllable.

The HMON monitor code is provided in a pre-compiled library for inclusion in the user code. This library must be included in the tool chain

linker settings. There are some configuration options provided to the user. These are provided in the following files -

hmonserialconfiguser.c, hmonconfiguser.c, hmonconfiguser.h and hmonserialconfiguser.h. For more detailed information on this please

refer to HMon User Manual.

5