Description of Compile Target

[TWL_FINALROM]

This is the option used to create the release version for the master submission.

When the ROM is submitted, it is necessary to use this option for the build.

[TWL_DEBUG]

This option is used for more careful debugging than TWO_FINALROM or TWL_RELEASE.

For details about which functions are valid or invalid, see the debug functions in the OS Debug Function Reference.

[TWL_RELEASE]

This option is used to debug under conditions more similar to those in the final product than when TWL_DEBUG is used.

It's basically a combination of the features in TWL_DEBUG and TWL_ROM.
The details of what was combined are outlined below.

Features TWL_DEBUG TWL_RELEASE TWL_FINALROM
OS debug output functions
(OS_PutString, etc.)
Enabled. Disabled.
Compiler Optimization OFF ON
SDK internal debug codes Enabled. Disabled.
Assert functions (SDK_ASSERT, etc.) Enabled. Disabled.
Functions such as OS_Panic Enabled. Equivalent to OS_Terminate

CONFIDENTIAL