Hello all,

Our project makes extensive use of infomem and even more 'infomem'
pages taken from the code space.

The first botch is that the linker script does not specify .infomem at all

kees@SEPC002:~/projekten/Collector/clucitf/Hart$ make
/opt/ti/gcc/bin/msp430-elf-gcc -o mymy.elf -g -I /opt/ti/gcc/include
-std=gnu99 -mmcu=msp430f449 -fms-extensions  Dataalloc.o Main.o
Timers.o Subroutines.o Eerom.o Modbusmaster.o Hartserial.o
Hartprocess.o Display.o Displayapp.o Hartunivers.o Hartcompractice.o
Harttransmitspec.o Hartmain.o Harttimers.o Sensors.o Modbusserial.o
Hartconversion.o Hartplatformdep.o  -L/opt/ti/gcc/include -Wl,--cref
/opt/ti/gcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld:
mymy.elf section `.text' will not fit in region `ROM'
/opt/ti/gcc/bin/../lib/gcc/msp430-elf/4.9.1/../../../../msp430-elf/bin/ld:
error: no memory region specified for loadable section `.infomem'
collect2: error: ld returned 1 exit status


My question is:
is it possible to use a 'local' copy of the link script, modify it and
reference it in the Makefile?
And how should this local copy be referenced correctly to override the
system default?

best regrads
Kees

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to