Skip to content

Commit 8da11ad

Browse files
committed
6.9.3
Renamed the qpcpp_sam library to qpcpp_arm-cm and made it for all ARM Cortex-M architectures. Added "blinky" example for Teensy4. Renamed other qpcpp examples to add the arch suffix (-sam and -teensy4)
1 parent 757554d commit 8da11ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+565
-49
lines changed

README.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ as follows:
4747
<Sketchbook>/ - your Arduino Sketchbook folder
4848
|
4949
+-libraries/ - libraries folder
50-
| +-qpcpp_sam/ - QP/C++ library for SAM-based Arduinos
51-
| | +-examples/ - QP/C++ library examples
52-
| | | +-blinky/ - Blinky example
53-
| | | | +-blinky.ino - Blinky code (generated)
54-
| | | | +-blinky.qm - Blinky model (for QM tool)
55-
| | | +-blinky2/ - Blinky2 example for blinking two LEDs
56-
| | | | +-blinky2.ino - Blinky2 code (generated)
57-
| | | | +-blinky2.qm - Blinky2 model (for QM tool)
58-
| | | +-blinky_bsp/ - Blinky example with Board Support Package
59-
| | | | +-blinky_bsp.ino - Blinky code (generated)
60-
| | | | +-blinky_bsp.qm - Blinky model (for QM tool)
61-
| | | +-dpp_bsp/ - Dining Philosopher example with BSP
62-
| | | | +-dpp_bsp.ino - DPP code (generated)
63-
| | | | +-dpp_bsp.qm - DPP model (for QM tool)
50+
| +-qpcpp_arm-cm/ - QP/C++ library for ARM Cortex-M based boards
51+
| | +-examples/ - QP/C++ library examples
52+
| | | +-blinky-sam/ - Blinky example for SAM-based Arduinos
53+
| | | | +-blinky-sam.ino - Blinky code (generated)
54+
| | | | +-blinky-sam.qm - Blinky model (for QM tool)
55+
| | | +-blinky_bsp-sam/ - Blinky example with Board Support Package for SAM
56+
| | | | +-blinky_bsp-sam.ino - Blinky code (generated)
57+
| | | | +-blinky_bsp-sam.qm - Blinky model (for QM tool)
58+
| | | +-blinky_bsp-teensy4/ - Blinky example with Board Support Package for Teensy4
59+
| | | | +-blinky_bsp-teensy4.ino - Blinky code (generated)
60+
| | | | +-blinky_bsp-teensy4.qm - Blinky model (for QM tool)
61+
| | | +-dpp_bsp-sam/ - Dining Philosopher example with BSP for SAM
62+
| | | | +-dpp_bsp-sam.ino - DPP code (generated)
63+
| | | | +-dpp_bsp-sam.qm - DPP model (for QM tool)
6464
| | +-src/ - QP/C++ library source code
6565
| | | +-qpcpp.h - QP/C++ library header file
6666
| | | +-... - QP/C++ library sources
@@ -70,19 +70,20 @@ as follows:
7070
| +-qpn_avr/ - QP-nano library for AVR-based Arduinos
7171
| | +-... (now obsolete, for backgwards compatibility only)
7272
| |
73-
| +-qm/ - QM modeling tool (for Windows, Linux, or macOS)
73+
| +-qm/ - QM modeling tool for Windows
7474
| | +-bin/ - QM binaries (executable and DLLs)
75-
| | | +-qm.exe - QM executable (for Windows)
75+
| | | +-qm.exe - QM executable for Windows
7676
| | +-Resources/ - QM resources
7777
| | | +-...
7878
|
7979
+-README.md - this file
8080
+-QP-Arduino_GPL_Exception.txt - GPL exception for QP on Arduino
8181

8282

83-
NOTE: The QP-Arduino archive contains QM for the platform of your choice
84-
(Windows, Linux or macOS), but this requires downloading the corresponding
85-
version of the QP-Arduino integration.
83+
NOTE: The QP-Arduino archive contains QM for Windows only. But QM is also
84+
available for Linux and MacOS hosts. If you wish to work on those operating
85+
systems, you will need to install QM separately, as described at:
86+
https://www.state-machine.com/qm/gs.html
8687

8788

8889
----

libraries/qpcpp_sam/examples/blinky/blinky.ino renamed to libraries/qpcpp_arm-cm/examples/blinky-sam/blinky-sam.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::blinky.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::blinky-sam.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky.qm
4-
// File: ${.::blinky.ino}
3+
// Model: blinky-sam.qm
4+
// File: ${.::blinky-sam.ino}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,7 +15,7 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::blinky.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
//.$endhead${.::blinky-sam.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
#include "qpcpp.hpp" // QP-C++ framework
2020

2121
using namespace QP;

libraries/qpcpp_sam/examples/blinky/blinky.qm renamed to libraries/qpcpp_arm-cm/examples/blinky-sam/blinky-sam.qm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This structure of the code is approprate only for very small applications. More
6666
</attribute>
6767
</package>
6868
<directory name=".">
69-
<file name="blinky.ino">
69+
<file name="blinky-sam.ino">
7070
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
7171

7272
using namespace QP;

libraries/qpcpp_sam/examples/blinky2/blinky2.ino renamed to libraries/qpcpp_arm-cm/examples/blinky2-sam/blinky2-sam.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::blinky2.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::blinky2-sam.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky2.qm
4-
// File: ${.::blinky2.ino}
3+
// Model: blinky2-sam.qm
4+
// File: ${.::blinky2-sam.ino}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,7 +15,7 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::blinky2.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
//.$endhead${.::blinky2-sam.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
#include "qpcpp.hpp" // QP-C++ framework
2020

2121
using namespace QP;

libraries/qpcpp_sam/examples/blinky2/blinky2.qm renamed to libraries/qpcpp_arm-cm/examples/blinky2-sam/blinky2-sam.qm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This structure of the code is approprate only for very small applications. More
112112
</attribute>
113113
</package>
114114
<directory name=".">
115-
<file name="blinky2.ino">
115+
<file name="blinky2-sam.ino">
116116
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
117117

118118
using namespace QP;

libraries/qpcpp_sam/examples/blinky_bsp/blinky.hpp renamed to libraries/qpcpp_arm-cm/examples/blinky_bsp-sam/blinky.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//.$file${.::blinky.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky_bsp.qm
3+
// Model: blinky_bsp-sam.qm
44
// File: ${.::blinky.hpp}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.

libraries/qpcpp_sam/examples/blinky_bsp/blinky_bsp.ino renamed to libraries/qpcpp_arm-cm/examples/blinky_bsp-sam/blinky_bsp-sam.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::blinky_bsp.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::blinky_bsp-sam.ino} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky_bsp.qm
4-
// File: ${.::blinky_bsp.ino}
3+
// Model: blinky_bsp-sam.qm
4+
// File: ${.::blinky_bsp-sam.ino}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,7 +15,7 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::blinky_bsp.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
//.$endhead${.::blinky_bsp-sam.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
#include "qpcpp.hpp" // QP-C++ framework
2020
#include "blinky.hpp" // Blinky application interface
2121
#include "bsp.hpp" // Board Support Package (BSP)

libraries/qpcpp_sam/examples/blinky_bsp/blinky_bsp.qm renamed to libraries/qpcpp_arm-cm/examples/blinky_bsp-sam/blinky_bsp-sam.qm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ $declare${AOs::AO_Blinky}
198198
#endif // BLINKY_HPP
199199
</text>
200200
</file>
201-
<file name="blinky_bsp.ino">
201+
<file name="blinky_bsp-sam.ino">
202202
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
203203
#include &quot;blinky.hpp&quot; // Blinky application interface
204204
#include &quot;bsp.hpp&quot; // Board Support Package (BSP)

libraries/qpcpp_sam/examples/blinky_bsp/bsp.cpp renamed to libraries/qpcpp_arm-cm/examples/blinky_bsp-sam/bsp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//.$file${.::bsp.cpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky_bsp.qm
3+
// Model: blinky_bsp-sam.qm
44
// File: ${.::bsp.cpp}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.

libraries/qpcpp_sam/examples/blinky_bsp/bsp.hpp renamed to libraries/qpcpp_arm-cm/examples/blinky_bsp-sam/bsp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//.$file${.::bsp.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
3-
// Model: blinky_bsp.qm
3+
// Model: blinky_bsp-sam.qm
44
// File: ${.::bsp.hpp}
55
//
66
// This code has been generated by QM 5.1.3 <www.state-machine.com/qm/>.

0 commit comments

Comments
 (0)