How to dynamically allocate memory on S32 DS?

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

How to dynamically allocate memory on S32 DS?

Jump to solution
382 Views
Jeff-CF-Huang
Contributor II

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

0 Kudos
1 Solution
344 Views
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.

View solution in original post

1 Reply
345 Views
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.