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

0 commit comments

Comments
 (0)