I'm not very good when it comes to working with memories, but I found out malloc is not specified in Arduino, how do I come about making it work? If not what is the substitute for this.
sketch\DMABuffer.h: In constructor 'DMABuffer::DMABuffer(int)':
DMABuffer.h:10:43: error: 'malloc' was not declared in this scope
buffer = (unsigned char *)malloc(bytes);
^
I'm not very good when it comes to working with memories, but I found out malloc is not specified in Arduino, how do I come about making it work? If not what is the substitute for this.