Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
zhengyu9 bc7114ab16 fs/vfs: result_independent_of_operands
timeout is a type of int
in MSEC2TICK, timeout may be multiplied by USEC_PER_MSEC
and the result may be out of range of int
Besides, this will induce following ERROR while running simulator:
vfs/fs_poll.c:498:38: runtime error: signed integer overflow:
19768268 * 1000 cannot be represented in type 'int'

Signed-off-by: zhengyu9 <zhengyu9@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-10-11 03:08:05 +08:00
.github CI: Skip the CI Builds that don't match the Board Label 2024-10-11 03:02:01 +08:00
Documentation docs: add gprof usage documentation 2024-10-10 18:46:51 +08:00
arch syslog: support syslog redirection to sched_note 2024-10-11 01:30:11 +08:00
audio audio: add AUDIO_MSG_IOERR msg to meida service 2024-09-30 08:43:22 +08:00
binfmt coredump:add const to memory region struct ptr 2024-10-01 20:40:28 +08:00
boards sched/gprof: add gprof support 2024-10-10 18:46:51 +08:00
cmake Simplify BOARD_MEMORY_RANGE initialization logic 2024-10-09 15:41:48 +08:00
crypto nuttx/crypto: export asynchronous calling process 2024-09-28 13:05:28 +08:00
drivers tools: prasetrace.py supports parsing syslog 2024-10-11 01:30:11 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs/vfs: result_independent_of_operands 2024-10-11 03:08:05 +08:00
graphics Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
include tools: prasetrace.py supports parsing syslog 2024-10-11 01:30:11 +08:00
libs syslog: support syslog redirection to sched_note 2024-10-11 01:30:11 +08:00
mm mm/heap: memory alignment before executing kasan_register 2024-10-10 23:11:37 +08:00
net net/local: fix the return address is incorrect when accept 2024-10-11 01:31:20 +08:00
openamp openamp/libmetal.defs: fix OpenAMP upgrade err 2024-10-09 23:32:58 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched sched/task: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
syscall sched: export sched_getcpu API in AMP mode 2024-10-09 15:21:25 +08:00
tools tools/Unix.mk: allow defconfig to overwrite old config 2024-10-11 02:40:58 +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 feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.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 feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake:enhance compile options for custom toolchain,implement the REVERSE 2024-10-09 13:48:11 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00
LICENSE drivers/i3c: support i3c driver model 2024-09-24 23:36:50 +08:00
Makefile tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
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

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.