nuttx/Documentation/components/tools/mksymtab-cvsparser.rst
Matteo Golin 53fdfa68b9 docs/components/tools: Give tools their own doc pages
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>
2026-03-05 18:12:54 +01:00

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