Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

QP/C Real-Time Event Framework/RTOS implements event-driven Active Object (Actor) model combined with Hierarchical State Machines. Specifically designed for embedded systems (e.g., ARM Cortex-M MCUs).

License

NotificationsYou must be signed in to change notification settings

QuantumLeaps/qpc

Repository files navigation

QP Framework

What's New?

GitHub release (latest by date)

View QP/C Revision History at:https://www.state-machine.com/qpc/history.html

NOTE: If you're interested in the latest QP/C version from GitHub,it is recommended that you clone this repo like that:

git clone https://github.com/QuantumLeaps/qpc --recurse-submodules --depth 1

However, the easiest and most recommended way ofgetting started with QP/C is to downloadthe QP-bundle, asdescribed below.

About QP/C Real-Time Event Framework

QP/C real-time event framework (RTEF) is a lightweight implementation ofthe asynchronous, event-drivenActive Object (a.k.a. Actor) model of computationspecifically designed for real-time embedded systems, such as microcontrollers (MCUs).QP/C is both a software infrastructure for building applications consistingof Active Objects (Actors) and a runtime environment for executing the ActiveObjects in a deterministic, real-time fashion. Additionally, QP/C Frameworksupports Hierarchical State Machines with which to specify the behavior ofActive Objects [UML 2.5], [Sutter:10], [ROOM:94]. The QP/C Framework can beviewed as a modern, asynchronous, and truly event-driven real-time operatingsystem (RTOS).

QP Framework Family

QP/C framework is part of the larger QP family, consisting of the followingQP editions (please also seeQP Frameworks Feature Comparison):

QP EditionLanguageAPISafety FunctionsCertification ArtifactsLicensing
QP/CC (C11)same as
SafeQP/C
Selected AssertionsReq/Arch/Designopen-source & commercial
QP/C++C++ (C++17)same as
SafeQP/C++
Selected AssertionsReq/Arch/Designopen-source & commercial
SafeQP/CC (C11)same as
QP/C
All Safety FunctionsSafeQP/C
Certification Kit
commercial
SafeQP/C++C++ (C++17)same as
QP/C++
All Safety FunctionsSafeQP/C++
Certification Kit
commercial

TheSafeQP/C andSafeQP/C++ frameworks were originally derived from QP/C and QP/C++,respectively, but were extensively reengineered for the safety market using compliantSoftware Safety Lifecycle (SSL). In this process, the QP framework functional model has beensubjected to a full Hazard and Risk Analysis, which identified all areas of weakness withinthe functional model and API. These findings led to the creation of Safety Requirements and riskmitigation by Safety Functions, which were subsequently implemented, verified, and validated.The SafeQP frameworks are accompanied by the "SafeQP Certification Kits", which providedevelopers with ready-to-use artifacts, enabling them to save time, mitigate risk, and reducecosts during application certification for safety-critical devices in the industrial, medical,aerospace, and automotive industries. Pleasecontact Quantum Leapsfor more information about the SafeQP frameworks and the "Certification Kits".

NOTE: The SafeQP/C edition remains fully API- and functionally compatible with thecorresponding standard QP/C framework. This ensures existing QP/C Applications can transitionseamlessly to SafeQP/C without requiring any modifications. SafeQP/C edition retains QP/CFrameworks' hallmark features: a small memory footprint, excellent efficiency, and hardreal-time performance.

Getting Started with QP/C

The most recommended way to get started with QP/C is bydownloading the QP-bundle,which includes QP/C as well as theQM modeling tool and theQTools collection. The main advantage of obtaining QP/C bundledtogether is that you get all components, tools, andexamples all ready to go.

NOTE:Perhaps the most important fact to remember is that in embedded systems,nothing works until everything works. This means that you should always startwith aworking system and gradually evolve it, changing one thing at a timeand making sure that it keeps working every step of the way.

The providedQP/C example projects, such as the super-simpleBlinky, or a bit more advancedDining Philosophers Problem (DPP),allow you to get started with aworking project rather than starting fromscratch. You should also always try one of the unmodified examples on oneof the very inexpensive evaluation boards (such asSTM32 NUCLEO-U545RE)that it was designed for,before attempting to immediately adapt the projectsto your specific hardware. Only once an example project is built and runs onthe evaluation board, can you use it as a starting point for your specific hardwareand software development.

Getting Started Resources

QP/C Extras

The open source GPL distribution of QP/C can be augmented by the"QP/C Extras", which provide more advanced QP/C features, such as:

NOTE: The"QP/C Extras" arelicensed commercially onlyand available to the commercial licensees with the active Support Term. Please contactQuantum Leaps technical support to get the matching"QP/C Extras"for the public QP/C version.

NOTE: The"QP/C Extras" are alsoavailable for evaluation(upon request).

Licensing

The QP/C real-time event framework is licensed under thedual licensing model, withthe following licensing options:

  1. Open-source licensing under theGNU General Public License (GPLv3).

NOTE: The GPL requires that all modifications to the original codeas well as your application code (Derivative Works as defined in theCopyright Law) must also be released under the terms of the GPLopen source license.

  1. Closed-source licensing under one ofQuantum Leaps commercial licenses,which are specifically designed for users interested in retaining theproprietary status of their code.

NOTE: If your company has a policy forbidding open source in your product,all QP frameworks can be licensed commercially, in which case you don't useany open source license and you do not violate your policy.

NOTE: TheSafeQP frameworks and the accompanying "Certification Kits"are licensed commercially only.

Documentation

The online HTML documentation for thelatest version of QP/C is locatedat:https://www.state-machine.com/qpc

The offline HTML documentation forthis particular version of QP/Cis located in the sub-folderhtml (included in theQP/C releases).To view the offline documentation, open the filehtml/index.htmlin your web browser.

Support & Contact Information

How to Help this Project?

If you like this project, please give it a star (in the upper-right corner of your browser window):


About

QP/C Real-Time Event Framework/RTOS implements event-driven Active Object (Actor) model combined with Hierarchical State Machines. Specifically designed for embedded systems (e.g., ARM Cortex-M MCUs).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp