Skip to content

Commit 9c6d90a

Browse files
author
QL
committed
6.7.0
1 parent d5c6c20 commit 9c6d90a

Some content is hidden

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

56 files changed

+1620
-1601
lines changed

libraries/qpcpp_sam/examples/blinky/blinky.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::blinky.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h" // QP-C++ framework
20-
#include "Arduino.h" // Arduino API
19+
#include "qpcpp.hpp" // QP-C++ framework
2120

2221
using namespace QP;
2322

libraries/qpcpp_sam/examples/blinky/blinky.qm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ This structure of the code is approprate only for very small applications. More
6767
</package>
6868
<directory name=".">
6969
<file name="blinky.ino">
70-
<text>#include &quot;qpcpp.h&quot; // QP-C++ framework
71-
#include &quot;Arduino.h&quot; // Arduino API
70+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
7271

7372
using namespace QP;
7473

libraries/qpcpp_sam/examples/blinky_bsp/blinky.h renamed to libraries/qpcpp_sam/examples/blinky_bsp/blinky.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::blinky.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::blinky.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
33
// Model: blinky_bsp.qm
4-
// File: ${.::blinky.h}
4+
// File: ${.::blinky.hpp}
55
//
66
// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,9 +15,9 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::blinky.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#ifndef BLINKY_H
20-
#define BLINKY_H
18+
//.$endhead${.::blinky.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19+
#ifndef BLINKY_HPP
20+
#define BLINKY_HPP
2121

2222
enum BlinkySignals {
2323
TIMEOUT_SIG = QP::Q_USER_SIG,
@@ -30,4 +30,4 @@ extern QP::QActive * const AO_Blinky;
3030
//.$enddecl${AOs::AO_Blinky} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3131
//...
3232

33-
#endif // BLINKY_H
33+
#endif // BLINKY_HPP

libraries/qpcpp_sam/examples/blinky_bsp/blinky_bsp.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::blinky_bsp.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h" // QP-C++ framework
20-
#include "blinky.h" // Blinky application interface
21-
#include "bsp.h" // Board Support Package (BSP)
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "blinky.hpp" // Blinky application interface
21+
#include "bsp.hpp" // Board Support Package (BSP)
2222

2323
using namespace QP;
2424

libraries/qpcpp_sam/examples/blinky_bsp/blinky_bsp.qm

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ This structure of the code is recommended for applications with only one active
6767
</attribute>
6868
</package>
6969
<directory name=".">
70-
<file name="bsp.h">
71-
<text>#ifndef BSP_H
72-
#define BSP_H
70+
<file name="bsp.hpp">
71+
<text>#ifndef BSP_HPP
72+
#define BSP_HPP
7373

7474
class BSP {
7575
public:
@@ -79,14 +79,13 @@ public:
7979
static void ledOn(void);
8080
};
8181

82-
#endif // BSP_H
82+
#endif // BSP_HPP
8383
</text>
8484
</file>
8585
<file name="bsp.cpp">
86-
<text>#include &quot;qpcpp.h&quot; // QP-C++ framework
87-
#include &quot;blinky.h&quot; // Blinky application interface
88-
#include &quot;bsp.h&quot; // Board Support Package (BSP)
89-
#include &quot;Arduino.h&quot; // Arduino facilities
86+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
87+
#include &quot;blinky.hpp&quot; // Blinky application interface
88+
#include &quot;bsp.hpp&quot; // Board Support Package (BSP)
9089

9190
using namespace QP;
9291

@@ -178,9 +177,9 @@ extern &quot;C&quot; void Q_onAssert(char const * const module, int loc) {
178177

179178
</text>
180179
</file>
181-
<file name="blinky.h">
182-
<text>#ifndef BLINKY_H
183-
#define BLINKY_H
180+
<file name="blinky.hpp">
181+
<text>#ifndef BLINKY_HPP
182+
#define BLINKY_HPP
184183

185184
enum BlinkySignals {
186185
TIMEOUT_SIG = QP::Q_USER_SIG,
@@ -191,13 +190,13 @@ enum BlinkySignals {
191190
$declare${AOs::AO_Blinky}
192191
//...
193192

194-
#endif // BLINKY_H
193+
#endif // BLINKY_HPP
195194
</text>
196195
</file>
197196
<file name="blinky_bsp.ino">
198-
<text>#include &quot;qpcpp.h&quot; // QP-C++ framework
199-
#include &quot;blinky.h&quot; // Blinky application interface
200-
#include &quot;bsp.h&quot; // Board Support Package (BSP)
197+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
198+
#include &quot;blinky.hpp&quot; // Blinky application interface
199+
#include &quot;bsp.hpp&quot; // Board Support Package (BSP)
201200

202201
using namespace QP;
203202

libraries/qpcpp_sam/examples/blinky_bsp/bsp.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::bsp.cpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h" // QP-C++ framework
20-
#include "blinky.h" // Blinky application interface
21-
#include "bsp.h" // Board Support Package (BSP)
22-
#include "Arduino.h" // Arduino facilities
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "blinky.hpp" // Blinky application interface
21+
#include "bsp.hpp" // Board Support Package (BSP)
2322

2423
using namespace QP;
2524

libraries/qpcpp_sam/examples/blinky_bsp/bsp.h renamed to libraries/qpcpp_sam/examples/blinky_bsp/bsp.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::bsp.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::bsp.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
33
// Model: blinky_bsp.qm
4-
// File: ${.::bsp.h}
4+
// File: ${.::bsp.hpp}
55
//
66
// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,9 +15,9 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::bsp.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#ifndef BSP_H
20-
#define BSP_H
18+
//.$endhead${.::bsp.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19+
#ifndef BSP_HPP
20+
#define BSP_HPP
2121

2222
class BSP {
2323
public:
@@ -27,4 +27,4 @@ class BSP {
2727
static void ledOn(void);
2828
};
2929

30-
#endif // BSP_H
30+
#endif // BSP_HPP

libraries/qpcpp_sam/examples/dpp_bsp/bsp.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::bsp.cpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h" // QP-C++ framework
20-
#include "dpp.h" // DPP application
21-
#include "bsp.h" // Board Support Package
22-
#include "Arduino.h" // Arduino facilities
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "dpp.hpp" // DPP application
21+
#include "bsp.hpp" // Board Support Package
2322

2423
using namespace QP;
2524

libraries/qpcpp_sam/examples/dpp_bsp/bsp.h renamed to libraries/qpcpp_sam/examples/dpp_bsp/bsp.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::bsp.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::bsp.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
33
// Model: dpp_bsp.qm
4-
// File: ${.::bsp.h}
4+
// File: ${.::bsp.hpp}
55
//
66
// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,9 +15,9 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::bsp.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#ifndef BSP_H
20-
#define BSP_H
18+
//.$endhead${.::bsp.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19+
#ifndef BSP_HPP
20+
#define BSP_HPP
2121

2222
class BSP {
2323
public:
@@ -36,4 +36,4 @@ class BSP {
3636
static void ledOn(void);
3737
};
3838

39-
#endif // BSP_H
39+
#endif // BSP_HPP

libraries/qpcpp_sam/examples/dpp_bsp/dpp.h renamed to libraries/qpcpp_sam/examples/dpp_bsp/dpp.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//.$file${.::dpp.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
1+
//.$file${.::dpp.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
22
//
33
// Model: dpp_bsp.qm
4-
// File: ${.::dpp.h}
4+
// File: ${.::dpp.hpp}
55
//
66
// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>.
77
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
@@ -15,9 +15,9 @@
1515
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1616
// for more details.
1717
//
18-
//.$endhead${.::dpp.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#ifndef DPP_H
20-
#define DPP_H
18+
//.$endhead${.::dpp.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19+
#ifndef DPP_HPP
20+
#define DPP_HPP
2121

2222
enum Signals {
2323
EAT_SIG = QP::Q_USER_SIG, // published by Table to let a Philosopher eat
@@ -52,4 +52,4 @@ extern QP::QActive * const AO_Philo[N_PHILO];
5252
extern QP::QActive * const AO_Table;
5353
//.$enddecl${AOs::AO_Table} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5454

55-
#endif // DPP_H
55+
#endif // DPP_HPP

libraries/qpcpp_sam/examples/dpp_bsp/dpp_bsp.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::dpp_bsp.ino} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h" // QP-C++ framework
20-
#include "dpp.h" // DPP application
21-
#include "bsp.h" // Board Support Package
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "dpp.hpp" // DPP application
21+
#include "bsp.hpp" // Board Support Package
2222

2323
using namespace QP;
2424

libraries/qpcpp_sam/examples/dpp_bsp/dpp_bsp.qm

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ m_fork[n] = FREE;</action>
403403
<directory name=".">
404404
<!--${.::dpp_bsp.ino}-->
405405
<file name="dpp_bsp.ino">
406-
<text>#include &quot;qpcpp.h&quot; // QP-C++ framework
407-
#include &quot;dpp.h&quot; // DPP application
408-
#include &quot;bsp.h&quot; // Board Support Package
406+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
407+
#include &quot;dpp.hpp&quot; // DPP application
408+
#include &quot;bsp.hpp&quot; // Board Support Package
409409

410410
using namespace QP;
411411

@@ -447,10 +447,10 @@ void loop() {
447447
}
448448
</text>
449449
</file>
450-
<!--${.::bsp.h}-->
451-
<file name="bsp.h">
452-
<text>#ifndef BSP_H
453-
#define BSP_H
450+
<!--${.::bsp.hpp}-->
451+
<file name="bsp.hpp">
452+
<text>#ifndef BSP_HPP
453+
#define BSP_HPP
454454

455455
class BSP {
456456
public:
@@ -469,15 +469,14 @@ public:
469469
static void ledOn(void);
470470
};
471471

472-
#endif // BSP_H
472+
#endif // BSP_HPP
473473
</text>
474474
</file>
475475
<!--${.::bsp.cpp}-->
476476
<file name="bsp.cpp">
477-
<text>#include &quot;qpcpp.h&quot; // QP-C++ framework
478-
#include &quot;dpp.h&quot; // DPP application
479-
#include &quot;bsp.h&quot; // Board Support Package
480-
#include &quot;Arduino.h&quot; // Arduino facilities
477+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
478+
#include &quot;dpp.hpp&quot; // DPP application
479+
#include &quot;bsp.hpp&quot; // Board Support Package
481480

482481
using namespace QP;
483482

@@ -630,10 +629,10 @@ extern &quot;C&quot; void Q_onAssert(char const * const module, int loc) {
630629

631630
</text>
632631
</file>
633-
<!--${.::dpp.h}-->
634-
<file name="dpp.h">
635-
<text>#ifndef DPP_H
636-
#define DPP_H
632+
<!--${.::dpp.hpp}-->
633+
<file name="dpp.hpp">
634+
<text>#ifndef DPP_HPP
635+
#define DPP_HPP
637636

638637
enum Signals {
639638
EAT_SIG = QP::Q_USER_SIG, // published by Table to let a Philosopher eat
@@ -658,14 +657,14 @@ enum { N_PHILO = 5 };
658657
$declare(AOs::AO_Philo[N_PHILO])
659658
$declare(AOs::AO_Table)
660659

661-
#endif // DPP_H
660+
#endif // DPP_HPP
662661
</text>
663662
</file>
664663
<!--${.::philo.cpp}-->
665664
<file name="philo.cpp">
666-
<text>#include &quot;qpcpp.h&quot;
667-
#include &quot;dpp.h&quot;
668-
#include &quot;bsp.h&quot;
665+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
666+
#include &quot;dpp.hpp&quot; // DPP application
667+
#include &quot;bsp.hpp&quot; // Board Support Package
669668

670669
Q_DEFINE_THIS_FILE
671670

@@ -697,9 +696,9 @@ $define${AOs::Philo}</text>
697696
</file>
698697
<!--${.::table.cpp}-->
699698
<file name="table.cpp">
700-
<text>#include &quot;qpcpp.h&quot;
701-
#include &quot;dpp.h&quot;
702-
#include &quot;bsp.h&quot;
699+
<text>#include &quot;qpcpp.hpp&quot; // QP-C++ framework
700+
#include &quot;dpp.hpp&quot; // DPP application
701+
#include &quot;bsp.hpp&quot; // Board Support Package
703702

704703
Q_DEFINE_THIS_FILE
705704

libraries/qpcpp_sam/examples/dpp_bsp/philo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::philo.cpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h"
20-
#include "dpp.h"
21-
#include "bsp.h"
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "dpp.hpp" // DPP application
21+
#include "bsp.hpp" // Board Support Package
2222

2323
Q_DEFINE_THIS_FILE
2424

libraries/qpcpp_sam/examples/dpp_bsp/table.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
// for more details.
1717
//
1818
//.$endhead${.::table.cpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19-
#include "qpcpp.h"
20-
#include "dpp.h"
21-
#include "bsp.h"
19+
#include "qpcpp.hpp" // QP-C++ framework
20+
#include "dpp.hpp" // DPP application
21+
#include "bsp.hpp" // Board Support Package
2222

2323
Q_DEFINE_THIS_FILE
2424

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name=QP-C++
2-
version=6.5.1
2+
version=6.7.0
33
author=Quantum Leaps
44
maintainer=Quantum Leaps <info@state-machine.com>
55
sentence=QP/C++ Real-Time Embedded Framework for Arduino.
66
paragraph=The QP/C++ real-time framework is like a modern real-time operating system (RTOS) specifically designed for executing event-driven, encapsulated state machines (Active Objects). It enables you to build responsive, robust, and truly concurrent Arduino programs.
77
category=Device Control
88
url=https://www.state-machine.com/arduino/
9-
architectures=sam
9+
architectures=sam
10+
includes=qpcpp.hpp

0 commit comments

Comments
 (0)