-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3f94c7
commit 309f482
Showing
233 changed files
with
6,603 additions
and
37,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule 3rd_party
updated
11 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
Any user of the QP/C real-time embedded framework | ||
public | ||
qpc | ||
2025-12-31 | ||
|
||
Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>. | ||
Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved. | ||
|
||
Q u a n t u m L e a P s | ||
------------------------ | ||
Modern Embedded Software | ||
|
||
SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial | ||
|
||
This software is dual-licensed under the terms of the open source GNU | ||
General Public License version 3 (or any later version), or alternatively, | ||
under the terms of one of the closed source Quantum Leaps commercial | ||
licenses. | ||
|
||
The terms of the open source GNU General Public License version 3 | ||
can be found at: <www.gnu.org/licenses/gpl-3.0> | ||
|
||
The terms of the closed source Quantum Leaps commercial licenses | ||
can be found at: <www.state-machine.com/licensing> | ||
The QP/C software is dual-licensed under the terms of the open-source GNU | ||
General Public License (GPL) or under the terms of one of the closed- | ||
source Quantum Leaps commercial licenses. | ||
|
||
Redistributions in source code must retain this top-level comment block. | ||
Plagiarizing this software to sidestep the license obligations is illegal. | ||
|
||
Contact information: | ||
NOTE: | ||
The GPL does NOT permit the incorporation of this code into proprietary | ||
programs. Please contact Quantum Leaps for commercial licensing options, | ||
which expressly supersede the GPL and are designed explicitly for | ||
closed-source distribution. | ||
|
||
Quantum Leaps contact information: | ||
<www.state-machine.com/licensing> | ||
<[email protected]> | ||
#BC89496843DE5343CECA990E1370BDD6F9ACDC56 | ||
#2BACD81DCE8ED122C193E4F48A14170D660DFF1E |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Missing QS Software Tracing Files | ||
The following files for the target-resident | ||
[QS software tracing component](https://www.state-machine.com/qpc/srs-qp_qs.html) | ||
are not available in the GPL distribution of the QP/C real-time embedded framework: | ||
|
||
``` | ||
+---qpc | ||
| +---include | ||
| | qs.h <--- removed from the GPL distribution | ||
| | qs_pkg.h <--- removed from the GPL distribution | ||
| | | ||
| +---src | ||
| | +---qs | ||
| | | qs.c <--- removed from the GPL distribution | ||
| | | qs_64bit.c <--- removed from the GPL distribution | ||
| | | qs_fp.c <--- removed from the GPL distribution | ||
| | | qs_rx.c <--- removed from the GPL distribution | ||
| | | qutest.c <--- removed from the GPL distribution | ||
``` | ||
|
||
> NOTE: These files are available under a | ||
[commercial Quantum Leaps license](https://www.state-machine.com/licensing). | ||
|
||
# QS Software Tracing Evaluation | ||
To request QS software tracing **evaluation**, please contact Quantum Leaps at: | ||
|
||
- https://www.state-machine.com/contact | ||
- mailto:[email protected] | ||
|
||
# Quantum Leaps Licensing: | ||
To learn more about the open source and commercial licensing options: | ||
- https://www.state-machine.com/licensing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,39 +3,31 @@ | |
// Model: qpc.qm | ||
// File: ${include::qequeue.h} | ||
// | ||
// This code has been generated by QM 6.2.0 <www.state-machine.com/qm>. | ||
// This code has been generated by QM 7.0.0 <www.state-machine.com/qm>. | ||
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. | ||
// | ||
// This code is covered by the following QP license: | ||
// License # : LicenseRef-QL-dual | ||
// Issued to : Any user of the QP/C real-time embedded framework | ||
// Framework(s) : qpc | ||
// Support ends : 2025-12-31 | ||
// License scope: | ||
// | ||
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>. | ||
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved. | ||
// | ||
// Q u a n t u m L e a P s | ||
// ------------------------ | ||
// Modern Embedded Software | ||
// | ||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial | ||
// | ||
// This software is dual-licensed under the terms of the open source GNU | ||
// General Public License version 3 (or any later version), or alternatively, | ||
// under the terms of one of the closed source Quantum Leaps commercial | ||
// licenses. | ||
// | ||
// The terms of the open source GNU General Public License version 3 | ||
// can be found at: <www.gnu.org/licenses/gpl-3.0> | ||
// | ||
// The terms of the closed source Quantum Leaps commercial licenses | ||
// can be found at: <www.state-machine.com/licensing> | ||
// The QP/C software is dual-licensed under the terms of the open-source GNU | ||
// General Public License (GPL) or under the terms of one of the closed- | ||
// source Quantum Leaps commercial licenses. | ||
// | ||
// Redistributions in source code must retain this top-level comment block. | ||
// Plagiarizing this software to sidestep the license obligations is illegal. | ||
// | ||
// Contact information: | ||
// NOTE: | ||
// The GPL does NOT permit the incorporation of this code into proprietary | ||
// programs. Please contact Quantum Leaps for commercial licensing options, | ||
// which expressly supersede the GPL and are designed explicitly for | ||
// closed-source distribution. | ||
// | ||
// Quantum Leaps contact information: | ||
// <www.state-machine.com/licensing> | ||
// <[email protected]> | ||
// | ||
|
@@ -51,13 +43,11 @@ | |
typedef uint8_t QEQueueCtr; | ||
#elif (QF_EQUEUE_CTR_SIZE == 2U) | ||
typedef uint16_t QEQueueCtr; | ||
#elif (QF_EQUEUE_CTR_SIZE == 4U) | ||
typedef uint32_t QEQueueCtr; | ||
#else | ||
#error "QF_EQUEUE_CTR_SIZE defined incorrectly, expected 1U, 2U, or 4U" | ||
#error "QF_EQUEUE_CTR_SIZE defined incorrectly, expected 1U or 2U" | ||
#endif | ||
|
||
struct QEvt; // forward declaration | ||
struct QEvt; // forward declartion | ||
|
||
//$declare${QF::QEQueue} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | ||
|
||
|
@@ -70,7 +60,7 @@ typedef struct QEQueue { | |
struct QEvt const * volatile frontEvt; | ||
|
||
//! @private @memberof QEQueue | ||
struct QEvt const ** ring; | ||
struct QEvt const * * ring; | ||
|
||
//! @private @memberof QEQueue | ||
QEQueueCtr end; | ||
|
@@ -84,18 +74,40 @@ typedef struct QEQueue { | |
//! @private @memberof QEQueue | ||
QEQueueCtr volatile nFree; | ||
|
||
#ifndef Q_UNSAFE | ||
//! @private @memberof QEQueue | ||
uintptr_t frontEvt_dis; | ||
#endif // ndef Q_UNSAFE | ||
|
||
#ifndef Q_UNSAFE | ||
//! @private @memberof QEQueue | ||
QEQueueCtr head_dis; | ||
#endif // ndef Q_UNSAFE | ||
|
||
#ifndef Q_UNSAFE | ||
//! @private @memberof QEQueue | ||
QEQueueCtr tail_dis; | ||
#endif // ndef Q_UNSAFE | ||
|
||
#ifndef Q_UNSAFE | ||
//! @private @memberof QEQueue | ||
QEQueueCtr nFree_dis; | ||
#endif // ndef Q_UNSAFE | ||
|
||
//! @private @memberof QEQueue | ||
QEQueueCtr nMin; | ||
|
||
// public: | ||
// type: | ||
} QEQueue; | ||
extern QEQueue QEQueue_dummy; | ||
|
||
// dummy static member to force generating 'struct QEQueue {...}' | ||
extern QEQueue * QEQueue_dummy; | ||
|
||
// public: | ||
|
||
//! @public @memberof QEQueue | ||
void QEQueue_init(QEQueue * const me, | ||
struct QEvt const ** const qSto, | ||
struct QEvt const * * const qSto, | ||
uint_fast16_t const qLen); | ||
|
||
//! @public @memberof QEQueue | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,39 +3,31 @@ | |
// Model: qpc.qm | ||
// File: ${include::qk.h} | ||
// | ||
// This code has been generated by QM 6.2.0 <www.state-machine.com/qm>. | ||
// This code has been generated by QM 7.0.0 <www.state-machine.com/qm>. | ||
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. | ||
// | ||
// This code is covered by the following QP license: | ||
// License # : LicenseRef-QL-dual | ||
// Issued to : Any user of the QP/C real-time embedded framework | ||
// Framework(s) : qpc | ||
// Support ends : 2025-12-31 | ||
// License scope: | ||
// | ||
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>. | ||
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved. | ||
// | ||
// Q u a n t u m L e a P s | ||
// ------------------------ | ||
// Modern Embedded Software | ||
// | ||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial | ||
// | ||
// This software is dual-licensed under the terms of the open source GNU | ||
// General Public License version 3 (or any later version), or alternatively, | ||
// under the terms of one of the closed source Quantum Leaps commercial | ||
// licenses. | ||
// | ||
// The terms of the open source GNU General Public License version 3 | ||
// can be found at: <www.gnu.org/licenses/gpl-3.0> | ||
// | ||
// The terms of the closed source Quantum Leaps commercial licenses | ||
// can be found at: <www.state-machine.com/licensing> | ||
// The QP/C software is dual-licensed under the terms of the open-source GNU | ||
// General Public License (GPL) or under the terms of one of the closed- | ||
// source Quantum Leaps commercial licenses. | ||
// | ||
// Redistributions in source code must retain this top-level comment block. | ||
// Plagiarizing this software to sidestep the license obligations is illegal. | ||
// | ||
// Contact information: | ||
// NOTE: | ||
// The GPL does NOT permit the incorporation of this code into proprietary | ||
// programs. Please contact Quantum Leaps for commercial licensing options, | ||
// which expressly supersede the GPL and are designed explicitly for | ||
// closed-source distribution. | ||
// | ||
// Quantum Leaps contact information: | ||
// <www.state-machine.com/licensing> | ||
// <[email protected]> | ||
// | ||
|
@@ -162,8 +154,7 @@ void QK_activate_(void); | |
} while (false) | ||
|
||
//${QK-impl::QACTIVE_EQUEUE_WAIT_} ........................................... | ||
#define QACTIVE_EQUEUE_WAIT_(me_) \ | ||
Q_ASSERT_INCRIT(320, (me_)->eQueue.frontEvt != (QEvt *)0) | ||
#define QACTIVE_EQUEUE_WAIT_(me_) ((void)0) | ||
|
||
//${QK-impl::QACTIVE_EQUEUE_SIGNAL_} ......................................... | ||
#ifndef Q_UNSAFE | ||
|
Oops, something went wrong.