-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[dfs] enable procfs and tempfs in default when using smart; fix LWIP_… #10292
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -187,7 +187,7 @@ if RT_USING_SMART | |
| default y | ||
| config RT_USING_DFS_PROCFS | ||
| bool "Enable proc file system" | ||
| default n | ||
| default y | ||
| endif | ||
|
|
||
| config RT_USING_DFS_CROMFS | ||
|
|
@@ -204,11 +204,13 @@ endif | |
|
|
||
| config RT_USING_DFS_TMPFS | ||
| bool "Enable TMP file system" | ||
| default y if RT_USING_SMART | ||
|
||
| default n | ||
|
|
||
| config RT_USING_DFS_MQUEUE | ||
| bool "Enable MQUEUE file system" | ||
| select RT_USING_DEV_BUS | ||
| default y if RT_USING_SMART | ||
| default n | ||
|
|
||
| if RT_USING_DFS_V1 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ static void *seq_next(struct dfs_seq_file *seq, void *data, off_t *index) | |
| return NULL; | ||
| } | ||
|
|
||
| #if LWIP_ROUTE | ||
|
||
| static void route_show(const char *name, uint32_t ip_addr, uint32_t netmask, void *parameter) | ||
| { | ||
| struct dfs_seq_file *seq = (struct dfs_seq_file *)parameter; | ||
|
|
@@ -66,6 +67,7 @@ static void route_show(const char *name, uint32_t ip_addr, uint32_t netmask, voi | |
| dfs_seq_printf(seq, "%d ", 0); | ||
| dfs_seq_printf(seq, "%d\n", 0); | ||
| } | ||
| #endif | ||
|
|
||
| static int seq_show(struct dfs_seq_file *seq, void *data) | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Update for RT_USING_DFS_PROCFS default is appropriate; however, add an inline comment explaining that enabling procfs by default under smart is intentional to improve maintainability.