Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
Niklas Hauser 660ac63b92 stm32h7/serial: Do not wait on TXDMA semaphore
If using flow control with a high CTS the thread may be blocked forever
on the second transmit attempt due to waiting on the txdma semaphore.
The calling thread can then never make progress and release any
resources it has taken, thus may cause a deadlock in other parts of the
system.

The implementation differs in behavior from interrupt-driven TX and the
STM32F7 TXDMA . It should not implicitly wait on a taken semaphore but
return immediately and let the upper layers decide on what to do next.
2023-11-08 12:52:30 -05:00
.github build(deps): bump docker/build-push-action from 4 to 5 2023-09-18 13:33:40 +08:00
Documentation Documentation: migrate "Bottom-Half Interrupt Handlers" from wiki 2023-11-08 15:54:54 +08:00
arch stm32h7/serial: Do not wait on TXDMA semaphore 2023-11-08 12:52:30 -05:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt sched/task: close file descriptor with O_CLOEXEC before active task or exec 2023-10-27 21:15:07 +08:00
boards Fix Kconfig style 2023-11-08 22:58:26 +08:00
cmake cmake:fix invalid configs when export defconfig and .config 2023-08-29 09:51:20 +08:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
drivers cmake: add include path for special source 2023-11-07 17:39:03 +01:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs cmake: add include path for special source 2023-11-07 17:39:03 +01:00
graphics Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
include net/netdev: Support managing multiple IPv6 addresses by ioctl 2023-11-07 19:30:36 +08:00
libs libc_atomic: add file to cmake script 2023-11-07 17:39:03 +01:00
mm mm/kmap: Fix bad dependency to ARCH_VMA_MAPPING 2023-11-02 15:10:57 +02:00
net net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
openamp add remote poweroff support 2023-09-20 00:42:02 +08:00
pass1 passl: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched sched: Check for zero sleep time and yield CPU if 2023-11-07 18:26:54 +08:00
syscall Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tools Add CONFIG_EXPERIMENTAL for configure windows native 2023-10-31 09:03:02 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless wireless/bluetooth: Add option to set the HCI TX thread affinity 2023-10-24 22:41:44 +08:00
.asf.yaml
.gitignore tools/ci: migrate some ci build configurations to CMake 2023-07-15 23:32:36 +08:00
.yamllint
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake: correct cmake rule file name 2023-10-21 11:00:27 +08:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md
Kconfig debug/assert: decouple configuration of show file name feature 2023-10-20 02:22:48 +08:00
LICENSE libc: Remove the unused lib_libdtoa.c 2023-10-23 20:06:34 -03:00
Makefile tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +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.