QP-nano™ (Quantum Platform Nano) is an ultra-lightweight, open source active object (actor) framework for building responsive and modular real-time embedded applications as systems of asynchronous event-driven active objects (concurrent state machines). The QP-nano™ framework is a member of a larger family consisting of QP-nano, QP/C, and QP/C++ frameworks, which are all strictly quality controlled, thoroughly documented, and available under dual licensing model.
The main goals of the QP-nano™ framework are:
The QP-nano™ framework is a unique offering on the embedded software market. It provides a modern, reusable architecture of embedded applications, which combines object-orientation with the particular model of concurrency, known as active objects (concurrent state machines). This architecture is generally safer and better structured than the venerable "superloop + spaghetti-code" commonly used on low-end 8- and 16-bit microcontrollers.
The most unique characteristic of the QP-nano™ framework is its tiny footprint, especially in RAM. In this respect, QP-nano™ requires far less resources than even the smallest conventional Real-Time Operating System (RTOS) kernel. In fact, it has been designed to run on microcontrollers, where you cannot fit any traditional kernel. At the same time, QP-nano™ gives you a much higher level of abstraction than a conventional RTOS. With QP-nano™, you work at the level of active objects, state machines and events, as opposed to "superloop" commonly used on low-end 8- and 16-bit microcontrollers.
Even though it is written in MISRA-compliant ANSI-C, QP-nano™ is fundamentally an object-oriented framework, which means that the framework itself and your applications derived from the framework are fundamentally composed of classes and only classes can have state machines associated with them.
The behavior of active objects is specified in QP-nano™ by means of hierarchical state machines (UML statecharts). The frameworks support manual coding of UML state machines in C or C++ as well as fully automatic code generation by means of the free graphical QM™ modeling tool.
All QP-nano™ framework is designed to run on low-end 8- and 16-bit single-chip microcontrollers, replacing the venerable "superloop". The framework contains two built-in real-time kernels: the cooperative QV-nano kernel and the preemptive non-blocking QK-nano kernel. Native QP ports and ready-to-use examples are provided for selected CPU families.
QP-nano™ can also be emulated on desktop OSes (such as Windows and Linux), which allows you to develop and test large portions of your deeply embedded code on the desktop.
With over 15 years of continuous development and 60,000 downloads a year, the QP™ framework family is the most mature and popular such solution on the embedded software market.
The QP™ frameworks are used in millions of products worldwide in aerospace, medical devices, consumer electronics, wired and wireless telecommunications, industrial automation, transportation, robotics, and many more.
The book, Practical UML Statecharts in C/C++, 2nd Edition provides a detailed design study of the QP frameworks and explains all the related concepts.
QP-nano™ is licensed under the increasingly popular dual licensing model, in which both the open source software distribution mechanism and traditional closed source software distribution models are combined.
If you are developing and distributing open source applications under the GNU General Public License (GPL), as published by the Free Software Foundation, then you are free to use the Quantum Leaps software under the GPL version 3 of the License, or (at your option) any later version. Please note that GPL requires that all modifications to the original code as well as your application code (Derivative Works as defined in the Copyright Law) must also be released under the terms of the GPL open source license.
If you are developing and distributing traditional closed source applications, you can purchase one of Quantum Leaps commercial licenses, which are specifically designed for users interested in retaining the proprietary status of their code. All Quantum Leaps commercial licenses expressly supersede the GPL open source license. This means that when you license Quantum Leaps software under a commercial license, you specifically do not use the software under the open source license and therefore you are not subject to any of its terms.
Please post any technical questions to the Free Support Forum hosted on SourceForge.net. Posts to this forum benefit the whole community and are typically answered the same day.
Direct Commercial Support is available to the commercial licensees. Every commercial license includes one year of Technical Support for the licensed software. The support term can be extended annually.
Training and consulting services are also available from Quantum Leaps. Please refer to the Contact web-page for more information.
Copyright © 2002-2017 Quantum Leaps, LLC. All Rights Reserved.
Next: Getting Started