EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Re: Can I modify lnk430F5437.xcl to meet my application requirements

Started by Wayne S January 5, 2012
The main reason to edit the .xcl file is if you want to modify the memory layout. To do that copy the .xcl file from C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\430\config to your project directory and in the options for the project, under Linker>Config, select Override default and set the path to something like: $PROJ_DIR$\Source\lnk430F2274.xcl

Then edit the local .xcl file.

However to edit things like stack size, just use the Options, as Hugo suggested.

To change the stack size, or other build parameters, just change them in the General Options>Stack/Heap settings. Right Click on the top project and select options.

Wayne

At 1/4/2012 06:32 AM, Hugo wrote:
>When you are in IAR, right click on the files tree, on the left, on the
>project name, click options, and a window pups up with tabs.
>
>There you will find all your settings, including where to get the xcl
>file.
>
>From: m... [mailto:m...] On Behalf
>Of kshi1028
>Sent: Tuesday, January 03, 2012 5:41 PM
>To: m...
>Subject: [msp430] Can I modify lnk430F5437.xcl to meet my application
>requirement
>
> Hello,
>
>I am new to IAR software and TI430. I use TI MSP430F5437
>(code size 256KB and RAM size 16KB) on my project.
>
>If I want to change or define the stack and heap size, should I edit
>lnk430f5437.xcl file or I should create a new .xcl file? If I must have
>my own xcl file, where and how can tell the compiler to use the customer
>version of xcl file instead of IAR version of xcl file?

Beginning Microcontrollers with the MSP430


The 2024 Embedded Online Conference