Skip to content

Commit 74b0546

Browse files
JianyuWang0623xiaoxiang781216
authored andcommitted
module/sotest: Fix depends of SOTEST_BUILTINFS
Log: sotest_main.c: In function 'sotest_main': sotest_main.c:116:29: error: storage size of 'desc' isn't known 116 | struct boardioc_romdisk_s desc; | ^~~~ sotest_main.c:116:29: error: unused variable 'desc' [-Werror=unused-variable] cc1: all warnings being treated as errors Signed-off-by: wangjianyu3 <[email protected]>
1 parent 140647c commit 74b0546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sotest/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if EXAMPLES_SOTEST
1515
config EXAMPLES_SOTEST_BUILTINFS
1616
bool "Built-in File System"
1717
default y
18-
depends on FS_ROMFS && BUILD_FLAT
18+
depends on FS_ROMFS && BUILD_FLAT && BOARDCTL_ROMDISK
1919
---help---
2020
This example supports a very, non-standard but also very convenient
2121
way of testing with example using CONFIG_EXAMPLES_SOTEST_BUILTINFS.

0 commit comments

Comments
 (0)