is this possible to use sbrk() function in s32k118

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

is this possible to use sbrk() function in s32k118

511 Views
9860042625
Contributor I

I'm using s32DS for arm.

0 Kudos
1 Reply

504 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @9860042625,

Usually, to allocate dynamically memory the malloc function is used. In the newlib library used by the S32DS, inside the malloc, the sbrk is used to check if there's still memory space available to allocate the desired variable.

Also, only as a recommendation, the S32 design studio platform 3.4 was already released (link). I will suggest taking a look at the new features like the clocks, pins, and peripheral configuration tool.

Best Regards,

Alexis Andalon

0 Kudos