NXDART: Distributed Automated Build and Runtime Test Environment for Apache NuttX RTOS

Authors

Abstract

This paper presents the concept and initial implementation of a distributed automated build and runtime test environment for NuttX, called NXDART. NuttX is Apache 2.0 licensed Free and Open-Source (FOSS) Real-Time Operating System (RTOS), created by Gregory Nutt and released to the public in 2007, with strong focus on portability, small footprint, scalability, and compatibility with POSIX, ANSI, and other stan dards commonly used by Unix and other RTOSes (e.g. VxWorks).

NuttX community consists of volunteering hobbyists, academia, and small/medium/large enterprise professionals from around the world. NuttX supports over 15 different 8..64-bit CPU architectures (RISC-V, ARM, ARM64, AVR, CEVA, HC, MIPS, Misoc, OpenRISC, Renesas, SPARC, TriCore, x86, AMD64, Xtensa, Z16, Z80, FPGA) on over 340 unique hardware boards with over 1600 example target firmware configurations. Project development intensity is measured in thousands of files changed every month with hundreds thousands of code lines modifications.

In order to assure self-compatibility and long term maintenance for supported platform all new source code contributions are always processed manually by independent reviewers and automated Continuous Integration (CI) software tools. Unfortunately, not all breaking changes can be detected that way. Code may build for various architectures and even run correctly on emulators but it may still not work as expected on real world hardware. Therefore, comprehensive runtime tests are required.

Hardware testing of hundreds of different devices in one place turned out impossible for our free and community driven project. To address this problem we have invented distributed hardware-in-the-loop (HIL) test environment that is easy to set up and maintain as it reuses hardware components already owned by hundreds of users around the world. This approach assures maximum coverage of possible boards and build environments, independence and uninterrupted redundant availability of build and runtime test automation, with feedback logs reporting directly to the project upstream, at virtually zero cost.

Author Biographies

Tomasz Cedro, Polish Telemedicine and e-Health Society

Tomasz CEDRO is with Apache NuttX RTOS, Polish Telemedicine and e-Health Society, IQCREDO, and CeDeROM, Warsaw, Poland (e-mail: tomek@cedro.info, ORCID: https://orcid.org/0000-0003-0069-1908).

Gregory Nutt, Apache NuttX RTOS

Gregory NUTT is with Apache NuttX RTOS, Costa Rica (e-mail: spudaneco@gmail.com).

Lup Yuen Lee, Apache NuttX RTOS

Lup Yuen LEE is with Apache NuttX RTOS, Singapore (e-mail: luppy@appkaki.com).

Grzegorz Południewski, Polish Telemedicine and e-Health Society

Grzegorz POLUDNIEWSKI is with Polish Telemedicine and e-Health Society, and IQCREDO, Warsaw, Poland (e-mail: grzegorz@poludniewski.pl).

Szymon Wilk, Poznan University of Technology

Szymon WILK is with Polish Telemedicine and e-Health Society, and Poznan University of Technology, Poznań, Poland (e-mail: szymon.wilk@cs.put.poznan.pl, ORCID: https://orcid.org/0000-0002-7807-454X).

Wojciech Glinkowski, Warsaw Medical University

Wojciech GLINKOWSKI is with Polish Telemedicine and e-Health Society, and Warsaw Medical University, Warsaw, Poland (e-mail: wojciech.glinkowski@wum.edu.pl, ORCID: https://orcid.org/0000-0003-2602-1128).

Additional Files

Published

2026-07-17

Issue

Section

Applied Informatics