Skip to content

Commit 6b2e014

Browse files
etienne-lmsfabiobaltieri
authored andcommitted
tests: drivers: memc: test full SDRAM on a few stm32 boards
Add an overlay for some STM32 boards that embed an SDRAM connected through FMC interface to better cover their accessibility. Despite each SDRAM is a few MByte large test are not too long lasting: - stm32f429i_disc1 .... 8MByte: <1s - stm32f469i_disco ... 16MByte: <1.5s - stm32f746g_disco .... 8MByte: <1s - stm32f7508_dk ...... 8MByte: not tested - stm32f769i_disco ... 16MByte: ~2s - stm32h745i_disco .... 8MByte: <0.2s - stm32h747i_disco ... 32MByte: <0.6s - stm32h750b_dk ....... 8Mbyte: <0.2s - stm32h757i_eval .... 32MByte: not tested - stm32h7b31i_dk ..... 16MByte: not tested Adding these test ensures non-regression on SDRAM support. Signed-off-by: Etienne Carriere <[email protected]>
1 parent b88d259 commit 6b2e014

10 files changed

+134
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Discable LTDC to prevent conflicts */
8+
9+
ram0: &sdram1 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Discable LTDC to prevent conflicts */
8+
9+
ram0: &sdram1 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC node to prevent conflicts */
8+
9+
ram0: &sdram1 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC to prevent conflicts */
8+
9+
ram0: &sdram1 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable LTDC to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Disable ethernet nodes to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&mac {
12+
status = "disabled";
13+
};
14+
15+
&mdio {
16+
status = "disabled";
17+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Test the full SDRAM accesses. Discable LTDC to prevent conflicts */
8+
9+
ram0: &sdram2 {};
10+
11+
&ltdc {
12+
status = "disabled";
13+
};

0 commit comments

Comments
 (0)