mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested
This commit is contained in:
@@ -568,7 +568,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
||||
#
|
||||
# USB composite Class Driver Example
|
||||
#
|
||||
# CONFIG_EXAMPLES_COMPOSITE is not set
|
||||
# CONFIG_SYSTEM_COMPOSITE is not set
|
||||
|
||||
#
|
||||
# DHCP Server Example
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
/* Configuration ************************************************************/
|
||||
/* Device minor number */
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_COMPOSITE_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_COMPOSITE_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* Debug ********************************************************************/
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
int composite_archinitialize(void)
|
||||
{
|
||||
/* If examples/composite is built as an NSH command, then SD slot should
|
||||
/* If system/composite is built as an NSH command, then SD slot should
|
||||
* already have been initized in nsh_archinitialize() (see up_nsh.c). In
|
||||
* this case, there is nothing further to be done here.
|
||||
*
|
||||
@@ -99,7 +99,7 @@ int composite_archinitialize(void)
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_NSH_BUILTIN_APPS
|
||||
return sd_mount(CONFIG_EXAMPLES_COMPOSITE_DEVMINOR1);
|
||||
return sd_mount(CONFIG_SYSTEM_COMPOSITE_DEVMINOR1);
|
||||
#else
|
||||
return OK;
|
||||
#endif /* CONFIG_NSH_BUILTIN_APPS */
|
||||
|
||||
Reference in New Issue
Block a user