Keil Logo Arm Logo

Discussion Forum

Problem with malloc in GNUARM7 compiler using Keil

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
yos sam
Posted
16-Mar-2009 11:42 GMT
Toolset
ARM
New! Problem with malloc in GNUARM7 compiler using Keil

Hi all,

I have used malloc in my application code. LPC2138 is the processor & GNUARM7 is the compiler. while running the code the global variables had been changed at the execution of free() function. Give me the solution for this.

Regards,
yos

Read-Only
Author
Andy Neil
Posted
16-Mar-2009 11:52 GMT
Toolset
ARM
New! RE: GNUARM7 is the compiler

See: http://www.keil.com/forum/docs/thread12738.asp

Read-Only
Author
yos sam
Posted
16-Mar-2009 13:41 GMT
Toolset
ARM
New! RE: GNUARM7 is the compiler

i didn't get the exact answer from you.I have to use malloc inside the interrupt routine. would u pls give me the solution ?

Read-Only
Author
Andy Neil
Posted
16-Mar-2009 13:51 GMT
Toolset
ARM
New! RE: i didn't get the exact answer from you

The exact answer is that this is not the (best) place to discuss GCC issues - it's a Keil forum.

"use malloc inside the interrupt routine"

Irrespective of what tools you use, that sounds like a Really Bad Idea...!!

=:0

"give me the solution ?"

Don't do that!

Next Thread | Thread List | Previous Thread Start a Thread | Settings

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.