1 2 3 4 5 6 7 8 9
void *kmalloc(uint32_t size) { return k_heapBMAlloc(&kheap,size); } void kfree(void *ptr) { k_heapBMFree(&kheap,ptr); }