AnsweredAssumed Answered

STVD + Cosmic. Heap Size?

Question asked by kovalchuk.eugen on Mar 19, 2015
Latest reply on Mar 23, 2015 by luca
Hello i am using STVD + Cosmic with stm8s105k4t6. And i have a problem. I need to allocate an array with 612 cells but:


current_packet.data = (uint8_t*)malloc(current_packet.size+2);
if (current_packet.data == 0)
bytecount = 0;


But I cant because     current_packet.data stays in zero. In smaller sizes of array this code works well. How can I set heap size bigger, to fit this Jumbo array :-)? Where those setting are in STVD + Cosmic?               

Outcomes