Does JN5169 support dynamic storage?

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

Does JN5169 support dynamic storage?

1,007件の閲覧回数
1979717461
Contributor III

JN5169 does not support dynamic storage(compilation error with malloc function), but why is the minimum heap set to 2000 in JN-AN-1217  Makefile?

STACK_SIZE = 5000
MINIMUM_HEAP_SIZE = 2000

Thanks.

ラベル(2)
タグ(1)
0 件の賞賛
3 返答(返信)

916件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

I hope you are doing great.

Unfortunately, we do not provide dynamic memory allocation on the JN5169 device.

We recommend memory pools and do the allocation from there.

Sorry for any inconvenience that this may cause you.

Regards,

Mario

0 件の賞賛

916件の閲覧回数
1979717461
Contributor III

Hi,

JN5169 does not support dynamic memory, so will the setting of MINIMUM_HEAP_SIZE = 2000 in the Makefile occupy RAM space?
If it takes up memory, can I remove it?

Regards.

hs

0 件の賞賛

916件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

This value is reserving the memory size that the Stack, in this case, will need for running all the processes that it needs.

Regards,

Mario