graphics/nxwidgets: Change CONFIG_USER_ENTRYPOINT to CONFIG_INIT_ENTRYPOINT

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2021-12-25 18:05:15 +08:00 committed by Xiang Xiao
parent 0e8e08e2a0
commit 7c7841b53f

View File

@ -120,7 +120,7 @@ NXWidgets.:
see that setting like:
```conf
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_INIT_ENTRYPOINT="nsh_main"
```
If you are not using in NSH, then each unit test has a unique entry point.
@ -129,13 +129,13 @@ NXWidgets.:
`UnitTests/CButton` would be:
```conf
CONFIG_USER_ENTRYPOINT="cbutton_main"
CONFIG_INIT_ENTRYPOINT="cbutton_main"
```
And the correct entry point for `UnitTests/nxwm` would be:
```conf
CONFIG_USER_ENTRYPOINT="nxwm_main"
CONFIG_INIT_ENTRYPOINT="nxwm_main"
```
etc.