Command Line Usage
start
Initializes NuttX environment on current directory.
nuttx-apps and nuttx directories must be present or a custom path can be
passed using the options.
ntxbuild start [OPTIONS] BOARD DEFCONFIG
Options:
--nuttx-dir TEXT: NuttX directory name (default: nuttx)--apps-dir TEXT: Apps directory name (default: nuttx-apps)
Example:
ntxbuild start esp32c6-devkitc nsh
build
Builds the firmware. User can select the number of parallel jobs, otherwise it defauls to one.
ntxbuild build [OPTIONS]
Options:
--parallel, -j INTEGER: Number of parallel jobs
Example:
ntxbuild build --parallel 4
kconfig
Executes operations on Kconfig options such as read and set.
ntxbuild kconfig [OPTIONS] [VALUE]
Options:
--read, -r TEXT: Path to apps folder--set-value TEXT: Set Kconfig value--set-str TEXT: Set Kconfig string--apply, -a: Apply Kconfig options--merge, -m: Merge Kconfig file
Examples:
ntxbuild kconfig --set-value CONFIG_DEBUG=y
ntxbuild kconfig --set-str CONFIG_APP_NAME="MyApp"
ntxbuild kconfig merge /path/to/kconfig
ntxbuild kconfig --apply
install
Downloads NuttX kernal and application source code to the current directory.
ntxbuild install
clean
Cleans build artifacts.
ntxbuild clean
distclean
Resets the entire environment to its default state (no board configured).
ntxbuild distclean
info
Show binary information.
ntxbuild info