DSPRelated.com
Forums

Linker Command File: Section Attributes

Started by Yeo Han Kwang November 29, 2002
Hi (hope I don't have to answer myself this time),

A simple question:
How do I set the attributes of the memory areas in the linker command
file? i.e. I want the IPMEM (Internal Program Memory) to be Read &
Execute only, etc.

I tried:
IPMEM : origin = 0x00000000, len = 0x00008000, attr=RX
IPMEM : origin = 0x00000000, len = 0x00008000, attr=0x3
IPMEM : origin = 0x00000000, len = 0x00008000, attr01
and so on... obviously none works (syntax error).

Thanks