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

init_mempool()

Hai all,

Is init_mempool() necessary to use malloc? how do we use init_mempool() ,when & where.Pls reply me.

reg,
yos

Parents
  • If you are using the RealView compiler, you should have a setting Heap_Size in the startup file. You must configure this parameter with the amount of heap space you need. The startup file should do the rest.

    If you are using the old, and no longer supported, CARM compiler, there will be a init_mempool(). But for the RV compiler it shouuld be enough that you configure the heap size.

Reply
  • If you are using the RealView compiler, you should have a setting Heap_Size in the startup file. You must configure this parameter with the amount of heap space you need. The startup file should do the rest.

    If you are using the old, and no longer supported, CARM compiler, there will be a init_mempool(). But for the RV compiler it shouuld be enough that you configure the heap size.

Children