This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Parents
  • 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!

Reply
  • 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!

Children
No data