Commit 7c30d7a9 authored by Raffael Rostagno's avatar Raffael Rostagno Committed by Fabio Baltieri
Browse files

tests: drivers: spi_loopback: Update DTS settings for DMA



Update DTS settings to add DMA configuration to devices which
support GDMA peripheral, in order to perform operations via DMA
driver instead of HAL functions.

Signed-off-by: default avatarRaffael Rostagno <raffael.rostagno@espressif.com>
parent 83f0e228
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
CONFIG_SPI_ESP32_INTERRUPT=y
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_DMA=y
+7 −0
Original line number Diff line number Diff line
@@ -41,4 +41,11 @@
	pinctrl-0 = <&spim2_loopback>;
	pinctrl-names = "default";
	status = "okay";

	dmas = <&dma 0>, <&dma 1>;
	dma-names = "rx", "tx";
};

&dma {
	status = "okay";
};
+1 −0
Original line number Diff line number Diff line
CONFIG_SPI_ESP32_INTERRUPT=y
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_DMA=y
+7 −0
Original line number Diff line number Diff line
@@ -41,4 +41,11 @@
	pinctrl-0 = <&spim2_loopback>;
	pinctrl-names = "default";
	status = "okay";

	dmas = <&dma 0>, <&dma 1>;
	dma-names = "rx", "tx";
};

&dma {
	status = "okay";
};
+1 −0
Original line number Diff line number Diff line
CONFIG_SPI_ESP32_INTERRUPT=y
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_DMA=y
Loading