1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<BASE target="main">
8<TITLE>Description of Compile Target</TITLE>
9<LINK rel="stylesheet" href="../css/nitro.css">
10</HEAD>
11<BODY>
12<H1>Description of Compile Target</H1>
13
14<H3><A name="Sinit">[TWL_FINALROM]</A></H3>
15<P>This is the option used to create the release version for the master submission.</P>
16<P><font color="#ff0000">When the ROM is submitted, it is necessary to use this option for the build.</font></P>
17<ul>
18<li>The <A href="../os/debug/SDK_ASSERT.html"><CODE>SDK_ASSERT</CODE></A> and <A href="../os/debug/SDK_WARNING.html"><CODE>SDK_WARNING</CODE></A> functions are disabled
19<li>The <A href="../os/debug/OS_Panic.html"><CODE>OS_Panic</CODE></A> and <A href="../os/debug/OS_TPanic.html"><CODE>OS_TPanic</CODE></A> functions do not display messages with the FINALROM library. (They do nothing and simply stop the operation, which is equivalent of the <A href="../os/system/OS_Terminate.html"><CODE>OS_Terminate</CODE></A> function.)<li>Optimization ON
20<li>Many debug functions return set values or don't do anything, regardless of the operating environment.</P>
21</ul>
22
23<H3><A name="System">[TWL_DEBUG]</A></H3>
24<P>This option is used for more careful debugging than TWO_FINALROM or TWL_RELEASE.</P>
25<ul>
26<li>OS debug string display functions such as <A href="../os/debug/OS_PutString.html">OS_PutString</A> are enabled.
27<li>The <A href="../os/argument/OS_GetArgc.html"><CODE>OS_GetArgc</CODE></A>, <A href="../os/argument/OS_GetArgv.html"><CODE>OS_GetArgv</CODE></A>, and related functions are enabled.
28<li>The <A href="../os/debug/OS_Panic.html"><CODE>OS_Panic</CODE></A> and <A href="../os/debug/OS_TPanic.html"><CODE>OS_TPanic</CODE></A> functions are enabled.
29<li>The debug stack check functions <A href="../os/stack/OS_CheckStack.html"><CODE>OS_CheckStack</CODE></A> and <A href="../os/stack/OS_CheckIrqStack.html"><CODE>OS_CheckIrqStack</CODE></A> are enabled.
30</ul>
31<P>For details about which functions are valid or invalid, see the debug functions in the <A href="../os/list_os.html#Debug-Print" target="main">OS Debug Function Reference</A>.</P>
32
33<H3><A name="Arch">[TWL_RELEASE]</A></H3>
34<P>This option is used to debug under conditions more similar to those in the final product than when TWL_DEBUG is used.</P>
35<P>It's basically a combination of the features in <CODE>TWL_DEBUG</CODE> and <CODE>TWL_ROM</CODE>. <br>The details of what was combined are outlined below.</P>
36
37
38<style type="text/css">
39<!--
40.enable { background :#ffcccc; text-align : center }
41.disable { text-align : center }
42-->
43</style>
44<TABLE>
45  <TBODY>
46    <TR>
47<TH>Features</TH>
48<TH style="background :#ccffcc">TWL_DEBUG</TH>
49<TH style="background :#ccccff">TWL_RELEASE</TH>
50<TH style="background :#cccccc">TWL_FINALROM</TH>
51    </TR>
52    <TR>
53<TD>OS debug output functions <br> (<A href="../os/debug/OS_PutString.html"><CODE>OS_PutString</CODE></A>, etc.)</TD>
54<TD colspan="2" class="enable">Enabled.</TD>
55<TD class="disable">Disabled.</TD>
56    </TR>
57    <TR>
58<TD>Compiler Optimization</TD>
59<TD class="disable">OFF</TD>
60<TD colspan="2" class="enable">ON</TD>
61    </TR>
62    <TR>
63<TD>SDK internal debug codes</TD>
64<TD colspan="2" class="enable">Enabled.</TD>
65<TD class="disable">Disabled.</TD>
66    </TR>
67    <TR>
68<TD>Assert functions (<A href="../os/debug/SDK_ASSERT.html"><CODE>SDK_ASSERT</CODE></A>, etc.)</TD>
69<TD class="enable">Enabled.</TD>
70<TD colspan="2" class="disable">Disabled.</TD>
71    </TR>
72    <TR>
73<TD>Functions such as <A href="../os/debug/OS_Panic.html"><CODE>OS_Panic</CODE></A></TD>
74<TD colspan="2" class="enable">Enabled.</TD>
75<TD class="disable">Equivalent to <A href="../os/system/OS_Terminate.html"><CODE>OS_Terminate</CODE></A></TD>
76    </TR>
77  </TBODY>
78</TABLE>
79
80<hr><p>CONFIDENTIAL</p></body>
81</HTML>