One potential problem (why I didn't use it by default) is there's hardware bug which means that 1 byte SPI transfers fail, so you have to do some messing around to try and avoid it for those cases (and I think in earlier SDKs that might have meant modifying or avoiding the HAL altogether).
I could take a look at implementing the framework though (using the event queue to trigger a callback when the SPI transfer finished).
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.
The SPI DMA support is definitely of interest - there's an issue open which includes it on https://github.com/espruino/Espruino/issues/1212 (for all platforms).
One potential problem (why I didn't use it by default) is there's hardware bug which means that 1 byte SPI transfers fail, so you have to do some messing around to try and avoid it for those cases (and I think in earlier SDKs that might have meant modifying or avoiding the HAL altogether).
I could take a look at implementing the framework though (using the event queue to trigger a callback when the SPI transfer finished).