Apache NuttX is a mature, real-time embedded operating system (RTOS) https://nuttx.apache.org/
Find a file
simbit18 8776147783 tools/Config.mk: add -DHAVE_STRNDUP=1
In all POSIX environments (Linux, Cygwin, MSYS2, macOS)
strndup() function is  available.

add HOSTCFLAGS += -DHAVE_STRTOK_C=1 -DHAVE_STRNDUP=1

Required after PR #16396

Signed-off-by: simbit18 <simbit18@gmail.com>
2025-05-20 08:29:05 +08:00
.github ci: enable spelling checks (via codespell) 2025-05-05 12:34:39 +08:00
arch arch/arm/rp23xx: resets: do not reset USBCTL, SYSCFG 2025-05-19 12:27:18 -03:00
audio audio/composite: merge composite instance allocate to one times 2025-03-17 10:26:54 +01:00
binfmt libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
boards arch/avr: reworked eliminating unused sections with GCC 2025-05-19 22:29:58 +08:00
cmake tools: Update Unix.mk and savedefconfig.cmake for CONFIG_ARCH_BOARD_COMMON 2025-05-02 09:30:34 -03:00
crypto crypto/xform.c: migrate to SPDX identifier 2024-12-19 14:48:18 +08:00
Documentation Documentation/platforms/avr: move documents to fix table of contents 2025-05-19 22:29:58 +08:00
drivers sensors: add support for BME688 sensor 2025-05-17 12:16:54 +08:00
dummy
fs fs/vfs/fs_dup.c: before file_allocate should restore minfd if define FDCHECK 2025-05-15 16:51:40 -03:00
graphics comments: update text typo pre-empted to preempted 2025-05-12 15:01:37 +08:00
include sensors: add support for BME688 sensor 2025-05-17 12:16:54 +08:00
libs fix misspelled names in locally scoped code 2025-05-15 10:12:12 +08:00
mm fix misspelled names in locally scoped code 2025-05-15 10:12:12 +08:00
net fix misspelled names in locally scoped code 2025-05-15 10:12:12 +08:00
openamp
pass1
sched sched: Remove checking of WDOG_ISACTIVE when cancelling wdog 2025-05-19 20:34:31 +08:00
syscall sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
tools tools/Config.mk: add -DHAVE_STRNDUP=1 2025-05-20 08:29:05 +08:00
video
wireless wireless/ieee802154: Replace direct access to semaphore value with nxsem_get_value 2025-04-17 20:13:40 +08:00
.asf.yaml github: master branch protection tune. 2025-05-07 18:37:13 -05:00
.codespell-ignore-lines Documentation: fix spelling 2025-05-15 11:33:41 +08:00
.codespellrc .codespellrc: ignore IST 2025-05-17 12:16:54 +08:00
.gitignore gitignore: add Emacs auto-save files 2025-01-15 16:10:22 +08:00
.pre-commit-config.yaml pre-commit: enable codespell checks 2025-05-05 12:34:39 +08:00
.yamllint
AUTHORS
CMakeLists.txt Documentation: fix typo in comments 2025-04-11 22:31:30 +08:00
CONTRIBUTING.md 202503 Apache NuttX RTOS Contributing Guidelines update. 2025-03-17 08:30:37 -03:00
INVIOLABLES.md
Kconfig libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
LICENSE
Makefile
NOTICE
README.md
ReleaseNotes

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

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 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.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing 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 for more information.