 |
KERNEL_FORMAT_ROM_CALLS |
In nostub mode, if you put
#define KERNEL_FORMAT_ROM_CALLS
at the beginning of the program, ROM calls will be stored and relocated in
the same manner as kernel programs do it. This does not mean that your
program will need a kernel to run. The kernel format for ROM calls is very
efficient if the same ROM calls are used at many different places, but may
waste space otherwise. You need to see for yourself whether using it makes
the program smaller.
This feature uses the linker-specific symbol
__ld_insert_kernel_rom_calls.
See also: MLINK_FORMAT_ROM_CALLS, COMPRESSED_FORMAT_ROM_CALLS