Skip to content

Commit

Permalink
7.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum-leaps committed Oct 26, 2022
1 parent 0007c4e commit 56e1f84
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions doxygen/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
//!
//! @description
//! This macro can be defined in the QF ports to configure the internal tick
//! counters of Time Events. If the macro is not defined, the default of 2
//! counters of Time Events. If the macro is not defined, the default of 4
//! bytes will be chosen in qf.hpp. The valid #QF_TIMEEVT_CTR_SIZE values of
//! 1U, 2U, or 4U, correspond to tick counters of uint8_t, uint16_t, and
//! uint32_t, respectively. The tick counter representation determines the
Expand All @@ -159,7 +159,7 @@
//! and your own application code. The consistency is guaranteed if you define
//! this macro only once in the qf_port.hpp header file and henceforth include
//! this header file in all builds.
#define QF_TIMEEVT_CTR_SIZE 2U
#define QF_TIMEEVT_CTR_SIZE 4U

//! Size (in bytes) of the QS time stamp
//!
Expand Down
3 changes: 3 additions & 0 deletions doxygen/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@

:: HTML outut directory ......................................................
@set HTML_OUT=%QPCPP%\html
if "%1"=="-CERT" (
@set HTML_OUT=%QPCPP%\cert-pack
)

:: Generate metrics.dox file...
@set METRICS_INP=%QPCPP%\include %QPCPP%\src -x %QPCPP%\src\qs\*
Expand Down
6 changes: 3 additions & 3 deletions doxygen/metrics.dox
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@
43 8 230 0 54 QXK_sched_@278-331@..\src\qxk\qxk.cpp
59 16 406 0 98 QXK_activate_@334-431@..\src\qxk\qxk.cpp
12 2 69 0 18 QXK_current@434-451@..\src\qxk\qxk.cpp
23 6 130 1 31 QXK_contextSw@455-485@..\src\qxk\qxk.cpp
14 2 110 0 23 QXK_threadExit_@489-511@..\src\qxk\qxk.cpp
23 7 130 1 34 QXK_contextSw@455-488@..\src\qxk\qxk.cpp
14 2 110 0 23 QXK_threadExit_@492-514@..\src\qxk\qxk.cpp
3 1 15 0 3 QP::QXMutex::QXMutex@76-78@..\src\qxk\qxk_mutex.cpp
8 2 54 1 11 QP::QXMutex::init@81-91@..\src\qxk\qxk_mutex.cpp
61 9 422 0 95 QP::QXMutex::tryLock@94-188@..\src\qxk\qxk_mutex.cpp
Expand Down Expand Up @@ -216,7 +216,7 @@ NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
233 27.6 4.1 157.1 8 ..\src\qf\qf_time.cpp
200 22.2 4.8 136.2 8 ..\src\qk\qk.cpp
85 16.5 3.8 96.5 4 ..\src\qv\qv.cpp
279 23.4 4.9 147.0 11 ..\src\qxk\qxk.cpp
279 23.4 5.0 147.0 11 ..\src\qxk\qxk.cpp
241 46.0 7.0 333.6 5 ..\src\qxk\qxk_mutex.cpp
142 32.8 4.5 196.5 4 ..\src\qxk\qxk_sema.cpp
309 21.3 3.5 128.8 14 ..\src\qxk\qxk_xthr.cpp
Expand Down
8 changes: 4 additions & 4 deletions include/qassert.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Model: qpc.qm
* File: ${include::qassert.h}
*
* This code has been generated by QM 5.2.1 <www.state-machine.com/qm>.
* This code has been generated by QM 5.2.2 <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:
Expand Down Expand Up @@ -49,8 +49,8 @@
* __especially__ in the production code. Instead, the assertion handler
* Q_onAssert() should be very carefully designed and tested.
*/
#ifndef QASSERT_H
#define QASSERT_H
#ifndef QP_INC_QASSERT_H_
#define QP_INC_QASSERT_H_

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -395,4 +395,4 @@ Q_NORETURN Q_onAssert(
}
#endif

#endif /* QASSERT_H */
#endif /* QP_INC_QASSERT_H_ */
6 changes: 3 additions & 3 deletions ports/lint-plus/options.lnt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
// <www.state-machine.com>
// <[email protected]>
//============================================================================
//! @date Last updated on: 2022-08-24
//! @version Last updated for: @ref qpcpp_7_1_0
//! @date Last updated on: 2022-10-07
//! @version Last updated for: @ref qpcpp_7_1_3
//!
//! @file
//! @brief PC-Lint-Plus option file for linting QP/C++ source code
Expand All @@ -42,7 +42,7 @@
au-autosar.lnt // AUTOSAR:C++14
au-ds.lnt // Dan Saks recommendations
au-ql-cpp11.lnt // Quantum Leaps coding standard for C++11
//-strong(AXJ) // Strong type checking


// size/alignment options
cpu.lnt // for the chosen CPU
Expand Down

0 comments on commit 56e1f84

Please sign in to comment.