• Unable to understand "init_mempool", "malloc", etc functions
    Hello, I am using Keil uVision3 V3.55 for Si-labs C8051F02X series. I am using "init_mempool" function, so that I can use the functions like "malloc", "free", etc. Here is my source code -- #include...
  • Unable to understand "init_mempool", "malloc", etc functions
    Hello, I am using Keil uVision3 V3.55 for Si-labs C8051F02X series. I am using "init_mempool" function, so that I can use the functions like "malloc", "free", etc. Here is my source code -- #include...
  • When I setup memory pool beginning with 0x0000, malloc doesn't work.
    When: init_mempool(0x0000, 1024); p = malloc(10); malloc always returns NULL. But when: init_mempool(0x2000, 1024); p = malloc(10); p gets a valid address. Why does this happen? Thanks....
  • When I setup memory pool beginning with 0x0000, malloc doesn't work.
    When: init_mempool(0x0000, 1024); p = malloc(10); malloc always returns NULL. But when: init_mempool(0x2000, 1024); p = malloc(10); p gets a valid address. Why does this happen? Thanks....
  • init_mempool()
    Hai all, Is init_mempool() necessary to use malloc? how do we use init_mempool() ,when & where.Pls reply me. reg, yos