I would recommend to just not even do it. You must be attempting this in order to use the IAR C library implementations of malloc and free. But you've already got a perfectly good and optimized osal_mem_alloc/free(), so what would you be hoping to gain?
↧