samples: drivers: use stm32 dma driver binding macro to configure channel
Use the macro as defined by the
include/zephyr/dt-bindings/dma/stm32_dma.h to configure the
dma channel.
#include "../f070rb-bindings.h"
&spi1 { /* MOSI on PA7 */
- dmas = <&dma1 3 0x20440>, <&dma1 2 0x20480>;
+ dmas = <&dma1 3 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)>,
+ <&dma1 2 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
dma-names = "tx", "rx";
led_strip: b1414@0 {
