No description
Find a file
Javier Casas 52dbfda355 bug fix: can_datahandler wrong return value
can_datahandler returns an unsigned value that represent the
number of bytes actually bufffered, but the call to iob_tryadd_queue
returns a negative value when it fails so that value can't be used as
can_datahandler return value because it is interpreted as unsigned so
a big number is wrongly returned when iob_tryadd_queue fails.

The fix is just setting the return value to zero when iob_tryadd_queue
fails, reflecting the actual meaning that no bytes have been buffered.
2025-01-30 11:37:29 -03:00
.github .github/ISSUE_TEMPLATE: Add host_info command section into bug report template 2025-01-21 09:11:17 +08:00
arch arch/risc-v/src/mpfs/mpfs_ddr.c: Re-try DDR training on any error 2025-01-30 13:55:27 +08:00
audio Fix some minor style issues 2024-11-20 10:51:07 +01:00
binfmt macro/align: Use ALIGN_UP and ALIGN_DOWN uniformly 2025-01-12 16:48:35 +08:00
boards boards/rv-virt: use modlib gnu-elf.ld 2025-01-30 13:55:57 +08:00
cmake [cmake] savedefconfig.cmake: fix EOL changes to defconfig files on Windows 2025-01-23 02:34:50 +08:00
crypto crypto/xform.c: migrate to SPDX identifier 2024-12-19 14:48:18 +08:00
Documentation samv7/serial: allow TX/RX DMA for UART drivers 2025-01-30 13:55:13 +08:00
drivers w25qxxxjv: fix missing QSPI locking 2025-01-30 13:49:46 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs/spinlock: replace no sched_lock() version to improve the performance 2025-01-24 11:48:23 +08:00
graphics move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
include net/can/: add statistics for recv, sent and drop 2025-01-30 11:37:29 -03:00
libs spinlock: Due to semantic inconsistency, remove/rename some functions with the _wo_note suffix. 2025-01-23 19:58:49 +08:00
mm Fix Kconfig style 2025-01-23 23:01:54 +08:00
net bug fix: can_datahandler wrong return value 2025-01-30 11:37:29 -03:00
openamp Remove all jira and changeid information from the kernel 2024-11-06 02:04:03 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched No need to call sched_lock explicitly after call spin_lock_irqsave, since it will be called in func spin_lock_irqsave. 2025-01-24 17:27:50 +08:00
syscall syscall: add missing epoll API 2025-01-24 01:30:02 +08:00
tools gdb/wdog: add basic wdog dump command 2025-01-30 13:46:01 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless bt_buf: use small lock in wireless/bluetooth/bt_buf.c 2024-12-18 18:11:08 +08:00
.asf.yaml
.gitignore gitignore: add Emacs auto-save files 2025-01-15 16:10:22 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint
AUTHORS AUTHORS: add Yamamoto Takashi 2024-11-04 22:29:22 +08:00
CMakeLists.txt Revert "kconfiglib/mark: It should use pip instead of apt install" 2025-01-13 19:12:25 -03:00
CONTRIBUTING.md Contributing and PR template fix. 2024-10-12 08:12:05 +08:00
INVIOLABLES.md
Kconfig debug symbol level: Use config instead 2024-12-04 22:36:45 +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 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.