modm-io/modm-devices

DMA instance count wrong for many STM32F1

chris-durand opened this issue · 2 comments

All STM32F1 of sizes 4, 6, 8 and b which are neither F105 nor F107 don't have a second DMA instance but it is specified as available in the device files. The same is true for F030xC. These don't define the second instance in the device headers. Some of them also specify signals in the device files for the non-existent DMA2.

I found a workaround in the DMA driver for now but it would be nicer if we could fix the device files.

@salkinium

From the F101, F102, F103, F105, F107 reference manual:
dma2
But a few pages later:
dma2_2

ST got confused by their own marketing speech 😂

The second statement is at least consistent with my findings from running grep on the device headers.