There's no easy way - in some cases the SPI could be sent a buffer, but for what the ILI9341 driver is doing here (sending a block of the same color) it's not going to work. Neither would it work for a bunch of other stuff.
Basically we'd end up doing a massive hack and then maybe the ILI9341 would be twice as fast - but still too slow to be useful.
Personally I'd like to sort out SPI properly so that it could work with buffers and DMA. That'd massively improve performance on all platforms.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There's no easy way - in some cases the SPI could be sent a buffer, but for what the ILI9341 driver is doing here (sending a block of the same color) it's not going to work. Neither would it work for a bunch of other stuff.
Basically we'd end up doing a massive hack and then maybe the ILI9341 would be twice as fast - but still too slow to be useful.
Personally I'd like to sort out SPI properly so that it could work with buffers and DMA. That'd massively improve performance on all platforms.