Apache NuttX is a mature, real-time embedded operating system (RTOS)
Go to file
Xiang Xiao 0d0867484a modem/alt1250: Fix 'inst' may be used uninitialized
In function 'unlock_evtbufinst',
    inlined from 'parse_altcompkt' at modem/alt1250/alt1250.c:919:7,
    inlined from 'altcom_recvthread' at modem/alt1250/alt1250.c:968:21:
Error: modem/alt1250/alt1250.c:385:3: error: 'inst' may be used uninitialized [-Werror=maybe-uninitialized]
  385 |   nxmutex_unlock(&inst->stat_lock);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modem/alt1250/alt1250.c: In function 'altcom_recvthread':
modem/alt1250/alt1250.c:822:26: note: 'inst' was declared here
  822 |   FAR alt_evtbuf_inst_t *inst;
      |                          ^~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-19 08:36:49 +08:00
.github build(deps): bump actions/setup-python from 4 to 5 2023-12-10 21:53:27 -08:00
Documentation risc-v: Initial support for CanMV-k230 board and K230 chip 2023-12-17 01:10:57 -08:00
arch arch/arm: Disable -Warray-bound for rp2040, dm320 and lpc31xx 2023-12-19 08:36:49 +08:00
audio
binfmt riscv/arch_elf.c: Handle PCREL_HI20/LO12_I/S relocations correctly 2023-12-12 17:32:36 -08:00
boards stm32f4discovery/cxxtest: Fix gcc13.2 compiler error 2023-12-19 08:36:49 +08:00
cmake cmake: restore old behavior for savedefconfig 2023-12-16 07:12:08 -08:00
crypto
drivers modem/alt1250: Fix 'inst' may be used uninitialized 2023-12-19 08:36:49 +08:00
dummy
fs sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
graphics
include drivers/goldfish_fb: optimize goldfish fb register 2023-12-18 09:08:32 -08:00
libs upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
mm
net netdev/ipv6: Move `xxx_ipv6multicast` from arch to common code 2023-12-16 05:26:16 -08:00
openamp openamp: Add the virtio_negotiate_features interface for virtio-net. 2023-12-13 05:00:59 -08:00
pass1
sched sched: Stop the sched timer when possible to save the power in tickless mode 2023-12-17 08:25:11 -06:00
syscall
tools tools/ci: Upgrade riscv toolchain to v13.2.0 2023-12-17 18:25:24 +01:00
video
wireless netdev/ipv6: Move `xxx_ipv6multicast` from arch to common code 2023-12-16 05:26:16 -08:00
.asf.yaml
.gitignore
.yamllint
AUTHORS
CMakeLists.txt cmake: NUTTX_COMMON_DIR must be set after .config definitions are included 2023-12-12 16:48:08 -03:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig
LICENSE
Makefile
NOTICE
README.md
ReleaseNotes

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.