Hello,

I use the MSP430-GCC tool as follows on a windows 2000 system.

C:\>msp430-gcc --v
Reading specs from C:\msp430\bin\..\lib\gcc-lib\msp430\3.2.2\specs
Configured with: ./configure --prefix=/msp430 --target=msp430
--with-gnu-as --with-gnu-ld --with-gcc --disable-nls : (reconfigured)
./configure --prefix=/msp430
 --target=msp430 --with-gnu-as --with-gnu-ld --with-gcc --disable-nls
Thread model: single
gcc version 3.2.2

As controller I use the MSP430F413 with only 256bytes of RAM.
For compiling, I specify the target like:

msp430-gcc -mmcu=msp430x413 ...

But now, if I use the malloc() function, I can allocate memory above 256
bytes without getting a failure return value from malloc(). Only if I
allocate memory above 1000bytes or something (1024bytes?) the malloc()
function return value indicates that there is not enough memory.

Is this perhaps a tiny bug or did I something wrong?

Best regards!

Andreas





Reply via email to