Skip to content
Commit bc72fb67 authored by Carlo Caione's avatar Carlo Caione Committed by Anas Nashif
Browse files

linker: Create sections from zephyr,memory-region nodes



Currently when a node has a 'zephyr,memory-region' compatible and a
'zephyr,memory-region' string property, a new memory region is created
in the linker script.

Having a memory region without a section to place variables in could be
not that useful. With this patch we extend the memory-region mechanism
to also create sections.

The user can then place variables in the sections as usual by using for
example the GCC attributes.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 67ba9900
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment