K64F Mem allocation PE SDK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K64F Mem allocation PE SDK

1,160件の閲覧回数
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 返答(返信)

1,100件の閲覧回数
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

1,100件の閲覧回数
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 件の賞賛
返信