Using DMA for timer or PWM in stm32duino or leaflab maple
While stm32duino has a generic API for using DMA for any peripheral, it is not well known. I had to search various examples to get an idea. There too older examples use deprecated API, while newer tube API is intuitive and easy.