K64F Mem allocation PE SDK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K64F Mem allocation PE SDK

429 Views
jeffking
Contributor II

I'm using a K64F PE and the SDK, how come I can't seem to allocate memory larger than a 100 bytes (probably not the upper limit), but I can't allocate 800 bytes.  I'm calling OS_Mem_alloc(800) and it returns NULL.  Any ideas what I forgot to do!?

Thanks

Jeff.

Tags (2)
0 Kudos
2 Replies

369 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Hello, Jeff.

Can you send me the code, so I can see it, or explain  more detailed.

Regards

-Jonathan

369 Views
jeffking
Contributor II

Hi Jonathan,

Thanks for getting back to me.  I was able to find a solution to this.  In case anyone else has this issue, the heap allocation was defaulted to a size of 0x0400 (1024 bytes), increasing this fixed my issue.

Thanks again

Jeff.

0 Kudos