Instruction Manual
78M6612 M-API Library User Guide UG_6612_036
14 Rev. 1.00
3.3.4 Module’s Selection within a Library
The M-API libraries are organized into separate modules based on their functions so that code size and
RAM size can be easily optimized during Keil’s build/link time. Some of the modules are mandatory and
must be included while others can be de-selected to save Flash space if the functions/features are not
used. Typically, when an API is called directly, the Keil Linker would automatically include the module.
However, in some cases, a needed module used by the library would not be included as it is only called
within the library. In this case, the application would need to exclusively include the module. Table 6
shows the individual modules as built with the library and the selection criteria that an application is
recommended to follow.