Linker#

Functions to extract locations of linker sections.

Modules#

sl_memory_region_t

Functions#

Get size and location of the stack.

Get size and location of the heap.

Get size and location of the bootloader storage region.

Function Documentation#

sl_memory_get_stack_region#

sl_memory_region_t sl_memory_get_stack_region (void )

Get size and location of the stack.

Parameters
TypeDirectionArgument NameDescription
voidN/A

Returns

  • description of the region reserved for the c stack.


sl_memory_get_heap_region#

sl_memory_region_t sl_memory_get_heap_region (void )

Get size and location of the heap.

Parameters
TypeDirectionArgument NameDescription
voidN/A

Returns

  • description of the region reserved for the c heap.


sl_storage_get_bootloader_region#

sl_memory_region_t sl_storage_get_bootloader_region (void )

Get size and location of the bootloader storage region.

Parameters
TypeDirectionArgument NameDescription
voidN/A

Returns

  • description of the region reserved for bootloader storage.