How to dynamically allocate memory on S32 DS?

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

How to dynamically allocate memory on S32 DS?

ソリューションへジャンプ
1,126件の閲覧回数
Jeff-CF-Huang
Contributor III

Hi Sir,
Could you provide an example of allocating & releasing memory on S32DS? 

0 件の賞賛
返信
1 解決策
1,088件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you referring to the usage of malloc() and free() functions?

If so, we do not see any specific implementation for it. You should be able to use it just by adding the required library, as shown below:

DanielAguirre_0-1694719936060.pngDanielAguirre_1-1694719990530.png

 

DanielAguirre_2-1694720000355.pngDanielAguirre_3-1694720008286.png

Please, let us know.

元の投稿で解決策を見る

1 返信
1,089件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you referring to the usage of malloc() and free() functions?

If so, we do not see any specific implementation for it. You should be able to use it just by adding the required library, as shown below:

DanielAguirre_0-1694719936060.pngDanielAguirre_1-1694719990530.png

 

DanielAguirre_2-1694720000355.pngDanielAguirre_3-1694720008286.png

Please, let us know.