Returns the default memory region for the section type.
Syntax
lscript def-mem <memory-type>
Return the default memory region of the section type.
Options
Option | Description |
---|---|
-app
<application-name>
|
Name of application from workspace. |
-code
|
Return default code memory. |
-data
|
Return default data memory. |
-stack
|
Return default stack & heap memory. |
Returns
Return the default memory region of the section type.
Examples
lscript def-mem -stack
Return default stack and heap memory-region.
lscript def-mem -stack -app <application-name>
Return default stack and heap memory region for app specified.