In trunk now there are erros in STM32 v.1. Driver, file stm32_dma.c:
Code: Select all
302 #if defined(STM32_DMA2_CH1_HANDLER) || defined(__DOXYGEN__)
303 /**
304 * @brief DMA2 stream 1 shared ISR.
305 *
306 * @isr
307 */
308 OSAL_IRQ_HANDLER(STM32_DMA2_CH1_HANDLER) {
309
310 OSAL_IRQ_PROLOGUE();
311
312 dmaServeInterrupt(DMA2, 1);
313
314 OSAL_IRQ_EPILOGUE();
315 }
316 #endif
...
Error in line 312 "dmaServeInterrupt(DMA2, 1);" Second parameter is stream and must be 8, i.e. "dmaServeInterrupt(DMA2, 8);"
Same errors for all DMA2 irq handlers below...