Linker

Description

Functions to extract locations of linker sections.

Data Structures

struct sl_memory_region_t
Memory region structure.

Functions

sl_memory_region_t sl_memory_get_stack_region (void)
Get size and location of the stack.
sl_memory_region_t sl_memory_get_heap_region (void)
Get size and location of the heap.
sl_memory_region_t sl_storage_get_bootloader_region (void)
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.

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.

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.

Returns
description of the region reserved for bootloader storage.