mirror of
https://github.com/apache/nuttx.git
synced 2026-09-11 21:20:10 +00:00
All of the tools listed on the original documentation are now given their own individual doc pages. This makes it much easier to cross-reference them from other documentation locations (as many are used in CI/for specific architectures) and it also makes it easier for users to digest the information. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
31 lines
997 B
ReStructuredText
31 lines
997 B
ReStructuredText
================================================
|
|
``mksymtab.c``, ``cvsparser.c``, ``cvsparser.h``
|
|
================================================
|
|
|
|
This is a C file that is used to build symbol tables from comma separated
|
|
value (CSV) files. This tool is not used during the NuttX build, but
|
|
can be used as needed to generate files.
|
|
|
|
Usage:
|
|
|
|
.. code:: console
|
|
|
|
$ ./mksymtab [-d] <cvs-file> <symtab-file> [<symtab-name> [<nsymbols-name>]]
|
|
|
|
Where::
|
|
|
|
<cvs-file> : The path to the input CSV file (required)
|
|
<symtab-file> : The path to the output symbol table file (required)
|
|
<symtab-name> : Optional name for the symbol table variable
|
|
Default: "g_symtab"
|
|
<nsymbols-name> : Optional name for the symbol table variable
|
|
Default: "g_nsymbols"
|
|
-d : Enable debug output
|
|
|
|
Example:
|
|
|
|
.. code:: console
|
|
|
|
$ cd nuttx/tools
|
|
$ cat ../syscall/syscall.csv ../lib/libc.csv | sort >tmp.csv
|
|
$ ./mksymtab.exe tmp.csv tmp.c
|