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:
parent
6ff19d77ce
commit
e9f77f1ecf
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue