mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
config: finalize transition from USER_ENTRYPOINT to INIT_ENTRYPOINT
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
aa84559566
commit
20ac85860c
3 changed files with 3 additions and 3 deletions
|
@ -189,7 +189,7 @@ const struct userspace_s userspace __attribute__ ((section ("userspace"))) =
|
|||
|
||||
.us_base =
|
||||
{
|
||||
.us_entrypoint = CONFIG_USER_ENTRYPOINT,
|
||||
.us_entrypoint = CONFIG_INIT_ENTRYPOINT,
|
||||
.us_textstart = (uintptr_t)g_textstart,
|
||||
.us_textend = (uintptr_t)g_textend,
|
||||
.us_datasource = (uintptr_t)g_datasource,
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_EXAMPLES_HELLO=y
|
|||
CONFIG_EXAMPLES_HELLO_STACKSIZE=4096
|
||||
CONFIG_EXAMPLES_NULL=y
|
||||
CONFIG_FS_WRITABLE=y
|
||||
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_LIBC_EXECFUNCS=y
|
||||
CONFIG_MAX_TASKS=16
|
||||
|
@ -61,5 +62,4 @@ CONFIG_UART1_BAUD=9600
|
|||
CONFIG_UART1_SERIAL_CONSOLE=y
|
||||
CONFIG_UART2_BAUD=9600
|
||||
CONFIG_USERMAIN_STACKSIZE=4096
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
CONFIG_WDOG_INTRESERVE=0
|
||||
|
|
|
@ -232,7 +232,7 @@ config TTY_LAUNCH_FILEPATH
|
|||
---help---
|
||||
The name of the entry point for user applications. For the example
|
||||
applications this is of the form 'app_main' where 'app' is the application
|
||||
name. If not defined, USER_ENTRYPOINT defaults to "main".
|
||||
name. If not defined, INIT_ENTRYPOINT defaults to "main".
|
||||
|
||||
endif # TTY_LAUNCH
|
||||
|
||||
|
|
Loading…
Reference in a new issue