Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals Forum Discussions

Anonymous
Not applicable

I am getting an undefined reference to _sbrk when I am compiling my code. Is there any solution that you can provide?

0 Likes
2 Replies
RaN_283461
Level 2
Level 2

Hi,

   

Did you use the program written with a previous version of sdk with a new SDK ??

   

Can you be more specific on which SDK you use currently..

0 Likes
MaSt_4567191
Level 4
10 likes given 5 likes given First like received
Level 4

same for me: the issue appeared as soon as I started using dynamic allocation  malloc and free library functions in my EZUSB-based program.

Since I cannot imagine C programming w/o dynamic memory allocation i assume some link / compile some missing library or add some options to the compiler I guess. Please help: I am scary to mess up the project

0 Likes