Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
xuxingliang 9af5fc5d09 fs/shm: alloc aligned memory if CPU has cache
For kernel builds, shared memory is automatically aligned to page size.
For flat and protected builds, we align the memory size to the CPU cache
line size.

Failure to align memory properly could result in partial data read/write
by the CPU and peripherals, potentially causing data corruption during
cache flushes or invalidations.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2024-10-27 10:38:58 +08:00
.github CI: Enable sim-02 build when we create or update a Complex PR 2024-10-24 10:35:23 +08:00
Documentation Documentation: add some notes about running NuttX on Renode 2024-10-26 19:37:10 +08:00
arch arch/arm/stm32h7: add workaround for Renode 2024-10-26 20:49:49 +08:00
audio audio: remove started from audio_complete 2024-10-16 20:27:45 +08:00
binfmt modlib:support modlib can load PIC elf 2024-10-16 18:40:06 +08:00
boards driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
cmake cmake: fix the fdiagnostics-color handle issue 2024-10-19 14:32:35 +08:00
crypto libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
drivers libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
dummy
fs fs/shm: alloc aligned memory if CPU has cache 2024-10-27 10:38:58 +08:00
graphics Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
include libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
libs libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
mm mm/kasan: extern kasan API only MM_KASAN is enabled 2024-10-25 19:04:14 +08:00
net libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
openamp cmake(bugfix):disable proxy and service source in open-amp 2024-10-15 15:25:20 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched sched/cpuload: move g_cpuload_wdog to private chapter 2024-10-25 13:28:51 +08:00
syscall libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
tools tools/nxstyle: add phy62xx/uart.c into style white list 2024-10-26 13:21:29 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless bluetooth: set bt_driver_register/unregister to xx_set/unset 2024-10-17 18:09:32 +08:00
.asf.yaml
.gitignore add .gdb_history to .gitignore 2024-09-14 12:14:12 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint
AUTHORS AUTHORS: add Ville Juven 2024-10-22 23:10:08 +08:00
CMakeLists.txt cmake: fix the fdiagnostics-color handle issue 2024-10-19 14:32:35 +08:00
CONTRIBUTING.md Contributing and PR template fix. 2024-10-12 08:12:05 +08:00
INVIOLABLES.md
Kconfig arm7/8-m:support all nuttx iamge build with pic 2024-10-16 18:40:06 +08:00
LICENSE libc string:Separate code. 2024-10-23 09:49:19 +08:00
Makefile tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes

README.md

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.