tests: drivers: spi: Enable spi driver tests for max32662evkit board
Enable SPI test for MAX32662EVKIT. SRAM size increased to get enough space for SPI test image Co-Authored-By: Sadik Ozer <sadik.ozer@analog.com> Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit is contained in:
parent
f89633d198
commit
5f5473ed33
2 changed files with 28 additions and 0 deletions
5
tests/drivers/spi/spi_loopback/boards/max32662evkit.conf
Normal file
5
tests/drivers/spi/spi_loopback/boards/max32662evkit.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2024 Analog Devices, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_ASYNC=y
|
||||
CONFIG_SPI_MAX32_INTERRUPT=y
|
23
tests/drivers/spi/spi_loopback/boards/max32662evkit.overlay
Normal file
23
tests/drivers/spi/spi_loopback/boards/max32662evkit.overlay
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/* Increase SRAM2 size to get enough space for image */
|
||||
&sram2 {
|
||||
reg = <20008000 DT_SIZE_K(32)>;
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <128000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <500000>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue