5.6.4.1 General
| Option | Description | Command Line1 |
|---|---|---|
| Heap Size (bytes) | Specify the size of the heap in bytes. Allocate a run-time heap of size bytes for use by C programs. The heap is allocated from unused data memory. If not enough memory is available, an error is reported. | -Wl,--defsym=_min_heap_size=size |
| Minimum stack size (bytes) | Specify the minimum size of the stack in bytes. By default, the
linker allocates all unused data memory for the run-time stack.
Alternatively, the programmer may allocate the stack by declaring two
global symbols: __SP_init and
__SPLIM_init. Use this option to ensure that at least a
minimum sized stack is available. The actual stack size is reported in
the link map output file. If the minimum size is not available, an error
is reported. | -Wl,--defsym=_min_stack_size=size |
| Allow overlapped sections | Check to not check section addresses for overlaps. Uncheck to check for overlaps. | --no-check-sections
|
| Init data sections | Check to support initialized data. Uncheck to not support. | --data-init
|
| Remove unused sections | Check to enable garbage collection of unused input sections (on some
targets). Uncheck to disable garbage collection. | --gc-sections
|
| Use response file to link | Pass linker options in a file rather than on the command line. On Windows systems, this option allows you to properly link projects with a large number of object files that would normally overrun the command-line length limitation of the Windows OS. | |
| Additional driver options | Type here any additional driver options that do not have dedicated GUI widgets in the Project Properties dialog. The string entered here will be emitted verbatim with the other driver options. | |
| Create default ISR | Check to create an interrupt function for unused vectors. Uncheck to not create a default ISR. | --isr
|
| Stack guardband size | Enter a stack guardband size to ensure that enough stack space is available to process a stack overflow exception. | --stackguard=size |
| No Interrupt Vector Table | Check to prevent the linker from generating an IVT/AIVT vector table.
If there is one defined by the user then it will be used; otherwise the
memory will remain unprogrammed. Uncheck to allow the linker to generate a vector table. | --no-ivt |
| ||
