 |
|
 |
RENESAS TOOL NEWS on May 16, 2005: RSO-H8C-050516D
A Note on Using the C/C++ Compiler Package
for the H8SX, H8S and H8 Families V.6.01 Release 00 |
Please take note of the following problem in using the C/C++ compiler package for the H8SX, H8S, and H8 families V.6.01 Release 00 (Windows version):
- On using compiler option -indirect at compiling the reset program "resetprg.c"
- Description
If compiler option -indirect is used for compiling the reset program "resetprg.c", which has been generated automatically, compile errors (Nos. C2190 and C2240) will arise.
- Conditions
This problem occurs if the following conditions are all satisfied:
| (1) |
At creating a new project, "Application" or "Demonstration" is selected out of the Project Types list in the New Project Workspace dialog box of the High-performance Embedded Workshop. |
| (2) |
Compiler option "-indirect=normal" or "-indirect=advanced" is selected to compile the resetprg.c program, which has been generated automatically. |
- Workaround
Modify the prototype declarations of the functions in the resetprg.c
program as follows:
Original:
void PowerON_Reset(void);
//void Manual_Reset(void);
Modified:
__entry(vect=0) void PowerON_Reset(void);
//__entry(vect=1) void Manual_Reset(void);
- Schedule of Fixing the Problem
Download the DeviceUpdater V.1.05 Release 00, a tool for updating
project files, from HERE
And then execute it to update the device data in the C/C++ compiler
package for the H8SX, H8S, and H8 families V.6.01 Release 00.
For information on the DeviceUpdater V.1.05 Release 00, see RENESAS
TOOL NEWS "DeviceUpdater for the SuperH RISC Engine; and H8SX, H8S, and
H8 Families Revised to V.1.05 Release 00," issued on May 16, 2005.
|
 |