Recently I do simple project where I send pixel data from RaspberryPi via UART. In this project, I created array of ~1000 length (screens are 3x5, it makes around 960 bytes of data). First I created it dynamically via calloc, and memory allocation failed. Changing array to static did not change anything. Then, I removed array and tried to increase Arduino buffer size instead. However, even though I have enough buffer size, my code even wont print something to the Serial (and I am not talking about RPi - Arduino yet).
Recently I do simple project where I send pixel data from RaspberryPi via UART. In this project, I created array of ~1000 length (screens are 3x5, it makes around 960 bytes of data). First I created it dynamically via calloc, and memory allocation failed. Changing array to static did not change anything. Then, I removed array and tried to increase Arduino buffer size instead. However, even though I have enough buffer size, my code even wont print something to the Serial (and I am not talking about RPi - Arduino yet).