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.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2023-01-04 13:26:24 +01:00 committed by Maureen Helm
commit e9f77f1ecf

View file

@ -9,7 +9,8 @@
#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 {