Skip to content

Documentation: fill in pass1 directory description in organization.rst - #19337

Merged
acassis merged 1 commit into
apache:masterfrom
Zepp-Hanzj:doc/pass1-organization
Jul 6, 2026
Merged

Documentation: fill in pass1 directory description in organization.rst#19337
acassis merged 1 commit into
apache:masterfrom
Zepp-Hanzj:doc/pass1-organization

Conversation

@Zepp-Hanzj

Copy link
Copy Markdown
Contributor

Summary

Replace the TODO placeholder in Documentation/quickstart/organization.rst for the nuttx/pass1 directory with a description of the two-pass build mechanism.

Impact

Documentation only — no functional changes.

Testing

Verified against source code:

  • Kconfig (BUILD_2PASS, PASS1_TARGET, PASS1_BUILDIR, PASS1_OBJECT)
  • pass1/README.txt and pass1/Makefile
  • tools/Unix.mk (pass1 build invocation at line 554)
  • tools/FlatLibs.mk / tools/ProtectedLibs.mk (NUTTXLIBS += libpass1)
  • Documentation/ReleaseNotes/NuttX-7.26 (kernel symbol table generation)
  • apps/examples/module/ (loadable kernel module example)

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>
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small labels Jul 6, 2026
@Zepp-Hanzj

Copy link
Copy Markdown
Contributor Author

By the way, I've also created a Chinese translation of the NuttX documentation: https://github.com/Zepp-Hanzj/nuttx-docs-zh

Feedback and contributions are welcome!

@acassis
acassis merged commit 9f69e1c into apache:master Jul 6, 2026
7 checks passed
@acassis

acassis commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

By the way, I've also created a Chinese translation of the NuttX documentation: https://github.com/Zepp-Hanzj/nuttx-docs-zh

Feedback and contributions are welcome!

@Zepp-Hanzj maybe we can include a multi-language support on NuttX Documentation. @xiaoxiang781216 what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants