Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning and depends of examples/sotest #2576

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/sotest/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if EXAMPLES_SOTEST
config EXAMPLES_SOTEST_BUILTINFS
bool "Built-in File System"
default y
depends on FS_ROMFS && BUILD_FLAT
depends on FS_ROMFS && BUILD_FLAT && BOARDCTL_ROMDISK
---help---
This example supports a very, non-standard but also very convenient
way of testing with example using CONFIG_EXAMPLES_SOTEST_BUILTINFS.
Expand Down
2 changes: 2 additions & 0 deletions examples/sotest/sotest_main.c
JianyuWang0623 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ extern const int g_sot_nexports;

int main(int argc, FAR char *argv[])
{
#ifdef CONFIG_EXAMPLES_SOTEST_BUILTINFS
char devname[32];
#endif
#if CONFIG_MODLIB_MAXDEPEND > 0
FAR void *handle1;
#endif
Expand Down
Loading