# nuttx **Repository Path**: wirdwu_admin/nuttx ## Basic Information - **Project Name**: nuttx - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-07 - **Last Updated**: 2026-04-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

![POSIX Badge](https://img.shields.io/badge/POSIX-Compliant-brightgreen?style=flat&label=POSIX) [![License](https://img.shields.io/badge/License-Apache%202.0-blue)](https://nuttx.apache.org/docs/latest/introduction/licensing.html) ![Issues Tracking Badge](https://img.shields.io/badge/issue_track-github-blue?style=flat&label=Issue%20Tracking) [![Contributors](https://img.shields.io/github/contributors/apache/nuttx)](https://github.com/apache/nuttx/graphs/contributors) [![GitHub Build Badge](https://github.com/apache/nuttx/workflows/Build/badge.svg)](https://github.com/apache/nuttx/actions/workflows/build.yml) [![Documentation Badge](https://github.com/apache/nuttx/workflows/Build%20Documentation/badge.svg)](https://nuttx.apache.org/docs/latest/index.html) Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()). For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX. ## Getting Started First time on NuttX? Read the [Getting Started](https://nuttx.apache.org/docs/latest/quickstart/index.html) guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal. ## Documentation You can find the current NuttX documentation on the [Documentation Page](https://nuttx.apache.org/docs/latest/). Alternatively, you can build the documentation yourself by following the Documentation Build [Instructions](https://nuttx.apache.org/docs/latest/contributing/documentation.html). The old NuttX documentation is still available in the [Apache wiki](https://cwiki.apache.org/NUTTX/NuttX). ## Supported Boards NuttX supports a wide variety of platforms. See the full list on the [Supported Platforms](https://nuttx.apache.org/docs/latest/platforms/index.html) page. ## Contributing If you wish to contribute to the NuttX project, read the [Contributing](https://nuttx.apache.org/docs/latest/contributing/index.html) guidelines for information on Git usage, coding standard, workflow and the NuttX principles. ## License The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the [License Page](https://nuttx.apache.org/docs/latest/introduction/licensing.html) for more information. ## Usage example ### ubuntu 编译环境 sudo apt install bison flex gettext texinfo libncurses5-dev libncursesw5-dev gperf automake libtool pkg-config build-essential gperf genromfs libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev libexpat-dev gcc-multilib g++-multilib picocom u-boot-tools util-linux sudo apt install kconfig-frontends sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi sudo apt-get install genromfs sudo apt install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-arm-none-eabi sudo apt install qemu-system sudo apt install -y git build-essential libncurses5-dev libssl-dev gcc-aarch64-linux-gnu g++-aarch64-linux-gnu flex bison python3 python3-pip wget https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz tar -xvf arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz -C /opt/ export TOOLCHAIN=/opt/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf export PATH=$PATH:$TOOLCHAIN/bin mkdir nuttx_project cd nuttx_project git clone https://github.com/apache/nuttx.git nuttx git clone https://github.com/apache/nuttx-apps apps ### 查询支持的办卡 ./tools/configure.sh -L 输出格式为 : ### Example1-sim:nsh cd nuttx ./tools/configure.sh -l sim:nsh make ./nuttx ### Example2-qemu-armv8a:nsh make distclean; ./tools/configure.sh qemu-armv8a:nsh make CROSS_COMPILE=aarch64-none-elf- qemu-system-aarch64 -cpu cortex-a53 -nographic -machine virt,virtualization=on,gic-version=3 -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx 或使用调试的方式启动 qemu-system-aarch64 -cpu cortex-a53 -nographic -machine virt,virtualization=on,gic-version=3 -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx -S -s 另外一个命令行 /opt/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gdb ./nuttx target remote:1234 b arm64_chip_boot c ### example3-qemu-armv8a:knsh 内核模式: make distclean ./tools/configure.sh -l qemu-armv8a:knsh make make export V=1 pushd ../apps ./tools/mkimport.sh -z -x ../nuttx/nuttx-export-*.tar.gz make import V=1 popd qemu-system-aarch64 -semihosting -cpu cortex-a53 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx