commit | ae4f68c16de2015b321323b46fbbaaeeaf4db8ef | [log] [tgz] |
---|---|---|
author | Josh Hansen <jhansen3141@gmail.com> | Thu Oct 14 09:46:33 2021 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun Oct 17 10:58:39 2021 -0400 |
tree | 7ee0fd69231d35662ae9249154eb0fe735ef8903 | |
parent | 8302e5e21c42827184c553d45dbf3d63a58a91fb [diff] |
drivers: dma: stm32 Fix for STM32F1 SoCs Not all STM32 parts have at least 5 DMA interrupt vectors for DMA2. In particular, some STM32F1 XL-density devices only have 4 DMA2 interrupt vectors, with Channels 4 and 5 sharing the same vector. Added #if DT_INST_IRQ_HAS_IDX(1, 4) to prevent compiler errors on these SoCs. Signed-off-by: Josh Hansen <jhansen3141@gmail.com>