Skip to content

Commit d60c50d

Browse files
author
QL
committed
6.8.0
1 parent 1cf770e commit d60c50d

File tree

135 files changed

+32718
-4769
lines changed

Some content is hidden

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

135 files changed

+32718
-4769
lines changed

3rd_party/ek-tm4c123gxl/armclang/startup_TM4C123GH6PM.s

Lines changed: 686 additions & 0 deletions
Large diffs are not rendered by default.

doxygen/Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = "QP-nano"
8-
PROJECT_NUMBER = "6.7.0"
8+
PROJECT_NUMBER = "6.8.0"
99
PROJECT_BRIEF =
1010
PROJECT_LOGO = images/header_logo_ql.png
1111
OUTPUT_DIRECTORY =
@@ -147,7 +147,7 @@ FILE_PATTERNS = \
147147
*.lnt
148148

149149
RECURSIVE = YES
150-
EXCLUDE =
150+
EXCLUDE =
151151

152152
EXCLUDE_SYMLINKS = NO
153153
EXCLUDE_PATTERNS =

doxygen/Doxyfile-CHM

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = "QP-nano"
8-
PROJECT_NUMBER = "6.7.0"
8+
PROJECT_NUMBER = "6.8.0"
99
PROJECT_BRIEF =
1010
PROJECT_LOGO = images/header_logo_ql.png
1111
OUTPUT_DIRECTORY =
@@ -147,7 +147,7 @@ FILE_PATTERNS = \
147147
*.lnt
148148

149149
RECURSIVE = YES
150-
EXCLUDE =
150+
EXCLUDE =
151151

152152
EXCLUDE_SYMLINKS = NO
153153
EXCLUDE_PATTERNS =

doxygen/history.dox

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
/**
22
@page history Revision History
33

4+
@section qpn_6_8_0 Version 6.8.0, 2020-03-31
5+
6+
Source code changes:
7+
8+
- Fixed inconsistencies between QP API declarations in the .h files and definitions in the .c files, such as different parameter names in declarations and definitions (MISRA-C:2012).
9+
10+
- Removed a lot of excessive type casting of compile-time constants, such as `(uint8_t)0`, which is now coded simply as `0U`
11+
12+
- Introduced #Q_NORETURN macro for Q_onAssert(), which can (if defined) inform the compiler that Q_onAssert() does not return. This can potentially improve the code generation and can improve diagnostics generated by the compiler as well as static code analysis tools.
13+
14+
15+
Updated Examples:
16+
17+
Converted most of the examples for ARM-MDK from the no-longer maintained compiler-5 (RVDS) to the new ARM Compiler-6 (ARM-clang). The examples for ARM Compiler-6 are located in the `armclang` sub-directories.
18+
19+
@note
20+
The older ARM Compiler-5 is still supported, but will be phased out in the future. The only examples for ARM Compiler-5 are for the EK-TM4C123GXL (TivaC LanuchPad) board. These examples are located in the `arm` sub-directories.
21+
22+
23+
------------------------------------------------------------------------------
424
@section qpn_6_7_0 Version 6.7.0, 2019-12-30
525
The main purpose of this release is providing improved compliance with MISRA-C:2012 (including MISRA-C:2012-Amendment-1) and also to provide support for the [<b>PC-Lint-Plus</b>](https://www.gimpel.com/) static analysis tool (see also feature request [#169](https://sourceforge.net/p/qpc/feature-requests/169/)). Specifically, the QP-nano source code and some examples have been adjusted to comply with MISRA-C:2012-Amendment-1 rules, with all deviations captured in the PC-Lint-Plus configuration files. These PC-Lint-Plus configuration files have been provided in the new "port" to PC-Lint-Plus in the directory qpn/ports/lint-plus/.
626

@@ -27,7 +47,7 @@ Also, this release drops (no longer supports) the following depricated facilitie
2747
- QActive_disarm() - use QActive_disarmX() instead
2848
- Q_TIMERSET - define QF_TIMEEVT_USAGE instead
2949

30-
Also, this release updates the Windows-GUI examples with the QWIN Prototyping Toolkit to work with the latest Visual Studio 2019 and specifically with the Resource Editor now available. Specifically here, the Game-GUI example (qpn\examples\arm-cm\game_efm32-slstk3401a\win32-gui) and the DPP-GUI example (qpn\examples\arm-cm\dpp_efm32-slstk3401a\win32-gui) have been updated to build with the Visual Studio 2019.
50+
Also, this release updates the Windows-GUI examples with the QWIN Prototyping Toolkit to work with the latest Visual Studio 2019 and specifically with the Resource Editor now available. Specifically here, the Game-GUI example (qpn\examples\arm-cm\game_efm32-slstk3401a\win32-gui) and the DPP-GUI example (qpn\examples\arm-cm\dpp_efm32-slstk3401a\win32-gui) have been updated to build with the Visual Studio 2019.
3151

3252
Finally, this release fixes the following bugs:
3353
- [bug#255 "IAR-ARM "Multi-file Compilation" fails for QK and QXK applications"](https://sourceforg/bugs/255/)

doxygen/make.bat

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@echo off
22
:: ==========================================================================
33
:: Product: QP-nano script for generating Doxygen documentation
4-
:: Last Updated for Version: 6.7.0
5-
:: Date of the Last Update: 2019-12-30
4+
:: Last Updated for Version: 6.8.0
5+
:: Date of the Last Update: 2020-01-17
66
::
77
:: Q u a n t u m L e a P s
88
:: ------------------------
99
:: Modern Embedded Software
1010
::
11-
:: Copyright (C) Quantum Leaps, LLC. All rights reserved.
11+
:: Copyright (C) 2005-2020 Quantum Leaps, LLC. All rights reserved.
1212
::
1313
:: This program is open source software: you can redistribute it and/or
1414
:: modify it under the terms of the GNU General Public License as published
@@ -29,7 +29,7 @@
2929
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
3030
::
3131
:: Contact information:
32-
:: <www.state-machine.com>
32+
:: <www.state-machine.com/licensing>
3333
3434
:: ==========================================================================
3535
@setlocal
@@ -38,25 +38,23 @@
3838
@echo make
3939
@echo make -CHM
4040

41-
@set VERSION=6.7.0
42-
4341
@set DOXHOME="C:\tools\doxygen\bin"
4442

45-
:: Generate Resource Standard Metrics for QP-nano ............................
46-
@set RCMHOME="C:\tools\MSquared\M2 RSM"
43+
:: Generate Metrics for QP/C++ ..............................................
44+
@set LIZARD=C:\tools\Python27\python.exe C:\tools\lizard\lizard.py
4745

48-
@set RSM_OUTPUT=metrics.dox
49-
@set RSM_INPUT=..\include\*.h ..\src\qfn\*.c ..\src\qkn\*.c ..\src\qvn\*.c
46+
@set METRICS_INP=..\include ..\src -x ..\src\qs\*
47+
@set METRICS_OUT=metrics.dox
5048

51-
@echo /** @page metrics Code Metrics > %RSM_OUTPUT%
52-
@echo.>> %RSM_OUTPUT%
53-
@echo @code >> %RSM_OUTPUT%
54-
@echo Standard Code Metrics for QP-nano %VERSION% >> %RSM_OUTPUT%
49+
@echo /** @page metrics Code Metrics > %METRICS_OUT%
50+
@echo.>> %METRICS_OUT%
51+
@echo @code{cpp} >> %METRICS_OUT%
52+
@echo Code Metrics for QP-nano >> %METRICS_OUT%
5553

56-
%RCMHOME%\rsm.exe -fd -xNOCOMMAND -xNOCONFIG -u"File cfg rsm_qpn.cfg" %RSM_INPUT% >> %RSM_OUTPUT%
54+
%LIZARD% -m -L500 -a10 -C20 -V %METRICS_INP% >> %METRICS_OUT%
5755

58-
@echo @endcode >> %RSM_OUTPUT%
59-
@echo */ >> %RSM_OUTPUT%
56+
@echo @endcode >> %METRICS_OUT%
57+
@echo */ >> %METRICS_OUT%
6058

6159
:: Generate Doxygen Documentation ...........................................
6260
if "%1"=="-CHM" (

0 commit comments

Comments
 (0)