| ARM Technical Support Knowledge Articles | |
Applies to: LX51 Linker/Locator
Information in this article applies to:
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?
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.
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:
Article last edited on: 2006-01-31 18:17:46
Did you find this article helpful? Yes No
How can we improve this article?