2015-03-19 06:53 AM
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? #heap #stvd #cosmic2015-03-20 12:35 AM
2015-03-20 08:24 AM
map https://dl.dropboxusercontent.com/u/92887381/discover.map
lkf https://dl.dropboxusercontent.com/u/92887381/discover.lkf2015-03-20 10:37 AM
2015-03-22 09:25 AM
So can I make heap region bigger? My MCU has 2K of RAM.
2015-03-23 05:26 AM