TA的每日心情 | 奋斗 2016-1-4 08:50 |
---|
签到天数: 50 天 连续签到: 1 天 [LV.5]常住居民I
|
MDK-ARM Linker
Home » Dialogs » Project » Options » Linker » MDK-ARM Linker
Use Memory Layout from Target Dialog
When enabled, µVision creates a linker scatter file from the memory information supplied in the dialogs Target and Properties. When disabled, then X/O Base, R/O Base, R/W Base, and the Scatter File can be set manually. The scatter file defines the memory layout and allows assigning modules to specific memory areas.
Make RW Sections Position Independent
When enabled, the variable region containing the RW and ZI output sections are position-independent. When disabled, the RW and ZI sections are located to absolute memory addresses. Generates the linker command-line option --rwpi.
Make RO Sections Position Independent
When enabled, the constant and code region containing the RO output section is position-independent. When disabled, the RO section is located to an absolute memory address. Generates the linker command-line option --ropi.
Don't Search Standard Libraries
Disables the scanning of default compiler run-time libraries. Generates the linker command-line option --noscanlib. Is interchangeable with --no_scanlib.
Report 'might fail' Conditions as Errors
Reports conditions that might result in a failure as errors rather than warnings. Generates the linker command-line option --strict.
X/O Base
Sets the base address of an execute-only (XO) execution region. The address must be word-aligned. XO sections are placed in a separate load and execution region. If not specified, then no ER_XO region is created. This option sets the command-line option --xo_base=address.
R/O Base
Sets the address for constant and code region containing the RO output section. The address must be word-aligned. The default RO base address is 0x8000. The R/O Base specifies also the initial program entry address. Sets the command-line option --ro_base=address.
If Execute Only sections are present, and you specify an R/O Base without an X/O Base, then an ER_XO execution region is created with the address specified by R/O Base. The ER_RO execution region immediately follows the ER_XO region.
R/W Base
Set the address for the variable region containing RW and ZI output sections. The address must be word-aligned. Sets the command-line option --rw_base. The option does not affect the placement of Execution Only sections.
disable Warnings
Enter the warning numbers that should get suppressed during compile time. Separate a list of numbers by commas (,). Generates the linker command-line option --diag_suppress.
Scatter File
Shows the name of the scatter-loading file (*.sct). The file provides grouping and placement details of the various regions and sections in the image. This option is active when Use Memory Layout from Target Dialog is disabled.
...
Is a browse-button to attach the scatter-loading file. This option is active when Use Memory Layout from Target Dialog is disabled.
Edit...
This button opens the scatter-loading file in the µVision editor. This option is active when Use Memory Layout from Target Dialog is disabled.
Misc Controls
Allows specifying linker commands for which there are no individual dialog controls.
Linker control string
Displays the current linker command-line directives.
|
|