Go to file
hujun5 28cfadb4b0 sched: replace sync pause with async pause for setpriority
reason:
In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to
simplify the implementation of critical sections. The goal is to enable spin_lock_irqsave to encapsulate critical sections,
thereby facilitating the replacement of critical sections(big lock) with smaller spin_lock_irqsave(small lock)

Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -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

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-10-17 12:51:14 +02:00
.github ci: add Python linter to check 2024-10-16 07:53:37 +08:00
arch Revert "sim: fix context-switch when do wdog callback()" 2024-10-17 12:51:14 +02:00
audio vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
binfmt binfmt/libelf: Fix return code 2024-10-11 17:23:03 +08:00
boards net: Remove IFF_DOWN flag to compatible with Linux/*BSD 2024-10-15 22:40:22 +08:00
cmake modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel 2024-09-19 08:32:03 +08:00
crypto nuttx/atomic.h:fix Fixed the pragma of ATOMIC_VAR_INIT in clang 2024-09-23 14:07:03 +08:00
Documentation Revert "tools: update esptool version reference" 2024-10-16 15:45:41 +08:00
drivers net: Remove IFF_DOWN flag to compatible with Linux/*BSD 2024-10-15 22:40:22 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs rpmsgfs/rpmsgfs_client: init the priv->wait before register rpmsg callback 2024-10-10 15:30:41 +02:00
graphics Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
include net: Remove IFF_DOWN flag to compatible with Linux/*BSD 2024-10-15 22:40:22 +08:00
libs libc/machine: Fix the error caused by tag kasan 2024-10-12 11:54:04 +08:00
mm mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
net net: Remove IFF_DOWN flag to compatible with Linux/*BSD 2024-10-15 22:40:22 +08:00
openamp Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched sched: replace sync pause with async pause for setpriority 2024-10-17 12:51:14 +02:00
syscall fs/mmap/msync:support msync. 2024-09-19 01:43:50 +08:00
tools tools/espressif: add esptool version check to Espressif build system 2024-10-16 18:41:02 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +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 Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt sim: add link option /LARGEADDRESSAWARE:NO for windows64 2024-10-08 23:51:33 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig Add thermal framework 2024-09-23 08:57:29 +08:00
LICENSE libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +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 Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

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.