Skip to content

Commit

Permalink
7.4.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum-leaps committed Aug 16, 2024
1 parent 950ab31 commit 4470078
Show file tree
Hide file tree
Showing 50 changed files with 551 additions and 468 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.qms
*.obj
*.o
*.d
Expand Down Expand Up @@ -33,7 +34,6 @@
*.Debug
*.Release
*.bak
.qpcpp
version-*
JLink*.*

Expand Down
4 changes: 2 additions & 2 deletions LICENSES/LicenseRef-QL-dual.qlc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Any user of the QP/C++ real-time embedded framework
qpcpp
2024-12-31
2025-12-31

Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.

Expand All @@ -27,4 +27,4 @@ Plagiarizing this software to sidestep the license obligations is illegal.
Contact information:
<www.state-machine.com/licensing>
<[email protected]>
#10EBA9166330240A6EE04F770591C48BE4545919
#CEF384A62BD9270573AA82386A5BE6F6E36AD848
8 changes: 4 additions & 4 deletions LICENSES/QP-Arduino_GPL_Exception.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ License, version 3 ("GPLv3"). It applies to the QP/C++ and QP-nano
source code (the "QP Frameworks") that is distributed as part of the
QP-Arduino Support Package.

When you use QP Frameworks inside your program, the QP Frameworks' code
is combined with your code of the program. The purpose of this Exception
is to allow non-GPL (including proprietary) programs to use, in this way,
the QP Frameworks' code covered by this Exception.
When you use QP/C++ or QP-nano Frameworks inside your program, the frameworks'
code is combined with your code of the program. The purpose of this Exception
is to allow non-GPL (including proprietary) programs to use, in this way, the
QP Frameworks' code covered by this Exception.

0. Definitions.
"QP Frameworks" are lightweight real-time embedded frameworks (RTEFs)
Expand Down
29 changes: 14 additions & 15 deletions LICENSES/QP-RasPi_GPL_Exception.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ Copyright (c) 2005-2021 Quantum Leaps, LLC. <https://www.state-machine.com/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

This QP/C++ and QP-nano Framework Exception for Arduino ("Exception")
This QP/C and QP/C++ Framework Exception for Raspberry Pi ("Exception")
is an additional permission under section 7 of the GNU General Public
License, version 3 ("GPLv3"). It applies to the QP/C++ and QP-nano
source code (the "QP Frameworks") that is distributed as part of the
QP-Arduino Support Package.
License, version 3 ("GPLv3"). It applies to the QP/C and QP/C++ source
code (the "QP Frameworks").

When you use QP Frameworks inside your program, the QP Frameworks' code
is combined with your code of the program. The purpose of this Exception
Expand All @@ -24,23 +23,23 @@ as well as all supporting ports and examples, as distributed from:
<https://www.state-machine.com> and
<https://github.com/QuantumLeaps>

"Raspberry Pi" is a low cost, credit-card sized computer that is
designed by the Raspberry Pi Foundation based in the UK and registered
as UK educational charity under the number 1129409. For the purpose of
this license, Raspberry Pi means only genuine Raspberry Pi computer
bearing the Raspberry Pi logo, as described at
"Raspberry Pi" is a low cost, credit-card sized computer that is designed
by the Raspberry Pi Foundation based in the UK and registered as UK
educational charity under the number 1129409. For the purpose of this
license, Raspberry Pi means only genuine Raspberry Pi computer bearing
the Raspberry Pi logo, as described at:
<https://www.raspberrypi.com/trademark-rules>.

"Target Code" refers to output from any compiler and linker in
executable form suitable for execution by Raspberry Pi.
"Target Code" refers to output from any compiler and linker in executable
form suitable for execution by Raspberry Pi.


1. Grant of Additional Permission
As a special Exception, the copyright holder of QP Frameworks gives you
permission to propagate a work of Target Code formed by combining the QP
Frameworks with your own source code without the requirement to expose
your proprietary source code, provided that all Target Code will execute
on a genuine Raspberry Pi computer(s).
permission to propagate a work of Target Code formed by combining the
QP/C or QP/C++ Frameworks with your own source code without the requirement
to expose your propriatory source code, provided that all Target Code will
execute on a genuine Raspberry Pi computer(s).

2. No Weakening of GPL
The availability of this Exception does not imply any general
Expand Down
18 changes: 8 additions & 10 deletions LICENSES/QP-mbed_GPL_Exception.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ Copyright (c) 2005-2014 Quantum Leaps, LLC. <https://www.state-machine.com/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

This QP/C++ and QP-nano Framework Exception for Arduino ("Exception")
This QP/C and QP/C++ Framework Exception for ARM mbed ("Exception")
is an additional permission under section 7 of the GNU General Public
License, version 3 ("GPLv3"). It applies to the QP/C++ and QP-nano
source code (the "QP Frameworks") that is distributed as part of the
QP-Arduino Support Package.
License, version 3 ("GPLv3"). It applies to the QP/C and QP/C++ source
code (the "QP Frameworks").

When you use QP Frameworks inside your program, the QP Frameworks' code
is combined with your code of the program. The purpose of this Exception
Expand All @@ -24,16 +23,15 @@ as well as all supporting ports and examples, as distributed from:
<https://www.state-machine.com> and
<https://github.com/QuantumLeaps>

"mbed-Enabled Board" means any board with an ARM Cortex-M CPU that is
listed on the official "mbed platforms" website
<https://os.mbed.com/platforms>.
"mbed-Enabled Board" means any board with an ARM Cortex-M CPU that is listed
on the official "mbed platforms" website <https://os.mbed.com/platforms>.


1. Grant of Additional Permission
As a special Exception, the copyright holder of QP Frameworks gives you
permission to propagate a work of Target Code formed by combining
the QP Frameworks with your own source code without the requirement
to expose your proprietary source code, provided that all Target Code will
permission to propagate a work of Target Code formed by combining the
QP/C or QP/C++ Frameworks with your own source code without the requirement
to expose your propriatory source code, provided that all Target Code will
execute on an "mbed-Enabled Board".

2. No Weakening of GPL
Expand Down
2 changes: 1 addition & 1 deletion examples
Submodule examples updated 69 files
+38 −15 .gitignore
+38 −34 README.md
+2 −2 arm-cm/blinky_ek-tm4c123gxl/README.md
+ arm-cm/blinky_ek-tm4c123gxl/ek-tm4c123gxl.jpg
+ arm-cm/blinky_ek-tm4c123gxl/ek-tm4c123gxl.webp
+2 −2 arm-cm/blinky_nucleo-c031c6/README.md
+ arm-cm/blinky_nucleo-c031c6/stm32-nucleo-c031c6.jpg
+ arm-cm/blinky_nucleo-c031c6/stm32-nucleo-c031c6.webp
+129 −3 arm-cm/dpp_efm32-slstk3401a/README.md
+ arm-cm/dpp_efm32-slstk3401a/efm32-slstk3401a.webp
+ arm-cm/dpp_efm32-slstk3401a/qspy-output.png
+129 −3 arm-cm/dpp_ek-tm4c123gxl/README.md
+ arm-cm/dpp_ek-tm4c123gxl/ek-tm4c123gxl.webp
+ arm-cm/dpp_ek-tm4c123gxl/qspy-output.png
+1 −1 arm-cm/dpp_nucleo-c031c6/README.md
+ arm-cm/dpp_nucleo-c031c6/stm32-nucleo-c031c6.jpg
+ arm-cm/dpp_nucleo-c031c6/stm32-nucleo-c031c6.webp
+147 −3 arm-cm/dpp_nucleo-h743zi/README.md
+ arm-cm/dpp_nucleo-h743zi/qspy-output.png
+ arm-cm/dpp_nucleo-h743zi/stm32-nucleo-h743zi.webp
+147 −3 arm-cm/dpp_nucleo-l053r8/README.md
+ arm-cm/dpp_nucleo-l053r8/qspy-output.png
+ arm-cm/dpp_nucleo-l053r8/stm32-nucleo-l053r8.webp
+147 −3 arm-cm/dpp_nucleo-l552ze/README.md
+ arm-cm/dpp_nucleo-l552ze/qspy-output.png
+ arm-cm/dpp_nucleo-l552ze/stm32-nucleo-l552ze.jpg
+ arm-cm/dpp_nucleo-l552ze/stm32-nucleo-l552ze.webp
+1 −1 arm-cm/dpp_nucleo-u545re/README.md
+ arm-cm/dpp_nucleo-u545re/stm32-nucleo-u545re.jpg
+ arm-cm/dpp_nucleo-u545re/stm32-nucleo-u545re.webp
+0 −5 arm-cm/dpp_stm32f4-discovery/README.md
+13 −10 arm-cm/game_efm32-slstk3401a/README.md
+ arm-cm/game_efm32-slstk3401a/efm32-slstk3401a.webp
+93 −3 arm-cm/low-power_ek-tm4c123gxl/README.md
+ arm-cm/low-power_ek-tm4c123gxl/ek-tm4c123gxl.webp
+1 −1 arm-cm/real-time_nucleo-l053r8/README.md
+ arm-cm/real-time_nucleo-l053r8/stm32-nucleo-l053r8.jpg
+ arm-cm/real-time_nucleo-l053r8/stm32-nucleo-l053r8.webp
+1 −1 arm-cr/blinky_launchxl2-tms57012/README.md
+ arm-cr/blinky_launchxl2-tms57012/launchxl2-tms57012.png
+ arm-cr/blinky_launchxl2-tms57012/launchxl2-tms57012.webp
+1 −1 arm-cr/dpp_launchxl2-tms57012/README.md
+ arm-cr/dpp_launchxl2-tms57012/launchxl2-tms57012.png
+ arm-cr/dpp_launchxl2-tms57012/launchxl2-tms57012.webp
+112 −0 embos/arm-cm/dpp_nucleo-h743zi/README.md
+ embos/arm-cm/dpp_nucleo-h743zi/logo_embos.webp
+ embos/arm-cm/dpp_nucleo-h743zi/qspy-output.png
+ embos/arm-cm/dpp_nucleo-h743zi/stm32-nucleo-h743zi.webp
+0 −5 freertos/arm-cm/dpp_ek-tm4c123gxl/README.md
+121 −0 freertos/arm-cm/dpp_nucleo-h743zi/README.md
+ freertos/arm-cm/dpp_nucleo-h743zi/logo_freertos.webp
+ freertos/arm-cm/dpp_nucleo-h743zi/stm32-nucleo-h743zi.webp
+35 −46 lwip/arm-cm/lwip_ek-lm3s6965/README.md
+ lwip/arm-cm/lwip_ek-lm3s6965/ek-lm3s6965.webp
+6 −7 qutest/dpp-comp/test_dpp/make_posix
+18 −20 qutest/dpp/src/bsp.cpp
+17 −19 qutest/dpp/src/bsp.hpp
+6 −6 qutest/dpp/test_dpp/make_posix
+19 −21 qutest/dpp/test_dpp/test_dpp.cpp
+12 −4 qutest/dpp/test_philo/test_philo.cpp
+12 −5 qutest/dpp/test_table/test_table.cpp
+15 −6 qutest/self_test/test/make_posix
+14 −6 uc-os2/arm-cm/dpp_ek-tm4c123gxl/README.md
+ uc-os2/arm-cm/dpp_ek-tm4c123gxl/ek-tm4c123gxl.webp
+ uc-os2/arm-cm/dpp_ek-tm4c123gxl/logo_ucos2.webp
+7 −4 zephyr/blinky/README.md
+ zephyr/blinky/qp-zephyr.webp
+6 −2 zephyr/dpp/README.md
+ zephyr/dpp/qp-zephyr.webp
4 changes: 2 additions & 2 deletions include/qequeue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qequeue.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qk.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qmpool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qmpool.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
11 changes: 4 additions & 7 deletions include/qp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qp.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down Expand Up @@ -44,7 +44,7 @@
#define QP_HPP_

//============================================================================
#define QP_VERSION_STR "7.4.0-rc.1"
#define QP_VERSION_STR "7.4.0-rc.3"
#define QP_VERSION 740U
#define QP_RELEASE 0x7092C3BBU

Expand Down Expand Up @@ -388,9 +388,6 @@ class QAsm {

//${QEP::QHsm} ...............................................................
class QHsm : public QP::QAsm {
public:
static constexpr std::int_fast8_t MAX_NEST_DEPTH_{6};

protected:
explicit QHsm(QStateHandler const initial) noexcept;

Expand All @@ -415,7 +412,7 @@ class QHsm : public QP::QAsm {

private:
std::int_fast8_t hsm_tran(
QStateHandler (&path)[MAX_NEST_DEPTH_],
QStateHandler * const path,
std::uint_fast8_t const qsId);
}; // class QHsm

Expand Down
4 changes: 2 additions & 2 deletions include/qp_pkg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qp_pkg.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qpcpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qpcpp.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
10 changes: 5 additions & 5 deletions include/qs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qs.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down Expand Up @@ -151,9 +151,9 @@ enum QSpyPre : std::int8_t {
QS_ENUM_DICT, //!< enumeration dictionary entry

// [55] Additional QEP records
QS_QEP_TRAN_HIST, //!< a tran to history was taken
QS_QEP_TRAN_EP, //!< a tran to entry point into a submachine
QS_QEP_TRAN_XP, //!< a tran to exit point out of a submachine
QS_QEP_TRAN_HIST, //!< a tran. to history was taken
QS_QEP_TRAN_EP, //!< a tran. to entry point into a submachine
QS_QEP_TRAN_XP, //!< a tran. to exit point out of a submachine

// [58] Miscellaneous QS records (not maskable)
QS_TEST_PAUSED, //!< test has been paused
Expand Down
4 changes: 2 additions & 2 deletions include/qs_dummy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qs_dummy.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qs_pkg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qs_pkg.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qstamp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qstamp.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qv.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
4 changes: 2 additions & 2 deletions include/qxk.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Model: qpcpp.qm
// File: ${include::qxk.hpp}
//
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
// This code has been generated by QM 6.2.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) : qpcpp
// Support ends : 2024-12-31
// Support ends : 2025-12-31
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
Expand Down
Loading

0 comments on commit 4470078

Please sign in to comment.