ARM Technical Support Knowledge Articles

WARNING L43 USING SRC MODE WITH PHILIPS MX

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


SYMPTOMS

I'm starting with a Philips MX project and I have configured the toolchain under Project -> Options for Target - Target for Code ROM Size: HUGE: 8MB Program. I generate from all C modules assembler source files (selected in the Properties dialog), but I get the linker warning:

*** WARNING L43: PHILIPS MX: ECRM MODE REQUIRES COMPILER SETTING ROM: HUGE

How can I solve this problem?

CAUSE

You have generated assembler SRC files for all your C modules. The SRC files have no information about the compiler ROM settings, so the linker generates the warning you receive.

RESOLUTION

Add a DUMMY.C module to your project (do not generate an assembler SRC file for it). This module may be empty. What is important is that the CX51 compiler translates it into an .OBJ file. This OBJ file will contain the ROM compiler setting.

You should also consider the following when using ROM HUGE:

SEE ALSO

Article last edited on: 2006-01-31 18:17:46

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential