Go to file
hujun5 13bbea0f1c arm64: inline up_cpu_index
reduce the time consumed by function call

test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
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-06-28 21:29:33 +08:00
.github build(deps): bump docker/build-push-action from 5 to 6 2024-06-25 16:42:24 +08:00
arch arm64: inline up_cpu_index 2024-06-28 21:29:33 +08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
boards boards: cxd56xx: Fix CMakeLists.txt 2024-06-28 17:53:56 +08:00
cmake fix nxstyle 2024-05-13 22:24:36 +02:00
crypto fix(Kconfig): spellcheck "randon" to "random" 2024-06-15 17:40:18 +08:00
Documentation esp32[c3|c6|h2]: Add GDMA support 2024-06-28 17:52:56 +08:00
drivers drivers/audio: Remove useless descriptions from CMakeLists.txt 2024-06-28 17:53:56 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs: add backtrace to where file opens 2024-06-24 23:53:59 +08:00
graphics video/vnc: add vnc_fb_register 2024-04-12 17:42:49 +08:00
include include/sched.h: CPU_XXX macros can also be used without CONFIG_SMP 2024-06-28 20:35:54 +08:00
libs libm/newlib: disable optimization for sincos 2024-06-28 01:26:18 +08:00
mm mm: mm_threshold perfer from init 2024-06-26 00:20:44 +08:00
net net/tcp: fix missing error code propagation 2024-06-22 19:26:14 -03:00
openamp cmake:reuse OpenAMP own CMake script for CMake build 2024-06-26 00:22:03 +08:00
pass1
sched sched/signal: There is no need to use sched_[un]lock 2024-06-27 11:51:16 +08:00
syscall sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
tools tools/ci/docker/linux/Dockerfile: add AVR32 GCC toolchain 2024-06-18 23:15:39 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml
.gitignore fs/vfat: Fix typo in the macro DIRSEC_BYTENDX 2024-02-03 12:46:08 -03:00
.yamllint
AUTHORS
CMakeLists.txt cmake: Fix build failure when -DNUTTX_APPS_DIR is specified 2024-06-28 17:19:22 +08:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig arch: Add --whole-archive linker option for some of architectures 2024-06-28 02:31:40 +08:00
LICENSE RP2040: Implement board_uniqueid() 2024-03-17 10:00:25 -03:00
Makefile
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.