Skip to content

Commit 6e2b729

Browse files
ck-telecomnashif
authored andcommitted
samples: subsys: fs: fs_sample: add board sf32lb52_devkit_lcd support
Add board sf32lb52_devkit_lcd support Signed-off-by: Qingsong Gou <[email protected]>
1 parent 9874f7c commit 6e2b729

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2025, Qingsong Gou <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_SPI=y
5+
CONFIG_DISK_DRIVER_SDMMC=y
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright (c) 2025, Qingsong Gou <[email protected]>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&spi1 {
7+
status = "okay";
8+
9+
sdhc0: sdhc@0 {
10+
compatible = "zephyr,sdhc-spi-slot";
11+
reg = <0>;
12+
spi-max-frequency = <24000000>;
13+
14+
mmc {
15+
compatible = "zephyr,sdmmc-disk";
16+
disk-name = "SD";
17+
};
18+
};
19+
};

0 commit comments

Comments
 (0)