mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-17 02:29:46 +00:00
Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces
This commit is contained in:
parent
469a7fdf0f
commit
d198f09ae3
4 changed files with 18 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ config SYSTEM_SYMTAB
|
|||
bool "User-provided symbol table"
|
||||
default n
|
||||
depends on EXECFUNCS_HAVE_SYMTAB && LIB_BOARDCTL
|
||||
select BOARDCTL_SYMTAB
|
||||
select BOARDCTL_APP_SYMTAB
|
||||
---help---
|
||||
Build and include default symbol table in the NuttX application.
|
||||
The symbol table is selected by call symtab_initialize(). The
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ void symtab_initialize(void)
|
|||
|
||||
symdesc.symtab = g_symtab;
|
||||
symdesc.nsymbols = NSYMBOLS;
|
||||
(void)boardctl(BOARDIOC_SYMTAB, (uintptr_t)&symdesc);
|
||||
(void)boardctl(BOARDIOC_APP_SYMTAB, (uintptr_t)&symdesc);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SYSTEM_SYMTAB */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue