is this possible to use sbrk() function in s32k118

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

is this possible to use sbrk() function in s32k118

1,078 次查看
9860042625
Contributor I

I'm using s32DS for arm.

0 项奖励
回复
1 回复

1,071 次查看
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 项奖励
回复