Documentation: fill in pass1 directory description in organization.rst

Replace the TODO placeholder with a description of the two-pass build
mechanism (CONFIG_BUILD_2PASS).  pass1/ supports two-pass builds where
application-generated source files are compiled and linked into the
kernel address space during pass 2, primarily for kernel symbol table
generation required by loadable kernel modules.

Signed-off-by: hanzhijian <hanzhijian@zepp.com>
Author: hanzhijian <hanzhijian@zepp.com>
This commit is contained in:
hanzhijian 2026-07-06 11:27:06 +08:00 committed by Alan C. Assis
parent d81c8bc923
commit 9f69e1c0e9

View file

@ -193,7 +193,15 @@ For details see :doc:`/components/openamp`.
``nuttx/pass1``
===============
TODO
This directory provides support for the two-pass build
(``CONFIG_BUILD_2PASS=y``). In a two-pass build, the application logic
is built during pass 1 and the operating system kernel during pass 2.
Applications may generate and install source files into this directory
during pass 1; those files are then compiled and linked into the kernel
address space during pass 2.
The primary use of this mechanism is to generate kernel symbol tables
required for loadable kernel module support.
``nuttx/sched``
===============