Renesas Technology, Tools FAQs
Document Number: 01051206_e
Q.
I would like to make my own makefile for the system I use with the MR30 (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:
MR30 Library Specifications
The MR30 library varies according to the message size of the mailbox function. When using the 32-bit message size, you
must specify libraries mr30lm.lib and c30mrlm.lib. When using the 16-bit message size, libraries mr30.lib and c30mr.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. mkmrtbl
2. as30 mrtable.a30
MR30 comes equipped with the mkmrtbl utility. Execute it in the directory where the r30 file is output. Once mkmrtbl 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