if, for
example, "IntVectors" is the C function you want to put in a particular
memory segment, you could try something like:
# ensure the
interrupt vectors are not deadstripped FORCE_ACTIVE
{FIntVectors}
SECTIONS {
.int_vectors_section : { OBJECT
(FIntVectors, IntVec.c) } > .p_flash_ROM
... etc.
hope this
helps
regards,
Lubomir
I want to link in an interrupt vector table (written in
C). I assume I need to create a special section - starting at 0x4 or
what ever, and then link the table at this location. Specifically,
how does one do this?
I know how to create sections in the
linker command file, and I know how to use sections directive in ASSY, but
how does one do this with a C file? For example, how do I "tell" the
linker to "put" IntVec.c starting at 0x4 program RAM, while putting the
rest of the C program code into the default .text sections?
Thanks in advance - Bill
_____________________________________ Note: If you do a simple
"reply" with your email client, only the author of this message will receive
your answer. You need to do a "reply all" if you want your answer to be
distributed to the entire group.
_____________________________________ About this discussion group:
To Join: m...@yahoogroups.com
To Post:
m...@yahoogroups.com
To Leave: m...@yahoogroups.com
Archives: http://www.yahoogroups.com/group/motoroladsp
More Groups:
http://www.dsprelated.com/groups.php3
">Yahoo! Terms
of Service.
|