(non-straight text messages are frowned upon here)
Answer: It looks like you don't have the processor type correctly
selected in the compile command line.
Check the docs here:
http://mspgcc.sourceforge.net/doc_intro.html
It's not the latest version, but it has the answers to these questions.
Also, a short tutorial is here:
http://www.mikrocontroller.net/mspgcc.en.htm
Notice the command line for compiling is:
msp430-gcc -mmcu=msp430x123 -g -O -o test.elf test.c
The "-mmcu=" switch sets the processor.  A list of processors can be
found in the dir:
C:\msp430\msp430\include (assuming default install on win32)
The "naked" question was previously answered)
Good luck!
-Mark



-----Original Message-----
From: mspgcc-users-ad...@lists.sourceforge.net
[mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Carl
Kopin
Sent: Tuesday, February 25, 2003 4:52 PM
To: mspgcc-users@lists.sourceforge.net
Subject: [Mspgcc-users] msp430_tools help


 
I need help to solve the following problem.
I have a program named grocc.c, which compiled using 'build all' button
on IAR gives the following output:
Code size: 3538
Constant size: 82
Static variable size: 129
 
After linking:
4016 bytes of CODE memory
130 bytes of DATA memory
No errors and no warnings
 
When downloaded to the F1121 chip it works fine.
 
Now I tried to use the msp430_tools and compile it. After fixing some
little incompatibilities, I am getting the following output:
msp430-ld: region text is full (grocc.exe section .text)
msp430-ld: section .vectors [0000ffe0 -> 0000ffff] overlaps section
.text [0000f000 -> 000100b1]
No files created.
 
Can anyone help me to understand what is going on? I think, there are
manuals included with the msp430_tools; can you teach me how to access
them or other beginner's manuals?
Another question: what does the cryptic name 'naked' mean? I appreciate
your help.
 
Thanks,
Carl


Reply via email to