Go to file
Xiang Xiao 31a6ffa15c arm/sama5: Fix error: array subscript 0 is outside array bounds
chip/sam_emaca.c: In function 'sam_emac_interrupt':
Error: /github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:140:25: error: array subscript 0 is outside array bounds of 'volatile uint32_t[0]' {aka 'volatile long unsigned int[]'} [-Werror=array-bounds=]
  140 | #define getreg32(a)    (*(volatile uint32_t *)(a))
      |                        ~^~~~~~~~~~~~~~~~~~~~~~~~~~
chip/sam_emaca.c:364:37: note: in expansion of macro 'getreg32'
  364 | #  define sam_getreg(priv,addr)     getreg32(addr)
      |                                     ^~~~~~~~
chip/sam_emaca.c:1630:9: note: in expansion of macro 'sam_getreg'
 1630 |   tsr = sam_getreg(priv, SAM_EMAC_TSR_OFFSET);
      |         ^~~~~~~~~~

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
arch arm/sama5: Fix error: array subscript 0 is outside array bounds 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
Documentation risc-v: Initial support for CanMV-k230 board and K230 chip 2023-12-17 01:10:57 -08:00
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 mm: Fix some typos 2023-11-24 09:57:10 -08:00
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 sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
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 Documentation: port warnings_filter Sphinx extension from Zephyr 2023-11-28 09:18:29 -08:00
.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 free disk space action added to fix docker image build issue 2023-12-08 14:42:17 +01:00
Makefile
NOTICE
README.md
ReleaseNotes

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.