K64F Mem allocation PE SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K64F Mem allocation PE SDK

458 次查看
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.

标记 (2)
0 项奖励
2 回复数

398 次查看
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

398 次查看
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 项奖励