Renesas Technology, Tools FAQs
Document Number: 01051194_e
Q.
I would like to make my own makefile for the system I use with the MR308 (in other words, not use the makefile created by the
configurator). Is there anything I should be aware before doing this?
A.
Be sure to describe the following 4 items in the makefile:
MR308 Library Specifications
The MR308 library varies according to the message size of the mailbox function. When using the 32-bit message size, you
must specify libraries mr308lm.lib and c308mrlm.lib. When using the 16-bit message size, libraries mr308.lib and c308mr.lib
must be specified.
●
Compile Option Specifications
You must pay close attention to the specified compile options when compiling a file using a system call related to the mailbox
functions. When using 32-bit message size, specify compile option "-Dfar_msg=1". This option does not need to be specified
when using the 16-bit message size.
●
Assemble Option Specifications
Make sure to specify assemble option "-F" when assembling the source file, described in the assemble language, which issues
the system call.
●
Process Before Linking
Before executing a link, make sure to execute the following two processes, in the order as are listed.
1. mr308tbl
2. as308 mrtable.a30
MR308 comes equipped with the mr308tbl utility. Execute it in the directory where the r30 file is output. Once mr308tbl is
executed, the mrtable.a30 file will be created. After these two processes are completed, execute the link including the
mrtable.r30 file.
●
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Kommentare zu diesen Handbüchern