How Can I Use malloc function on my s32k142 Project

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

How Can I Use malloc function on my s32k142 Project

892件の閲覧回数
tonnyloy
Contributor I

Hi all,

I want to use  dynamic memory locate like bellow 

(uint8_t *)malloc(8); 

and I make sure I already   #include <stdlib.h>

and compiler results are like this error

pastedImage_1.png

So how can I fix it? 

thanks

タグ(2)
0 件の賞賛
返信
1 返信

839件の閲覧回数
tonnyloy
Contributor I

I found a work around method for me.  just  at the   Properties -> C/C++ Build -> Settings ->Standard S32DS C Linker -> Miscellaneous -> Linker flags 

--specs=nosys.specs

0 件の賞賛
返信