From 6e3f238df7d36e32180793b0422d5d08625804f7 Mon Sep 17 00:00:00 2001
From: Quantum Leaps
Date: Fri, 4 Sep 2015 12:08:22 -0400
Subject: [PATCH] 5.5.0
---
3rd_party/CMSIS-RTX/SRC/GCC/ArInp.Scr | 19 +
3rd_party/CMSIS-RTX/SRC/GCC/ArInp.bat | 1 +
.../CMSIS-RTX/SRC/GCC/RTX_Lib_CM.uvprojx | 2 +-
3rd_party/ek-lm3s6965/arm/startup_LM3S6965.s | 69 +-
3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c | 63 +-
3rd_party/ek-lm3s6965/iar/startup_LM3S6965.s | 45 +-
3rd_party/ek-lm3s811/arm/startup_LM3S811.s | 63 +-
3rd_party/ek-lm3s811/gnu/startup_LM3S811.c | 63 +-
3rd_party/ek-lm3s811/iar/startup_LM3S811.s | 43 +-
.../ek-tm4c123gxl/arm/startup_TM4C123GH6PM.s | 55 +-
.../ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c | 63 +-
.../ek-tm4c123gxl/iar/startup_TM4C123GH6PM.s | 323 +-
3rd_party/mbed-lpc1768/arm/startup_LPC17xx.s | 56 +-
3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c | 52 +-
3rd_party/mbed-lpc1768/iar/startup_LPC17xx.s | 46 +-
.../nucleo-l053r8/arm/startup_stm32l053xx.s | 42 +-
.../nucleo-l053r8/gnu/startup_stm32l053xx.c | 63 +-
.../nucleo-l053r8/iar/startup_stm32l053xx.s | 43 +-
.../nucleo-l152re/arm/startup_stm32l1xx.s | 42 +-
.../nucleo-l152re/gnu/startup_stm32l1xx.c | 63 +-
.../nucleo-l152re/iar/startup_stm32l1xx.s | 43 +-
.../stm32f4-discovery/arm/startup_stm32f4xx.s | 66 +-
.../stm32f4-discovery/gnu/startup_stm32f4xx.c | 72 +-
.../stm32f4-discovery/iar/startup_stm32f4xx.s | 49 +-
GPL.txt => GPLv3.txt | 0
COPYING => LICENSE.txt | 0
doxygen/Doxyfile | 2143 +-----------
doxygen/Doxyfile-CHM | 2141 +-----------
doxygen/{about.dox => about.cc} | 27 +-
doxygen/{design.dox => design.cc} | 9 +-
doxygen/{exa.dox => exa.cc} | 28 +
doxygen/{exa_apps.dox => exa_apps.cc} | 26 +-
doxygen/{exa_mware.dox => exa_mware.cc} | 0
doxygen/{exa_native.dox => exa_native.cc} | 0
doxygen/{exa_os.dox => exa_os.cc} | 4 +-
doxygen/{exa_rtos.dox => exa_rtos.cc} | 0
doxygen/{history.dox => history.cc} | 91 +-
.../{images => img}/AN_Coding_Standard.jpg | Bin
.../AN_Getting_Started_with_QPC.jpg | Bin
doxygen/{images => img}/AN_MISRA-QPC.jpg | Bin
.../{images => img}/AN_Simple_OOP_in_C.jpg | Bin
doxygen/img/img.htm | 4 +
doxygen/{lint.dox => lint.cc} | 0
doxygen/make.bat | 22 +-
doxygen/{metrics.dox => metrics.cc} | 498 ++-
doxygen/{modules.dox => modules.cc} | 0
doxygen/{ports.dox => ports.cc} | 0
doxygen/{ports_native.dox => ports_native.cc} | 0
doxygen/{ports_os.dox => ports_os.cc} | 0
doxygen/{ports_rtos.dox => ports_rtos.cc} | 0
doxygen/qpc_metrics.txt | 2930 +++++++++++++++++
doxygen/rsm.bat | 13 +-
doxygen/scripts/jquery.plugins.min.js | 228 --
doxygen/scripts/ql.js | 20 -
doxygen/snippets/qmp_init.c | 15 +
doxygen/snippets/qmp_use.c | 12 +
examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c | 15 +-
.../qk/arm/blinky-qk.uvoptx | 79 +-
.../qk/arm/blinky-qk.uvprojx | 73 +-
examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c | 33 +-
.../blinky_ek-tm4c123gxl/qk/gnu/Makefile | 16 +-
.../blinky_ek-tm4c123gxl/qk/iar/blinky-qk.ewp | 159 +-
.../qv/arm/blinky-qv.uvoptx | 76 +-
.../qv/arm/blinky-qv.uvprojx | 44 +-
examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c | 35 +-
.../blinky_ek-tm4c123gxl/qv/gnu/Makefile | 14 +-
.../blinky_ek-tm4c123gxl/qv/iar/blinky-qv.ewp | 159 +-
.../blinky_ek-tm4c123gxl/win32-qv/Makefile | 7 +-
.../blinky_ek-tm4c123gxl/win32/Makefile | 11 +-
examples/arm-cm/dpp_ek-tm4c123gxl/.dpp | 58 +
.../dpp_ek-tm4c123gxl/lint/lint_out.txt | 320 +-
.../dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvoptx | 85 +-
.../dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvprojx | 73 +-
examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.c | 209 +-
.../arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile | 14 +-
.../dpp_ek-tm4c123gxl/qk/iar/dpp-qk.ewp | 159 +-
.../arm-cm/dpp_ek-tm4c123gxl/qspy/dpp.tcl | 375 +++
.../dpp_ek-tm4c123gxl/qspy/img/BTN_DWN.gif | Bin 0 -> 2071 bytes
.../dpp_ek-tm4c123gxl/qspy/img/BTN_UP.gif | Bin 0 -> 1987 bytes
.../dpp_ek-tm4c123gxl/qspy/img/eating.gif | Bin 0 -> 3169 bytes
.../dpp_ek-tm4c123gxl/qspy/img/hungry.gif | Bin 0 -> 2428 bytes
.../dpp_ek-tm4c123gxl/qspy/img/thinking.gif | Bin 0 -> 2378 bytes
.../dpp_ek-tm4c123gxl/qspy/qspyview.bat | 1 +
.../dpp_ek-tm4c123gxl/qspy/qspyview.lnk | Bin 0 -> 884 bytes
.../dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvoptx | 77 +-
.../dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvprojx | 74 +-
examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.c | 222 +-
.../arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile | 14 +-
.../dpp_ek-tm4c123gxl/qv/iar/dpp-qv.ewp | 163 +-
.../dpp_ek-tm4c123gxl/win32-qv/Makefile | 11 +-
.../arm-cm/dpp_ek-tm4c123gxl/win32-qv/bsp.c | 75 +-
.../win32-qv/dpp-gui.vcxproj | 46 +-
.../win32-qv/dpp-gui.vcxproj.filters | 23 +-
.../arm-cm/dpp_ek-tm4c123gxl/win32/Makefile | 11 +-
examples/arm-cm/dpp_ek-tm4c123gxl/win32/bsp.c | 75 +-
.../dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj | 38 +-
.../win32/dpp-gui.vcxproj.filters | 23 +-
.../dpp_mbed-lpc1768/qk/arm/dpp-qk.uvoptx | 88 +-
.../dpp_mbed-lpc1768/qk/arm/dpp-qk.uvprojx | 65 +-
examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c | 85 +-
.../arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile | 12 +-
.../arm-cm/dpp_mbed-lpc1768/qk/iar/dpp-qk.ewp | 186 +-
.../dpp_mbed-lpc1768/qv/arm/dpp-qv.uvoptx | 80 +-
.../dpp_mbed-lpc1768/qv/arm/dpp-qv.uvprojx | 65 +-
examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c | 85 +-
.../arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile | 12 +-
.../arm-cm/dpp_mbed-lpc1768/qv/iar/dpp-qv.ewp | 156 +-
.../dpp_nucleo-l053r8/qk/arm/dpp-qk.uvoptx | 153 +-
.../dpp_nucleo-l053r8/qk/arm/dpp-qk.uvprojx | 59 +-
examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c | 84 +-
.../arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile | 12 +-
.../dpp_nucleo-l053r8/qk/iar/dpp-qk.ewp | 192 +-
.../dpp_nucleo-l053r8/qv/arm/dpp-qv.uvoptx | 133 +-
.../dpp_nucleo-l053r8/qv/arm/dpp-qv.uvprojx | 59 +-
examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c | 84 +-
.../arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile | 12 +-
.../dpp_nucleo-l053r8/qv/iar/dpp-qv.ewp | 156 +-
.../dpp_nucleo-l152re/qk/arm/dpp-qk.uvoptx | 168 +-
.../dpp_nucleo-l152re/qk/arm/dpp-qk.uvprojx | 59 +-
examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c | 84 +-
.../arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile | 12 +-
.../dpp_nucleo-l152re/qk/iar/dpp-qk.ewp | 157 +-
.../dpp_nucleo-l152re/qv/arm/dpp-qv.uvoptx | 121 +-
.../dpp_nucleo-l152re/qv/arm/dpp-qv.uvprojx | 59 +-
examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c | 84 +-
.../arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile | 12 +-
.../dpp_nucleo-l152re/qv/iar/dpp-qv.ewp | 157 +-
.../game_ek-lm3s811/qk/arm/game-qk.uvoptx | 82 +-
.../game_ek-lm3s811/qk/arm/game-qk.uvprojx | 59 +-
examples/arm-cm/game_ek-lm3s811/qk/bsp.c | 87 +-
.../arm-cm/game_ek-lm3s811/qk/gnu/Makefile | 12 +-
.../arm-cm/game_ek-lm3s811/qk/iar/game-qk.ewp | 156 +-
.../game_ek-lm3s811/qv/arm/game-qv.uvoptx | 78 +-
.../game_ek-lm3s811/qv/arm/game-qv.uvprojx | 59 +-
examples/arm-cm/game_ek-lm3s811/qv/bsp.c | 83 +-
.../arm-cm/game_ek-lm3s811/qv/gnu/Makefile | 14 +-
.../arm-cm/game_ek-lm3s811/qv/iar/game-qv.ewp | 156 +-
.../arm-cm/game_ek-lm3s811/win32-qv/Makefile | 17 +-
.../arm-cm/game_ek-lm3s811/win32-qv/bsp.c | 75 +-
.../game_ek-lm3s811/win32-qv/game-gui.vcxproj | 39 +-
.../win32-qv/game-gui.vcxproj.filters | 23 +-
.../arm-cm/game_ek-lm3s811/win32/Makefile | 17 +-
examples/arm-cm/game_ek-lm3s811/win32/bsp.c | 75 +-
.../game_ek-lm3s811/win32/game-gui.vcxproj | 37 +-
.../win32/game-gui.vcxproj.filters | 23 +-
examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.c | 83 +-
.../arm7-9/dpp_at91sam7s-ek/qk/iar/dpp-qk.ewp | 159 +-
examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.c | 85 +-
.../arm7-9/dpp_at91sam7s-ek/qv/iar/dpp-qv.ewp | 159 +-
.../avr/blinky_arduino-uno/qk/gnu/Makefile | 12 +-
examples/avr/blinky_arduino-uno/qk/gnu/bsp.c | 19 +-
.../blinky_arduino-uno/qk/iar/blinky-qk.ewp | 168 +-
examples/avr/blinky_arduino-uno/qk/iar/bsp.c | 19 +-
.../avr/blinky_arduino-uno/qv/gnu/Makefile | 12 +-
examples/avr/blinky_arduino-uno/qv/gnu/bsp.c | 19 +-
.../blinky_arduino-uno/qv/iar/blinky-qv.ewp | 168 +-
examples/avr/blinky_arduino-uno/qv/iar/bsp.c | 19 +-
examples/avr/dpp_arduino-uno/qk/gnu/Makefile | 12 +-
examples/avr/dpp_arduino-uno/qk/gnu/bsp.c | 83 +-
examples/avr/dpp_arduino-uno/qk/iar/bsp.c | 84 +-
.../avr/dpp_arduino-uno/qk/iar/dpp-qk.ewp | 166 +-
examples/avr/dpp_arduino-uno/qv/gnu/Makefile | 12 +-
examples/avr/dpp_arduino-uno/qv/gnu/bsp.c | 84 +-
examples/avr/dpp_arduino-uno/qv/iar/bsp.c | 84 +-
.../avr/dpp_arduino-uno/qv/iar/dpp-qv.ewp | 166 +-
.../blinky_ek-tm4c123gxl/arm/blinky.uvoptx | 78 +-
.../blinky_ek-tm4c123gxl/arm/blinky.uvprojx | 74 +-
examples/cmsis-rtx/blinky_ek-tm4c123gxl/bsp.c | 27 +-
.../blinky_ek-tm4c123gxl/gnu/.cproject | 64 -
.../blinky_ek-tm4c123gxl/gnu/.project | 32 -
.../blinky_ek-tm4c123gxl/gnu/Makefile | 14 +-
.../blinky_ek-tm4c123gxl/iar/blinky.ewp | 156 +-
.../dpp_ek-tm4c123gxl/arm/dpp.uvoptx | 64 +-
.../dpp_ek-tm4c123gxl/arm/dpp.uvprojx | 72 +-
examples/cmsis-rtx/dpp_ek-tm4c123gxl/bsp.c | 119 +-
.../cmsis-rtx/dpp_ek-tm4c123gxl/gnu/Makefile | 14 +-
.../cmsis-rtx/dpp_ek-tm4c123gxl/iar/dpp.ewp | 156 +-
.../dpp_nucleo-l053r8/arm/dpp.uvoptx | 133 +-
.../dpp_nucleo-l053r8/arm/dpp.uvprojx | 59 +-
examples/cmsis-rtx/dpp_nucleo-l053r8/bsp.c | 82 +-
.../cmsis-rtx/dpp_nucleo-l053r8/gnu/Makefile | 12 +-
.../cmsis-rtx/dpp_nucleo-l053r8/iar/dpp.ewp | 156 +-
.../dpp_nucleo-l152re/arm/dpp.uvoptx | 119 +-
.../dpp_nucleo-l152re/arm/dpp.uvprojx | 59 +-
examples/cmsis-rtx/dpp_nucleo-l152re/bsp.c | 85 +-
.../cmsis-rtx/dpp_nucleo-l152re/gnu/Makefile | 12 +-
.../cmsis-rtx/dpp_nucleo-l152re/iar/dpp.ewp | 156 +-
.../arm-cm/dpp_stm32f429-discovery/bsp.c | 70 +-
.../dpp_stm32f429-discovery/iar/dpp.ewp | 158 +-
.../arm-cm/blinky_ek-tm4c123gxl/bsp.c | 28 +-
.../arm-cm/blinky_ek-tm4c123gxl/gnu/Makefile | 14 +-
.../blinky_ek-tm4c123gxl/iar/blinky.ewp | 156 +-
.../freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c | 123 +-
.../arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile | 14 +-
.../arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp | 156 +-
.../lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c | 98 +-
.../arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile | 12 +-
.../lwip_ek-lm3s6965/qk/iar/lwip-qk.ewp | 156 +-
.../lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c | 84 +-
.../arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile | 12 +-
.../lwip_ek-lm3s6965/qv/iar/lwip-qv.ewp | 158 +-
.../msp430/blinky_msp-exp430f5529lp/qk/bsp.c | 20 +-
.../blinky_msp-exp430f5529lp/qk/ccs/.cproject | 10 +-
.../blinky_msp-exp430f5529lp/qk/ccs/.project | 9 +-
.../qk/iar/blinky-qk.ewp | 12 +-
.../msp430/blinky_msp-exp430f5529lp/qv/bsp.c | 22 +-
.../blinky_msp-exp430f5529lp/qv/ccs/.cproject | 25 +-
.../blinky-qv_msp-exp430f5529lp.launch | 14 +-
.../blinky_msp-exp430f5529lp/qv/ccs/.project | 9 +-
.../qv/iar/blinky-qv.ewp | 12 +-
examples/msp430/blinky_msp-exp430g2/qk/bsp.c | 22 +-
.../blinky_msp-exp430g2/qk/ccs/.cproject | 25 +-
.../.launches/blinky-qk_msp-exp430g2.launch | 14 +-
.../blinky_msp-exp430g2/qk/ccs/.project | 9 +-
.../blinky_msp-exp430g2/qk/iar/blinky-qk.ewp | 12 +-
examples/msp430/blinky_msp-exp430g2/qv/bsp.c | 20 +-
.../blinky_msp-exp430g2/qv/ccs/.cproject | 10 +-
.../blinky_msp-exp430g2/qv/ccs/.project | 9 +-
.../blinky_msp-exp430g2/qv/iar/blinky-qv.ewp | 12 +-
examples/msp430/dpp_msp-exp430g2/qk/bsp.c | 85 +-
.../msp430/dpp_msp-exp430g2/qk/ccs/.cproject | 25 +-
.../ccs/.launches/dpp-qk_msp-exp430g2.launch | 14 +-
.../msp430/dpp_msp-exp430g2/qk/ccs/.project | 9 +-
.../msp430/dpp_msp-exp430g2/qk/iar/dpp-qk.ewp | 12 +-
examples/msp430/dpp_msp-exp430g2/qv/bsp.c | 85 +-
.../msp430/dpp_msp-exp430g2/qv/ccs/.cproject | 25 +-
.../ccs/.launches/dpp-qv_msp-exp430g2.launch | 2 +-
.../msp430/dpp_msp-exp430g2/qv/ccs/.project | 9 +-
.../msp430/dpp_msp-exp430g2/qv/iar/dpp-qv.ewp | 12 +-
examples/posix/blinky/Makefile | 156 +-
examples/posix/blinky/bsp.c | 18 +-
examples/posix/dpp/Makefile | 157 +-
examples/posix/dpp/bsp.c | 108 +-
examples/posix/dpp/make.tcl | 194 --
examples/posix/qhsmtst/Makefile | 155 +-
examples/posix/qmsmtst/Makefile | 155 +-
examples/posix/qmsmtst/log.txt | 23 +
examples/threadx/dpp_visual-studio/bsp.c | 91 +-
.../threadx/dpp_visual-studio/dpp.vcxproj | 4 +
.../dpp_visual-studio/dpp.vcxproj.filters | 1 +
.../arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvoptx | 90 +-
.../arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvprojx | 72 +-
.../ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.c | 117 +-
.../arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp | 159 +-
.../arm-cm/dpp_nucleo-l152re/arm/dpp.uvoptx | 143 +-
.../arm-cm/dpp_nucleo-l152re/arm/dpp.uvprojx | 59 +-
.../ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.c | 85 +-
.../arm-cm/dpp_nucleo-l152re/iar/dpp.ewp | 186 +-
examples/win32-qv/dpp/Makefile | 24 +-
examples/win32-qv/dpp/bsp.c | 304 +-
examples/win32-qv/dpp/bsp.h | 2 +-
examples/win32-qv/dpp/dpp.vcxproj | 22 +-
examples/win32-qv/dpp/dpp.vcxproj.filters | 30 +
examples/win32-qv/dpp/main.c | 4 +-
examples/win32-qv/reminder2/Makefile | 7 +-
examples/win32-qv/reminder2/reminder2.c | 12 +-
examples/win32/calc/Makefile | 7 +-
examples/win32/calc2/Makefile | 7 +-
examples/win32/comp/Makefile | 7 +-
examples/win32/comp_qm/Makefile | 9 +-
examples/win32/defer/Makefile | 7 +-
examples/win32/defer/defer.c | 53 +-
examples/win32/dpp/Makefile | 24 +-
examples/win32/dpp/bsp.c | 269 +-
examples/win32/dpp/bsp.h | 21 +-
examples/win32/dpp/dpp.vcxproj | 18 +-
examples/win32/dpp/dpp.vcxproj.filters | 31 +
examples/win32/dpp/main.c | 39 +-
examples/win32/history_qhsm/Makefile | 7 +-
examples/win32/history_qhsm/history.c | 5 +
examples/win32/history_qhsm/history.qm | 9 +-
examples/win32/history_qmsm/Makefile | 7 +-
examples/win32/history_qmsm/history.c | 18 +-
examples/win32/history_qmsm/history.qm | 9 +-
examples/win32/history_qmsm/history.sln | 25 +
examples/win32/qhsmtst/.qhsmtst | 58 +
examples/win32/qhsmtst/Makefile | 7 +-
examples/win32/qhsmtst/qhsmtst.sln | 25 +
examples/win32/qhsmtst/qhsmtst.vcxproj | 174 +
.../win32/qhsmtst/qhsmtst.vcxproj.filters | 28 +
examples/win32/qmsmtst/Makefile | 7 +-
examples/win32/reminder/Makefile | 7 +-
examples/win32/reminder2/Makefile | 7 +-
examples/win32/reminder2/reminder2.c | 12 +-
include/qassert.h | 6 +-
include/qep.h | 34 +-
include/qf.h | 57 +-
include/qpc.h | 20 +-
include/qpc.lnt | 16 +-
include/qs.h | 144 +-
include/qs_dummy.h | 14 +-
include/qstamp.c | 55 +
ports/freertos/arm-cm/gnu/qf_port.c | 19 +-
ports/freertos/arm-cm/gnu/qf_port.h | 7 +-
ports/freertos/arm-cm/iar/qf_port.c | 19 +-
ports/freertos/arm-cm/iar/qf_port.h | 7 +-
ports/lint/lin.bat | 14 +-
ports/lint/lint_qep.txt | 502 ---
ports/lint/lint_qf.txt | 509 ---
ports/lint/lint_qk.txt | 551 ----
ports/lint/lint_qs.txt | 554 ----
ports/lint/lint_qv.txt | 522 ---
ports/lint/options.lnt | 15 +-
ports/posix/Makefile | 46 +-
ports/win32-qv/Makefile | 27 +-
ports/win32-qv/qp.vcxproj | 5 +
ports/win32-qv/qp.vcxproj.filters | 3 +
ports/win32/Makefile | 25 +-
ports/win32/qp.vcxproj | 5 +
ports/win32/qp.vcxproj.filters | 3 +
source/qep_hsm.c | 58 +-
source/qep_msm.c | 50 +-
source/qf_dyn.c | 37 +-
source/qf_mem.c | 18 +-
source/qk.c | 58 +-
source/qs.c | 226 +-
source/qs_pkg.h | 16 +-
source/qs_rx.c | 730 ++++
source/qv.c | 33 +-
version-5.4.2 | 2 -
version-5.5.0 | 2 +
321 files changed, 14277 insertions(+), 14853 deletions(-)
create mode 100644 3rd_party/CMSIS-RTX/SRC/GCC/ArInp.Scr
create mode 100644 3rd_party/CMSIS-RTX/SRC/GCC/ArInp.bat
rename GPL.txt => GPLv3.txt (100%)
rename COPYING => LICENSE.txt (100%)
rename doxygen/{about.dox => about.cc} (91%)
rename doxygen/{design.dox => design.cc} (96%)
rename doxygen/{exa.dox => exa.cc} (90%)
rename doxygen/{exa_apps.dox => exa_apps.cc} (68%)
rename doxygen/{exa_mware.dox => exa_mware.cc} (100%)
rename doxygen/{exa_native.dox => exa_native.cc} (100%)
rename doxygen/{exa_os.dox => exa_os.cc} (92%)
rename doxygen/{exa_rtos.dox => exa_rtos.cc} (100%)
rename doxygen/{history.dox => history.cc} (95%)
rename doxygen/{images => img}/AN_Coding_Standard.jpg (100%)
rename doxygen/{images => img}/AN_Getting_Started_with_QPC.jpg (100%)
rename doxygen/{images => img}/AN_MISRA-QPC.jpg (100%)
rename doxygen/{images => img}/AN_Simple_OOP_in_C.jpg (100%)
rename doxygen/{lint.dox => lint.cc} (100%)
rename doxygen/{metrics.dox => metrics.cc} (80%)
rename doxygen/{modules.dox => modules.cc} (100%)
rename doxygen/{ports.dox => ports.cc} (100%)
rename doxygen/{ports_native.dox => ports_native.cc} (100%)
rename doxygen/{ports_os.dox => ports_os.cc} (100%)
rename doxygen/{ports_rtos.dox => ports_rtos.cc} (100%)
create mode 100644 doxygen/qpc_metrics.txt
delete mode 100644 doxygen/scripts/jquery.plugins.min.js
delete mode 100644 doxygen/scripts/ql.js
create mode 100644 doxygen/snippets/qmp_init.c
create mode 100644 doxygen/snippets/qmp_use.c
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/.dpp
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/dpp.tcl
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_DWN.gif
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_UP.gif
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/eating.gif
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/hungry.gif
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/thinking.gif
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/qspyview.bat
create mode 100644 examples/arm-cm/dpp_ek-tm4c123gxl/qspy/qspyview.lnk
delete mode 100644 examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.cproject
delete mode 100644 examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.project
delete mode 100644 examples/posix/dpp/make.tcl
create mode 100644 examples/posix/qmsmtst/log.txt
create mode 100644 examples/win32-qv/dpp/dpp.vcxproj.filters
create mode 100644 examples/win32/dpp/dpp.vcxproj.filters
create mode 100644 examples/win32/history_qmsm/history.sln
create mode 100644 examples/win32/qhsmtst/.qhsmtst
create mode 100644 examples/win32/qhsmtst/qhsmtst.sln
create mode 100644 examples/win32/qhsmtst/qhsmtst.vcxproj
create mode 100644 examples/win32/qhsmtst/qhsmtst.vcxproj.filters
create mode 100644 include/qstamp.c
delete mode 100644 ports/lint/lint_qep.txt
delete mode 100644 ports/lint/lint_qf.txt
delete mode 100644 ports/lint/lint_qk.txt
delete mode 100644 ports/lint/lint_qs.txt
delete mode 100644 ports/lint/lint_qv.txt
create mode 100644 source/qs_rx.c
delete mode 100644 version-5.4.2
create mode 100644 version-5.5.0
diff --git a/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.Scr b/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.Scr
new file mode 100644
index 00000000..205e45fd
--- /dev/null
+++ b/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.Scr
@@ -0,0 +1,19 @@
+CREATE ./CM4F_LE/libRTX_CM4.a
+ADDMOD ./cm4f_le/rt_cmsis.o
+ADDMOD ./cm4f_le/rt_task.o
+ADDMOD ./cm4f_le/rt_system.o
+ADDMOD ./cm4f_le/rt_event.o
+ADDMOD ./cm4f_le/rt_list.o
+ADDMOD ./cm4f_le/rt_mailbox.o
+ADDMOD ./cm4f_le/rt_semaphore.o
+ADDMOD ./cm4f_le/rt_time.o
+ADDMOD ./cm4f_le/rt_timer.o
+ADDMOD ./cm4f_le/rt_mutex.o
+ADDMOD ./cm4f_le/rt_robin.o
+ADDMOD ./cm4f_le/rt_membox.o
+ADDMOD ./cm4f_le/rt_memory.o
+ADDMOD ./cm4f_le/svc_table.o
+ADDMOD ./cm4f_le/hal_cm.o
+ADDMOD ./cm4f_le/hal_cm4.o
+SAVE
+END
diff --git a/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.bat b/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.bat
new file mode 100644
index 00000000..21bf52d3
--- /dev/null
+++ b/3rd_party/CMSIS-RTX/SRC/GCC/ArInp.bat
@@ -0,0 +1 @@
+"C:\tools\gnu_arm-eabi\bin\arm-eabi-ar" -M 2
1
- -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections
+ -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections
__CORTEX_M4F __FPU_PRESENT=1 __CMSIS_RTOS DBG_MSG
..\..\..\CMSIS\Include
diff --git a/3rd_party/ek-lm3s6965/arm/startup_LM3S6965.s b/3rd_party/ek-lm3s6965/arm/startup_LM3S6965.s
index 850cc77f..de6d8f0a 100644
--- a/3rd_party/ek-lm3s6965/arm/startup_LM3S6965.s
+++ b/3rd_party/ek-lm3s6965/arm/startup_LM3S6965.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_LM3S6965.s for ARM-KEIL ARM assembler
; * @brief CMSIS Cortex-M3 Core Device Startup File for LM3S6965
-; * @version CMSIS v4.2.0
-; * @date 07 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -14,11 +14,11 @@
; * --pd "Stack_Size SETA 512" --pd "Heap_Size SETA 0"
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * determine the error/assertion handling policy for the application and
-; * might need to be customized for each project. This function is defined
-; * in assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -85,7 +85,7 @@ __heap_limit
; Place code into the reset code section.
;
;******************************************************************************
- AREA RESET, DATA, READONLY
+ AREA RESET, DATA, READONLY
EXPORT __Vectors
EXPORT __Vectors_End
EXPORT __Vectors_Size
@@ -182,15 +182,20 @@ Reset_Handler PROC
IMPORT SystemInit
IMPORT __main
- BL SystemInit ; CMSIS system initialization
+ LDR r0, =SystemInit ; CMSIS system initialization
+ BLX r0
- ; Call the C library enty point that handles startup. This will copy
+ ; Call the C library enty point that handles startup. This will copy
; the .data section initializers from flash to SRAM and zero fill the
; .bss section.
- BL __main
+ LDR r0, =__main
+ BX r0
+
+ ; __main calls the main() function, which should not return,
+ ; but just in case jump to assert_failed() if main returns.
MOVS r0,#0
MOVS r1,#0 ; error number
- B assert_failed ; __main should not return, but assert if it does
+ B assert_failed
ENDP
;******************************************************************************
@@ -432,40 +437,28 @@ __user_initial_stackheap PROC
;******************************************************************************
;
-; The weak functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
- EXPORT assert_failed [WEAK]
- EXPORT Q_onAssert [WEAK]
+ EXPORT assert_failed
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm3.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
- ALIGN ; make sure the end of this section is aligned
+ ALIGN ; make sure the end of this section is aligned
- END ; end of module
+ END ; end of module
diff --git a/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c b/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c
index 799319d0..e28ba4e8 100644
--- a/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c
+++ b/3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c
@@ -1,17 +1,18 @@
/* File: startup_LM3S6965.c for GCC-ARM
* Purpose: startup file for LM3S6965 Cortex-M3 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 07 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 06 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -309,31 +309,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/ek-lm3s6965/iar/startup_LM3S6965.s b/3rd_party/ek-lm3s6965/iar/startup_LM3S6965.s
index 9c512708..49203c21 100644
--- a/3rd_party/ek-lm3s6965/iar/startup_LM3S6965.s
+++ b/3rd_party/ek-lm3s6965/iar/startup_LM3S6965.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_LM3S6965.s for IAR ARM assembler
; * @brief CMSIS Cortex-M# Core Device Startup File for LM3S6965
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -303,36 +303,23 @@ Hibernate_IRQHandler
;******************************************************************************
;
-; The weak functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
- PUBWEAK assert_failed
- PUBWEAK Q_onAssert
-Q_onAssert
+ PUBLIC assert_failed
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+
+ END ; end of module
diff --git a/3rd_party/ek-lm3s811/arm/startup_LM3S811.s b/3rd_party/ek-lm3s811/arm/startup_LM3S811.s
index 577fea00..996fc12a 100644
--- a/3rd_party/ek-lm3s811/arm/startup_LM3S811.s
+++ b/3rd_party/ek-lm3s811/arm/startup_LM3S811.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_LM3S811.s for ARM-KEIL ARM assembler
; * @brief CMSIS Cortex-M3 Core Device Startup File for LM3S811
-; * @version CMSIS v4.2.0
-; * @date 07 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -14,11 +14,11 @@
; * --pd "Stack_Size SETA 512" --pd "Heap_Size SETA 0"
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * determine the error/assertion handling policy for the application and
-; * might need to be customized for each project. This function is defined
-; * in assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -169,15 +169,20 @@ Reset_Handler PROC
IMPORT SystemInit
IMPORT __main
- BL SystemInit ; CMSIS system initialization
+ LDR r0, =SystemInit ; CMSIS system initialization
+ BLX r0
- ; Call the C library enty point that handles startup. This will copy
+ ; Call the C library enty point that handles startup. This will copy
; the .data section initializers from flash to SRAM and zero fill the
; .bss section.
- BL __main
+ LDR r0, =__main
+ BX r0
+
+ ; __main calls the main() function, which should not return,
+ ; but just in case jump to assert_failed() if main returns.
MOVS r0,#0
MOVS r1,#0 ; error number
- B assert_failed ; __main should not return, but assert if it does
+ B assert_failed
ENDP
;******************************************************************************
@@ -384,37 +389,25 @@ __user_initial_stackheap PROC
;******************************************************************************
;
-; The weak functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
- EXPORT assert_failed [WEAK]
- EXPORT Q_onAssert [WEAK]
+ EXPORT assert_failed
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm3.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
diff --git a/3rd_party/ek-lm3s811/gnu/startup_LM3S811.c b/3rd_party/ek-lm3s811/gnu/startup_LM3S811.c
index 4b4ecb03..42321d2e 100644
--- a/3rd_party/ek-lm3s811/gnu/startup_LM3S811.c
+++ b/3rd_party/ek-lm3s811/gnu/startup_LM3S811.c
@@ -1,17 +1,18 @@
/* File: startup_LM3S811.c for GNU-ARM
* Purpose: startup file for TM4C123GH6PM Cortex-M4 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 07 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 20 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -276,31 +276,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/ek-lm3s811/iar/startup_LM3S811.s b/3rd_party/ek-lm3s811/iar/startup_LM3S811.s
index f70ce57c..b84000b4 100644
--- a/3rd_party/ek-lm3s811/iar/startup_LM3S811.s
+++ b/3rd_party/ek-lm3s811/iar/startup_LM3S811.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_LM3S811.s for IAR ARM assembler
; * @brief CMSIS Cortex-M# Core Device Startup File for LM3S811
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -253,36 +253,23 @@ FlashCtrl_IRQHandler
;******************************************************************************
;
-; The weak functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
- PUBWEAK assert_failed
- PUBWEAK Q_onAssert
+ PUBLIC assert_failed
+ EXTERN Q_onAssert
assert_failed
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm3.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
END ; end of module
diff --git a/3rd_party/ek-tm4c123gxl/arm/startup_TM4C123GH6PM.s b/3rd_party/ek-tm4c123gxl/arm/startup_TM4C123GH6PM.s
index 9641171c..eb113ab7 100644
--- a/3rd_party/ek-tm4c123gxl/arm/startup_TM4C123GH6PM.s
+++ b/3rd_party/ek-tm4c123gxl/arm/startup_TM4C123GH6PM.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_TM4C123GH6PM.s for ARM-KEIL ARM assembler
-; * @brief CMSIS Cortex-M# Core Device Startup File for TM4C123GH6PM
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @brief CMSIS Cortex-M4F Core Device Startup File for TM4C123GH6PM
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -14,11 +14,11 @@
; * --pd "Stack_Size SETA 512" --pd "Heap_Size SETA 0"
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * determine the error/assertion handling policy for the application and
-; * might need to be customized for each project. This function is defined
-; * in assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -660,40 +660,27 @@ __user_initial_stackheap PROC
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
EXPORT assert_failed
- EXPORT Q_onAssert
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
+ ALIGN ; make sure the end of this section is aligned
- ALIGN ; make sure the end of this section is aligned
-
- END ; end of module
+ END ; end of module
diff --git a/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c b/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
index 4236979f..13515a38 100644
--- a/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
+++ b/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
@@ -1,17 +1,18 @@
/* File: startup_TM4C123GH6PM.c
* Purpose: startup file for TM4C123GH6PM Cortex-M4 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 07 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 20 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -467,31 +467,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/ek-tm4c123gxl/iar/startup_TM4C123GH6PM.s b/3rd_party/ek-tm4c123gxl/iar/startup_TM4C123GH6PM.s
index f203d06c..ede44805 100644
--- a/3rd_party/ek-tm4c123gxl/iar/startup_TM4C123GH6PM.s
+++ b/3rd_party/ek-tm4c123gxl/iar/startup_TM4C123GH6PM.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_TM4C123GH6PM.s for IAR ARM assembler
-; * @brief CMSIS Cortex-M# Core Device Startup File for TM4C123GH6PM
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @brief CMSIS Cortex-M4F Core Device Startup File for TM4C123GH6PM
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -78,145 +78,145 @@ __vector_table
DCD SysTick_Handler ; The SysTick handler
; IRQ handlers...
- DCD GPIOPortA_IRQHandler ; GPIO Port A
- DCD GPIOPortB_IRQHandler ; GPIO Port B
- DCD GPIOPortC_IRQHandler ; GPIO Port C
- DCD GPIOPortD_IRQHandler ; GPIO Port D
- DCD GPIOPortE_IRQHandler ; GPIO Port E
- DCD UART0_IRQHandler ; UART0 Rx and Tx
- DCD UART1_IRQHandler ; UART1 Rx and Tx
- DCD SSI0_IRQHandler ; SSI0 Rx and Tx
- DCD I2C0_IRQHandler ; I2C0 Master and Slave
- DCD PWMFault_IRQHandler ; PWM Fault
- DCD PWMGen0_IRQHandler ; PWM Generator 0
- DCD PWMGen1_IRQHandler ; PWM Generator 1
- DCD PWMGen2_IRQHandler ; PWM Generator 2
- DCD QEI0_IRQHandler ; Quadrature Encoder 0
- DCD ADCSeq0_IRQHandler ; ADC Sequence 0
- DCD ADCSeq1_IRQHandler ; ADC Sequence 1
- DCD ADCSeq2_IRQHandler ; ADC Sequence 2
- DCD ADCSeq3_IRQHandler ; ADC Sequence 3
- DCD Watchdog_IRQHandler ; Watchdog timer
- DCD Timer0A_IRQHandler ; Timer 0 subtimer A
- DCD Timer0B_IRQHandler ; Timer 0 subtimer B
- DCD Timer1A_IRQHandler ; Timer 1 subtimer A
- DCD Timer1B_IRQHandler ; Timer 1 subtimer B
- DCD Timer2A_IRQHandler ; Timer 2 subtimer A
- DCD Timer2B_IRQHandler ; Timer 2 subtimer B
- DCD Comp0_IRQHandler ; Analog Comparator 0
- DCD Comp1_IRQHandler ; Analog Comparator 1
- DCD Comp2_IRQHandler ; Analog Comparator 2
- DCD SysCtrl_IRQHandler ; System Control (PLL, OSC, BO)
- DCD FlashCtrl_IRQHandler ; FLASH Control
- DCD GPIOPortF_IRQHandler ; GPIO Port F
- DCD GPIOPortG_IRQHandler ; GPIO Port G
- DCD GPIOPortH_IRQHandler ; GPIO Port H
- DCD UART2_IRQHandler ; UART2 Rx and Tx
- DCD SSI1_IRQHandler ; SSI1 Rx and Tx
- DCD Timer3A_IRQHandler ; Timer 3 subtimer A
- DCD Timer3B_IRQHandler ; Timer 3 subtimer B
- DCD I2C1_IRQHandler ; I2C1 Master and Slave
- DCD QEI1_IRQHandler ; Quadrature Encoder 1
- DCD CAN0_IRQHandler ; CAN0
- DCD CAN1_IRQHandler ; CAN1
- DCD CAN2_IRQHandler ; CAN2
- DCD 0 ; Reserved
- DCD Hibernate_IRQHandler ; Hibernate
- DCD USB0_IRQHandler ; USB0
- DCD PWMGen3_IRQHandler ; PWM Generator 3
- DCD uDMAST_IRQHandler ; uDMA Software Transfer
- DCD uDMAError_IRQHandler ; uDMA Error
- DCD ADC1Seq0_IRQHandler ; ADC1 Sequence 0
- DCD ADC1Seq1_IRQHandler ; ADC1 Sequence 1
- DCD ADC1Seq2_IRQHandler ; ADC1 Sequence 2
- DCD ADC1Seq3_IRQHandler ; ADC1 Sequence 3
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD GPIOPortJ_IRQHandler ; GPIO Port J
- DCD GPIOPortK_IRQHandler ; GPIO Port K
- DCD GPIOPortL_IRQHandler ; GPIO Port L
- DCD SSI2_IRQHandler ; SSI2 Rx and Tx
- DCD SSI3_IRQHandler ; SSI3 Rx and Tx
- DCD UART3_IRQHandler ; UART3 Rx and Tx
- DCD UART4_IRQHandler ; UART4 Rx and Tx
- DCD UART5_IRQHandler ; UART5 Rx and Tx
- DCD UART6_IRQHandler ; UART6 Rx and Tx
- DCD UART7_IRQHandler ; UART7 Rx and Tx
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD I2C2_IRQHandler ; I2C2 Master and Slave
- DCD I2C3_IRQHandler ; I2C3 Master and Slave
- DCD Timer4A_IRQHandler ; Timer 4 subtimer A
- DCD Timer4B_IRQHandler ; Timer 4 subtimer B
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD Timer5A_IRQHandler ; Timer 5 subtimer A
- DCD Timer5B_IRQHandler ; Timer 5 subtimer B
- DCD WideTimer0A_IRQHandler ; Wide Timer 0 subtimer A
- DCD WideTimer0B_IRQHandler ; Wide Timer 0 subtimer B
- DCD WideTimer1A_IRQHandler ; Wide Timer 1 subtimer A
- DCD WideTimer1B_IRQHandler ; Wide Timer 1 subtimer B
- DCD WideTimer2A_IRQHandler ; Wide Timer 2 subtimer A
- DCD WideTimer2B_IRQHandler ; Wide Timer 2 subtimer B
- DCD WideTimer3A_IRQHandler ; Wide Timer 3 subtimer A
- DCD WideTimer3B_IRQHandler ; Wide Timer 3 subtimer B
- DCD WideTimer4A_IRQHandler ; Wide Timer 4 subtimer A
- DCD WideTimer4B_IRQHandler ; Wide Timer 4 subtimer B
- DCD WideTimer5A_IRQHandler ; Wide Timer 5 subtimer A
- DCD WideTimer5B_IRQHandler ; Wide Timer 5 subtimer B
- DCD FPU_IRQHandler ; FPU
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD I2C4_IRQHandler ; I2C4 Master and Slave
- DCD I2C5_IRQHandler ; I2C5 Master and Slave
- DCD GPIOPortM_IRQHandler ; GPIO Port M
- DCD GPIOPortN_IRQHandler ; GPIO Port N
- DCD QEI2_IRQHandler ; Quadrature Encoder 2
- DCD 0 ; Reserved
- DCD 0 ; Reserved
- DCD GPIOPortP0_IRQHandler ; GPIO Port P (Summary or P0)
- DCD GPIOPortP1_IRQHandler ; GPIO Port P1
- DCD GPIOPortP2_IRQHandler ; GPIO Port P2
- DCD GPIOPortP3_IRQHandler ; GPIO Port P3
- DCD GPIOPortP4_IRQHandler ; GPIO Port P4
- DCD GPIOPortP5_IRQHandler ; GPIO Port P5
- DCD GPIOPortP6_IRQHandler ; GPIO Port P6
- DCD GPIOPortP7_IRQHandler ; GPIO Port P7
- DCD GPIOPortQ0_IRQHandler ; GPIO Port Q (Summary or Q0)
- DCD GPIOPortQ1_IRQHandler ; GPIO Port Q1
- DCD GPIOPortQ2_IRQHandler ; GPIO Port Q2
- DCD GPIOPortQ3_IRQHandler ; GPIO Port Q3
- DCD GPIOPortQ4_IRQHandler ; GPIO Port Q4
- DCD GPIOPortQ5_IRQHandler ; GPIO Port Q5
- DCD GPIOPortQ6_IRQHandler ; GPIO Port Q6
- DCD GPIOPortQ7_IRQHandler ; GPIO Port Q7
- DCD GPIOPortR_IRQHandler ; GPIO Port R
- DCD GPIOPortS_IRQHandler ; GPIO Port S
- DCD PWM1Gen0_IRQHandler ; PWM 1 Generator 0
- DCD PWM1Gen1_IRQHandler ; PWM 1 Generator 1
- DCD PWM1Gen2_IRQHandler ; PWM 1 Generator 2
- DCD PWM1Gen3_IRQHandler ; PWM 1 Generator 3
- DCD PWM1Fault_IRQHandler ; PWM 1 Fault
+ DCD GPIOPortA_IRQHandler ; GPIO Port A
+ DCD GPIOPortB_IRQHandler ; GPIO Port B
+ DCD GPIOPortC_IRQHandler ; GPIO Port C
+ DCD GPIOPortD_IRQHandler ; GPIO Port D
+ DCD GPIOPortE_IRQHandler ; GPIO Port E
+ DCD UART0_IRQHandler ; UART0 Rx and Tx
+ DCD UART1_IRQHandler ; UART1 Rx and Tx
+ DCD SSI0_IRQHandler ; SSI0 Rx and Tx
+ DCD I2C0_IRQHandler ; I2C0 Master and Slave
+ DCD PWMFault_IRQHandler ; PWM Fault
+ DCD PWMGen0_IRQHandler ; PWM Generator 0
+ DCD PWMGen1_IRQHandler ; PWM Generator 1
+ DCD PWMGen2_IRQHandler ; PWM Generator 2
+ DCD QEI0_IRQHandler ; Quadrature Encoder 0
+ DCD ADCSeq0_IRQHandler ; ADC Sequence 0
+ DCD ADCSeq1_IRQHandler ; ADC Sequence 1
+ DCD ADCSeq2_IRQHandler ; ADC Sequence 2
+ DCD ADCSeq3_IRQHandler ; ADC Sequence 3
+ DCD Watchdog_IRQHandler ; Watchdog timer
+ DCD Timer0A_IRQHandler ; Timer 0 subtimer A
+ DCD Timer0B_IRQHandler ; Timer 0 subtimer B
+ DCD Timer1A_IRQHandler ; Timer 1 subtimer A
+ DCD Timer1B_IRQHandler ; Timer 1 subtimer B
+ DCD Timer2A_IRQHandler ; Timer 2 subtimer A
+ DCD Timer2B_IRQHandler ; Timer 2 subtimer B
+ DCD Comp0_IRQHandler ; Analog Comparator 0
+ DCD Comp1_IRQHandler ; Analog Comparator 1
+ DCD Comp2_IRQHandler ; Analog Comparator 2
+ DCD SysCtrl_IRQHandler ; System Control (PLL, OSC, BO)
+ DCD FlashCtrl_IRQHandler ; FLASH Control
+ DCD GPIOPortF_IRQHandler ; GPIO Port F
+ DCD GPIOPortG_IRQHandler ; GPIO Port G
+ DCD GPIOPortH_IRQHandler ; GPIO Port H
+ DCD UART2_IRQHandler ; UART2 Rx and Tx
+ DCD SSI1_IRQHandler ; SSI1 Rx and Tx
+ DCD Timer3A_IRQHandler ; Timer 3 subtimer A
+ DCD Timer3B_IRQHandler ; Timer 3 subtimer B
+ DCD I2C1_IRQHandler ; I2C1 Master and Slave
+ DCD QEI1_IRQHandler ; Quadrature Encoder 1
+ DCD CAN0_IRQHandler ; CAN0
+ DCD CAN1_IRQHandler ; CAN1
+ DCD CAN2_IRQHandler ; CAN2
+ DCD 0 ; Reserved
+ DCD Hibernate_IRQHandler ; Hibernate
+ DCD USB0_IRQHandler ; USB0
+ DCD PWMGen3_IRQHandler ; PWM Generator 3
+ DCD uDMAST_IRQHandler ; uDMA Software Transfer
+ DCD uDMAError_IRQHandler ; uDMA Error
+ DCD ADC1Seq0_IRQHandler ; ADC1 Sequence 0
+ DCD ADC1Seq1_IRQHandler ; ADC1 Sequence 1
+ DCD ADC1Seq2_IRQHandler ; ADC1 Sequence 2
+ DCD ADC1Seq3_IRQHandler ; ADC1 Sequence 3
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD GPIOPortJ_IRQHandler ; GPIO Port J
+ DCD GPIOPortK_IRQHandler ; GPIO Port K
+ DCD GPIOPortL_IRQHandler ; GPIO Port L
+ DCD SSI2_IRQHandler ; SSI2 Rx and Tx
+ DCD SSI3_IRQHandler ; SSI3 Rx and Tx
+ DCD UART3_IRQHandler ; UART3 Rx and Tx
+ DCD UART4_IRQHandler ; UART4 Rx and Tx
+ DCD UART5_IRQHandler ; UART5 Rx and Tx
+ DCD UART6_IRQHandler ; UART6 Rx and Tx
+ DCD UART7_IRQHandler ; UART7 Rx and Tx
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD I2C2_IRQHandler ; I2C2 Master and Slave
+ DCD I2C3_IRQHandler ; I2C3 Master and Slave
+ DCD Timer4A_IRQHandler ; Timer 4 subtimer A
+ DCD Timer4B_IRQHandler ; Timer 4 subtimer B
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD Timer5A_IRQHandler ; Timer 5 subtimer A
+ DCD Timer5B_IRQHandler ; Timer 5 subtimer B
+ DCD WideTimer0A_IRQHandler ; Wide Timer 0 subtimer A
+ DCD WideTimer0B_IRQHandler ; Wide Timer 0 subtimer B
+ DCD WideTimer1A_IRQHandler ; Wide Timer 1 subtimer A
+ DCD WideTimer1B_IRQHandler ; Wide Timer 1 subtimer B
+ DCD WideTimer2A_IRQHandler ; Wide Timer 2 subtimer A
+ DCD WideTimer2B_IRQHandler ; Wide Timer 2 subtimer B
+ DCD WideTimer3A_IRQHandler ; Wide Timer 3 subtimer A
+ DCD WideTimer3B_IRQHandler ; Wide Timer 3 subtimer B
+ DCD WideTimer4A_IRQHandler ; Wide Timer 4 subtimer A
+ DCD WideTimer4B_IRQHandler ; Wide Timer 4 subtimer B
+ DCD WideTimer5A_IRQHandler ; Wide Timer 5 subtimer A
+ DCD WideTimer5B_IRQHandler ; Wide Timer 5 subtimer B
+ DCD FPU_IRQHandler ; FPU
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD I2C4_IRQHandler ; I2C4 Master and Slave
+ DCD I2C5_IRQHandler ; I2C5 Master and Slave
+ DCD GPIOPortM_IRQHandler ; GPIO Port M
+ DCD GPIOPortN_IRQHandler ; GPIO Port N
+ DCD QEI2_IRQHandler ; Quadrature Encoder 2
+ DCD 0 ; Reserved
+ DCD 0 ; Reserved
+ DCD GPIOPortP0_IRQHandler ; GPIO Port P (Summary or P0)
+ DCD GPIOPortP1_IRQHandler ; GPIO Port P1
+ DCD GPIOPortP2_IRQHandler ; GPIO Port P2
+ DCD GPIOPortP3_IRQHandler ; GPIO Port P3
+ DCD GPIOPortP4_IRQHandler ; GPIO Port P4
+ DCD GPIOPortP5_IRQHandler ; GPIO Port P5
+ DCD GPIOPortP6_IRQHandler ; GPIO Port P6
+ DCD GPIOPortP7_IRQHandler ; GPIO Port P7
+ DCD GPIOPortQ0_IRQHandler ; GPIO Port Q (Summary or Q0)
+ DCD GPIOPortQ1_IRQHandler ; GPIO Port Q1
+ DCD GPIOPortQ2_IRQHandler ; GPIO Port Q2
+ DCD GPIOPortQ3_IRQHandler ; GPIO Port Q3
+ DCD GPIOPortQ4_IRQHandler ; GPIO Port Q4
+ DCD GPIOPortQ5_IRQHandler ; GPIO Port Q5
+ DCD GPIOPortQ6_IRQHandler ; GPIO Port Q6
+ DCD GPIOPortQ7_IRQHandler ; GPIO Port Q7
+ DCD GPIOPortR_IRQHandler ; GPIO Port R
+ DCD GPIOPortS_IRQHandler ; GPIO Port S
+ DCD PWM1Gen0_IRQHandler ; PWM 1 Generator 0
+ DCD PWM1Gen1_IRQHandler ; PWM 1 Generator 1
+ DCD PWM1Gen2_IRQHandler ; PWM 1 Generator 2
+ DCD PWM1Gen3_IRQHandler ; PWM 1 Generator 3
+ DCD PWM1Fault_IRQHandler ; PWM 1 Fault
__Vectors_End
@@ -526,37 +526,24 @@ PWM1Fault_IRQHandler
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
PUBLIC assert_failed
- PUBLIC Q_onAssert
-Q_onAssert
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+ END ; end of module
+
diff --git a/3rd_party/mbed-lpc1768/arm/startup_LPC17xx.s b/3rd_party/mbed-lpc1768/arm/startup_LPC17xx.s
index 6b70ab1d..f843be7a 100644
--- a/3rd_party/mbed-lpc1768/arm/startup_LPC17xx.s
+++ b/3rd_party/mbed-lpc1768/arm/startup_LPC17xx.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
-; * @file startup_LPC17xx.s for ARM-KEIL ARM assembler
-; * @brief CMSIS Cortex-M3 Core Device Startup File for LPC17xx
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @file startup_TM4C123GH6PM.s for ARM-KEIL ARM assembler
+; * @brief CMSIS Cortex-M4F Core Device Startup File for TM4C123GH6PM
+; * @version CMSIS 4.3.0
+; * @date 06 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -14,11 +14,11 @@
; * --pd "Stack_Size SETA 512" --pd "Heap_Size SETA 0"
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * determine the error/assertion handling policy for the application and
-; * might need to be customized for each project. This function is defined
-; * in assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -410,40 +410,28 @@ __user_initial_stackheap PROC
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
EXPORT assert_failed
- EXPORT Q_onAssert
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
- ALIGN ; make sure the end of this section is aligned
+ ALIGN ; make sure the end of this section is aligned
- END ; end of module
+ END ; end of module
diff --git a/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c b/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c
index f3e0587a..25734bfb 100644
--- a/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c
+++ b/3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c
@@ -1,8 +1,8 @@
/* File: startup_LPC17xx.c
* Purpose: startup file for LPC17xx Cortex-M3 devices.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 30 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 06 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
@@ -47,20 +47,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -290,31 +289,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/mbed-lpc1768/iar/startup_LPC17xx.s b/3rd_party/mbed-lpc1768/iar/startup_LPC17xx.s
index 4e07750d..7033d0f1 100644
--- a/3rd_party/mbed-lpc1768/iar/startup_LPC17xx.s
+++ b/3rd_party/mbed-lpc1768/iar/startup_LPC17xx.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
-; * @file startup_LPC17xx.s for IAR ARM assembler
-; * @brief CMSIS Cortex-M# Core Device Startup File for LPC17xx
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @file startup_TM4C123GH6PM.s for IAR ARM assembler
+; * @brief CMSIS Cortex-M4F Core Device Startup File for TM4C123GH6PM
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -276,37 +276,23 @@ CANActivity_IRQHandler
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
PUBLIC assert_failed
- PUBLIC Q_onAssert
-Q_onAssert
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+ END ; end of module
diff --git a/3rd_party/nucleo-l053r8/arm/startup_stm32l053xx.s b/3rd_party/nucleo-l053r8/arm/startup_stm32l053xx.s
index a3af3a20..db4b69c0 100644
--- a/3rd_party/nucleo-l053r8/arm/startup_stm32l053xx.s
+++ b/3rd_party/nucleo-l053r8/arm/startup_stm32l053xx.s
@@ -9,7 +9,7 @@
;
;
; Quantum Leaps, LLC; www.state-machine.com
-; 2015-03-24
+; 2015-08-27
;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
;* File Name : startup_stm32l053xx.s
;* Author : MCD Application Team
@@ -304,39 +304,29 @@ __user_initial_stackheap
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
EXPORT assert_failed
- EXPORT Q_onAssert
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR R2,=__initial_sp ; load the original top of stack
+ MOV SP,R2 ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
- END
-;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
+ ALIGN ; make sure the end of this section is aligned
+
+ END ; end of module
diff --git a/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c b/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c
index 16c9e05a..171ef4f5 100644
--- a/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c
+++ b/3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c
@@ -1,17 +1,18 @@
/* File: startup_stm32l053xx.c for GNU-ARM
* Purpose: startup file for LM3S6965 Cortex-M3 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 07 March 2015
+* Version: CMSIS 4.3.0
+ * Date: 20 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -279,31 +279,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/nucleo-l053r8/iar/startup_stm32l053xx.s b/3rd_party/nucleo-l053r8/iar/startup_stm32l053xx.s
index 5c3efff3..2a7490c4 100644
--- a/3rd_party/nucleo-l053r8/iar/startup_stm32l053xx.s
+++ b/3rd_party/nucleo-l053r8/iar/startup_stm32l053xx.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_startup_stm32l053xx.s for IAR ARM assembler
; * @brief CMSIS Cortex-M0+ Core Device Startup File for STM32L053xx.s
-; * @version CMSIS v4.1
-; * @date 27 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -258,37 +258,24 @@ USB_IRQHandler
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
PUBLIC assert_failed
- PUBLIC Q_onAssert
-Q_onAssert
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR r2,=sfe(CSTACK) ; load the original top of stack
+ MOV sp,r2 ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+ END ; end of module
diff --git a/3rd_party/nucleo-l152re/arm/startup_stm32l1xx.s b/3rd_party/nucleo-l152re/arm/startup_stm32l1xx.s
index 52036f42..3c7e97b9 100644
--- a/3rd_party/nucleo-l152re/arm/startup_stm32l1xx.s
+++ b/3rd_party/nucleo-l152re/arm/startup_stm32l1xx.s
@@ -9,7 +9,7 @@
;
;
; Quantum Leaps, LLC; www.state-machine.com
-; 2015-03-25
+; 2015-08-26
;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
;* File Name : startup_stm32l1xx_hd.s
;* Author : MCD Application Team
@@ -443,41 +443,27 @@ __user_initial_stackheap
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
EXPORT assert_failed
- EXPORT Q_onAssert
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
- ALIGN ; make sure the end of this section is aligned
+ ALIGN ; make sure the end of this section is aligned
- END
-
-;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
+ END ; end of module
diff --git a/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c b/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c
index b5e0ab8c..2579d3f3 100644
--- a/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c
+++ b/3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c
@@ -1,17 +1,18 @@
/* File: startup_stm32l1xx.c for GNU-ARM
* Purpose: startup file for STM32L1xx Cortex-M3 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 27 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 20 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -334,31 +334,22 @@ void _fini(void) { /* dummy */
/*****************************************************************************
* The function assert_failed defines the error/assertion handling policy
-* for the application and might need to be customized for each project.
-* This function is defined as "naked" and specifically avoids accessing the
-* stack, which might be corrupted by the time assert_failed is called.
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
__attribute__ ((naked))
-void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/nucleo-l152re/iar/startup_stm32l1xx.s b/3rd_party/nucleo-l152re/iar/startup_stm32l1xx.s
index 6f026c52..4df4fbad 100644
--- a/3rd_party/nucleo-l152re/iar/startup_stm32l1xx.s
+++ b/3rd_party/nucleo-l152re/iar/startup_stm32l1xx.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_stm32l1xx for IAR ARM assembler
; * @brief CMSIS Cortex-M3 Core Device Startup File for STM32L1xx.s
-; * @version CMSIS v4.1
-; * @date 27 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -12,8 +12,8 @@
; * The function assert_failed defined at the end of this file defines
; * the error/assertion handling policy for the application and might
; * need to be customized for each project. This function is defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed is called.
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -343,37 +343,24 @@ COMP_ACQ_IRQHandler
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
PUBLIC assert_failed
- PUBLIC Q_onAssert
-Q_onAssert
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+ END ; end of module
+
diff --git a/3rd_party/stm32f4-discovery/arm/startup_stm32f4xx.s b/3rd_party/stm32f4-discovery/arm/startup_stm32f4xx.s
index 6d10ccab..85f6b008 100644
--- a/3rd_party/stm32f4-discovery/arm/startup_stm32f4xx.s
+++ b/3rd_party/stm32f4-discovery/arm/startup_stm32f4xx.s
@@ -1,8 +1,8 @@
;/***************************************************************************/
; * @file startup_stm32f4xx.s for ARM-KEIL ARM assembler
; * @brief CMSIS Cortex-M# Core Device Startup File for STM32F40xx devices
-; * @version CMSIS v4.1
-; * @date 07 March 2015
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
@@ -14,11 +14,11 @@
; * --pd "Stack_Size SETA 512" --pd "Heap_Size SETA 0"
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * determine the error/assertion handling policy for the application and
-; * might need to be customized for each project. This function is defined
-; * in assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -221,15 +221,20 @@ Reset_Handler PROC
IMPORT SystemInit
IMPORT __main
- BL SystemInit ; CMSIS system initialization
+ LDR r0, =SystemInit ; CMSIS system initialization
+ BLX r0
- ; Call the C library enty point that handles startup. This will copy
+ ; Call the C library enty point that handles startup. This will copy
; the .data section initializers from flash to SRAM and zero fill the
; .bss section.
- BL __main
+ LDR r0, =__main
+ BX r0
+
+ ; __main calls the main() function, which should not return,
+ ; but just in case jump to assert_failed() if main returns.
MOVS r0,#0
MOVS r1,#0 ; error number
- B assert_failed ; __main should not return, but assert if it does
+ B assert_failed
ENDP
;******************************************************************************
@@ -547,40 +552,27 @@ __user_initial_stackheap PROC
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
EXPORT assert_failed
- EXPORT Q_onAssert
+ IMPORT Q_onAssert
assert_failed PROC
-Q_onAssert
- ;
- ; NOTE: add here your application-specific error handling
- ;
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ LDR sp,=__initial_sp ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
+
+ B . ; should not be reached, but just in case...
+
ENDP
+ ALIGN ; make sure the end of this section is aligned
- ALIGN ; make sure the end of this section is aligned
-
- END ; end of module
+ END ; end of module
diff --git a/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c b/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c
index 8a6134ea..2afb6857 100644
--- a/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c
+++ b/3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c
@@ -1,17 +1,18 @@
/* File: startup_stm32f4xx.c
* Purpose: startup file for stm32f4xx Cortex-M4 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
- * Version: CMSIS v4.2.0
- * Date: 07 March 2015
+ * Version: CMSIS 4.3.0
+ * Date: 20 August 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
- * NOTE: The function assert_failed defined at the end of this file
- * determines the error/assertion handling policy for the application and
- * might need to be customized for each project. This function is defined
- * using the GNU-ARM language extensions to avoid accessing the stack,
- * which might be corrupted by the time assert_failed is called.
+ * NOTE:
+ * The function assert_failed defined at the end of this file defines
+ * the error/assertion handling policy for the application and might
+ * need to be customized for each project. This function is defined in
+ * assembly to re-set the stack pointer, in case it is corrupted by the
+ * time assert_failed is called.
*/
/* Copyright (c) 2011 - 2014 ARM LIMITED
@@ -47,20 +48,19 @@ extern int __stack_end__;
/* Weak prototypes for error handlers --------------------------------------*/
/**
* \note
-* The functions assert_failed/Q_onAssert defined at the end of this file
-* determine the error/assertion handling policy for the application and
-* might need to be customized for each project. These functions are defined
-* as "naked" to avoid accessing the stack, which might be corrupted by
-* the time assert_failed/Q_onAssert are called.
+* The function assert_failed defined at the end of this file defines
+* the error/assertion handling policy for the application and might
+* need to be customized for each project. This function is defined in
+* assembly to avoid accessing the stack, which might be corrupted by
+* the time assert_failed is called.
*/
-__attribute__ ((naked)) void assert_failed(char const *file, int line);
-__attribute__ ((alias("assert_failed")))
-void Q_onAssert(char const *file, int line);
+__attribute__ ((naked)) void assert_failed(char const *module, int loc);
/* Function prototypes -----------------------------------------------------*/
void Default_Handler(void); /* Default empty handler */
void Reset_Handler(void); /* Reset Handler */
void SystemInit(void); /* CMSIS system initialization */
+void Q_onAssert(char const *module, int loc); /* QP assertion handler */
/*----------------------------------------------------------------------------
* weak aliases for each Exception handler to the Default_Handler.
@@ -366,37 +366,31 @@ void Default_Handler(void) {
);
}
/*..........................................................................*/
-void _init() {
+void _init(void) { /* dummy */
+}
+/*..........................................................................*/
+void _fini(void) { /* dummy */
}
/*****************************************************************************
-* The function assert_failed defines the error/assertion
-* handling policy for the application and might need to be customized
-* for each project. This function is defined as "naked" and specifically
-* avoids accessing the stack, which might be corrupted by the time
-* assert_failed is called.
+* The function assert_failed defines the error/assertion handling policy
+* for the application. After making sure that the stack is OK, this function
+* calls Q_onAssert, which should NOT return (typically reset the CPU).
*
-* NOTE: the functions assert_failed/Q_onAssert should NOT return.
+* NOTE: the function Q_onAssert should NOT return.
*****************************************************************************/
-__attribute__ ((naked)) void assert_failed(char const *file, int line) {
-
- /* NOTE: add here your application-specific error handling... */
-
- /* the following assembly implements the CMIS function
- * NVIC_SystemReset() from core_cm4.h
- * Leave this code if you wish to reset the system after an error.
- */
+__attribute__ ((naked))
+void assert_failed(char const *module, int loc) {
+ /* re-set the SP in case of stack overflow */
__asm volatile (
- " DSB\n\t" /* ensure all memory access complete */
- " LDR r0,=0x05FA0004\n\t" /* (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- * | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- * | SCB_AIRCR_SYSRESETREQ_Msk */
- " LDR r1,=0xE000ED0C\n\t" /* address of SCB->AIRCR */
- " STR r0,[r1]\n\t" /* r0 -> SCB->AIRCR */
- " DSB\n\t" /* ensure all memory access complete */
- " B .\n\t" /* wait until reset occurs */
- );
+ " MOV sp,%0\n\t"
+ : : "r" (&__stack_end__));
+
+ Q_onAssert(module, loc); /* call the application-specific QP handler */
+
+ for (;;) { /* should not be reached, but just in case loop forever... */
+ }
}
/****** End Of File *********************************************************/
diff --git a/3rd_party/stm32f4-discovery/iar/startup_stm32f4xx.s b/3rd_party/stm32f4-discovery/iar/startup_stm32f4xx.s
index 0ecd08bf..96a1ea88 100644
--- a/3rd_party/stm32f4-discovery/iar/startup_stm32f4xx.s
+++ b/3rd_party/stm32f4-discovery/iar/startup_stm32f4xx.s
@@ -1,19 +1,19 @@
;/***************************************************************************/
; * @file startup_stm32f4xx.s for IAR ARM assembler
; * @brief CMSIS Cortex-M4F Core Device Startup File for STM32F40xx devices
-; * @version CMSIS v4.2.0
-; * @date 2015-03-16
+; * @version CMSIS 4.3.0
+; * @date 20 August 2015
; *
; * @description
; * Created from the CMSIS template for the specified device
; * Quantum Leaps, www.state-machine.com
; *
; * @note
-; * The functions assert_failed/Q_onAssert defined at the end of this file
-; * define the error/assertion handling policy for the application and might
-; * need to be customized for each project. These functions are defined in
-; * assembly to avoid accessing the stack, which might be corrupted by
-; * the time assert_failed/Q_onAssert are called.
+; * The function assert_failed defined at the end of this file defines
+; * the error/assertion handling policy for the application and might
+; * need to be customized for each project. This function is defined in
+; * assembly to re-set the stack pointer, in case it is corrupted by the
+; * time assert_failed is called.
; *
; ***************************************************************************/
;/* Copyright (c) 2012 ARM LIMITED
@@ -416,37 +416,24 @@ FPU_IRQHandler
;******************************************************************************
;
-; The functions assert_failed/Q_onAssert define the error/assertion
-; handling policy for the application and might need to be customized
-; for each project. These functions are defined in assembly to avoid
-; accessing the stack, which might be corrupted by the time assert_failed
-; is called. For now the function just resets the CPU.
+; The function assert_failed defines the error/assertion handling policy
+; for the application. After making sure that the stack is OK, this function
+; calls Q_onAssert, which should NOT return (typically reset the CPU).
;
-; NOTE: the functions assert_failed/Q_onAssert should NOT return.
+; NOTE: the function Q_onAssert should NOT return.
;
-; The C proptotypes of these functions are as follows:
+; The C proptotype of the assert_failed() and Q_onAssert() functions are:
; void assert_failed(char const *file, int line);
; void Q_onAssert (char const *file, int line);
;******************************************************************************
PUBLIC assert_failed
- PUBLIC Q_onAssert
-Q_onAssert
+ EXTERN Q_onAssert
assert_failed
- ;
- ; NOTE: add here your application-specific error handling
- ;
+ LDR sp,=sfe(CSTACK) ; re-set the SP in case of stack overflow
+ BL Q_onAssert ; call the application-specific handler
- ; the following code implements the CMIS function
- ; NVIC_SystemReset() from core_cm4.h
- ; Leave this code if you wish to reset the system after an error.
- DSB ; ensure all memory access complete
- LDR r0,=0x05FA0004 ; (0x5FA << SCB_AIRCR_VECTKEY_Pos)
- ; | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk)
- ; | SCB_AIRCR_SYSRESETREQ_Msk
- LDR r1,=0xE000ED0C ; address of SCB->AIRCR
- STR r0,[r1] ; r0 -> SCB->AIRCR
- DSB ; ensure all memory access complete
- B . ; wait until reset occurs
+ B . ; should not be reached, but just in case...
- END
+ END ; end of module
+
diff --git a/GPL.txt b/GPLv3.txt
similarity index 100%
rename from GPL.txt
rename to GPLv3.txt
diff --git a/COPYING b/LICENSE.txt
similarity index 100%
rename from COPYING
rename to LICENSE.txt
diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile
index 28c4f329..21f6f04f 100644
--- a/doxygen/Doxyfile
+++ b/doxygen/Doxyfile
@@ -1,2419 +1,360 @@
-# Doxyfile 1.8.9.1
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project.
-#
-# All text after a double hash (##) is considered a comment and is placed in
-# front of the TAG it is preceding.
-#
-# All text after a single hash (#) is considered a comment and will be ignored.
-# The format is:
-# TAG = value [value, ...]
-# For lists, items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (\" \").
+# Doxyfile 1.8.10
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all text
-# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-# for the list of possible encodings.
-# The default value is: UTF-8.
-
DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-# double-quotes, unless you are using Doxywizard) that should identify the
-# project for which the documentation is generated. This name is used in the
-# title of most generated pages and in a few other places.
-# The default value is: My Project.
-
PROJECT_NAME = "QP/C"
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-# could be handy for archiving the generated documentation or if some version
-# control system is used.
-
-PROJECT_NUMBER = "5.4.2"
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description
-# for a project that appears at the top of each page and should give viewer a
-# quick idea about the purpose of the project. Keep the description short.
-
+PROJECT_NUMBER = "5.5.0"
PROJECT_BRIEF =
-
-# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
-# in the documentation. The maximum height of the logo should not exceed 55
-# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
-# the logo to the output directory.
-
PROJECT_LOGO = images/header_logo_ql.png
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-# into which the generated documentation will be written. If a relative path is
-# entered, it will be relative to the location where doxygen was started. If
-# left blank the current directory will be used.
-
OUTPUT_DIRECTORY =
-
-# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
-# directories (in 2 levels) under the output directory of each output format and
-# will distribute the generated files over these directories. Enabling this
-# option can be useful when feeding doxygen a huge amount of source files, where
-# putting all generated files in the same directory would otherwise causes
-# performance problems for the file system.
-# The default value is: NO.
-
CREATE_SUBDIRS = NO
-
-# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
-# characters to appear in the names of generated files. If set to NO, non-ASCII
-# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
-# U+3044.
-# The default value is: NO.
-
ALLOW_UNICODE_NAMES = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-# Ukrainian and Vietnamese.
-# The default value is: English.
-
OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
-# descriptions after the members that are listed in the file and class
-# documentation (similar to Javadoc). Set to NO to disable this.
-# The default value is: YES.
-
BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
-# description of a member or function before the detailed description
-#
-# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-# The default value is: YES.
-
REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator that is
-# used to form the text in various listings. Each string in this list, if found
-# as the leading text of the brief description, will be stripped from the text
-# and the result, after processing the whole list, is used as the annotated
-# text. Otherwise, the brief description is used as-is. If left blank, the
-# following values are used ($name is automatically replaced with the name of
-# the entity):The $name class, The $name widget, The $name file, is, provides,
-# specifies, contains, represents, a, an and the.
-
ABBREVIATE_BRIEF =
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# doxygen will generate a detailed section even if there is only a brief
-# description.
-# The default value is: NO.
-
ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-# The default value is: NO.
-
-INLINE_INHERITED_MEMB = YES
-
-# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
-# before files name in the file list and in the header files. If set to NO the
-# shortest path that makes the file name unique will be used
-# The default value is: YES.
-
+INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
-
-# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-# Stripping is only done if one of the specified strings matches the left-hand
-# part of the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the path to
-# strip.
-#
-# Note that you can specify absolute paths here, but also relative paths, which
-# will be relative from the directory where doxygen is started.
-# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-
STRIP_FROM_PATH =
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-# path mentioned in the documentation of a class, which tells the reader which
-# header file to include in order to use a class. If left blank only the name of
-# the header file containing the class definition is used. Otherwise one should
-# specify the list of include paths that are normally passed to the compiler
-# using the -I flag.
-
STRIP_FROM_INC_PATH =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-# less readable) file names. This can be useful is your file systems doesn't
-# support long names like on DOS, Mac, or CD-ROM.
-# The default value is: NO.
-
SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-# first line (until the first dot) of a Javadoc-style comment as the brief
-# description. If set to NO, the Javadoc-style will behave just like regular Qt-
-# style comments (thus requiring an explicit @brief command for a brief
-# description.)
-# The default value is: NO.
-
JAVADOC_AUTOBRIEF = NO
-
-# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-# line (until the first dot) of a Qt-style comment as the brief description. If
-# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-# requiring an explicit \brief command for a brief description.)
-# The default value is: NO.
-
QT_AUTOBRIEF = YES
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
-# a brief description. This used to be the default behavior. The new default is
-# to treat a multi-line C++ comment block as a detailed description. Set this
-# tag to YES if you prefer the old behavior instead.
-#
-# Note that setting this tag to YES also means that rational rose comments are
-# not recognized any more.
-# The default value is: NO.
-
MULTILINE_CPP_IS_BRIEF = YES
-
-# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-# documentation from any documented member that it re-implements.
-# The default value is: YES.
-
INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
-# page for each member. If set to NO, the documentation of a member will be part
-# of the file/class/namespace that contains it.
-# The default value is: NO.
-
SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-# uses this value to replace tabs by spaces in code fragments.
-# Minimum value: 1, maximum value: 16, default value: 4.
-
TAB_SIZE = 4
-
-# This tag can be used to specify a number of aliases that act as commands in
-# the documentation. An alias has the form:
-# name=value
-# For example adding
-# "sideeffect=@par Side Effects:\n"
-# will allow you to put the command \sideeffect (or @sideeffect) in the
-# documentation, which will result in a user-defined paragraph with heading
-# "Side Effects:". You can put \n's in the value part of an alias to insert
-# newlines.
-
-ALIASES = \
+ALIASES = \
"next{1}=Next: \ref \1
" \
"description=\par Description \n" \
"hint=\par Hint \n" \
"usage=@par Usage \n"
-# This tag can be used to specify a number of word-keyword mappings (TCL only).
-# A mapping has the form "name=value". For example adding "class=itcl::class"
-# will allow you to use the command class in the itcl::class meaning.
-
TCL_SUBST =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-# only. Doxygen will then generate output that is more tailored for C. For
-# instance, some of the names that are used will be different. The list of all
-# members will be omitted, etc.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_FOR_C = YES
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-# Python sources only. Doxygen will then generate output that is more tailored
-# for that language. For instance, namespaces will be presented as packages,
-# qualified scopes will look different, etc.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources. Doxygen will then generate output that is tailored for Fortran.
-# The default value is: NO.
-
OPTIMIZE_FOR_FORTRAN = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for VHDL.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_VHDL = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it
-# parses. With this tag you can assign which parser to use for a given
-# extension. Doxygen has a built-in mapping, but you can override or extend it
-# using this tag. The format is ext=language, where ext is a file extension, and
-# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
-# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
-# Fortran. In the later case the parser tries to guess whether the code is fixed
-# or free formatted code, this is the default for Fortran type files), VHDL. For
-# instance to make doxygen treat .inc files as Fortran files (default is PHP),
-# and .f files as C (default is Fortran), use: inc=Fortran f=C.
-#
-# Note: For files without extension you can use no_extension as a placeholder.
-#
-# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-# the files are not read by doxygen.
-
EXTENSION_MAPPING =
-
-# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-# according to the Markdown format, which allows for more readable
-# documentation. See http://daringfireball.net/projects/markdown/ for details.
-# The output of markdown processing is further processed by doxygen, so you can
-# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-# case of backward compatibilities issues.
-# The default value is: YES.
-
MARKDOWN_SUPPORT = YES
-
-# When enabled doxygen tries to link words that correspond to documented
-# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by putting a % sign in front of the word or
-# globally by setting AUTOLINK_SUPPORT to NO.
-# The default value is: YES.
-
AUTOLINK_SUPPORT = YES
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should set this
-# tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string);
-# versus func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-# The default value is: NO.
-
BUILTIN_STL_SUPPORT = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-# The default value is: NO.
-
CPP_CLI_SUPPORT = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-# will parse them like normal C++ but will assume all classes use public instead
-# of private inheritance when no explicit protection keyword is present.
-# The default value is: NO.
-
SIP_SUPPORT = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate
-# getter and setter methods for a property. Setting this option to YES will make
-# doxygen to replace the get and set methods by a property in the documentation.
-# This will only work if the methods are indeed getting or setting a simple
-# type. If this is not the case, or you want to show the methods anyway, you
-# should set this option to NO.
-# The default value is: YES.
-
IDL_PROPERTY_SUPPORT = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-# The default value is: NO.
-
DISTRIBUTE_GROUP_DOC = NO
-
-# Set the SUBGROUPING tag to YES to allow class member groups of the same type
-# (for instance a group of public functions) to be put as a subgroup of that
-# type (e.g. under the Public Functions section). Set it to NO to prevent
-# subgrouping. Alternatively, this can be done per class using the
-# \nosubgrouping command.
-# The default value is: YES.
-
+GROUP_NESTED_COMPOUNDS = NO
SUBGROUPING = YES
-
-# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-# are shown inside the group in which they are included (e.g. using \ingroup)
-# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-# and RTF).
-#
-# Note that this feature does not work in combination with
-# SEPARATE_MEMBER_PAGES.
-# The default value is: NO.
-
-INLINE_GROUPED_CLASSES = NO
-
-# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-# with only public data fields or simple typedef fields will be shown inline in
-# the documentation of the scope in which they are defined (i.e. file,
-# namespace, or group documentation), provided this scope is documented. If set
-# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-# Man pages) or section (for LaTeX and RTF).
-# The default value is: NO.
-
-INLINE_SIMPLE_STRUCTS = NO
-
-# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-# enum is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically be
-# useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-# The default value is: NO.
-
-TYPEDEF_HIDES_STRUCT = NO
-
-# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-# cache is used to resolve symbols given their name and scope. Since this can be
-# an expensive process and often the same symbol appears multiple times in the
-# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-# doxygen will become slower. If the cache is too large, memory is wasted. The
-# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-# symbols. At the end of a run doxygen will report the cache usage and suggest
-# the optimal cache size from a speed point of view.
-# Minimum value: 0, maximum value: 9, default value: 0.
-
+INLINE_GROUPED_CLASSES = YES
+INLINE_SIMPLE_STRUCTS = YES
+TYPEDEF_HIDES_STRUCT = YES
LOOKUP_CACHE_SIZE = 0
-
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
-# documentation are documented, even if no documentation was available. Private
-# class members and static file members will be hidden unless the
-# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-# Note: This will also disable the warnings about undocumented members that are
-# normally produced when WARNINGS is set to YES.
-# The default value is: NO.
-
EXTRACT_ALL = NO
-
-# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
-# be included in the documentation.
-# The default value is: NO.
-
EXTRACT_PRIVATE = NO
-
-# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
-# scope will be included in the documentation.
-# The default value is: NO.
-
EXTRACT_PACKAGE = NO
-
-# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
-# included in the documentation.
-# The default value is: NO.
-
EXTRACT_STATIC = YES
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
-# locally in source files will be included in the documentation. If set to NO,
-# only classes defined in header files are included. Does not have any effect
-# for Java sources.
-# The default value is: YES.
-
EXTRACT_LOCAL_CLASSES = YES
-
-# This flag is only useful for Objective-C code. If set to YES, local methods,
-# which are defined in the implementation section but not in the interface are
-# included in the documentation. If set to NO, only methods in the interface are
-# included.
-# The default value is: NO.
-
EXTRACT_LOCAL_METHODS = NO
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base name of
-# the file that contains the anonymous namespace. By default anonymous namespace
-# are hidden.
-# The default value is: NO.
-
EXTRACT_ANON_NSPACES = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-# undocumented members inside documented classes or files. If set to NO these
-# members will be included in the various overviews, but no documentation
-# section is generated. This option has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
HIDE_UNDOC_MEMBERS = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy. If set
-# to NO, these classes will be included in the various overviews. This option
-# has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
HIDE_UNDOC_CLASSES = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-# (class|struct|union) declarations. If set to NO, these declarations will be
-# included in the documentation.
-# The default value is: NO.
-
HIDE_FRIEND_COMPOUNDS = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-# documentation blocks found inside the body of a function. If set to NO, these
-# blocks will be appended to the function's detailed documentation block.
-# The default value is: NO.
-
HIDE_IN_BODY_DOCS = NO
-
-# The INTERNAL_DOCS tag determines if documentation that is typed after a
-# \internal command is included. If the tag is set to NO then the documentation
-# will be excluded. Set it to YES to include the internal documentation.
-# The default value is: NO.
-
INTERNAL_DOCS = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-# names in lower-case letters. If set to YES, upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-# The default value is: system dependent.
-
CASE_SENSE_NAMES = NO
-
-# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-# their full class and namespace scopes in the documentation. If set to YES, the
-# scope will be hidden.
-# The default value is: NO.
-
HIDE_SCOPE_NAMES = NO
-
-# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
-# append additional text to a page's title, such as Class Reference. If set to
-# YES the compound reference will be hidden.
-# The default value is: NO.
-
HIDE_COMPOUND_REFERENCE= NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-# the files that are included by a file in the documentation of that file.
-# The default value is: YES.
-
SHOW_INCLUDE_FILES = YES
-
-# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-# grouped member an include statement to the documentation, telling the reader
-# which file to include in order to use the member.
-# The default value is: NO.
-
SHOW_GROUPED_MEMB_INC = NO
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-# files with double quotes in the documentation rather than with sharp brackets.
-# The default value is: NO.
-
FORCE_LOCAL_INCLUDES = NO
-
-# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-# documentation for inline members.
-# The default value is: YES.
-
INLINE_INFO = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-# (detailed) documentation of file and class members alphabetically by member
-# name. If set to NO, the members will appear in declaration order.
-# The default value is: YES.
-
SORT_MEMBER_DOCS = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-# descriptions of file, namespace and class members alphabetically by member
-# name. If set to NO, the members will appear in declaration order. Note that
-# this will also influence the order of the classes in the class list.
-# The default value is: NO.
-
SORT_BRIEF_DOCS = NO
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-# (brief and detailed) documentation of class members so that constructors and
-# destructors are listed first. If set to NO the constructors will appear in the
-# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-# member documentation.
-# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-# detailed member documentation.
-# The default value is: NO.
-
SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-# of group names into alphabetical order. If set to NO the group names will
-# appear in their defined order.
-# The default value is: NO.
-
SORT_GROUP_NAMES = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-# fully-qualified names, including namespaces. If set to NO, the class list will
-# be sorted only by class name, not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the alphabetical
-# list.
-# The default value is: NO.
-
SORT_BY_SCOPE_NAME = NO
-
-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-# type resolution of all parameters of a function it will reject a match between
-# the prototype and the implementation of a member function even if there is
-# only one candidate or it is obvious which candidate to choose by doing a
-# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-# accept a match between prototype and implementation in such cases.
-# The default value is: NO.
-
STRICT_PROTO_MATCHING = NO
-
-# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
-# list. This list is created by putting \todo commands in the documentation.
-# The default value is: YES.
-
GENERATE_TODOLIST = YES
-
-# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
-# list. This list is created by putting \test commands in the documentation.
-# The default value is: YES.
-
GENERATE_TESTLIST = YES
-
-# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
-# list. This list is created by putting \bug commands in the documentation.
-# The default value is: YES.
-
GENERATE_BUGLIST = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
-# the deprecated list. This list is created by putting \deprecated commands in
-# the documentation.
-# The default value is: YES.
-
GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional documentation
-# sections, marked by \if ... \endif and \cond
-# ... \endcond blocks.
-
ENABLED_SECTIONS =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-# initial value of a variable or macro / define can have for it to appear in the
-# documentation. If the initializer consists of more lines than specified here
-# it will be hidden. Use a value of 0 to hide initializers completely. The
-# appearance of the value of individual variables and macros / defines can be
-# controlled using \showinitializer or \hideinitializer command in the
-# documentation regardless of this setting.
-# Minimum value: 0, maximum value: 10000, default value: 30.
-
MAX_INITIALIZER_LINES = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-# the bottom of the documentation of classes and structs. If set to YES, the
-# list will mention the files that were used to generate the documentation.
-# The default value is: YES.
-
SHOW_USED_FILES = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-# will remove the Files entry from the Quick Index and from the Folder Tree View
-# (if specified).
-# The default value is: YES.
-
SHOW_FILES = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-# page. This will remove the Namespaces entry from the Quick Index and from the
-# Folder Tree View (if specified).
-# The default value is: YES.
-
-SHOW_NAMESPACES = NO
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command command input-file, where command is the value of the
-# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-# by doxygen. Whatever the program writes to standard output is used as the file
-# version. For an example see the documentation.
-
+SHOW_NAMESPACES = YES
FILE_VERSION_FILTER =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-# by doxygen. The layout file controls the global structure of the generated
-# output files in an output format independent way. To create the layout file
-# that represents doxygen's defaults, run doxygen with the -l option. You can
-# optionally specify a file name after the option, if omitted DoxygenLayout.xml
-# will be used as the name of the layout file.
-#
-# Note that if you run doxygen from a directory containing a file called
-# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-# tag is left empty.
-
LAYOUT_FILE =
-
-# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-# the reference definitions. This must be a list of .bib files. The .bib
-# extension is automatically appended if omitted. This requires the bibtex tool
-# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-# For LaTeX the style of the bibliography can be controlled using
-# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-# search path. See also \cite for info how to create references.
-
CITE_BIB_FILES =
-
#---------------------------------------------------------------------------
# Configuration options related to warning and progress messages
#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated to
-# standard output by doxygen. If QUIET is set to YES this implies that the
-# messages are off.
-# The default value is: NO.
-
QUIET = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
-# this implies that the warnings are on.
-#
-# Tip: Turn warnings on while writing the documentation.
-# The default value is: YES.
-
WARNINGS = YES
-
-# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
-# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-# will automatically be disabled.
-# The default value is: YES.
-
WARN_IF_UNDOCUMENTED = YES
-
-# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some parameters
-# in a documented function, or documenting parameters that don't exist or using
-# markup commands wrongly.
-# The default value is: YES.
-
WARN_IF_DOC_ERROR = YES
-
-# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-# are documented, but have no documentation for their parameters or return
-# value. If set to NO, doxygen will only warn about wrong or incomplete
-# parameter documentation, but not about the absence of documentation.
-# The default value is: NO.
-
WARN_NO_PARAMDOC = NO
-
-# The WARN_FORMAT tag determines the format of the warning messages that doxygen
-# can produce. The string should contain the $file, $line, and $text tags, which
-# will be replaced by the file and line number from which the warning originated
-# and the warning text. Optionally the format may contain $version, which will
-# be replaced by the version of the file (if it could be obtained via
-# FILE_VERSION_FILTER)
-# The default value is: $file:$line: $text.
-
WARN_FORMAT = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning and error
-# messages should be written. If left blank the output is written to standard
-# error (stderr).
-
WARN_LOGFILE =
-
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
-
-# The INPUT tag is used to specify the files and/or directories that contain
-# documented source files. You may enter file names like myfile.cpp or
-# directories like /usr/src/myproject. Separate the files or directories with
-# spaces.
-# Note: If this tag is empty the current directory is searched.
-
-INPUT = \
- modules.dox \
- about.dox \
- design.dox \
- exa.dox \
- exa_apps.dox \
- exa_native.dox \
- exa_rtos.dox \
- exa_os.dox \
- exa_mware.dox \
- ports.dox \
- ports_native.dox \
- ports_rtos.dox \
- ports_os.dox \
- history.dox \
+INPUT = \
+ modules.cc \
+ about.cc \
+ design.cc \
+ exa.cc \
+ exa_apps.cc \
+ exa_native.cc \
+ exa_rtos.cc \
+ exa_os.cc \
+ exa_mware.cc \
+ ports.cc \
+ ports_native.cc \
+ ports_rtos.cc \
+ ports_os.cc \
+ history.cc \
macros.h \
- metrics.dox \
+ metrics.cc \
../include \
../source \
- ../ports/lint
- ../ports/lint/qkn \
- ../ports/lint/qvn
+ ../ports/lint \
+ ../ports/lint/qk \
+ ../ports/lint/qv
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-# documentation (see: http://www.gnu.org/software/libiconv) for the list of
-# possible encodings.
-# The default value is: UTF-8.
-
-INPUT_ENCODING = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank the
-# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
-# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
-# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
-# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
-# *.qsf, *.as and *.js.
-
-FILE_PATTERNS = \
- *.dox \
+INPUT_ENCODING = UTF-8
+FILE_PATTERNS = \
+ *.cc \
*.h \
*.c \
*.cpp \
*.s \
*.asm
-# The RECURSIVE tag can be used to specify whether or not subdirectories should
-# be searched for input files as well.
-# The default value is: NO.
-
RECURSIVE = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should be
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-#
-# Note that relative paths are relative to the directory from which doxygen is
-# run.
-
-EXCLUDE = \
+EXCLUDE = \
../include/qs_dummy.h \
../ports/lint/MISRA_Exemplar_Suite_test
-# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-# directories that are symbolic links (a Unix file system feature) are excluded
-# from the input.
-# The default value is: NO.
+EXCLUDE_SYMLINKS = NO
+EXCLUDE_PATTERNS =
+EXCLUDE_SYMBOLS = \
+ QP_IMPL
-EXCLUDE_SYMLINKS = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories.
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories for example use the pattern */test/*
-
-EXCLUDE_PATTERNS =
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the
-# wildcard * is used, a substring. Examples: ANamespace, AClass,
-# AClass::ANamespace, ANamespace::*Test
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories use the pattern */test/*
-
-EXCLUDE_SYMBOLS = QP_IMPL
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or directories
-# that contain example code fragments that are included (see the \include
-# command).
-
-EXAMPLE_PATH = \
+EXAMPLE_PATH = \
snippets \
../include \
../source \
../ports \
../examples
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank all
-# files are included.
-
EXAMPLE_PATTERNS =
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-# searched for input files to be used with the \include or \dontinclude commands
-# irrespective of the value of the RECURSIVE tag.
-# The default value is: NO.
-
EXAMPLE_RECURSIVE = NO
-
-# The IMAGE_PATH tag can be used to specify one or more files or directories
-# that contain images that are to be included in the documentation (see the
-# \image command).
-
IMAGE_PATH = images
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should
-# invoke to filter for each input file. Doxygen will invoke the filter program
-# by executing (via popen()) the command:
-#
-#
-#
-# where is the value of the INPUT_FILTER tag, and is the
-# name of an input file. Doxygen will then use the output that the filter
-# program writes to standard output. If FILTER_PATTERNS is specified, this tag
-# will be ignored.
-#
-# Note that the filter must not add or remove lines; it is applied before the
-# code is scanned, but not when the output code is generated. If lines are added
-# or removed, the anchors will not be placed correctly.
-
INPUT_FILTER =
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-# basis. Doxygen will compare the file name with each pattern and apply the
-# filter if there is a match. The filters are a list of the form: pattern=filter
-# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-# patterns match the file name, INPUT_FILTER is applied.
-
FILTER_PATTERNS =
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-# INPUT_FILTER) will also be used to filter the input files that are used for
-# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-# The default value is: NO.
-
FILTER_SOURCE_FILES = NO
-
-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-# it is also possible to disable source filtering for a specific pattern using
-# *.ext= (so without naming a filter).
-# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-
FILTER_SOURCE_PATTERNS =
-
-# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-# is part of the input, its contents will be placed on the main page
-# (index.html). This can be useful if you have a project on for instance GitHub
-# and want to reuse the introduction page also for the doxygen output.
-
USE_MDFILE_AS_MAINPAGE =
-
#---------------------------------------------------------------------------
# Configuration options related to source browsing
#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-# generated. Documented entities will be cross-referenced with these sources.
-#
-# Note: To get rid of all source code in the generated output, make sure that
-# also VERBATIM_HEADERS is set to NO.
-# The default value is: NO.
-
SOURCE_BROWSER = YES
-
-# Setting the INLINE_SOURCES tag to YES will include the body of functions,
-# classes and enums directly into the documentation.
-# The default value is: NO.
-
INLINE_SOURCES = NO
-
-# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-# special comment blocks from generated source code fragments. Normal C, C++ and
-# Fortran comments will always remain visible.
-# The default value is: YES.
-
STRIP_CODE_COMMENTS = YES
-
-# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-# function all documented functions referencing it will be listed.
-# The default value is: NO.
-
REFERENCED_BY_RELATION = NO
-
-# If the REFERENCES_RELATION tag is set to YES then for each documented function
-# all documented entities called/used by that function will be listed.
-# The default value is: NO.
-
REFERENCES_RELATION = NO
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-# to YES then the hyperlinks from functions in REFERENCES_RELATION and
-# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-# link to the documentation.
-# The default value is: YES.
-
REFERENCES_LINK_SOURCE = YES
-
-# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-# source code will show a tooltip with additional information such as prototype,
-# brief description and links to the definition and documentation. Since this
-# will make the HTML file larger and loading of large files a bit slower, you
-# can opt to disable this feature.
-# The default value is: YES.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
SOURCE_TOOLTIPS = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code will
-# point to the HTML generated by the htags(1) tool instead of doxygen built-in
-# source browser. The htags tool is part of GNU's global source tagging system
-# (see http://www.gnu.org/software/global/global.html). You will need version
-# 4.8.6 or higher.
-#
-# To use it do the following:
-# - Install the latest version of global
-# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-# - Make sure the INPUT points to the root of the source tree
-# - Run doxygen as normal
-#
-# Doxygen will invoke htags (and that will in turn invoke gtags), so these
-# tools must be available from the command line (i.e. in the search path).
-#
-# The result: instead of the source browser generated by doxygen, the links to
-# source code will now point to the output of htags.
-# The default value is: NO.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
USE_HTAGS = NO
-
-# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-# verbatim copy of the header file for each class for which an include is
-# specified. Set to NO to disable this.
-# See also: Section \class.
-# The default value is: YES.
-
VERBATIM_HEADERS = YES
-
-# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
-# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
-# cost of reduced performance. This can be particularly helpful with template
-# rich C++ code for which doxygen's built-in parser lacks the necessary type
-# information.
-# Note: The availability of this option depends on whether or not doxygen was
-# compiled with the --with-libclang option.
-# The default value is: NO.
-
-CLANG_ASSISTED_PARSING = NO
-
-# If clang assisted parsing is enabled you can provide the compiler with command
-# line options that you would normally use when invoking the compiler. Note that
-# the include paths will already be set by doxygen for the files and directories
-# specified with INPUT and INCLUDE_PATH.
-# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
-
-CLANG_OPTIONS =
-
#---------------------------------------------------------------------------
# Configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-# compounds will be generated. Enable this if the project contains a lot of
-# classes, structs, unions or interfaces.
-# The default value is: YES.
-
ALPHABETICAL_INDEX = YES
-
-# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-# which the alphabetical index list will be split.
-# Minimum value: 1, maximum value: 20, default value: 5.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
COLS_IN_ALPHA_INDEX = 5
-
-# In case all classes in a project start with a common prefix, all classes will
-# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-# can be used to specify a prefix (or a list of prefixes) that should be ignored
-# while generating the index headers.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
IGNORE_PREFIX =
-
#---------------------------------------------------------------------------
# Configuration options related to the HTML output
#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
-# The default value is: YES.
-
GENERATE_HTML = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_OUTPUT = ../../doc/qpc
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-# generated HTML page (for example: .htm, .php, .asp).
-# The default value is: .html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
+HTML_OUTPUT = ../../html/qpc
HTML_FILE_EXTENSION = .html
-
-# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-# each generated HTML page. If the tag is left blank doxygen will generate a
-# standard header.
-#
-# To get valid HTML the header file that includes any scripts and style sheets
-# that doxygen needs, which is dependent on the configuration options used (e.g.
-# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-# default header using
-# doxygen -w html new_header.html new_footer.html new_stylesheet.css
-# YourConfigFile
-# and then modify the file new_header.html. See also section "Doxygen usage"
-# for information on how to generate the default header that doxygen normally
-# uses.
-# Note: The header is subject to change so you typically have to regenerate the
-# default header when upgrading to a newer version of doxygen. For a description
-# of the possible markers and block names see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_HEADER = header.html
-
-# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-# generated HTML page. If the tag is left blank doxygen will generate a standard
-# footer. See HTML_HEADER for more information on how to generate a default
-# footer and what special commands can be used inside the footer. See also
-# section "Doxygen usage" for information on how to generate the default footer
-# that doxygen normally uses.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_FOOTER = footer.html
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-# sheet that is used by each HTML page. It can be used to fine-tune the look of
-# the HTML output. If left blank doxygen will generate a default style sheet.
-# See also section "Doxygen usage" for information on how to generate the style
-# sheet that doxygen normally uses.
-# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-# it is more robust and this tag (HTML_STYLESHEET) will in the future become
-# obsolete.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_STYLESHEET =
-
-# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-# cascading style sheets that are included after the standard style sheets
-# created by doxygen. Using this option one can overrule certain style aspects.
-# This is preferred over using HTML_STYLESHEET since it does not replace the
-# standard style sheet and is therefore more robust against future updates.
-# Doxygen will copy the style sheet files to the output directory.
-# Note: The order of the extra style sheet files is of importance (e.g. the last
-# style sheet in the list overrules the setting of the previous ones in the
-# list). For an example see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_EXTRA_STYLESHEET = ql.css
-
-# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the HTML output directory. Note
-# that these files will be copied to the base HTML output directory. Use the
-# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-# files will be copied as-is; there are no commands or markers available.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_EXTRA_FILES =
-
-# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-# will adjust the colors in the style sheet and background images according to
-# this color. Hue is specified as an angle on a colorwheel, see
-# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-# purple, and 360 is red again.
-# Minimum value: 0, maximum value: 359, default value: 220.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_HUE = 220
-
-# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-# in the HTML output. For a value of 0 the output will use grayscales only. A
-# value of 255 will produce the most vivid colors.
-# Minimum value: 0, maximum value: 255, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_SAT = 100
-
-# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-# luminance component of the colors in the HTML output. Values below 100
-# gradually make the output lighter, whereas values above 100 make the output
-# darker. The value divided by 100 is the actual gamma applied, so 80 represents
-# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-# change the gamma.
-# Minimum value: 40, maximum value: 240, default value: 80.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_GAMMA = 80
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-# page will contain the date and time when the page was generated. Setting this
-# to NO can help when comparing the output of multiple runs.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_TIMESTAMP = NO
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-# documentation will contain sections that can be hidden and shown after the
-# page has loaded.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_DYNAMIC_SECTIONS = NO
-
-# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-# shown in the various tree structured indices initially; the user can expand
-# and collapse entries dynamically later on. Doxygen will expand the tree to
-# such a level that at most the specified number of entries are visible (unless
-# a fully collapsed tree already exceeds this amount). So setting the number of
-# entries 1 will produce a full collapsed tree by default. 0 is a special value
-# representing an infinite number of entries and will result in a full expanded
-# tree by default.
-# Minimum value: 0, maximum value: 9999, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_INDEX_NUM_ENTRIES = 100
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files will be
-# generated that can be used as input for Apple's Xcode 3 integrated development
-# environment (see: http://developer.apple.com/tools/xcode/), introduced with
-# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-# Makefile in the HTML output directory. Running make will produce the docset in
-# that directory and running make install will install the docset in
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-# for more information.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_DOCSET = NO
-
-# This tag determines the name of the docset feed. A documentation feed provides
-# an umbrella under which multiple documentation sets from a single provider
-# (such as a company or product suite) can be grouped.
-# The default value is: Doxygen generated docs.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
DOCSET_FEEDNAME = "Doxygen generated docs"
-
-# This tag specifies a string that should uniquely identify the documentation
-# set bundle. This should be a reverse domain-name style string, e.g.
-# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_BUNDLE_ID = com.state-machine.qm
-
-# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-# the documentation publisher. This should be a reverse domain-name style
-# string, e.g. com.mycompany.MyDocSet.documentation.
-# The default value is: org.doxygen.Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-
-# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-# The default value is: Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_NAME = Publisher
-
-# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-# Windows.
-#
-# The HTML Help Workshop contains a compiler that can convert all HTML output
-# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-# files are now used as the Windows 98 help format, and will replace the old
-# Windows help format (.hlp) on all Windows platforms in the future. Compressed
-# HTML files also contain an index, a table of contents, and you can search for
-# words in the documentation. The HTML workshop also contains a viewer for
-# compressed HTML files.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
+DOCSET_BUNDLE_ID = com.state-machine.doc
+DOCSET_PUBLISHER_ID = com.state-machine.doc
+DOCSET_PUBLISHER_NAME = Quantum Leaps
GENERATE_HTMLHELP = NO
-
-# The CHM_FILE tag can be used to specify the file name of the resulting .chm
-# file. You can add a path in front of the file if the result should not be
-# written to the html output directory.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_FILE = ../../doc/qpc.chm
-
-# The HHC_LOCATION tag can be used to specify the location (absolute path
-# including file name) of the HTML help compiler (hhc.exe). If non-empty,
-# doxygen will try to run the HTML help compiler on the generated index.hhp.
-# The file has to be specified with full path.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
+CHM_FILE = ../../../html/qpc.chm
HHC_LOCATION =
-
-# The GENERATE_CHI flag controls if a separate .chi index file is generated
-# (YES) or that it should be included in the master .chm file (NO).
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
GENERATE_CHI = NO
-
-# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
-# and project file content.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
CHM_INDEX_ENCODING =
-
-# The BINARY_TOC flag controls whether a binary table of contents is generated
-# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
-# enables the Previous and Next buttons.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
BINARY_TOC = NO
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members to
-# the table of contents of the HTML help documentation and to the tree view.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
TOC_EXPAND = NO
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-# (.qch) of the generated HTML documentation.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_QHP = NO
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-# the file name of the resulting .qch file. The path specified is relative to
-# the HTML output folder.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QCH_FILE =
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-# Project output. For more information please see Qt Help Project / Namespace
-# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_NAMESPACE = com.state-machine.qp
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-# Help Project output. For more information please see Qt Help Project / Virtual
-# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-# folders).
-# The default value is: doc.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_VIRTUAL_FOLDER = doc
-
-# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-# filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_CUST_FILTER_NAME =
-
-# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-# custom filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_CUST_FILTER_ATTRS =
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-# project's filter section matches. Qt Help Project / Filter Attributes (see:
-# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_SECT_FILTER_ATTRS =
-
-# The QHG_LOCATION tag can be used to specify the location of Qt's
-# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-# generated .qhp file.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHG_LOCATION =
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-# generated, together with the HTML files, they form an Eclipse help plugin. To
-# install this plugin and make it available under the help contents menu in
-# Eclipse, the contents of the directory containing the HTML and XML files needs
-# to be copied into the plugins directory of eclipse. The name of the directory
-# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-# After copying Eclipse needs to be restarted before the help appears.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_ECLIPSEHELP = NO
-
-# A unique identifier for the Eclipse help plugin. When installing the plugin
-# the directory name containing the HTML and XML files should also have this
-# name. Each documentation set should have its own identifier.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-
ECLIPSE_DOC_ID = com.state-machine.qp
-
-# If you want full control over the layout of the generated HTML pages it might
-# be necessary to disable the index and replace it with your own. The
-# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-# of each HTML page. A value of NO enables the index and the value YES disables
-# it. Since the tabs in the index contain the same information as the navigation
-# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
DISABLE_INDEX = YES
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-# structure should be generated to display hierarchical information. If the tag
-# value is set to YES, a side panel will be generated containing a tree-like
-# index structure (just like the one that is generated for HTML Help). For this
-# to work a browser that supports JavaScript, DHTML, CSS and frames is required
-# (i.e. any modern browser). Windows users are probably better off using the
-# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
-# further fine-tune the look of the index. As an example, the default style
-# sheet generated by doxygen has an example that shows how to put an image at
-# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-# the same information as the tab index, you could consider setting
-# DISABLE_INDEX to YES when enabling this option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_TREEVIEW = YES
-
-# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-# doxygen will group on one line in the generated HTML documentation.
-#
-# Note that a value of 0 will completely suppress the enum values from appearing
-# in the overview section.
-# Minimum value: 0, maximum value: 20, default value: 4.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
ENUM_VALUES_PER_LINE = 4
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-# to set the initial width (in pixels) of the frame in which the tree is shown.
-# Minimum value: 0, maximum value: 1500, default value: 250.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
TREEVIEW_WIDTH = 180
-
-# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
-# external symbols imported via tag files in a separate window.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
EXT_LINKS_IN_WINDOW = NO
-
-# Use this tag to change the font size of LaTeX formulas included as images in
-# the HTML documentation. When you change the font size after a successful
-# doxygen run you need to manually remove any form_*.png images from the HTML
-# output directory to force them to be regenerated.
-# Minimum value: 8, maximum value: 50, default value: 10.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
FORMULA_FONTSIZE = 10
-
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-# generated for formulas are transparent PNGs. Transparent PNGs are not
-# supported properly for IE 6.0, but are supported on all modern browsers.
-#
-# Note that when changing this option you need to delete any form_*.png files in
-# the HTML output directory before the changes have effect.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
FORMULA_TRANSPARENT = YES
-
-# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-# http://www.mathjax.org) which uses client side Javascript for the rendering
-# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
-# installed or if you want to formulas look prettier in the HTML output. When
-# enabled you may also need to install MathJax separately and configure the path
-# to it using the MATHJAX_RELPATH option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
USE_MATHJAX = NO
-
-# When MathJax is enabled you can set the default output format to be used for
-# the MathJax output. See the MathJax site (see:
-# http://docs.mathjax.org/en/latest/output.html) for more details.
-# Possible values are: HTML-CSS (which is slower, but has the best
-# compatibility), NativeMML (i.e. MathML) and SVG.
-# The default value is: HTML-CSS.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_FORMAT = HTML-CSS
-
-# When MathJax is enabled you need to specify the location relative to the HTML
-# output directory using the MATHJAX_RELPATH option. The destination directory
-# should contain the MathJax.js script. For instance, if the mathjax directory
-# is located at the same level as the HTML output directory, then
-# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-# Content Delivery Network so you can quickly see the result without installing
-# MathJax. However, it is strongly recommended to install a local copy of
-# MathJax from http://www.mathjax.org before deployment.
-# The default value is: http://cdn.mathjax.org/mathjax/latest.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
-
-# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-# extension names that should be enabled during MathJax rendering. For example
-# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_EXTENSIONS =
-
-# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-# of code that will be used on startup of the MathJax code. See the MathJax site
-# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-# example see the documentation.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_CODEFILE =
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-# the HTML output. The underlying search engine uses javascript and DHTML and
-# should work on any modern browser. Note that when using HTML help
-# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-# there is already a search function so this one should typically be disabled.
-# For large projects the javascript based search engine can be slow, then
-# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-# search using the keyboard; to jump to the search box use + S
-# (what the is depends on the OS and browser, but it is typically
-# , /, or both). Inside the search box use the to jump into the search results window, the results can be navigated
-# using the . Press to select an item or to cancel
-# the search. The filter options can be selected when the cursor is inside the
-# search box by pressing +. Also here use the
-# to select a filter and or to activate or cancel the filter
-# option.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
SEARCHENGINE = YES
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-# implemented using a web server instead of a web client using Javascript. There
-# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
-# setting. When disabled, doxygen will generate a PHP script for searching and
-# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
-# and searching needs to be provided by external tools. See the section
-# "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SERVER_BASED_SEARCH = NO
-
-# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-# script for searching. Instead the search results are written to an XML file
-# which needs to be processed by an external indexer. Doxygen will invoke an
-# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-# search results.
-#
-# Doxygen ships with an example indexer (doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/).
-#
-# See the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTERNAL_SEARCH = NO
-
-# The SEARCHENGINE_URL should point to a search engine hosted by a web server
-# which will return the search results when EXTERNAL_SEARCH is enabled.
-#
-# Doxygen ships with an example indexer (doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/). See the section "External Indexing and
-# Searching" for details.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SEARCHENGINE_URL =
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-# search data is written to a file for indexing by an external tool. With the
-# SEARCHDATA_FILE tag the name of this file can be specified.
-# The default file is: searchdata.xml.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SEARCHDATA_FILE = searchdata.xml
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-# projects and redirect the results back to the right project.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTERNAL_SEARCH_ID =
-
-# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-# projects other than the one defined by this configuration file, but that are
-# all added to the same external search index. Each project needs to have a
-# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-# to a relative location where the documentation can be found. The format is:
-# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTRA_SEARCH_MAPPINGS =
-
#---------------------------------------------------------------------------
# Configuration options related to the LaTeX output
#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
-# The default value is: YES.
-
GENERATE_LATEX = NO
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_OUTPUT = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-# invoked.
-#
-# Note that when enabling USE_PDFLATEX this option is only used for generating
-# bitmaps for formulas in the HTML output, but not in the Makefile that is
-# written to the output directory.
-# The default file is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_CMD_NAME = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-# index for LaTeX.
-# The default file is: makeindex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
MAKEINDEX_CMD_NAME = makeindex
-
-# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
COMPACT_LATEX = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used by the
-# printer.
-# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-# 14 inches) and executive (7.25 x 10.5 inches).
-# The default value is: a4.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
PAPER_TYPE = letter
-
-# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-# that should be included in the LaTeX output. To get the times font for
-# instance you can specify
-# EXTRA_PACKAGES=times
-# If left blank no extra packages will be included.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
EXTRA_PACKAGES =
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-# generated LaTeX document. The header should contain everything until the first
-# chapter. If it is left blank doxygen will generate a standard header. See
-# section "Doxygen usage" for information on how to let doxygen write the
-# default header to a separate file.
-#
-# Note: Only use a user-defined header if you know what you are doing! The
-# following commands have a special meaning inside the header: $title,
-# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
-# $projectbrief, $projectlogo. Doxygen will replace $title with the empty
-# string, for the replacement values of the other commands the user is referred
-# to HTML_HEADER.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_HEADER =
-
-# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-# generated LaTeX document. The footer should contain everything after the last
-# chapter. If it is left blank doxygen will generate a standard footer. See
-# LATEX_HEADER for more information on how to generate a default footer and what
-# special commands can be used inside the footer.
-#
-# Note: Only use a user-defined footer if you know what you are doing!
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_FOOTER =
-
-# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-# LaTeX style sheets that are included after the standard style sheets created
-# by doxygen. Using this option one can overrule certain style aspects. Doxygen
-# will copy the style sheet files to the output directory.
-# Note: The order of the extra style sheet files is of importance (e.g. the last
-# style sheet in the list overrules the setting of the previous ones in the
-# list).
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_EXTRA_STYLESHEET =
-
-# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the LATEX_OUTPUT output
-# directory. Note that the files will be copied as-is; there are no commands or
-# markers available.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_EXTRA_FILES =
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-# contain links (just like the HTML output) instead of page references. This
-# makes the output suitable for online browsing using a PDF viewer.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
PDF_HYPERLINKS = YES
-
-# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-# the PDF file directly from the LaTeX files. Set this option to YES, to get a
-# higher quality PDF documentation.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
USE_PDFLATEX = YES
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-# command to the generated LaTeX files. This will instruct LaTeX to keep running
-# if errors occur, instead of asking the user for help. This option is also used
-# when generating formulas in HTML.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_BATCHMODE = NO
-
-# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-# index chapters (such as File Index, Compound Index, etc.) in the output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_HIDE_INDICES = NO
-
-# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-# code with syntax highlighting in the LaTeX output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_SOURCE_CODE = NO
-
-# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-# bibliography, e.g. plainnat, or ieeetr. See
-# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-# The default value is: plain.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_BIB_STYLE = plain
-
#---------------------------------------------------------------------------
# Configuration options related to the RTF output
#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
-# RTF output is optimized for Word 97 and may not look too pretty with other RTF
-# readers/editors.
-# The default value is: NO.
-
GENERATE_RTF = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: rtf.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_OUTPUT = rtf
-
-# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
COMPACT_RTF = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-# contain hyperlink fields. The RTF file will contain links (just like the HTML
-# output) instead of page references. This makes the output suitable for online
-# browsing using Word or some other Word compatible readers that support those
-# fields.
-#
-# Note: WordPad (write) and others do not support links.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_HYPERLINKS = NO
-
-# Load stylesheet definitions from file. Syntax is similar to doxygen's config
-# file, i.e. a series of assignments. You only have to provide replacements,
-# missing definitions are set to their default value.
-#
-# See also section "Doxygen usage" for information on how to generate the
-# default style sheet that doxygen normally uses.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_STYLESHEET_FILE =
-
-# Set optional variables used in the generation of an RTF document. Syntax is
-# similar to doxygen's config file. A template extensions file can be generated
-# using doxygen -e rtf extensionFile.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_EXTENSIONS_FILE =
-
-# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
-# with syntax highlighting in the RTF output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_SOURCE_CODE = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the man page output
#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
-# classes and files.
-# The default value is: NO.
-
GENERATE_MAN = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it. A directory man3 will be created inside the directory specified by
-# MAN_OUTPUT.
-# The default directory is: man.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_OUTPUT = man
-
-# The MAN_EXTENSION tag determines the extension that is added to the generated
-# man pages. In case the manual section does not start with a number, the number
-# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-# optional.
-# The default value is: .3.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_EXTENSION = .3
-
-# The MAN_SUBDIR tag determines the name of the directory created within
-# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
-# MAN_EXTENSION with the initial . removed.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_SUBDIR =
-
-# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-# will generate one additional man file for each entity documented in the real
-# man page(s). These additional files only source the real man page, but without
-# them the man command would be unable to find the correct page.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_LINKS = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the XML output
#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
-# captures the structure of the code including all documentation.
-# The default value is: NO.
-
GENERATE_XML = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: xml.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
XML_OUTPUT = xml
-
-# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
-# listings (including syntax highlighting and cross-referencing information) to
-# the XML output. Note that enabling this will significantly increase the size
-# of the XML output.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
XML_PROGRAMLISTING = YES
-
#---------------------------------------------------------------------------
# Configuration options related to the DOCBOOK output
#---------------------------------------------------------------------------
-
-# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
-# that can be used to generate PDF.
-# The default value is: NO.
-
GENERATE_DOCBOOK = NO
-
-# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-# front of it.
-# The default directory is: docbook.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
DOCBOOK_OUTPUT = docbook
-
-# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
-# program listings (including syntax highlighting and cross-referencing
-# information) to the DOCBOOK output. Note that enabling this will significantly
-# increase the size of the DOCBOOK output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
DOCBOOK_PROGRAMLISTING = NO
-
#---------------------------------------------------------------------------
# Configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
-# AutoGen Definitions (see http://autogen.sf.net) file that captures the
-# structure of the code including all documentation. Note that this feature is
-# still experimental and incomplete at the moment.
-# The default value is: NO.
-
GENERATE_AUTOGEN_DEF = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the Perl module output
#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
-# file that captures the structure of the code including all documentation.
-#
-# Note that this feature is still experimental and incomplete at the moment.
-# The default value is: NO.
-
GENERATE_PERLMOD = NO
-
-# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
-# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-# output from the Perl module output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_LATEX = NO
-
-# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
-# formatted so it can be parsed by a human reader. This is useful if you want to
-# understand what is going on. On the other hand, if this tag is set to NO, the
-# size of the Perl module output will be much smaller and Perl will parse it
-# just the same.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_PRETTY = YES
-
-# The names of the make variables in the generated doxyrules.make file are
-# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-# so different doxyrules.make files included by the same Makefile don't
-# overwrite each other's variables.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_MAKEVAR_PREFIX =
-
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
-# C-preprocessor directives found in the sources and include files.
-# The default value is: YES.
-
ENABLE_PREPROCESSING = YES
-
-# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
-# in the source code. If set to NO, only conditional compilation will be
-# performed. Macro expansion can be done in a controlled way by setting
-# EXPAND_ONLY_PREDEF to YES.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
MACRO_EXPANSION = NO
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-# the macro expansion is limited to the macros specified with the PREDEFINED and
-# EXPAND_AS_DEFINED tags.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
EXPAND_ONLY_PREDEF = NO
-
-# If the SEARCH_INCLUDES tag is set to YES, the include files in the
-# INCLUDE_PATH will be searched if a #include is found.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
SEARCH_INCLUDES = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that
-# contain include files that are not input files but should be processed by the
-# preprocessor.
-# This tag requires that the tag SEARCH_INCLUDES is set to YES.
-
INCLUDE_PATH =
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-# patterns (like *.h and *.hpp) to filter out the header-files in the
-# directories. If left blank, the patterns specified with FILE_PATTERNS will be
-# used.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
INCLUDE_FILE_PATTERNS =
-
-# The PREDEFINED tag can be used to specify one or more macro names that are
-# defined before the preprocessor is started (similar to the -D option of e.g.
-# gcc). The argument of the tag is a list of macros of the form: name or
-# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-# is assumed. To prevent a macro definition from being undefined via #undef or
-# recursively expanded use the := operator instead of the = operator.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
PREDEFINED = Q_SPY
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-# tag can be used to specify a list of macro names that should be expanded. The
-# macro definition that is found in the sources will be used. Use the PREDEFINED
-# tag if you want to use a different macro definition that overrules the
-# definition found in the source code.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
EXPAND_AS_DEFINED =
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-# remove all references to function-like macros that are alone on a line, have
-# an all uppercase name, and do not end with a semicolon. Such function macros
-# are typically used for boiler-plate code, and will confuse the parser if not
-# removed.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
SKIP_FUNCTION_MACROS = YES
-
#---------------------------------------------------------------------------
# Configuration options related to external references
#---------------------------------------------------------------------------
-
-# The TAGFILES tag can be used to specify one or more tag files. For each tag
-# file the location of the external documentation should be added. The format of
-# a tag file without this location is as follows:
-# TAGFILES = file1 file2 ...
-# Adding location for the tag files is done as follows:
-# TAGFILES = file1=loc1 "file2 = loc2" ...
-# where loc1 and loc2 can be relative or absolute paths or URLs. See the
-# section "Linking to external documentation" for more information about the use
-# of tag files.
-# Note: Each tag file must have a unique name (where the name does NOT include
-# the path). If a tag file is not located in the directory in which doxygen is
-# run, you must also specify the path to the tagfile here.
-
TAGFILES =
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-# tag file that is based on the input files it reads. See section "Linking to
-# external documentation" for more information about the usage of tag files.
-
GENERATE_TAGFILE =
-
-# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
-# the class index. If set to NO, only the inherited external classes will be
-# listed.
-# The default value is: NO.
-
ALLEXTERNALS = NO
-
-# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
-# in the modules index. If set to NO, only the current project's groups will be
-# listed.
-# The default value is: YES.
-
EXTERNAL_GROUPS = YES
-
-# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
-# the related pages index. If set to NO, only the current project's pages will
-# be listed.
-# The default value is: YES.
-
EXTERNAL_PAGES = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script
-# interpreter (i.e. the result of 'which perl').
-# The default file (with absolute path) is: /usr/bin/perl.
-
PERL_PATH = /usr/bin/perl
-
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
-# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-# NO turns the diagrams off. Note that this option also works with HAVE_DOT
-# disabled, but it is recommended to install and use dot, since it yields more
-# powerful graphs.
-# The default value is: YES.
-
CLASS_DIAGRAMS = YES
-
-# You can define message sequence charts within doxygen comments using the \msc
-# command. Doxygen will then run the mscgen tool (see:
-# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-# the mscgen tool resides. If left empty the tool is assumed to be found in the
-# default search path.
-
MSCGEN_PATH =
-
-# You can include diagrams made with dia in doxygen documentation. Doxygen will
-# then run dia to produce the diagram and insert it in the documentation. The
-# DIA_PATH tag allows you to specify the directory where the dia binary resides.
-# If left empty dia is assumed to be found in the default search path.
-
DIA_PATH =
-
-# If set to YES the inheritance and collaboration graphs will hide inheritance
-# and usage relations if the target is undocumented or is not a class.
-# The default value is: YES.
-
HIDE_UNDOC_RELATIONS = YES
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-# available from the path. This tool is part of Graphviz (see:
-# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-# Bell Labs. The other options in this section have no effect if this option is
-# set to NO
-# The default value is: NO.
-
HAVE_DOT = NO
-
-# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-# to run in parallel. When set to 0 doxygen will base this on the number of
-# processors available in the system. You can set it explicitly to a value
-# larger than 0 to get control over the balance between CPU load and processing
-# speed.
-# Minimum value: 0, maximum value: 32, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_NUM_THREADS = 0
-
-# When you want a differently looking font in the dot files that doxygen
-# generates you can specify the font name using DOT_FONTNAME. You need to make
-# sure dot is able to find the font, which can be done by putting it in a
-# standard location or by setting the DOTFONTPATH environment variable or by
-# setting DOT_FONTPATH to the directory containing the font.
-# The default value is: Helvetica.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTNAME = Helvetica
-
-# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-# dot graphs.
-# Minimum value: 4, maximum value: 24, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTSIZE = 10
-
-# By default doxygen will tell dot to use the default font as specified with
-# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-# the path where dot can find it using this tag.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTPATH =
-
-# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-# each documented class showing the direct and indirect inheritance relations.
-# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CLASS_GRAPH = YES
-
-# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-# graph for each documented class showing the direct and indirect implementation
-# dependencies (inheritance, containment, and class references variables) of the
-# class with other documented classes.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
COLLABORATION_GRAPH = YES
-
-# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-# groups, showing the direct groups dependencies.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GROUP_GRAPHS = YES
-
-# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
-# collaboration diagrams in a style similar to the OMG's Unified Modeling
-# Language.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
UML_LOOK = YES
-
-# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-# class node. If there are many fields or methods and many nodes the graph may
-# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-# number of items for each type to make the size more manageable. Set this to 0
-# for no limit. Note that the threshold may be exceeded by 50% before the limit
-# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-# but if the number exceeds 15, the total amount of fields shown is limited to
-# 10.
-# Minimum value: 0, maximum value: 100, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
UML_LIMIT_NUM_FIELDS = 10
-
-# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-# collaboration graphs will show the relations between templates and their
-# instances.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
TEMPLATE_RELATIONS = NO
-
-# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-# YES then doxygen will generate a graph for each documented file showing the
-# direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INCLUDE_GRAPH = YES
-
-# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-# set to YES then doxygen will generate a graph for each documented file showing
-# the direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INCLUDED_BY_GRAPH = YES
-
-# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable call graphs for selected
-# functions only using the \callgraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CALL_GRAPH = NO
-
-# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable caller graphs for selected
-# functions only using the \callergraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CALLER_GRAPH = NO
-
-# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-# hierarchy of all classes instead of a textual one.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GRAPHICAL_HIERARCHY = YES
-
-# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-# dependencies a directory has on other directories in a graphical way. The
-# dependency relations are determined by the #include relations between the
-# files in the directories.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DIRECTORY_GRAPH = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-# generated by dot.
-# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-# to make the SVG files visible in IE 9+ (other browsers do not have this
-# requirement).
-# Possible values are: png, jpg, gif and svg.
-# The default value is: png.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_IMAGE_FORMAT = png
-
-# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-# enable generation of interactive SVG images that allow zooming and panning.
-#
-# Note that this requires a modern browser other than Internet Explorer. Tested
-# and working are Firefox, Chrome, Safari, and Opera.
-# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-# the SVG files visible. Older versions of IE do not have SVG support.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INTERACTIVE_SVG = NO
-
-# The DOT_PATH tag can be used to specify the path where the dot tool can be
-# found. If left blank, it is assumed the dot tool can be found in the path.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_PATH =
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that
-# contain dot files that are included in the documentation (see the \dotfile
-# command).
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOTFILE_DIRS =
-
-# The MSCFILE_DIRS tag can be used to specify one or more directories that
-# contain msc files that are included in the documentation (see the \mscfile
-# command).
-
MSCFILE_DIRS =
-
-# The DIAFILE_DIRS tag can be used to specify one or more directories that
-# contain dia files that are included in the documentation (see the \diafile
-# command).
-
DIAFILE_DIRS =
-
-# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
-# path where java can find the plantuml.jar file. If left blank, it is assumed
-# PlantUML is not used or called during a preprocessing step. Doxygen will
-# generate a warning when it encounters a \startuml command in this case and
-# will not generate output for the diagram.
-
PLANTUML_JAR_PATH =
-
-# When using plantuml, the specified paths are searched for files specified by
-# the !include statement in a plantuml block.
-
PLANTUML_INCLUDE_PATH =
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-# that will be shown in the graph. If the number of nodes in a graph becomes
-# larger than this value, doxygen will truncate the graph, which is visualized
-# by representing a node as a red box. Note that doxygen if the number of direct
-# children of the root node in a graph is already larger than
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-# Minimum value: 0, maximum value: 10000, default value: 50.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_GRAPH_MAX_NODES = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-# generated by dot. A depth value of 3 means that only nodes reachable from the
-# root by following a path via at most 3 edges will be shown. Nodes that lay
-# further from the root node will be omitted. Note that setting this option to 1
-# or 2 may greatly reduce the computation time needed for large code bases. Also
-# note that the size of a graph can be further restricted by
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-# Minimum value: 0, maximum value: 1000, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
MAX_DOT_GRAPH_DEPTH = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-# background. This is disabled by default, because dot on Windows does not seem
-# to support this out of the box.
-#
-# Warning: Depending on the platform used, enabling this option may lead to
-# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-# read).
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_TRANSPARENT = NO
-
-# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
-# files in one run (i.e. multiple -o and -T options on the command line). This
-# makes dot run faster, but since only newer versions of dot (>1.8.10) support
-# this, this feature is disabled by default.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_MULTI_TARGETS = NO
-
-# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-# explaining the meaning of the various boxes and arrows in the dot generated
-# graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GENERATE_LEGEND = YES
-
-# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
-# files that are used to generate the various graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_CLEANUP = YES
diff --git a/doxygen/Doxyfile-CHM b/doxygen/Doxyfile-CHM
index 1f494b67..441be5d8 100644
--- a/doxygen/Doxyfile-CHM
+++ b/doxygen/Doxyfile-CHM
@@ -1,2419 +1,360 @@
-# Doxyfile 1.8.9.1
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project.
-#
-# All text after a double hash (##) is considered a comment and is placed in
-# front of the TAG it is preceding.
-#
-# All text after a single hash (#) is considered a comment and will be ignored.
-# The format is:
-# TAG = value [value, ...]
-# For lists, items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (\" \").
+# Doxyfile 1.8.10
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all text
-# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-# for the list of possible encodings.
-# The default value is: UTF-8.
-
DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-# double-quotes, unless you are using Doxywizard) that should identify the
-# project for which the documentation is generated. This name is used in the
-# title of most generated pages and in a few other places.
-# The default value is: My Project.
-
PROJECT_NAME = "QP/C"
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-# could be handy for archiving the generated documentation or if some version
-# control system is used.
-
-PROJECT_NUMBER = "5.4.2"
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description
-# for a project that appears at the top of each page and should give viewer a
-# quick idea about the purpose of the project. Keep the description short.
-
+PROJECT_NUMBER = "5.5.0"
PROJECT_BRIEF =
-
-# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
-# in the documentation. The maximum height of the logo should not exceed 55
-# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
-# the logo to the output directory.
-
PROJECT_LOGO = images/header_logo_ql.png
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-# into which the generated documentation will be written. If a relative path is
-# entered, it will be relative to the location where doxygen was started. If
-# left blank the current directory will be used.
-
OUTPUT_DIRECTORY =
-
-# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
-# directories (in 2 levels) under the output directory of each output format and
-# will distribute the generated files over these directories. Enabling this
-# option can be useful when feeding doxygen a huge amount of source files, where
-# putting all generated files in the same directory would otherwise causes
-# performance problems for the file system.
-# The default value is: NO.
-
CREATE_SUBDIRS = NO
-
-# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
-# characters to appear in the names of generated files. If set to NO, non-ASCII
-# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
-# U+3044.
-# The default value is: NO.
-
ALLOW_UNICODE_NAMES = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-# Ukrainian and Vietnamese.
-# The default value is: English.
-
OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
-# descriptions after the members that are listed in the file and class
-# documentation (similar to Javadoc). Set to NO to disable this.
-# The default value is: YES.
-
BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
-# description of a member or function before the detailed description
-#
-# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-# The default value is: YES.
-
REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator that is
-# used to form the text in various listings. Each string in this list, if found
-# as the leading text of the brief description, will be stripped from the text
-# and the result, after processing the whole list, is used as the annotated
-# text. Otherwise, the brief description is used as-is. If left blank, the
-# following values are used ($name is automatically replaced with the name of
-# the entity):The $name class, The $name widget, The $name file, is, provides,
-# specifies, contains, represents, a, an and the.
-
ABBREVIATE_BRIEF =
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# doxygen will generate a detailed section even if there is only a brief
-# description.
-# The default value is: NO.
-
ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-# The default value is: NO.
-
-INLINE_INHERITED_MEMB = YES
-
-# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
-# before files name in the file list and in the header files. If set to NO the
-# shortest path that makes the file name unique will be used
-# The default value is: YES.
-
+INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
-
-# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-# Stripping is only done if one of the specified strings matches the left-hand
-# part of the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the path to
-# strip.
-#
-# Note that you can specify absolute paths here, but also relative paths, which
-# will be relative from the directory where doxygen is started.
-# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-
STRIP_FROM_PATH =
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-# path mentioned in the documentation of a class, which tells the reader which
-# header file to include in order to use a class. If left blank only the name of
-# the header file containing the class definition is used. Otherwise one should
-# specify the list of include paths that are normally passed to the compiler
-# using the -I flag.
-
STRIP_FROM_INC_PATH =
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-# less readable) file names. This can be useful is your file systems doesn't
-# support long names like on DOS, Mac, or CD-ROM.
-# The default value is: NO.
-
SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-# first line (until the first dot) of a Javadoc-style comment as the brief
-# description. If set to NO, the Javadoc-style will behave just like regular Qt-
-# style comments (thus requiring an explicit @brief command for a brief
-# description.)
-# The default value is: NO.
-
JAVADOC_AUTOBRIEF = NO
-
-# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-# line (until the first dot) of a Qt-style comment as the brief description. If
-# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-# requiring an explicit \brief command for a brief description.)
-# The default value is: NO.
-
QT_AUTOBRIEF = YES
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
-# a brief description. This used to be the default behavior. The new default is
-# to treat a multi-line C++ comment block as a detailed description. Set this
-# tag to YES if you prefer the old behavior instead.
-#
-# Note that setting this tag to YES also means that rational rose comments are
-# not recognized any more.
-# The default value is: NO.
-
MULTILINE_CPP_IS_BRIEF = YES
-
-# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-# documentation from any documented member that it re-implements.
-# The default value is: YES.
-
INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
-# page for each member. If set to NO, the documentation of a member will be part
-# of the file/class/namespace that contains it.
-# The default value is: NO.
-
SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-# uses this value to replace tabs by spaces in code fragments.
-# Minimum value: 1, maximum value: 16, default value: 4.
-
TAB_SIZE = 4
-
-# This tag can be used to specify a number of aliases that act as commands in
-# the documentation. An alias has the form:
-# name=value
-# For example adding
-# "sideeffect=@par Side Effects:\n"
-# will allow you to put the command \sideeffect (or @sideeffect) in the
-# documentation, which will result in a user-defined paragraph with heading
-# "Side Effects:". You can put \n's in the value part of an alias to insert
-# newlines.
-
-ALIASES = \
+ALIASES = \
"next{1}=Next: \ref \1" \
"description=\par Description \n" \
"hint=\par Hint \n" \
"usage=@par Usage \n"
-# This tag can be used to specify a number of word-keyword mappings (TCL only).
-# A mapping has the form "name=value". For example adding "class=itcl::class"
-# will allow you to use the command class in the itcl::class meaning.
-
TCL_SUBST =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-# only. Doxygen will then generate output that is more tailored for C. For
-# instance, some of the names that are used will be different. The list of all
-# members will be omitted, etc.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_FOR_C = YES
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-# Python sources only. Doxygen will then generate output that is more tailored
-# for that language. For instance, namespaces will be presented as packages,
-# qualified scopes will look different, etc.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources. Doxygen will then generate output that is tailored for Fortran.
-# The default value is: NO.
-
OPTIMIZE_FOR_FORTRAN = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for VHDL.
-# The default value is: NO.
-
OPTIMIZE_OUTPUT_VHDL = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it
-# parses. With this tag you can assign which parser to use for a given
-# extension. Doxygen has a built-in mapping, but you can override or extend it
-# using this tag. The format is ext=language, where ext is a file extension, and
-# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
-# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
-# Fortran. In the later case the parser tries to guess whether the code is fixed
-# or free formatted code, this is the default for Fortran type files), VHDL. For
-# instance to make doxygen treat .inc files as Fortran files (default is PHP),
-# and .f files as C (default is Fortran), use: inc=Fortran f=C.
-#
-# Note: For files without extension you can use no_extension as a placeholder.
-#
-# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-# the files are not read by doxygen.
-
EXTENSION_MAPPING =
-
-# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-# according to the Markdown format, which allows for more readable
-# documentation. See http://daringfireball.net/projects/markdown/ for details.
-# The output of markdown processing is further processed by doxygen, so you can
-# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-# case of backward compatibilities issues.
-# The default value is: YES.
-
MARKDOWN_SUPPORT = YES
-
-# When enabled doxygen tries to link words that correspond to documented
-# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by putting a % sign in front of the word or
-# globally by setting AUTOLINK_SUPPORT to NO.
-# The default value is: YES.
-
AUTOLINK_SUPPORT = YES
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should set this
-# tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string);
-# versus func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-# The default value is: NO.
-
BUILTIN_STL_SUPPORT = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-# The default value is: NO.
-
CPP_CLI_SUPPORT = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-# will parse them like normal C++ but will assume all classes use public instead
-# of private inheritance when no explicit protection keyword is present.
-# The default value is: NO.
-
SIP_SUPPORT = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate
-# getter and setter methods for a property. Setting this option to YES will make
-# doxygen to replace the get and set methods by a property in the documentation.
-# This will only work if the methods are indeed getting or setting a simple
-# type. If this is not the case, or you want to show the methods anyway, you
-# should set this option to NO.
-# The default value is: YES.
-
IDL_PROPERTY_SUPPORT = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-# The default value is: NO.
-
DISTRIBUTE_GROUP_DOC = NO
-
-# Set the SUBGROUPING tag to YES to allow class member groups of the same type
-# (for instance a group of public functions) to be put as a subgroup of that
-# type (e.g. under the Public Functions section). Set it to NO to prevent
-# subgrouping. Alternatively, this can be done per class using the
-# \nosubgrouping command.
-# The default value is: YES.
-
+GROUP_NESTED_COMPOUNDS = NO
SUBGROUPING = YES
-
-# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-# are shown inside the group in which they are included (e.g. using \ingroup)
-# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-# and RTF).
-#
-# Note that this feature does not work in combination with
-# SEPARATE_MEMBER_PAGES.
-# The default value is: NO.
-
-INLINE_GROUPED_CLASSES = NO
-
-# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-# with only public data fields or simple typedef fields will be shown inline in
-# the documentation of the scope in which they are defined (i.e. file,
-# namespace, or group documentation), provided this scope is documented. If set
-# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-# Man pages) or section (for LaTeX and RTF).
-# The default value is: NO.
-
-INLINE_SIMPLE_STRUCTS = NO
-
-# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-# enum is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically be
-# useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-# The default value is: NO.
-
-TYPEDEF_HIDES_STRUCT = NO
-
-# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-# cache is used to resolve symbols given their name and scope. Since this can be
-# an expensive process and often the same symbol appears multiple times in the
-# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-# doxygen will become slower. If the cache is too large, memory is wasted. The
-# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-# symbols. At the end of a run doxygen will report the cache usage and suggest
-# the optimal cache size from a speed point of view.
-# Minimum value: 0, maximum value: 9, default value: 0.
-
+INLINE_GROUPED_CLASSES = YES
+INLINE_SIMPLE_STRUCTS = YES
+TYPEDEF_HIDES_STRUCT = YES
LOOKUP_CACHE_SIZE = 0
-
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
-# documentation are documented, even if no documentation was available. Private
-# class members and static file members will be hidden unless the
-# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-# Note: This will also disable the warnings about undocumented members that are
-# normally produced when WARNINGS is set to YES.
-# The default value is: NO.
-
EXTRACT_ALL = NO
-
-# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
-# be included in the documentation.
-# The default value is: NO.
-
EXTRACT_PRIVATE = NO
-
-# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
-# scope will be included in the documentation.
-# The default value is: NO.
-
EXTRACT_PACKAGE = NO
-
-# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
-# included in the documentation.
-# The default value is: NO.
-
EXTRACT_STATIC = YES
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
-# locally in source files will be included in the documentation. If set to NO,
-# only classes defined in header files are included. Does not have any effect
-# for Java sources.
-# The default value is: YES.
-
EXTRACT_LOCAL_CLASSES = YES
-
-# This flag is only useful for Objective-C code. If set to YES, local methods,
-# which are defined in the implementation section but not in the interface are
-# included in the documentation. If set to NO, only methods in the interface are
-# included.
-# The default value is: NO.
-
EXTRACT_LOCAL_METHODS = NO
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base name of
-# the file that contains the anonymous namespace. By default anonymous namespace
-# are hidden.
-# The default value is: NO.
-
EXTRACT_ANON_NSPACES = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-# undocumented members inside documented classes or files. If set to NO these
-# members will be included in the various overviews, but no documentation
-# section is generated. This option has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
HIDE_UNDOC_MEMBERS = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy. If set
-# to NO, these classes will be included in the various overviews. This option
-# has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
HIDE_UNDOC_CLASSES = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-# (class|struct|union) declarations. If set to NO, these declarations will be
-# included in the documentation.
-# The default value is: NO.
-
HIDE_FRIEND_COMPOUNDS = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-# documentation blocks found inside the body of a function. If set to NO, these
-# blocks will be appended to the function's detailed documentation block.
-# The default value is: NO.
-
HIDE_IN_BODY_DOCS = NO
-
-# The INTERNAL_DOCS tag determines if documentation that is typed after a
-# \internal command is included. If the tag is set to NO then the documentation
-# will be excluded. Set it to YES to include the internal documentation.
-# The default value is: NO.
-
INTERNAL_DOCS = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-# names in lower-case letters. If set to YES, upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-# The default value is: system dependent.
-
CASE_SENSE_NAMES = NO
-
-# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-# their full class and namespace scopes in the documentation. If set to YES, the
-# scope will be hidden.
-# The default value is: NO.
-
HIDE_SCOPE_NAMES = NO
-
-# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
-# append additional text to a page's title, such as Class Reference. If set to
-# YES the compound reference will be hidden.
-# The default value is: NO.
-
HIDE_COMPOUND_REFERENCE= NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-# the files that are included by a file in the documentation of that file.
-# The default value is: YES.
-
SHOW_INCLUDE_FILES = YES
-
-# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-# grouped member an include statement to the documentation, telling the reader
-# which file to include in order to use the member.
-# The default value is: NO.
-
SHOW_GROUPED_MEMB_INC = NO
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-# files with double quotes in the documentation rather than with sharp brackets.
-# The default value is: NO.
-
FORCE_LOCAL_INCLUDES = NO
-
-# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-# documentation for inline members.
-# The default value is: YES.
-
INLINE_INFO = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-# (detailed) documentation of file and class members alphabetically by member
-# name. If set to NO, the members will appear in declaration order.
-# The default value is: YES.
-
SORT_MEMBER_DOCS = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-# descriptions of file, namespace and class members alphabetically by member
-# name. If set to NO, the members will appear in declaration order. Note that
-# this will also influence the order of the classes in the class list.
-# The default value is: NO.
-
SORT_BRIEF_DOCS = NO
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-# (brief and detailed) documentation of class members so that constructors and
-# destructors are listed first. If set to NO the constructors will appear in the
-# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-# member documentation.
-# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-# detailed member documentation.
-# The default value is: NO.
-
SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-# of group names into alphabetical order. If set to NO the group names will
-# appear in their defined order.
-# The default value is: NO.
-
SORT_GROUP_NAMES = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-# fully-qualified names, including namespaces. If set to NO, the class list will
-# be sorted only by class name, not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the alphabetical
-# list.
-# The default value is: NO.
-
SORT_BY_SCOPE_NAME = NO
-
-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-# type resolution of all parameters of a function it will reject a match between
-# the prototype and the implementation of a member function even if there is
-# only one candidate or it is obvious which candidate to choose by doing a
-# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-# accept a match between prototype and implementation in such cases.
-# The default value is: NO.
-
STRICT_PROTO_MATCHING = NO
-
-# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
-# list. This list is created by putting \todo commands in the documentation.
-# The default value is: YES.
-
GENERATE_TODOLIST = YES
-
-# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
-# list. This list is created by putting \test commands in the documentation.
-# The default value is: YES.
-
GENERATE_TESTLIST = YES
-
-# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
-# list. This list is created by putting \bug commands in the documentation.
-# The default value is: YES.
-
GENERATE_BUGLIST = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
-# the deprecated list. This list is created by putting \deprecated commands in
-# the documentation.
-# The default value is: YES.
-
GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional documentation
-# sections, marked by \if ... \endif and \cond
-# ... \endcond blocks.
-
ENABLED_SECTIONS =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-# initial value of a variable or macro / define can have for it to appear in the
-# documentation. If the initializer consists of more lines than specified here
-# it will be hidden. Use a value of 0 to hide initializers completely. The
-# appearance of the value of individual variables and macros / defines can be
-# controlled using \showinitializer or \hideinitializer command in the
-# documentation regardless of this setting.
-# Minimum value: 0, maximum value: 10000, default value: 30.
-
MAX_INITIALIZER_LINES = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-# the bottom of the documentation of classes and structs. If set to YES, the
-# list will mention the files that were used to generate the documentation.
-# The default value is: YES.
-
SHOW_USED_FILES = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-# will remove the Files entry from the Quick Index and from the Folder Tree View
-# (if specified).
-# The default value is: YES.
-
SHOW_FILES = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-# page. This will remove the Namespaces entry from the Quick Index and from the
-# Folder Tree View (if specified).
-# The default value is: YES.
-
-SHOW_NAMESPACES = NO
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command command input-file, where command is the value of the
-# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-# by doxygen. Whatever the program writes to standard output is used as the file
-# version. For an example see the documentation.
-
+SHOW_NAMESPACES = YES
FILE_VERSION_FILTER =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-# by doxygen. The layout file controls the global structure of the generated
-# output files in an output format independent way. To create the layout file
-# that represents doxygen's defaults, run doxygen with the -l option. You can
-# optionally specify a file name after the option, if omitted DoxygenLayout.xml
-# will be used as the name of the layout file.
-#
-# Note that if you run doxygen from a directory containing a file called
-# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-# tag is left empty.
-
LAYOUT_FILE =
-
-# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-# the reference definitions. This must be a list of .bib files. The .bib
-# extension is automatically appended if omitted. This requires the bibtex tool
-# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-# For LaTeX the style of the bibliography can be controlled using
-# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-# search path. See also \cite for info how to create references.
-
CITE_BIB_FILES =
-
#---------------------------------------------------------------------------
# Configuration options related to warning and progress messages
#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated to
-# standard output by doxygen. If QUIET is set to YES this implies that the
-# messages are off.
-# The default value is: NO.
-
QUIET = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
-# this implies that the warnings are on.
-#
-# Tip: Turn warnings on while writing the documentation.
-# The default value is: YES.
-
WARNINGS = YES
-
-# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
-# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-# will automatically be disabled.
-# The default value is: YES.
-
WARN_IF_UNDOCUMENTED = YES
-
-# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some parameters
-# in a documented function, or documenting parameters that don't exist or using
-# markup commands wrongly.
-# The default value is: YES.
-
WARN_IF_DOC_ERROR = YES
-
-# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-# are documented, but have no documentation for their parameters or return
-# value. If set to NO, doxygen will only warn about wrong or incomplete
-# parameter documentation, but not about the absence of documentation.
-# The default value is: NO.
-
WARN_NO_PARAMDOC = NO
-
-# The WARN_FORMAT tag determines the format of the warning messages that doxygen
-# can produce. The string should contain the $file, $line, and $text tags, which
-# will be replaced by the file and line number from which the warning originated
-# and the warning text. Optionally the format may contain $version, which will
-# be replaced by the version of the file (if it could be obtained via
-# FILE_VERSION_FILTER)
-# The default value is: $file:$line: $text.
-
WARN_FORMAT = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning and error
-# messages should be written. If left blank the output is written to standard
-# error (stderr).
-
WARN_LOGFILE =
-
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
-
-# The INPUT tag is used to specify the files and/or directories that contain
-# documented source files. You may enter file names like myfile.cpp or
-# directories like /usr/src/myproject. Separate the files or directories with
-# spaces.
-# Note: If this tag is empty the current directory is searched.
-
-INPUT = \
- modules.dox \
- about.dox \
- design.dox \
- exa.dox \
- exa_apps.dox \
- exa_native.dox \
- exa_rtos.dox \
- exa_os.dox \
- exa_mware.dox \
- ports.dox \
- ports_native.dox \
- ports_rtos.dox \
- ports_os.dox \
- history.dox \
+INPUT = \
+ modules.cc \
+ about.cc \
+ design.cc \
+ exa.cc \
+ exa_apps.cc \
+ exa_native.cc \
+ exa_rtos.cc \
+ exa_os.cc \
+ exa_mware.cc \
+ ports.cc \
+ ports_native.cc \
+ ports_rtos.cc \
+ ports_os.cc \
+ history.cc \
macros.h \
- metrics.dox \
+ metrics.cc \
../include \
../source \
- ../ports/lint
- ../ports/lint/qkn \
- ../ports/lint/qvn
+ ../ports/lint \
+ ../ports/lint/qk \
+ ../ports/lint/qv
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-# documentation (see: http://www.gnu.org/software/libiconv) for the list of
-# possible encodings.
-# The default value is: UTF-8.
-
-INPUT_ENCODING = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank the
-# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
-# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
-# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
-# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
-# *.qsf, *.as and *.js.
-
-FILE_PATTERNS = \
- *.dox \
+INPUT_ENCODING = UTF-8
+FILE_PATTERNS = \
+ *.cc \
*.h \
*.c \
*.cpp \
*.s \
*.asm
-# The RECURSIVE tag can be used to specify whether or not subdirectories should
-# be searched for input files as well.
-# The default value is: NO.
-
RECURSIVE = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should be
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-#
-# Note that relative paths are relative to the directory from which doxygen is
-# run.
-
-EXCLUDE = \
+EXCLUDE = \
../include/qs_dummy.h \
../ports/lint/MISRA_Exemplar_Suite_test
-# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-# directories that are symbolic links (a Unix file system feature) are excluded
-# from the input.
-# The default value is: NO.
+EXCLUDE_SYMLINKS = NO
+EXCLUDE_PATTERNS =
+EXCLUDE_SYMBOLS = \
+ QP_IMPL
-EXCLUDE_SYMLINKS = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories.
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories for example use the pattern */test/*
-
-EXCLUDE_PATTERNS =
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the
-# wildcard * is used, a substring. Examples: ANamespace, AClass,
-# AClass::ANamespace, ANamespace::*Test
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories use the pattern */test/*
-
-EXCLUDE_SYMBOLS = QP_IMPL
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or directories
-# that contain example code fragments that are included (see the \include
-# command).
-
-EXAMPLE_PATH = \
+EXAMPLE_PATH = \
snippets \
../include \
../source \
../ports \
../examples
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank all
-# files are included.
-
EXAMPLE_PATTERNS =
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-# searched for input files to be used with the \include or \dontinclude commands
-# irrespective of the value of the RECURSIVE tag.
-# The default value is: NO.
-
EXAMPLE_RECURSIVE = NO
-
-# The IMAGE_PATH tag can be used to specify one or more files or directories
-# that contain images that are to be included in the documentation (see the
-# \image command).
-
IMAGE_PATH = images
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should
-# invoke to filter for each input file. Doxygen will invoke the filter program
-# by executing (via popen()) the command:
-#
-#
-#
-# where is the value of the INPUT_FILTER tag, and is the
-# name of an input file. Doxygen will then use the output that the filter
-# program writes to standard output. If FILTER_PATTERNS is specified, this tag
-# will be ignored.
-#
-# Note that the filter must not add or remove lines; it is applied before the
-# code is scanned, but not when the output code is generated. If lines are added
-# or removed, the anchors will not be placed correctly.
-
INPUT_FILTER =
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-# basis. Doxygen will compare the file name with each pattern and apply the
-# filter if there is a match. The filters are a list of the form: pattern=filter
-# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-# patterns match the file name, INPUT_FILTER is applied.
-
FILTER_PATTERNS =
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-# INPUT_FILTER) will also be used to filter the input files that are used for
-# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-# The default value is: NO.
-
FILTER_SOURCE_FILES = NO
-
-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-# it is also possible to disable source filtering for a specific pattern using
-# *.ext= (so without naming a filter).
-# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-
FILTER_SOURCE_PATTERNS =
-
-# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-# is part of the input, its contents will be placed on the main page
-# (index.html). This can be useful if you have a project on for instance GitHub
-# and want to reuse the introduction page also for the doxygen output.
-
USE_MDFILE_AS_MAINPAGE =
-
#---------------------------------------------------------------------------
# Configuration options related to source browsing
#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-# generated. Documented entities will be cross-referenced with these sources.
-#
-# Note: To get rid of all source code in the generated output, make sure that
-# also VERBATIM_HEADERS is set to NO.
-# The default value is: NO.
-
SOURCE_BROWSER = YES
-
-# Setting the INLINE_SOURCES tag to YES will include the body of functions,
-# classes and enums directly into the documentation.
-# The default value is: NO.
-
INLINE_SOURCES = NO
-
-# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-# special comment blocks from generated source code fragments. Normal C, C++ and
-# Fortran comments will always remain visible.
-# The default value is: YES.
-
STRIP_CODE_COMMENTS = YES
-
-# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-# function all documented functions referencing it will be listed.
-# The default value is: NO.
-
REFERENCED_BY_RELATION = NO
-
-# If the REFERENCES_RELATION tag is set to YES then for each documented function
-# all documented entities called/used by that function will be listed.
-# The default value is: NO.
-
REFERENCES_RELATION = NO
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-# to YES then the hyperlinks from functions in REFERENCES_RELATION and
-# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-# link to the documentation.
-# The default value is: YES.
-
REFERENCES_LINK_SOURCE = YES
-
-# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-# source code will show a tooltip with additional information such as prototype,
-# brief description and links to the definition and documentation. Since this
-# will make the HTML file larger and loading of large files a bit slower, you
-# can opt to disable this feature.
-# The default value is: YES.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
SOURCE_TOOLTIPS = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code will
-# point to the HTML generated by the htags(1) tool instead of doxygen built-in
-# source browser. The htags tool is part of GNU's global source tagging system
-# (see http://www.gnu.org/software/global/global.html). You will need version
-# 4.8.6 or higher.
-#
-# To use it do the following:
-# - Install the latest version of global
-# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-# - Make sure the INPUT points to the root of the source tree
-# - Run doxygen as normal
-#
-# Doxygen will invoke htags (and that will in turn invoke gtags), so these
-# tools must be available from the command line (i.e. in the search path).
-#
-# The result: instead of the source browser generated by doxygen, the links to
-# source code will now point to the output of htags.
-# The default value is: NO.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
USE_HTAGS = NO
-
-# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-# verbatim copy of the header file for each class for which an include is
-# specified. Set to NO to disable this.
-# See also: Section \class.
-# The default value is: YES.
-
VERBATIM_HEADERS = YES
-
-# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
-# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
-# cost of reduced performance. This can be particularly helpful with template
-# rich C++ code for which doxygen's built-in parser lacks the necessary type
-# information.
-# Note: The availability of this option depends on whether or not doxygen was
-# compiled with the --with-libclang option.
-# The default value is: NO.
-
-CLANG_ASSISTED_PARSING = NO
-
-# If clang assisted parsing is enabled you can provide the compiler with command
-# line options that you would normally use when invoking the compiler. Note that
-# the include paths will already be set by doxygen for the files and directories
-# specified with INPUT and INCLUDE_PATH.
-# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
-
-CLANG_OPTIONS =
-
#---------------------------------------------------------------------------
# Configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-# compounds will be generated. Enable this if the project contains a lot of
-# classes, structs, unions or interfaces.
-# The default value is: YES.
-
ALPHABETICAL_INDEX = YES
-
-# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-# which the alphabetical index list will be split.
-# Minimum value: 1, maximum value: 20, default value: 5.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
COLS_IN_ALPHA_INDEX = 5
-
-# In case all classes in a project start with a common prefix, all classes will
-# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-# can be used to specify a prefix (or a list of prefixes) that should be ignored
-# while generating the index headers.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
IGNORE_PREFIX =
-
#---------------------------------------------------------------------------
# Configuration options related to the HTML output
#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
-# The default value is: YES.
-
GENERATE_HTML = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_OUTPUT = tmp
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-# generated HTML page (for example: .htm, .php, .asp).
-# The default value is: .html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_FILE_EXTENSION = .html
-
-# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-# each generated HTML page. If the tag is left blank doxygen will generate a
-# standard header.
-#
-# To get valid HTML the header file that includes any scripts and style sheets
-# that doxygen needs, which is dependent on the configuration options used (e.g.
-# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-# default header using
-# doxygen -w html new_header.html new_footer.html new_stylesheet.css
-# YourConfigFile
-# and then modify the file new_header.html. See also section "Doxygen usage"
-# for information on how to generate the default header that doxygen normally
-# uses.
-# Note: The header is subject to change so you typically have to regenerate the
-# default header when upgrading to a newer version of doxygen. For a description
-# of the possible markers and block names see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_HEADER = header.html
-
-# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-# generated HTML page. If the tag is left blank doxygen will generate a standard
-# footer. See HTML_HEADER for more information on how to generate a default
-# footer and what special commands can be used inside the footer. See also
-# section "Doxygen usage" for information on how to generate the default footer
-# that doxygen normally uses.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_FOOTER = footer.html
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-# sheet that is used by each HTML page. It can be used to fine-tune the look of
-# the HTML output. If left blank doxygen will generate a default style sheet.
-# See also section "Doxygen usage" for information on how to generate the style
-# sheet that doxygen normally uses.
-# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-# it is more robust and this tag (HTML_STYLESHEET) will in the future become
-# obsolete.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_STYLESHEET =
-
-# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-# cascading style sheets that are included after the standard style sheets
-# created by doxygen. Using this option one can overrule certain style aspects.
-# This is preferred over using HTML_STYLESHEET since it does not replace the
-# standard style sheet and is therefore more robust against future updates.
-# Doxygen will copy the style sheet files to the output directory.
-# Note: The order of the extra style sheet files is of importance (e.g. the last
-# style sheet in the list overrules the setting of the previous ones in the
-# list). For an example see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_EXTRA_STYLESHEET = ql.css
-
-# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the HTML output directory. Note
-# that these files will be copied to the base HTML output directory. Use the
-# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-# files will be copied as-is; there are no commands or markers available.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_EXTRA_FILES =
-
-# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-# will adjust the colors in the style sheet and background images according to
-# this color. Hue is specified as an angle on a colorwheel, see
-# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-# purple, and 360 is red again.
-# Minimum value: 0, maximum value: 359, default value: 220.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_HUE = 220
-
-# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-# in the HTML output. For a value of 0 the output will use grayscales only. A
-# value of 255 will produce the most vivid colors.
-# Minimum value: 0, maximum value: 255, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_SAT = 100
-
-# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-# luminance component of the colors in the HTML output. Values below 100
-# gradually make the output lighter, whereas values above 100 make the output
-# darker. The value divided by 100 is the actual gamma applied, so 80 represents
-# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-# change the gamma.
-# Minimum value: 40, maximum value: 240, default value: 80.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_COLORSTYLE_GAMMA = 80
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-# page will contain the date and time when the page was generated. Setting this
-# to NO can help when comparing the output of multiple runs.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_TIMESTAMP = NO
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-# documentation will contain sections that can be hidden and shown after the
-# page has loaded.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_DYNAMIC_SECTIONS = NO
-
-# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-# shown in the various tree structured indices initially; the user can expand
-# and collapse entries dynamically later on. Doxygen will expand the tree to
-# such a level that at most the specified number of entries are visible (unless
-# a fully collapsed tree already exceeds this amount). So setting the number of
-# entries 1 will produce a full collapsed tree by default. 0 is a special value
-# representing an infinite number of entries and will result in a full expanded
-# tree by default.
-# Minimum value: 0, maximum value: 9999, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
HTML_INDEX_NUM_ENTRIES = 100
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files will be
-# generated that can be used as input for Apple's Xcode 3 integrated development
-# environment (see: http://developer.apple.com/tools/xcode/), introduced with
-# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-# Makefile in the HTML output directory. Running make will produce the docset in
-# that directory and running make install will install the docset in
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-# for more information.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_DOCSET = NO
-
-# This tag determines the name of the docset feed. A documentation feed provides
-# an umbrella under which multiple documentation sets from a single provider
-# (such as a company or product suite) can be grouped.
-# The default value is: Doxygen generated docs.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
DOCSET_FEEDNAME = "Doxygen generated docs"
-
-# This tag specifies a string that should uniquely identify the documentation
-# set bundle. This should be a reverse domain-name style string, e.g.
-# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_BUNDLE_ID = com.state-machine.qm
-
-# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-# the documentation publisher. This should be a reverse domain-name style
-# string, e.g. com.mycompany.MyDocSet.documentation.
-# The default value is: org.doxygen.Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-
-# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-# The default value is: Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_NAME = Publisher
-
-# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-# Windows.
-#
-# The HTML Help Workshop contains a compiler that can convert all HTML output
-# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-# files are now used as the Windows 98 help format, and will replace the old
-# Windows help format (.hlp) on all Windows platforms in the future. Compressed
-# HTML files also contain an index, a table of contents, and you can search for
-# words in the documentation. The HTML workshop also contains a viewer for
-# compressed HTML files.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
+DOCSET_BUNDLE_ID = com.state-machine.doc
+DOCSET_PUBLISHER_ID = com.state-machine.doc
+DOCSET_PUBLISHER_NAME = Quantum Leaps
GENERATE_HTMLHELP = YES
-
-# The CHM_FILE tag can be used to specify the file name of the resulting .chm
-# file. You can add a path in front of the file if the result should not be
-# written to the html output directory.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_FILE = ../../doc/qpc.chm
-
-# The HHC_LOCATION tag can be used to specify the location (absolute path
-# including file name) of the HTML help compiler (hhc.exe). If non-empty,
-# doxygen will try to run the HTML help compiler on the generated index.hhp.
-# The file has to be specified with full path.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
+CHM_FILE = ../../../html/qpc.chm
HHC_LOCATION =
-
-# The GENERATE_CHI flag controls if a separate .chi index file is generated
-# (YES) or that it should be included in the master .chm file (NO).
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
GENERATE_CHI = NO
-
-# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
-# and project file content.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
CHM_INDEX_ENCODING =
-
-# The BINARY_TOC flag controls whether a binary table of contents is generated
-# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
-# enables the Previous and Next buttons.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
BINARY_TOC = NO
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members to
-# the table of contents of the HTML help documentation and to the tree view.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
TOC_EXPAND = NO
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-# (.qch) of the generated HTML documentation.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_QHP = NO
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-# the file name of the resulting .qch file. The path specified is relative to
-# the HTML output folder.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QCH_FILE =
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-# Project output. For more information please see Qt Help Project / Namespace
-# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_NAMESPACE = com.state-machine.qp
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-# Help Project output. For more information please see Qt Help Project / Virtual
-# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-# folders).
-# The default value is: doc.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_VIRTUAL_FOLDER = doc
-
-# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-# filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_CUST_FILTER_NAME =
-
-# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-# custom filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_CUST_FILTER_ATTRS =
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-# project's filter section matches. Qt Help Project / Filter Attributes (see:
-# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHP_SECT_FILTER_ATTRS =
-
-# The QHG_LOCATION tag can be used to specify the location of Qt's
-# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-# generated .qhp file.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
QHG_LOCATION =
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-# generated, together with the HTML files, they form an Eclipse help plugin. To
-# install this plugin and make it available under the help contents menu in
-# Eclipse, the contents of the directory containing the HTML and XML files needs
-# to be copied into the plugins directory of eclipse. The name of the directory
-# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-# After copying Eclipse needs to be restarted before the help appears.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_ECLIPSEHELP = NO
-
-# A unique identifier for the Eclipse help plugin. When installing the plugin
-# the directory name containing the HTML and XML files should also have this
-# name. Each documentation set should have its own identifier.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-
ECLIPSE_DOC_ID = com.state-machine.qp
-
-# If you want full control over the layout of the generated HTML pages it might
-# be necessary to disable the index and replace it with your own. The
-# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-# of each HTML page. A value of NO enables the index and the value YES disables
-# it. Since the tabs in the index contain the same information as the navigation
-# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
DISABLE_INDEX = YES
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-# structure should be generated to display hierarchical information. If the tag
-# value is set to YES, a side panel will be generated containing a tree-like
-# index structure (just like the one that is generated for HTML Help). For this
-# to work a browser that supports JavaScript, DHTML, CSS and frames is required
-# (i.e. any modern browser). Windows users are probably better off using the
-# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
-# further fine-tune the look of the index. As an example, the default style
-# sheet generated by doxygen has an example that shows how to put an image at
-# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-# the same information as the tab index, you could consider setting
-# DISABLE_INDEX to YES when enabling this option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
GENERATE_TREEVIEW = YES
-
-# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-# doxygen will group on one line in the generated HTML documentation.
-#
-# Note that a value of 0 will completely suppress the enum values from appearing
-# in the overview section.
-# Minimum value: 0, maximum value: 20, default value: 4.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
ENUM_VALUES_PER_LINE = 4
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-# to set the initial width (in pixels) of the frame in which the tree is shown.
-# Minimum value: 0, maximum value: 1500, default value: 250.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
TREEVIEW_WIDTH = 180
-
-# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
-# external symbols imported via tag files in a separate window.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
EXT_LINKS_IN_WINDOW = NO
-
-# Use this tag to change the font size of LaTeX formulas included as images in
-# the HTML documentation. When you change the font size after a successful
-# doxygen run you need to manually remove any form_*.png images from the HTML
-# output directory to force them to be regenerated.
-# Minimum value: 8, maximum value: 50, default value: 10.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
FORMULA_FONTSIZE = 10
-
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-# generated for formulas are transparent PNGs. Transparent PNGs are not
-# supported properly for IE 6.0, but are supported on all modern browsers.
-#
-# Note that when changing this option you need to delete any form_*.png files in
-# the HTML output directory before the changes have effect.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
FORMULA_TRANSPARENT = YES
-
-# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-# http://www.mathjax.org) which uses client side Javascript for the rendering
-# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
-# installed or if you want to formulas look prettier in the HTML output. When
-# enabled you may also need to install MathJax separately and configure the path
-# to it using the MATHJAX_RELPATH option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
USE_MATHJAX = NO
-
-# When MathJax is enabled you can set the default output format to be used for
-# the MathJax output. See the MathJax site (see:
-# http://docs.mathjax.org/en/latest/output.html) for more details.
-# Possible values are: HTML-CSS (which is slower, but has the best
-# compatibility), NativeMML (i.e. MathML) and SVG.
-# The default value is: HTML-CSS.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_FORMAT = HTML-CSS
-
-# When MathJax is enabled you need to specify the location relative to the HTML
-# output directory using the MATHJAX_RELPATH option. The destination directory
-# should contain the MathJax.js script. For instance, if the mathjax directory
-# is located at the same level as the HTML output directory, then
-# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-# Content Delivery Network so you can quickly see the result without installing
-# MathJax. However, it is strongly recommended to install a local copy of
-# MathJax from http://www.mathjax.org before deployment.
-# The default value is: http://cdn.mathjax.org/mathjax/latest.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
-
-# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-# extension names that should be enabled during MathJax rendering. For example
-# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_EXTENSIONS =
-
-# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-# of code that will be used on startup of the MathJax code. See the MathJax site
-# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-# example see the documentation.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
MATHJAX_CODEFILE =
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-# the HTML output. The underlying search engine uses javascript and DHTML and
-# should work on any modern browser. Note that when using HTML help
-# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-# there is already a search function so this one should typically be disabled.
-# For large projects the javascript based search engine can be slow, then
-# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-# search using the keyboard; to jump to the search box use + S
-# (what the is depends on the OS and browser, but it is typically
-# , /, or both). Inside the search box use the to jump into the search results window, the results can be navigated
-# using the . Press to select an item or to cancel
-# the search. The filter options can be selected when the cursor is inside the
-# search box by pressing +. Also here use the
-# to select a filter and or to activate or cancel the filter
-# option.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
SEARCHENGINE = YES
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-# implemented using a web server instead of a web client using Javascript. There
-# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
-# setting. When disabled, doxygen will generate a PHP script for searching and
-# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
-# and searching needs to be provided by external tools. See the section
-# "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SERVER_BASED_SEARCH = NO
-
-# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-# script for searching. Instead the search results are written to an XML file
-# which needs to be processed by an external indexer. Doxygen will invoke an
-# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-# search results.
-#
-# Doxygen ships with an example indexer (doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/).
-#
-# See the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTERNAL_SEARCH = NO
-
-# The SEARCHENGINE_URL should point to a search engine hosted by a web server
-# which will return the search results when EXTERNAL_SEARCH is enabled.
-#
-# Doxygen ships with an example indexer (doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/). See the section "External Indexing and
-# Searching" for details.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SEARCHENGINE_URL =
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-# search data is written to a file for indexing by an external tool. With the
-# SEARCHDATA_FILE tag the name of this file can be specified.
-# The default file is: searchdata.xml.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
SEARCHDATA_FILE = searchdata.xml
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-# projects and redirect the results back to the right project.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTERNAL_SEARCH_ID =
-
-# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-# projects other than the one defined by this configuration file, but that are
-# all added to the same external search index. Each project needs to have a
-# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-# to a relative location where the documentation can be found. The format is:
-# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
EXTRA_SEARCH_MAPPINGS =
-
#---------------------------------------------------------------------------
# Configuration options related to the LaTeX output
#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
-# The default value is: YES.
-
GENERATE_LATEX = NO
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_OUTPUT = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-# invoked.
-#
-# Note that when enabling USE_PDFLATEX this option is only used for generating
-# bitmaps for formulas in the HTML output, but not in the Makefile that is
-# written to the output directory.
-# The default file is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_CMD_NAME = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-# index for LaTeX.
-# The default file is: makeindex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
MAKEINDEX_CMD_NAME = makeindex
-
-# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
COMPACT_LATEX = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used by the
-# printer.
-# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-# 14 inches) and executive (7.25 x 10.5 inches).
-# The default value is: a4.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
PAPER_TYPE = letter
-
-# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-# that should be included in the LaTeX output. To get the times font for
-# instance you can specify
-# EXTRA_PACKAGES=times
-# If left blank no extra packages will be included.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
EXTRA_PACKAGES =
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-# generated LaTeX document. The header should contain everything until the first
-# chapter. If it is left blank doxygen will generate a standard header. See
-# section "Doxygen usage" for information on how to let doxygen write the
-# default header to a separate file.
-#
-# Note: Only use a user-defined header if you know what you are doing! The
-# following commands have a special meaning inside the header: $title,
-# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
-# $projectbrief, $projectlogo. Doxygen will replace $title with the empty
-# string, for the replacement values of the other commands the user is referred
-# to HTML_HEADER.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_HEADER =
-
-# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-# generated LaTeX document. The footer should contain everything after the last
-# chapter. If it is left blank doxygen will generate a standard footer. See
-# LATEX_HEADER for more information on how to generate a default footer and what
-# special commands can be used inside the footer.
-#
-# Note: Only use a user-defined footer if you know what you are doing!
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_FOOTER =
-
-# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-# LaTeX style sheets that are included after the standard style sheets created
-# by doxygen. Using this option one can overrule certain style aspects. Doxygen
-# will copy the style sheet files to the output directory.
-# Note: The order of the extra style sheet files is of importance (e.g. the last
-# style sheet in the list overrules the setting of the previous ones in the
-# list).
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_EXTRA_STYLESHEET =
-
-# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the LATEX_OUTPUT output
-# directory. Note that the files will be copied as-is; there are no commands or
-# markers available.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_EXTRA_FILES =
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-# contain links (just like the HTML output) instead of page references. This
-# makes the output suitable for online browsing using a PDF viewer.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
PDF_HYPERLINKS = YES
-
-# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-# the PDF file directly from the LaTeX files. Set this option to YES, to get a
-# higher quality PDF documentation.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
USE_PDFLATEX = YES
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-# command to the generated LaTeX files. This will instruct LaTeX to keep running
-# if errors occur, instead of asking the user for help. This option is also used
-# when generating formulas in HTML.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_BATCHMODE = NO
-
-# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-# index chapters (such as File Index, Compound Index, etc.) in the output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_HIDE_INDICES = NO
-
-# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-# code with syntax highlighting in the LaTeX output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_SOURCE_CODE = NO
-
-# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-# bibliography, e.g. plainnat, or ieeetr. See
-# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-# The default value is: plain.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
LATEX_BIB_STYLE = plain
-
#---------------------------------------------------------------------------
# Configuration options related to the RTF output
#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
-# RTF output is optimized for Word 97 and may not look too pretty with other RTF
-# readers/editors.
-# The default value is: NO.
-
GENERATE_RTF = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: rtf.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_OUTPUT = rtf
-
-# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
COMPACT_RTF = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-# contain hyperlink fields. The RTF file will contain links (just like the HTML
-# output) instead of page references. This makes the output suitable for online
-# browsing using Word or some other Word compatible readers that support those
-# fields.
-#
-# Note: WordPad (write) and others do not support links.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_HYPERLINKS = NO
-
-# Load stylesheet definitions from file. Syntax is similar to doxygen's config
-# file, i.e. a series of assignments. You only have to provide replacements,
-# missing definitions are set to their default value.
-#
-# See also section "Doxygen usage" for information on how to generate the
-# default style sheet that doxygen normally uses.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_STYLESHEET_FILE =
-
-# Set optional variables used in the generation of an RTF document. Syntax is
-# similar to doxygen's config file. A template extensions file can be generated
-# using doxygen -e rtf extensionFile.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_EXTENSIONS_FILE =
-
-# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
-# with syntax highlighting in the RTF output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
RTF_SOURCE_CODE = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the man page output
#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
-# classes and files.
-# The default value is: NO.
-
GENERATE_MAN = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it. A directory man3 will be created inside the directory specified by
-# MAN_OUTPUT.
-# The default directory is: man.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_OUTPUT = man
-
-# The MAN_EXTENSION tag determines the extension that is added to the generated
-# man pages. In case the manual section does not start with a number, the number
-# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-# optional.
-# The default value is: .3.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_EXTENSION = .3
-
-# The MAN_SUBDIR tag determines the name of the directory created within
-# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
-# MAN_EXTENSION with the initial . removed.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_SUBDIR =
-
-# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-# will generate one additional man file for each entity documented in the real
-# man page(s). These additional files only source the real man page, but without
-# them the man command would be unable to find the correct page.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
MAN_LINKS = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the XML output
#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
-# captures the structure of the code including all documentation.
-# The default value is: NO.
-
GENERATE_XML = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: xml.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
XML_OUTPUT = xml
-
-# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
-# listings (including syntax highlighting and cross-referencing information) to
-# the XML output. Note that enabling this will significantly increase the size
-# of the XML output.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
XML_PROGRAMLISTING = YES
-
#---------------------------------------------------------------------------
# Configuration options related to the DOCBOOK output
#---------------------------------------------------------------------------
-
-# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
-# that can be used to generate PDF.
-# The default value is: NO.
-
GENERATE_DOCBOOK = NO
-
-# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-# front of it.
-# The default directory is: docbook.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
DOCBOOK_OUTPUT = docbook
-
-# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
-# program listings (including syntax highlighting and cross-referencing
-# information) to the DOCBOOK output. Note that enabling this will significantly
-# increase the size of the DOCBOOK output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
DOCBOOK_PROGRAMLISTING = NO
-
#---------------------------------------------------------------------------
# Configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
-# AutoGen Definitions (see http://autogen.sf.net) file that captures the
-# structure of the code including all documentation. Note that this feature is
-# still experimental and incomplete at the moment.
-# The default value is: NO.
-
GENERATE_AUTOGEN_DEF = NO
-
#---------------------------------------------------------------------------
# Configuration options related to the Perl module output
#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
-# file that captures the structure of the code including all documentation.
-#
-# Note that this feature is still experimental and incomplete at the moment.
-# The default value is: NO.
-
GENERATE_PERLMOD = NO
-
-# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
-# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-# output from the Perl module output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_LATEX = NO
-
-# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
-# formatted so it can be parsed by a human reader. This is useful if you want to
-# understand what is going on. On the other hand, if this tag is set to NO, the
-# size of the Perl module output will be much smaller and Perl will parse it
-# just the same.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_PRETTY = YES
-
-# The names of the make variables in the generated doxyrules.make file are
-# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-# so different doxyrules.make files included by the same Makefile don't
-# overwrite each other's variables.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
PERLMOD_MAKEVAR_PREFIX =
-
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
-# C-preprocessor directives found in the sources and include files.
-# The default value is: YES.
-
ENABLE_PREPROCESSING = YES
-
-# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
-# in the source code. If set to NO, only conditional compilation will be
-# performed. Macro expansion can be done in a controlled way by setting
-# EXPAND_ONLY_PREDEF to YES.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
MACRO_EXPANSION = NO
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-# the macro expansion is limited to the macros specified with the PREDEFINED and
-# EXPAND_AS_DEFINED tags.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
EXPAND_ONLY_PREDEF = NO
-
-# If the SEARCH_INCLUDES tag is set to YES, the include files in the
-# INCLUDE_PATH will be searched if a #include is found.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
SEARCH_INCLUDES = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that
-# contain include files that are not input files but should be processed by the
-# preprocessor.
-# This tag requires that the tag SEARCH_INCLUDES is set to YES.
-
INCLUDE_PATH =
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-# patterns (like *.h and *.hpp) to filter out the header-files in the
-# directories. If left blank, the patterns specified with FILE_PATTERNS will be
-# used.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
INCLUDE_FILE_PATTERNS =
-
-# The PREDEFINED tag can be used to specify one or more macro names that are
-# defined before the preprocessor is started (similar to the -D option of e.g.
-# gcc). The argument of the tag is a list of macros of the form: name or
-# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-# is assumed. To prevent a macro definition from being undefined via #undef or
-# recursively expanded use the := operator instead of the = operator.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
PREDEFINED = Q_SPY
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-# tag can be used to specify a list of macro names that should be expanded. The
-# macro definition that is found in the sources will be used. Use the PREDEFINED
-# tag if you want to use a different macro definition that overrules the
-# definition found in the source code.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
EXPAND_AS_DEFINED =
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-# remove all references to function-like macros that are alone on a line, have
-# an all uppercase name, and do not end with a semicolon. Such function macros
-# are typically used for boiler-plate code, and will confuse the parser if not
-# removed.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
SKIP_FUNCTION_MACROS = YES
-
#---------------------------------------------------------------------------
# Configuration options related to external references
#---------------------------------------------------------------------------
-
-# The TAGFILES tag can be used to specify one or more tag files. For each tag
-# file the location of the external documentation should be added. The format of
-# a tag file without this location is as follows:
-# TAGFILES = file1 file2 ...
-# Adding location for the tag files is done as follows:
-# TAGFILES = file1=loc1 "file2 = loc2" ...
-# where loc1 and loc2 can be relative or absolute paths or URLs. See the
-# section "Linking to external documentation" for more information about the use
-# of tag files.
-# Note: Each tag file must have a unique name (where the name does NOT include
-# the path). If a tag file is not located in the directory in which doxygen is
-# run, you must also specify the path to the tagfile here.
-
TAGFILES =
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-# tag file that is based on the input files it reads. See section "Linking to
-# external documentation" for more information about the usage of tag files.
-
GENERATE_TAGFILE =
-
-# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
-# the class index. If set to NO, only the inherited external classes will be
-# listed.
-# The default value is: NO.
-
ALLEXTERNALS = NO
-
-# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
-# in the modules index. If set to NO, only the current project's groups will be
-# listed.
-# The default value is: YES.
-
EXTERNAL_GROUPS = YES
-
-# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
-# the related pages index. If set to NO, only the current project's pages will
-# be listed.
-# The default value is: YES.
-
EXTERNAL_PAGES = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script
-# interpreter (i.e. the result of 'which perl').
-# The default file (with absolute path) is: /usr/bin/perl.
-
PERL_PATH = /usr/bin/perl
-
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
-# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-# NO turns the diagrams off. Note that this option also works with HAVE_DOT
-# disabled, but it is recommended to install and use dot, since it yields more
-# powerful graphs.
-# The default value is: YES.
-
CLASS_DIAGRAMS = YES
-
-# You can define message sequence charts within doxygen comments using the \msc
-# command. Doxygen will then run the mscgen tool (see:
-# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-# the mscgen tool resides. If left empty the tool is assumed to be found in the
-# default search path.
-
MSCGEN_PATH =
-
-# You can include diagrams made with dia in doxygen documentation. Doxygen will
-# then run dia to produce the diagram and insert it in the documentation. The
-# DIA_PATH tag allows you to specify the directory where the dia binary resides.
-# If left empty dia is assumed to be found in the default search path.
-
DIA_PATH =
-
-# If set to YES the inheritance and collaboration graphs will hide inheritance
-# and usage relations if the target is undocumented or is not a class.
-# The default value is: YES.
-
HIDE_UNDOC_RELATIONS = YES
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-# available from the path. This tool is part of Graphviz (see:
-# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-# Bell Labs. The other options in this section have no effect if this option is
-# set to NO
-# The default value is: NO.
-
HAVE_DOT = NO
-
-# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-# to run in parallel. When set to 0 doxygen will base this on the number of
-# processors available in the system. You can set it explicitly to a value
-# larger than 0 to get control over the balance between CPU load and processing
-# speed.
-# Minimum value: 0, maximum value: 32, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_NUM_THREADS = 0
-
-# When you want a differently looking font in the dot files that doxygen
-# generates you can specify the font name using DOT_FONTNAME. You need to make
-# sure dot is able to find the font, which can be done by putting it in a
-# standard location or by setting the DOTFONTPATH environment variable or by
-# setting DOT_FONTPATH to the directory containing the font.
-# The default value is: Helvetica.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTNAME = Helvetica
-
-# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-# dot graphs.
-# Minimum value: 4, maximum value: 24, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTSIZE = 10
-
-# By default doxygen will tell dot to use the default font as specified with
-# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-# the path where dot can find it using this tag.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_FONTPATH =
-
-# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-# each documented class showing the direct and indirect inheritance relations.
-# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CLASS_GRAPH = YES
-
-# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-# graph for each documented class showing the direct and indirect implementation
-# dependencies (inheritance, containment, and class references variables) of the
-# class with other documented classes.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
COLLABORATION_GRAPH = YES
-
-# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-# groups, showing the direct groups dependencies.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GROUP_GRAPHS = YES
-
-# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
-# collaboration diagrams in a style similar to the OMG's Unified Modeling
-# Language.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
UML_LOOK = YES
-
-# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-# class node. If there are many fields or methods and many nodes the graph may
-# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-# number of items for each type to make the size more manageable. Set this to 0
-# for no limit. Note that the threshold may be exceeded by 50% before the limit
-# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-# but if the number exceeds 15, the total amount of fields shown is limited to
-# 10.
-# Minimum value: 0, maximum value: 100, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
UML_LIMIT_NUM_FIELDS = 10
-
-# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-# collaboration graphs will show the relations between templates and their
-# instances.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
TEMPLATE_RELATIONS = NO
-
-# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-# YES then doxygen will generate a graph for each documented file showing the
-# direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INCLUDE_GRAPH = YES
-
-# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-# set to YES then doxygen will generate a graph for each documented file showing
-# the direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INCLUDED_BY_GRAPH = YES
-
-# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable call graphs for selected
-# functions only using the \callgraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CALL_GRAPH = NO
-
-# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable caller graphs for selected
-# functions only using the \callergraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
CALLER_GRAPH = NO
-
-# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-# hierarchy of all classes instead of a textual one.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GRAPHICAL_HIERARCHY = YES
-
-# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-# dependencies a directory has on other directories in a graphical way. The
-# dependency relations are determined by the #include relations between the
-# files in the directories.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DIRECTORY_GRAPH = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-# generated by dot.
-# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-# to make the SVG files visible in IE 9+ (other browsers do not have this
-# requirement).
-# Possible values are: png, jpg, gif and svg.
-# The default value is: png.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_IMAGE_FORMAT = png
-
-# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-# enable generation of interactive SVG images that allow zooming and panning.
-#
-# Note that this requires a modern browser other than Internet Explorer. Tested
-# and working are Firefox, Chrome, Safari, and Opera.
-# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-# the SVG files visible. Older versions of IE do not have SVG support.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
INTERACTIVE_SVG = NO
-
-# The DOT_PATH tag can be used to specify the path where the dot tool can be
-# found. If left blank, it is assumed the dot tool can be found in the path.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_PATH =
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that
-# contain dot files that are included in the documentation (see the \dotfile
-# command).
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOTFILE_DIRS =
-
-# The MSCFILE_DIRS tag can be used to specify one or more directories that
-# contain msc files that are included in the documentation (see the \mscfile
-# command).
-
MSCFILE_DIRS =
-
-# The DIAFILE_DIRS tag can be used to specify one or more directories that
-# contain dia files that are included in the documentation (see the \diafile
-# command).
-
DIAFILE_DIRS =
-
-# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
-# path where java can find the plantuml.jar file. If left blank, it is assumed
-# PlantUML is not used or called during a preprocessing step. Doxygen will
-# generate a warning when it encounters a \startuml command in this case and
-# will not generate output for the diagram.
-
PLANTUML_JAR_PATH =
-
-# When using plantuml, the specified paths are searched for files specified by
-# the !include statement in a plantuml block.
-
PLANTUML_INCLUDE_PATH =
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-# that will be shown in the graph. If the number of nodes in a graph becomes
-# larger than this value, doxygen will truncate the graph, which is visualized
-# by representing a node as a red box. Note that doxygen if the number of direct
-# children of the root node in a graph is already larger than
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-# Minimum value: 0, maximum value: 10000, default value: 50.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_GRAPH_MAX_NODES = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-# generated by dot. A depth value of 3 means that only nodes reachable from the
-# root by following a path via at most 3 edges will be shown. Nodes that lay
-# further from the root node will be omitted. Note that setting this option to 1
-# or 2 may greatly reduce the computation time needed for large code bases. Also
-# note that the size of a graph can be further restricted by
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-# Minimum value: 0, maximum value: 1000, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
MAX_DOT_GRAPH_DEPTH = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-# background. This is disabled by default, because dot on Windows does not seem
-# to support this out of the box.
-#
-# Warning: Depending on the platform used, enabling this option may lead to
-# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-# read).
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_TRANSPARENT = NO
-
-# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
-# files in one run (i.e. multiple -o and -T options on the command line). This
-# makes dot run faster, but since only newer versions of dot (>1.8.10) support
-# this, this feature is disabled by default.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_MULTI_TARGETS = NO
-
-# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-# explaining the meaning of the various boxes and arrows in the dot generated
-# graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
GENERATE_LEGEND = YES
-
-# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
-# files that are used to generate the various graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
DOT_CLEANUP = YES
diff --git a/doxygen/about.dox b/doxygen/about.cc
similarity index 91%
rename from doxygen/about.dox
rename to doxygen/about.cc
index c29fa1cd..8333b48b 100644
--- a/doxygen/about.dox
+++ b/doxygen/about.cc
@@ -44,7 +44,14 @@ If you are developing and distributing traditional closed source applications, y
@section getting_started Getting Started with QP/C
The Quantum Leaps Application Note Getting Started with QP/C provides step-by-step instructions on how to get started with QP/C quickly.
-@image html AN_Getting_Started_with_QPC.jpg
+@htmlonly
+
+
+
+Application Note: Getting Started with QP/C
+
+
+@endhtmlonly
The standard QP/C distribution contains also many @ref exa "Example Projects", which are specifically designed to help you learn to use QP/C and to serve you as starting points for your own projects.
@@ -85,7 +92,14 @@ The following annotated directory tree lists the top-level directories provided
@section coding Coding Standard
The QP/C framework has been developed in strict adherence to the documented Quantum Leaps Coding Standard .
-@image html AN_Coding_Standard.jpg "Quantum Leaps C/C++ Coding Standard"
+@htmlonly
+
+
+
+Application Note: Quantum Leaps C/C++ Coding Standard
+
+
+@endhtmlonly
------------------------------------------------------------------------------
@@ -94,7 +108,14 @@ The QP/C framework has been developed in strict adherence to the documented The QP/C framework complies with most of the Motor Industry Software Reliability Association (MISRA) MISRA-C:2004 rules.
-@image html AN_MISRA-QPC.jpg "QP/C MISRA-C:2004 Compliance Matrix"
+@htmlonly
+
+
+
+Application Note: QP/C MISRA-C:2004 Compliance Matrix
+
+
+@endhtmlonly
All deviations are carefully limited into very specific contexts and are documented with the Application Note: QP/C MISRA-C:2004 Compliance Matrix .
diff --git a/doxygen/design.dox b/doxygen/design.cc
similarity index 96%
rename from doxygen/design.dox
rename to doxygen/design.cc
index 3a8e5637..44839b41 100644
--- a/doxygen/design.dox
+++ b/doxygen/design.cc
@@ -6,7 +6,14 @@
Even though QP/C is implemented in standard ANSI-C, it extensively uses object-oriented design principles such as **encapsulation** (classes), single **inheritance**, and, starting with QP5, **polymorphism** (late binding). At the C language level, these proven ways of software design become **design-patterns** and coding idioms.
-@image html AN_Simple_OOP_in_C.jpg
+@htmlonly
+
+
+
+Application Note: Getting Started with QP/C
+
+
+@endhtmlonly
The Quantum Leaps Application Note Simple Object-Oriented Programming in C describes how the OOP design patterns are implemented in QP/C and how you should code them in your own applications.
diff --git a/doxygen/exa.dox b/doxygen/exa.cc
similarity index 90%
rename from doxygen/exa.dox
rename to doxygen/exa.cc
index a507119a..7026d11d 100644
--- a/doxygen/exa.dox
+++ b/doxygen/exa.cc
@@ -216,6 +216,34 @@ The Third-Party software components included in the 3rd
sub-folders.
+------------------------------------------------------------------------------
+@section exa_own Creating your Own QP/C Projects
+
+Perhaps the most important fact of life to remember is that in embedded systems nothing works until everything works. This means that you should always start with a working system and gradually evolve it, changing one thing at a time and making sure that it keeps working every step of the way.
+
+Keeping this in mind, the provided QP/C application examples, such as the super-simple Blinky, or a bit more advanced @ref dpp or @ref game, allow you to get started with a working project rather than starting from scratch. You should also always try one of the provided example projects on the same evaluation board that it was designed for, before making any changes.
+
+Only after convincing yourself that the example project works "as is", you can think about creating your own projects. At this point, the easiest and recommended way is to copy the existing working example project folder (such as the Blinky example) and rename it.
+
+After copying the project folder, you still need to change the name of the project/workspace. The easiest and safest way to do this is to open the project/workspace in the corresponding IDE and use the Save As... option to save the project under a different name. You can do this also with the QM model file, which you can open in QM and "Save As" a different model.
+
+@note
+By copying and re-naming an existing, working project, as opposed to creating a new one from scratch, you inherit the correct compiler and linker options an other project settings, which will help you get started much faster.
+
+
+------------------------------------------------------------------------------
+@section exa_doc Next Steps and Further Reading About QP and QM
+
+To work with QP/C effectively, you need to learn a bit more about active objects and state machines. Below is a list of links to enable you to further your knowledge:
+
+1. The book “Practical UML Statecharts in C/C++, 2nd Edition” [PSiCC2] and the companion web-page to the book (http://www.state-machine.com/psicc2/
+2. Free Support Forum for QP/QM (https://sourceforge.net/p/qpc/discussion/668726 )
+3. QP Code Downloads summary (http://www.state-machine.com/downloads )
+4. QP Application Notes (http://www.state-machine.com/resources/appnotes.php )
+5. QP Articles (http://www.state-machine.com/resources/articles.php )
+6. QP/C Tutorial (http://www.state-machine.com/doxygen/qpc/tutorial.html)
+7. "State Space" Blog (http://embeddedgurus.com/state-space/ )
+
@next{exa_ref}
*/
diff --git a/doxygen/exa_apps.dox b/doxygen/exa_apps.cc
similarity index 68%
rename from doxygen/exa_apps.dox
rename to doxygen/exa_apps.cc
index 694c241c..28691a53 100644
--- a/doxygen/exa_apps.dox
+++ b/doxygen/exa_apps.cc
@@ -57,7 +57,31 @@ The very simple state machine of the Blinky AO is shown in the figure below:
-@image html under_construction.jpg
+------------------------------------------------------------------------------
+@section blinky_code State Machine Code
+The Blinky state machine shown above is implemented in the blinky.c source file, as shown in the
+listing below. The code has been specifically organized not to access target resources directly, but instead encapsulate all such access in the calls to the BSP (Board Support Package). So for example, instead of turning the LED on and off by writing to a specific GPIO register on an embedded board, the code calls the BSP functions `BSP_ledOn()` and `BSP_ledOff()`. These functions can then be defined differently for each Target board (or even a desktop workstation), without the need to change the state machine code.
+
+@note
+The Blinky source code (blinky.c) is actually the same on all platforms, including Windows
+and the embedded boards. The only difference is in the Board Support Package (bsp.c), which is
+specific for the target.
+
+@includelineno examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c
+
+As you can see, the structure of the state machine is very clearly recognizable in this code. Please refer to the Application Note A Crash Course in UML State Machines for exact explanation of the state machine coding techniques.
+
+
+@subsection blinky_ao Defining Active Object (AO) Class
+
+
+
+- hand-coding the simple state machine of the Blinky AO;
+- using a periodic time event;
+- initializing the QP framework; and
+- starting an AO.
+
+
@next{dpp}
*/
diff --git a/doxygen/exa_mware.dox b/doxygen/exa_mware.cc
similarity index 100%
rename from doxygen/exa_mware.dox
rename to doxygen/exa_mware.cc
diff --git a/doxygen/exa_native.dox b/doxygen/exa_native.cc
similarity index 100%
rename from doxygen/exa_native.dox
rename to doxygen/exa_native.cc
diff --git a/doxygen/exa_os.dox b/doxygen/exa_os.cc
similarity index 92%
rename from doxygen/exa_os.dox
rename to doxygen/exa_os.cc
index 8fab2343..5fe92a09 100644
--- a/doxygen/exa_os.dox
+++ b/doxygen/exa_os.cc
@@ -26,8 +26,8 @@
- dpp DPP (command-line)
- dpp-gui DPP (with GUI on Windows)
- game-gui "Fly 'n' Shoot" game from Chapter 1 of PSiCC2
-- history Transition-to-History design pattern (hand-coded)
-- history_qm Transition-to-History with QM model
+- history_qhsm Transition-to-History (with ::QHsm class)
+- history_qmsm Transition-to-History (with ::QMsm class)
- qmsmtst Test State Machine based on ::QMsm with QM model
- qhsmtst Test State Machine based on ::QHsm with QM model
- reminder Reminder design pattern from Chapter 5 of PSiCC2
diff --git a/doxygen/exa_rtos.dox b/doxygen/exa_rtos.cc
similarity index 100%
rename from doxygen/exa_rtos.dox
rename to doxygen/exa_rtos.cc
diff --git a/doxygen/history.dox b/doxygen/history.cc
similarity index 95%
rename from doxygen/history.dox
rename to doxygen/history.cc
index 026c1681..9a64c51d 100644
--- a/doxygen/history.dox
+++ b/doxygen/history.cc
@@ -1,6 +1,75 @@
/**
@page history Revision History
+
+@section qpc_5_5_0 Version 5.5.0, 2015-09-04
+The main purpose of this release is the extension of the QS software
+tracing system to bi-directional communication with embedded Targets.
+Specifically, the QS-RX (receive channel for QS) has been added with the
+following capabilities:
+
+1. Set global QS filters inside the Target
+
+2. Set local QS filters inside the Target
+
+3. Inject an arbitrary event to the Target (direct post or publish)
+
+4. Execute a user-defined callback function inside the Target with arguments supplied from QSPY
+
+5. Peek data inside the Target and send to QSPY
+
+6. Poke data (supplied from QSPY) into the Target
+
+7. Execute clock tick inside the Target
+
+8. Request target information (version, all sizes of objects, build time-stamp)
+
+9. Remotely reset of the Target
+
+
+This QP/C version complements the recent release of Qtools 5.5.0, where the QSPY host application has been extended with a UDP socket, which is open for communication with various Front-Ends (GUI-based or headless). An example Front-End written in Tcl/Tk called "QspyView" has been developed to demonstrate all the features. The example application located in the directory qpc\examples\arm-cm\dpp_ek-tm4c123gxl\qspy contains customization of the "qspyview" script for the DPP application. Please refer to the documentation of this example (@ref arm-cm_dpp_ek-tm4c123gxl) for more information.
+
+Finally, this release adds a state machine operation for implementing
+the shallow history mechanism. The operation is called "childState",
+because it computes a child state of a given parent, such that the child
+belongs to the same state hierarchy as the current state.
+
+Changes in detail:
+
+1. Modified the QS software tracing component to add new functionality,
+such as the QS-RX input channel. Also added new trace records.
+
+2. Added file "qstamp.c" (in the qpc\include\ folder) to provide
+time-stamp of the application build.
+
+3. Added function QMsm_childStateObj() to the QMsm class and
+QHsm_childState() to the QHsm class. These functions have been added to
+support the shallow-history mechanism.
+
+4. Modified all example projects (qpc\examples\ folder) to include the
+"qstamp.c" file and force its re-compilation for each new build, so that
+every build has an up-to-date and unique time stamp.
+
+5. Extended the DPP on TivaC LauchPad example (directory
+qpc\examples\arm-cm\dpp_ek-tm4c123gxl\) to demonstrate QS-RX (QS receive
+channel).
+
+6. Provided example of customizing the "QspyView" Tcl/Tk script for the
+DPP application in the directory qpc\examples\arm-cm\dpp_ek-tm4c123gxl\qspy\
+
+7. Modified all examples (qpc\examples\ folder) to call the
+QS_ASSERTION() macro to the Q_onAssert() callback function.
+
+8. Modified the startup code (in the qpc\3rd_party\ folder) for ARM
+Cortex-M to invoke the Q_onAssert() callback from the assert_failure()
+exception handler. This is to allow application-level code to define
+Q_onAssert() for each specific project.
+
+9. Replaced deprecated registers in TM4C (TivaC) projects
+(SYSCTL->RCGCGPIO rather than the deprecated SYSCTL->RCGC2).
+
+
+------------------------------------------------------------------------------
@section qpc_5_4_2 Version 5.4.2, 2015-06-04
The main focus of this release is to improve the support for "dual targeting" of QP/C applications, which is developing of deeply embedded code as much as possible on the desktop OS, such as Windows. Experience shows that "dual targeting" dramatically improves productivity of embedded systems developers, perhaps more than any other technique.
@@ -9,15 +78,15 @@ This release makes it possible to use exactly the **same** application code, mai
The support for "dual targeting" in this QP/C release works both for Win32 console and Win32 GUI applications. The Win32-GUI support enables developers to easily emulate the front-panels of the embedded devices, with LCD-screens (graphical and segmented), LEDs, buttons, switches, sliders, etc.
-Changes in detal:
+Changes in detail:
-1. Modified the QP/C ports to Windows (both @ref win32 and @ref win32-qv) so that they support both Win32 console and Win32-GUI applications. The newly introduced pre-processor #WIN32_GUI macro is now requierd to use the Win32-GUI facilities.
+1. Modified the QP/C ports to Windows (both @ref win32 and @ref win32-qv) so that they support both Win32 console and Win32-GUI applications. The newly introduced pre-processor #WIN32_GUI macro is now required to use the Win32-GUI facilities.
2. Added portable "safe" macros from `` and `` to the QP/C ports to Windows. These macros encapsulate the differences between Microsoft Visual C++ and other compilers (such as MinGW).
3. Simplified the structure of the QP/C Windows ports by eliminating one level of directories for the compilers used. Both VC++ and MinGW builds can now be run in the same port directory.
-4. Modified the QF_stop() function in the QP/C port to @ref win32-qv, so that it unblocks the QV event-loop and thus lets the application terminate.
+4. Modified the QF_stop() function in the QP/C port to @ref win32-qv, so that it unblocks the QV event-loop and thus lets the application terminate.
5. Modified all examples for Windows to use the new port structure.
@@ -44,13 +113,13 @@ Also, this release brings several cosmetic improvements:
2. All QM models have been saved with QM 3.3.0, which means that they will not open with QM 3.2.x or earlier QM versions.
-3. The ROM-able QP version string QP_versionStr[] has been added and used consistently in the macros QEP_getVersion(), QF_getVersion(), QK_getVersion(), QV_getVersion(), and QS_getVersion() macros.
+3. The ROM-able QP version string QP_versionStr[] has been added and used consistently in the macros QEP_getVersion(), QF_getVersion(), QK_getVersion(), QV_getVersion(), and QS_getVersion() macros.
4. The `qpc/ports/arm-cm/qk/gnu/qk_port.s` ARM Cortex-M port to QK with GNU has been modified to use the CMSIS-compliant symbol __FPU_PRESENT instead of the FPU_VFP_V4_SP_D16 symbol.
5. All Makefiles for the GNU toolset have been cleaned up, whereas any `\` (back-slash) characters in the paths have been repalced with `/` (forward-slash) characters. Also all these Makefiles have been updated to provide the __FPU_PRESENT to C and assembler when the hardware FPU is used.
-6. The file display drver for the EK-LM2S811 board locate at `qpc/3rd_party/ek-lm3s811/display96x16x1.c` has been modified to fix the problem with incorrect hardware delay with the GNU compiler at higher levels of optimization. The in-line assembly for the GNU compiler has been updated such that the delay loop cannot be "optimized away".
+6. The file display drver for the EK-LM2S811 board locate at `qpc/3rd_party/ek-lm3s811/display96x16x1.c` has been modified to fix the problem with incorrect hardware delay with the GNU compiler at higher levels of optimization. The in-line assembly for the GNU compiler has been updated such that the delay loop cannot be "optimized away".
7. Several README files have been updated.
@@ -65,13 +134,13 @@ Additionally, this release changes the basic philosophy of building your embedde
The move to building QP/C from sources ensures the consistent toolset version and compiler options applied to the application code as well as the QP/C framework code. (**NOTE:** The QP/C examples for "big operating systems", like @ref exa_win32 "Windows" or @ref exa_posix "Linux", still use QP/C as a pre-compiled library that is statically linked with the application code.)
@note
-Even though the QP/C source has been re-packaged in this release, there are no API changes to the code, so it remains **backwards compatible** with the existing applications. (Except the build process, which builds QP/C from sources rather than linking to the QP/C library.)
+Even though the QP/C source has been re-packaged in this release, there are no API changes to the code, so it remains **backwards compatible** with the existing applications. (Except the build process, which builds QP/C from sources rather than linking to the QP/C library.)
The two changes in basic approach to distributing and building the framework have also the following ripple effects:
1. The QP/C source code has been simplified and has been re-packaged into a much smaller number of source files. The whole QP/C source code now resides in the single source folder. Additionally, the source code files have now the **read-only** protection to prevent inadvertent changes to the QP/C soruce code that is part of your projects.
-2. It is no longer necessary to define the **QPC environment variable** to build the QP/C examples. All directories and files referenced by example projects are **relative** to the project folder. This change reflects the fact that most development tools add source files to the project using relative paths (and now the projects contain QP/C source code, not just the QP library).
+2. It is no longer necessary to define the **QPC environment variable** to build the QP/C examples. All directories and files referenced by example projects are **relative** to the project folder. This change reflects the fact that most development tools add source files to the project using relative paths (and now the projects contain QP/C source code, not just the QP library).
3. The QP/C @ref ports folder has been reorganized to contain all currently available QP/C ports. The ports are organized into three categories: @ref ports_native "native QP/C ports" ("bare-metal"), @ref ports_rtos "ports to 3rd-party RTOSes", and @ref ports_os "ports to big operating systems" (Windows and Linux).(**NOTE**: the ports are now documented in the this QP/C Reference Manual . Each port sub-directory contains a README link to the corresponding page in the online documentation)
@@ -94,7 +163,7 @@ Changes in detail:
5. Added the native @ref arm7-9 "port" and @ref exa_arm7-9 "examples" to the @ref arm7-9 "classic ARM7/9" with AT91SAM7S-EK board and the IAR-ARM toolset.
-6. Added the native @ref avr "port" and @ref exa_avr "examples" to the AVR (AVRmega) with GNU-AVR and IAR-AVR toolsets. The @ref exa_avr "examples" are provided for the Arduino-UNO board.
+6. Added the native @ref avr "port" and @ref exa_avr "examples" to the AVR (AVRmega) with GNU-AVR and IAR-AVR toolsets. The @ref exa_avr "examples" are provided for the Arduino-UNO board.
7. Added the native @ref msp430 "port" and @ref exa_msp430 "examples" to MSP430 with TI CCS-430 and IAR-430 toolsets. The @ref exa_msp430 "examples" are provided for the MSP430 LauchPad boards (the MSP-EXP430G2 and MSP-EXP430F5529LP for the "classic" MSP430 and "extened" MSP430X, respectively).
@@ -110,9 +179,9 @@ Changes in detail:
13. Updated @win32 "port to Win32" (Windows). Modified the port to apply a generous "fudge factor" in over-sizing QP event queues and event pools, to minimize the risk of overflowing queues/pools due to non-deterministic Windows behavior.
-14. Added new @ref win32-qv "port to Win32-QV" (Windows with cooperative "Vanilla" scheduler, previously known as Win32-1T).
-
-15. Updated the @ref lwip_ek-lm3s6965 "lwIP-QP example for EK-LM3S6965 board".
+14. Added new @ref win32-qv "port to Win32-QV" (Windows with cooperative "Vanilla" scheduler, previously known as Win32-1T).
+
+15. Updated the @ref lwip_ek-lm3s6965 "lwIP-QP example for EK-LM3S6965 board".
------------------------------------------------------------------------------
diff --git a/doxygen/images/AN_Coding_Standard.jpg b/doxygen/img/AN_Coding_Standard.jpg
similarity index 100%
rename from doxygen/images/AN_Coding_Standard.jpg
rename to doxygen/img/AN_Coding_Standard.jpg
diff --git a/doxygen/images/AN_Getting_Started_with_QPC.jpg b/doxygen/img/AN_Getting_Started_with_QPC.jpg
similarity index 100%
rename from doxygen/images/AN_Getting_Started_with_QPC.jpg
rename to doxygen/img/AN_Getting_Started_with_QPC.jpg
diff --git a/doxygen/images/AN_MISRA-QPC.jpg b/doxygen/img/AN_MISRA-QPC.jpg
similarity index 100%
rename from doxygen/images/AN_MISRA-QPC.jpg
rename to doxygen/img/AN_MISRA-QPC.jpg
diff --git a/doxygen/images/AN_Simple_OOP_in_C.jpg b/doxygen/img/AN_Simple_OOP_in_C.jpg
similarity index 100%
rename from doxygen/images/AN_Simple_OOP_in_C.jpg
rename to doxygen/img/AN_Simple_OOP_in_C.jpg
diff --git a/doxygen/img/img.htm b/doxygen/img/img.htm
index c4d648d0..ba9c545b 100644
--- a/doxygen/img/img.htm
+++ b/doxygen/img/img.htm
@@ -5,6 +5,10 @@
QP built-in images
+
+
+
+
diff --git a/doxygen/lint.dox b/doxygen/lint.cc
similarity index 100%
rename from doxygen/lint.dox
rename to doxygen/lint.cc
diff --git a/doxygen/make.bat b/doxygen/make.bat
index ae1cad80..6a2aa9fe 100644
--- a/doxygen/make.bat
+++ b/doxygen/make.bat
@@ -1,8 +1,8 @@
@echo off
:: ==========================================================================
:: Product: QP/C script for generating Doxygen documentation
-:: Last Updated for Version: 5.4.2
-:: Date of the Last Update: 2015-06-03
+:: Last Updated for Version: 5.5.0
+:: Date of the Last Update: 2015-08-10
::
:: Q u a n t u m L e a P s
:: ---------------------------
@@ -29,8 +29,8 @@
:: along with this program. If not, see .
::
:: Contact information:
-:: Web: http://www.state-machine.com
-:: Email: info@state-machine.com
+:: http://www.state-machine.com
+:: mailto:info@state-machine.com
:: ==========================================================================
setlocal
@@ -38,13 +38,13 @@ echo usage:
echo make
echo make -CHM
-set VERSION=5.4.2
+set VERSION=5.5.0
:: Generate Resource Standard Metrics for QP/C ...............................
set DOXHOME="C:\tools\doxygen\bin"
set RCMHOME="C:\tools\MSquared\M2 RSM"
-set RSM_OUTPUT=metrics.dox
+set RSM_OUTPUT=metrics.cc
set RSM_INPUT=..\include\*.h ..\source\*.h ..\source\*.c
echo /** @page metrics Code Metrics > %RSM_OUTPUT%
@@ -73,16 +73,16 @@ if "%1"=="-CHM" (
echo Cleanup...
rmdir /S /Q tmp
- echo CHM file generated in ..\doc\
+ echo CHM file generated in ..\..\html\qpc\
) else (
echo Cleanup...
- rmdir /S /Q ..\..\doc\qpc
+ rmdir /S /Q ..\..\html\qpc
echo Adding custom images...
- xcopy preview.js ..\..\doc\qpc\
- xcopy img ..\..\doc\qpc\img\
- copy images\favicon.ico ..\..\doc\qpc
+ xcopy preview.js ..\..\html\qpc\
+ xcopy img ..\..\html\qpc\img\
+ copy images\favicon.ico ..\..\html\qpc
echo Generating HTML...
%DOXHOME%\doxygen.exe Doxyfile
diff --git a/doxygen/metrics.dox b/doxygen/metrics.cc
similarity index 80%
rename from doxygen/metrics.dox
rename to doxygen/metrics.cc
index 2b431c00..ccd7f4cb 100644
--- a/doxygen/metrics.dox
+++ b/doxygen/metrics.cc
@@ -1,7 +1,7 @@
/** @page metrics Code Metrics
@code
- Standard Code Metrics for QP/C 5.4.2
+ Standard Code Metrics for QP/C 5.5.0
Resource Standard Metrics (TM) for C, C++, C# and Java
Version 7.75 - mSquaredTechnologies.com
@@ -9,7 +9,7 @@
License Type: Windows Single User License
Licensed To : Quantum Leaps, LLC
License No. : WS2975 License Date: Dec 15, 2013
- Build Date : Sep 2 2009 Run Date: Jun 04, 2015
+ Build Date : Sep 2 2009 Run Date: Sep 04, 2015
(C)1996-2009 M Squared Technologies LLC
________________________________________________________________________
@@ -31,7 +31,7 @@
~~ Total File Summary ~~
- LOC 150 eLOC 146 lLOC 52 Comment 414 Lines 611
+ LOC 154 eLOC 150 lLOC 54 Comment 414 Lines 617
________________________________________________________________________
End of File: ..\include\qep.h
@@ -51,7 +51,7 @@
~~ Total File Summary ~~
- LOC 188 eLOC 188 lLOC 73 Comment 523 Lines 815
+ LOC 196 eLOC 196 lLOC 77 Comment 559 Lines 862
________________________________________________________________________
End of File: ..\include\qf.h
@@ -91,7 +91,7 @@
~~ Total File Summary ~~
- LOC 58 eLOC 57 lLOC 6 Comment 110 Lines 196
+ LOC 60 eLOC 59 lLOC 8 Comment 117 Lines 206
________________________________________________________________________
End of File: ..\include\qpc.h
@@ -111,14 +111,14 @@
NOTICE: The end of the source file has been reached where the
- open brace count { 18 != 16 } close brace count
+ open brace count { 26 != 24 } close brace count
This is an indication of non-compilable code within the source
file. RSM processes all source code including code wrapped
with preprocessor directives. Accurate metrics requires that
all code present in this file must be compilable.
~~ Total File Summary ~~
- LOC 413 eLOC 409 lLOC 90 Comment 620 Lines 1072
+ LOC 461 eLOC 456 lLOC 108 Comment 671 Lines 1158
________________________________________________________________________
End of File: ..\include\qs.h
@@ -128,7 +128,7 @@
~~ Total File Summary ~~
- LOC 71 eLOC 71 lLOC 0 Comment 43 Lines 122
+ LOC 69 eLOC 69 lLOC 0 Comment 43 Lines 120
________________________________________________________________________
End of File: ..\include\qs_dummy.h
@@ -168,7 +168,7 @@
~~ Total File Summary ~~
- LOC 27 eLOC 25 lLOC 5 Comment 81 Lines 117
+ LOC 29 eLOC 27 lLOC 6 Comment 83 Lines 123
________________________________________________________________________
End of File: ..\source\qs_pkg.h
@@ -224,31 +224,40 @@
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
+ Function: QHsm_childState
+ Parameters: (QHsm * const me, QStateHandler const parent)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 15 lLOC 12 Comment 28 Lines 25
+
------------------------------------------------------------------------
~~ Total File Summary ~~
- LOC 322 eLOC 279 lLOC 164 Comment 291 Lines 583
+ LOC 343 eLOC 296 lLOC 176 Comment 319 Lines 629
------------------------------------------------------------------------
~~ File Functional Summary ~~
- File Function Count....: 6
- Total Function LOC.....: 282 Total Function Pts LOC : 2.5
- Total Function eLOC....: 241 Total Function Pts eLOC: 2.2
- Total Function lLOC....: 157 Total Function Pts lLOC: 1.3
- Total Function Params .: 12 Total Function Return .: 6
- Total Cyclo Complexity : 39 Total Function Complex.: 57
+ File Function Count....: 7
+ Total Function LOC.....: 301 Total Function Pts LOC : 2.7
+ Total Function eLOC....: 256 Total Function Pts eLOC: 2.3
+ Total Function lLOC....: 169 Total Function Pts lLOC: 1.4
+ Total Function Params .: 14 Total Function Return .: 7
+ Total Cyclo Complexity : 42 Total Function Complex.: 63
------ ----- ----- ------ ------ -----
- Max Function LOC ......: 105 Average Function LOC ..: 47.00
- Max Function eLOC .....: 94 Average Function eLOC .: 40.17
- Max Function lLOC .....: 62 Average Function lLOC .: 26.17
+ Max Function LOC ......: 105 Average Function LOC ..: 43.00
+ Max Function eLOC .....: 94 Average Function eLOC .: 36.57
+ Max Function lLOC .....: 62 Average Function lLOC .: 24.14
------ ----- ----- ------ ------ -----
Max Function Parameters: 2 Avg Function Parameters: 2.00
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 3 Avg Interface Complex. : 3.00
- Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.50
- Max Total Complexity ..: 18 Avg Total Complexity ..: 9.50
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.00
+ Max Total Complexity ..: 18 Avg Total Complexity ..: 9.00
________________________________________________________________________
End of File: ..\source\qep_hsm.c
@@ -317,31 +326,40 @@
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
+ Function: QMsm_childStateObj
+ Parameters: (QMsm const * const me, QMState const * const parent)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 13 lLOC 9 Comment 18 Lines 23
+
------------------------------------------------------------------------
~~ Total File Summary ~~
- LOC 289 eLOC 241 lLOC 133 Comment 264 Lines 528
+ LOC 310 eLOC 256 lLOC 142 Comment 282 Lines 568
------------------------------------------------------------------------
~~ File Functional Summary ~~
- File Function Count....: 7
- Total Function LOC.....: 264 Total Function Pts LOC : 2.3
- Total Function eLOC....: 218 Total Function Pts eLOC: 1.9
- Total Function lLOC....: 128 Total Function Pts lLOC: 1.0
- Total Function Params .: 15 Total Function Return .: 7
- Total Cyclo Complexity : 41 Total Function Complex.: 63
+ File Function Count....: 8
+ Total Function LOC.....: 283 Total Function Pts LOC : 2.4
+ Total Function eLOC....: 231 Total Function Pts eLOC: 2.0
+ Total Function lLOC....: 137 Total Function Pts lLOC: 1.1
+ Total Function Params .: 17 Total Function Return .: 8
+ Total Cyclo Complexity : 44 Total Function Complex.: 69
------ ----- ----- ------ ------ -----
- Max Function LOC ......: 107 Average Function LOC ..: 37.71
- Max Function eLOC .....: 91 Average Function eLOC .: 31.14
- Max Function lLOC .....: 56 Average Function lLOC .: 18.29
+ Max Function LOC ......: 107 Average Function LOC ..: 35.38
+ Max Function eLOC .....: 91 Average Function eLOC .: 28.88
+ Max Function lLOC .....: 56 Average Function lLOC .: 17.13
------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 2.14
+ Max Function Parameters: 3 Avg Function Parameters: 2.13
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 3.14
- Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.86
- Max Total Complexity ..: 18 Avg Total Complexity ..: 9.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 3.13
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.50
+ Max Total Complexity ..: 18 Avg Total Complexity ..: 8.63
________________________________________________________________________
End of File: ..\source\qep_msm.c
@@ -548,31 +566,44 @@
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
LOC 26 eLOC 22 lLOC 13 Comment 35 Lines 39
+ Function: QF_newRef_
+ Parameters: (QEvt const * const e, QEvt const * const evtRef)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 7 eLOC 5 lLOC 3 Comment 16 Lines 11
+
+ Function: QF_poolGetMaxBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
+
------------------------------------------------------------------------
~~ Total File Summary ~~
- LOC 84 eLOC 71 lLOC 36 Comment 170 Lines 250
+ LOC 94 eLOC 78 lLOC 40 Comment 191 Lines 283
------------------------------------------------------------------------
~~ File Functional Summary ~~
- File Function Count....: 4
- Total Function LOC.....: 66 Total Function Pts LOC : 0.7
- Total Function eLOC....: 53 Total Function Pts eLOC: 0.6
- Total Function lLOC....: 34 Total Function Pts lLOC: 0.3
- Total Function Params .: 9 Total Function Return .: 4
- Total Cyclo Complexity : 10 Total Function Complex.: 23
+ File Function Count....: 6
+ Total Function LOC.....: 76 Total Function Pts LOC : 0.7
+ Total Function eLOC....: 60 Total Function Pts eLOC: 0.6
+ Total Function lLOC....: 38 Total Function Pts lLOC: 0.3
+ Total Function Params .: 11 Total Function Return .: 6
+ Total Cyclo Complexity : 13 Total Function Complex.: 30
------ ----- ----- ------ ------ -----
- Max Function LOC ......: 26 Average Function LOC ..: 16.50
- Max Function eLOC .....: 22 Average Function eLOC .: 13.25
- Max Function lLOC .....: 14 Average Function lLOC .: 8.50
+ Max Function LOC ......: 26 Average Function LOC ..: 12.67
+ Max Function eLOC .....: 22 Average Function eLOC .: 10.00
+ Max Function lLOC .....: 14 Average Function lLOC .: 6.33
------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 2.25
+ Max Function Parameters: 3 Avg Function Parameters: 1.83
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 3.25
- Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.50
- Max Total Complexity ..: 8 Avg Total Complexity ..: 5.75
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.83
+ Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.17
+ Max Total Complexity ..: 8 Avg Total Complexity ..: 5.00
________________________________________________________________________
End of File: ..\source\qf_dyn.c
@@ -588,7 +619,7 @@
Loops while / do : 2
Logical and ( && ) : 2
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
- LOC 36 eLOC 32 lLOC 24 Comment 54 Lines 52
+ LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
Function: QMPool_put
Parameters: (QMPool * const me, void *b)
@@ -596,7 +627,7 @@
Function Base : 1
Logical and ( && ) : 1
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 15 eLOC 14 lLOC 9 Comment 25 Lines 22
+ LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
Function: QMPool_get
Parameters: (QMPool * const me, uint_fast16_t const margin)
@@ -604,7 +635,7 @@
Function Base : 1
Conditional if / else if: 3
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 41 eLOC 35 lLOC 23 Comment 50 Lines 65
+ LOC 41 eLOC 35 lLOC 23 Comment 54 Lines 65
Function: QF_getPoolMin
Parameters: (uint_fast8_t const poolId)
@@ -618,7 +649,7 @@
~~ Total File Summary ~~
- LOC 114 eLOC 102 lLOC 62 Comment 189 Lines 289
+ LOC 114 eLOC 102 lLOC 62 Comment 201 Lines 301
------------------------------------------------------------------------
~~ File Functional Summary ~~
@@ -1000,34 +1031,35 @@
Function Base : 1
Loops while / do : 1
Conditional if / else if: 4
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 50 eLOC 44 lLOC 24 Comment 44 Lines 77
+ Logical or ( || ) : 3
+ Complexity Param 1 Return 1 Cyclo Vg 9 Total 11
+ LOC 65 eLOC 58 lLOC 27 Comment 55 Lines 95
------------------------------------------------------------------------
~~ Total File Summary ~~
- LOC 148 eLOC 129 lLOC 67 Comment 219 Lines 354
+ LOC 163 eLOC 143 lLOC 70 Comment 230 Lines 372
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 8
- Total Function LOC.....: 126 Total Function Pts LOC : 1.2
- Total Function eLOC....: 107 Total Function Pts eLOC: 1.0
- Total Function lLOC....: 62 Total Function Pts lLOC: 0.5
+ Total Function LOC.....: 141 Total Function Pts LOC : 1.3
+ Total Function eLOC....: 121 Total Function Pts eLOC: 1.1
+ Total Function lLOC....: 65 Total Function Pts lLOC: 0.5
Total Function Params .: 9 Total Function Return .: 8
- Total Cyclo Complexity : 19 Total Function Complex.: 36
+ Total Cyclo Complexity : 22 Total Function Complex.: 39
------ ----- ----- ------ ------ -----
- Max Function LOC ......: 50 Average Function LOC ..: 15.75
- Max Function eLOC .....: 44 Average Function eLOC .: 13.38
- Max Function lLOC .....: 24 Average Function lLOC .: 7.75
+ Max Function LOC ......: 65 Average Function LOC ..: 17.63
+ Max Function eLOC .....: 58 Average Function eLOC .: 15.13
+ Max Function lLOC .....: 27 Average Function lLOC .: 8.13
------ ----- ----- ------ ------ -----
Max Function Parameters: 7 Avg Function Parameters: 1.13
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
Max Interface Complex. : 8 Avg Interface Complex. : 2.13
- Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 2.38
- Max Total Complexity ..: 11 Avg Total Complexity ..: 4.50
+ Max Cyclomatic Complex.: 9 Avg Cyclomatic Complex.: 2.75
+ Max Total Complexity ..: 11 Avg Total Complexity ..: 4.88
________________________________________________________________________
End of File: ..\source\qk.c
@@ -1086,7 +1118,7 @@
Function: QS_initBuf
Parameters: (uint8_t sto[], uint_fast16_t stoSize)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 11 eLOC 10 lLOC 9 Comment 25 Lines 19
+ LOC 21 eLOC 20 lLOC 19 Comment 30 Lines 35
Function: QS_filterOn
Parameters: (uint_fast8_t rec)
@@ -1101,9 +1133,10 @@
Parameters: (uint_fast8_t rec)
Cyclomatic Complexity Vg Detail
Function Base : 1
+ Loops for / foreach : 1
Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 28 eLOC 25 lLOC 37 Comment 17 Lines 37
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 20 eLOC 15 lLOC 10 Comment 16 Lines 25
Function: QS_beginRec
Parameters: (uint_fast8_t rec)
@@ -1119,6 +1152,15 @@
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
+ Function: QS_target_info_
+ Parameters: (uint8_t isReset)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 12
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
+
Function: QS_u8
Parameters: (uint8_t format, uint8_t d)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
@@ -1194,24 +1236,33 @@
Function: QS_sig_dict
Parameters: (enum_t const sig, void const * const obj, char_t const Q_RO
- M * const name)
- Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
- LOC 11 eLOC 9 lLOC 8 Comment 3 Lines 11
+ M *name)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
Function: QS_obj_dict
- Parameters: (void const * const obj, char_t const Q_ROM * const name)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ Parameters: (void const * const obj, char_t const Q_ROM *name)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
Function: QS_fun_dict
- Parameters: (void (* const fun)(void), char_t const Q_ROM * const name)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ Parameters: (void (* const fun)(void), char_t const Q_ROM *name)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
Function: QS_usr_dict
Parameters: (enum_t const rec, char_t const Q_ROM * const name)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
Function: QS_mem
Parameters: (uint8_t const *blk, uint8_t size)
@@ -1241,27 +1292,27 @@
~~ Total File Summary ~~
- LOC 385 eLOC 334 lLOC 259 Comment 361 Lines 685
+ LOC 495 eLOC 432 lLOC 295 Comment 376 Lines 821
------------------------------------------------------------------------
~~ File Functional Summary ~~
- File Function Count....: 23
- Total Function LOC.....: 372 Total Function Pts LOC : 3.0
- Total Function eLOC....: 321 Total Function Pts eLOC: 2.6
- Total Function lLOC....: 258 Total Function Pts lLOC: 2.0
- Total Function Params .: 32 Total Function Return .: 23
- Total Cyclo Complexity : 42 Total Function Complex.: 97
+ File Function Count....: 24
+ Total Function LOC.....: 480 Total Function Pts LOC : 3.9
+ Total Function eLOC....: 417 Total Function Pts eLOC: 3.4
+ Total Function lLOC....: 292 Total Function Pts lLOC: 2.3
+ Total Function Params .: 33 Total Function Return .: 24
+ Total Cyclo Complexity : 61 Total Function Complex.: 118
------ ----- ----- ------ ------ -----
- Max Function LOC ......: 29 Average Function LOC ..: 16.17
- Max Function eLOC .....: 25 Average Function eLOC .: 13.96
- Max Function lLOC .....: 37 Average Function lLOC .: 11.22
+ Max Function LOC ......: 97 Average Function LOC ..: 20.00
+ Max Function eLOC .....: 90 Average Function eLOC .: 17.38
+ Max Function lLOC .....: 48 Average Function lLOC .: 12.17
------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 1.39
+ Max Function Parameters: 3 Avg Function Parameters: 1.38
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 2.39
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 1.83
- Max Total Complexity ..: 7 Avg Total Complexity ..: 4.22
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.38
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 2.54
+ Max Total Complexity ..: 17 Avg Total Complexity ..: 4.92
________________________________________________________________________
End of File: ..\source\qs.c
@@ -1362,6 +1413,105 @@
End of File: ..\source\qs_fp.c
+ File: ..\source\qs_rx.c
+ ________________________________________________________________________
+
+ Function: QS_rxInitBuf
+ Parameters: (uint8_t sto[], uint16_t stoSize)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 18 eLOC 17 lLOC 15 Comment 19 Lines 21
+
+ Function: QS_rxGetNfree
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 14 eLOC 10 lLOC 5 Comment 9 Lines 14
+
+ Function: QS_rxParse
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 5
+ Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
+ LOC 36 eLOC 26 lLOC 16 Comment 5 Lines 41
+
+ Function: QS_rxParseData_
+ Parameters: (uint8_t b)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 40
+ Conditional if / else if: 16
+ Complexity Param 1 Return 1 Cyclo Vg 57 Total 59
+ LOC 253 eLOC 196 lLOC 124 Comment 18 Lines 264
+
+ Function: QS_rxHandleGoodFrame_
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 3
+ Selection case : 17
+ Conditional if / else if: 4
+ Complexity Param 0 Return 1 Cyclo Vg 25 Total 26
+ LOC 127 eLOC 103 lLOC 69 Comment 15 Lines 137
+
+ Function: QS_rxHandleBadFrame_
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 8 lLOC 4 Comment 1 Lines 12
+
+ Function: QS_rxReportSuccess_
+ Parameters: (enum QSpyRxRecords recId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxReportError_
+ Parameters: (uint8_t stateId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxAddr_
+ Parameters: (uint8_t b, QSAddr *addr, uint8_t *idx)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 589 eLOC 485 lLOC 298 Comment 131 Lines 730
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 9
+ Total Function LOC.....: 479 Total Function Pts LOC : 4.6
+ Total Function eLOC....: 376 Total Function Pts eLOC: 3.8
+ Total Function lLOC....: 240 Total Function Pts lLOC: 2.3
+ Total Function Params .: 8 Total Function Return .: 9
+ Total Cyclo Complexity : 99 Total Function Complex.: 116
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 253 Average Function LOC ..: 53.22
+ Max Function eLOC .....: 196 Average Function eLOC .: 41.78
+ Max Function lLOC .....: 124 Average Function lLOC .: 26.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 0.89
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 1.89
+ Max Cyclomatic Complex.: 57 Avg Cyclomatic Complex.: 11.00
+ Max Total Complexity ..: 59 Avg Total Complexity ..: 12.89
+ ________________________________________________________________________
+ End of File: ..\source\qs_rx.c
+
+
File: ..\source\qv.c
________________________________________________________________________
@@ -1377,7 +1527,7 @@
NOTICE: The end of the source file has been reached where the
- open brace count { 9 != 8 } close brace count
+ open brace count { 10 != 9 } close brace count
This is an indication of non-compilable code within the source
file. RSM processes all source code including code wrapped
with preprocessor directives. Accurate metrics requires that
@@ -1393,14 +1543,14 @@
~~ Total File Summary ~~
- LOC 71 eLOC 62 lLOC 32 Comment 161 Lines 231
+ LOC 91 eLOC 81 lLOC 39 Comment 172 Lines 256
------------------------------------------------------------------------
~~ File Functional Summary ~~
File Function Count....: 3
- Total Function LOC.....: 11 Total Function Pts LOC : 0.6
- Total Function eLOC....: 9 Total Function Pts eLOC: 0.5
+ Total Function LOC.....: 11 Total Function Pts LOC : 0.7
+ Total Function eLOC....: 9 Total Function Pts eLOC: 0.6
Total Function lLOC....: 7 Total Function Pts lLOC: 0.3
Total Function Params .: 0 Total Function Return .: 2
Total Cyclo Complexity : 2 Total Function Complex.: 4
@@ -1420,15 +1570,15 @@
------------------------------------------------------------------------
- ~~ Project Analysis For 33 Files ~~
+ ~~ Project Analysis For 34 Files ~~
------------------------------------------------------------------------
~~ Total Project Summary ~~
- LOC 3687 eLOC 3362 lLOC 1517 Comment 5997 Lines 9811
- Average per File, metric/33 files
- LOC 111 eLOC 101 lLOC 45 Comment 181 Lines 297
+ LOC 4535 eLOC 4078 lLOC 1913 Comment 6340 Lines 11004
+ Average per File, metric/34 files
+ LOC 133 eLOC 119 lLOC 56 Comment 186 Lines 323
------------------------------------------------------------------------
@@ -1464,6 +1614,11 @@
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
+ Function: QHsm_childState
+ Parameters: (QHsm * const me, QStateHandler const parent)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 15 lLOC 12 Comment 28 Lines 25
+
Function: QMsm_ctor
Parameters: (QMsm * const me, QStateHandler initial)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
@@ -1500,6 +1655,11 @@
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
+ Function: QMsm_childStateObj
+ Parameters: (QMsm const * const me, QMState const * const parent)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 13 lLOC 9 Comment 18 Lines 23
+
Function: QF_add_
Parameters: (QMActive * const a)
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
@@ -1569,21 +1729,31 @@
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
LOC 26 eLOC 22 lLOC 13 Comment 35 Lines 39
+ Function: QF_newRef_
+ Parameters: (QEvt const * const e, QEvt const * const evtRef)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 7 eLOC 5 lLOC 3 Comment 16 Lines 11
+
+ Function: QF_poolGetMaxBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
+
Function: QMPool_init
Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool
Size, uint_fast16_t blockSize)
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
- LOC 36 eLOC 32 lLOC 24 Comment 54 Lines 52
+ LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
Function: QMPool_put
Parameters: (QMPool * const me, void *b)
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 15 eLOC 14 lLOC 9 Comment 25 Lines 22
+ LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
Function: QMPool_get
Parameters: (QMPool * const me, uint_fast16_t const margin)
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 41 eLOC 35 lLOC 23 Comment 50 Lines 65
+ LOC 41 eLOC 35 lLOC 23 Comment 54 Lines 65
Function: QF_getPoolMin
Parameters: (uint_fast8_t const poolId)
@@ -1723,8 +1893,8 @@
Function: QK_sched_
Parameters: (uint_fast8_t p)
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 50 eLOC 44 lLOC 24 Comment 44 Lines 77
+ Complexity Param 1 Return 1 Cyclo Vg 9 Total 11
+ LOC 65 eLOC 58 lLOC 27 Comment 55 Lines 95
Function: QK_mutexLock
Parameters: (uint_fast8_t prioCeiling)
@@ -1739,7 +1909,7 @@
Function: QS_initBuf
Parameters: (uint8_t sto[], uint_fast16_t stoSize)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 11 eLOC 10 lLOC 9 Comment 25 Lines 19
+ LOC 21 eLOC 20 lLOC 19 Comment 30 Lines 35
Function: QS_filterOn
Parameters: (uint_fast8_t rec)
@@ -1748,8 +1918,8 @@
Function: QS_filterOff
Parameters: (uint_fast8_t rec)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 28 eLOC 25 lLOC 37 Comment 17 Lines 37
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 20 eLOC 15 lLOC 10 Comment 16 Lines 25
Function: QS_beginRec
Parameters: (uint_fast8_t rec)
@@ -1761,6 +1931,11 @@
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
+ Function: QS_target_info_
+ Parameters: (uint8_t isReset)
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
+
Function: QS_u8
Parameters: (uint8_t format, uint8_t d)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
@@ -1818,24 +1993,24 @@
Function: QS_sig_dict
Parameters: (enum_t const sig, void const * const obj, char_t const Q_RO
- M * const name)
- Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
- LOC 11 eLOC 9 lLOC 8 Comment 3 Lines 11
+ M *name)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
Function: QS_obj_dict
- Parameters: (void const * const obj, char_t const Q_ROM * const name)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ Parameters: (void const * const obj, char_t const Q_ROM *name)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
Function: QS_fun_dict
- Parameters: (void (* const fun)(void), char_t const Q_ROM * const name)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ Parameters: (void (* const fun)(void), char_t const Q_ROM *name)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
Function: QS_usr_dict
Parameters: (enum_t const rec, char_t const Q_ROM * const name)
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 10
+ LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
Function: QS_mem
Parameters: (uint8_t const *blk, uint8_t size)
@@ -1872,6 +2047,51 @@
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
LOC 29 eLOC 26 lLOC 20 Comment 14 Lines 36
+ Function: QS_rxInitBuf
+ Parameters: (uint8_t sto[], uint16_t stoSize)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 18 eLOC 17 lLOC 15 Comment 19 Lines 21
+
+ Function: QS_rxGetNfree
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 14 eLOC 10 lLOC 5 Comment 9 Lines 14
+
+ Function: QS_rxParse
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
+ LOC 36 eLOC 26 lLOC 16 Comment 5 Lines 41
+
+ Function: QS_rxParseData_
+ Parameters: (uint8_t b)
+ Complexity Param 1 Return 1 Cyclo Vg 57 Total 59
+ LOC 253 eLOC 196 lLOC 124 Comment 18 Lines 264
+
+ Function: QS_rxHandleGoodFrame_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 25 Total 26
+ LOC 127 eLOC 103 lLOC 69 Comment 15 Lines 137
+
+ Function: QS_rxHandleBadFrame_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 8 lLOC 4 Comment 1 Lines 12
+
+ Function: QS_rxReportSuccess_
+ Parameters: (enum QSpyRxRecords recId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxReportError_
+ Parameters: (uint8_t stateId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxAddr_
+ Parameters: (uint8_t b, QSAddr *addr, uint8_t *idx)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
+
Function: QF_init
Parameters: (void)
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
@@ -1883,47 +2103,47 @@
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
Total: Functions
- LOC 2002 eLOC 1704 lLOC 1158 InCmp 232 CycloCmp 274
- Function Points FP(LOC) 15.6 FP(eLOC) 13.3 FP(lLOC) 9.0
+ LOC 2652 eLOC 2225 lLOC 1460 InCmp 261 CycloCmp 404
+ Function Points FP(LOC) 20.7 FP(eLOC) 17.4 FP(lLOC) 11.4
------------------------------------------------------------------------
~~ Project Functional Analysis ~~
- Total Functions .......: 87 Total Physical Lines ..: 2724
- Total LOC .............: 2002 Total Function Pts LOC : 15.6
- Total eLOC ............: 1704 Total Function Pts eLOC: 13.3
- Total lLOC.............: 1158 Total Function Pts lLOC: 9.0
- Total Cyclomatic Comp. : 274 Total Interface Comp. .: 232
- Total Parameters ......: 145 Total Return Points ...: 87
- Total Comment Lines ...: 2170 Total Blank Lines .....: 392
+ Total Functions .......: 101 Total Physical Lines ..: 3440
+ Total LOC .............: 2652 Total Function Pts LOC : 20.7
+ Total eLOC ............: 2225 Total Function Pts eLOC: 17.4
+ Total lLOC.............: 1460 Total Function Pts lLOC: 11.4
+ Total Cyclomatic Comp. : 404 Total Interface Comp. .: 261
+ Total Parameters ......: 160 Total Return Points ...: 101
+ Total Comment Lines ...: 2348 Total Blank Lines .....: 427
------ ----- ----- ------ ------ -----
- Avg Physical Lines ....: 31.31
- Avg LOC ...............: 23.01 Avg eLOC ..............: 19.59
- Avg lLOC ..............: 13.31 Avg Cyclomatic Comp. ..: 3.15
- Avg Interface Comp. ...: 2.67 Avg Parameters ........: 1.67
- Avg Return Points .....: 1.00 Avg Comment Lines .....: 24.94
+ Avg Physical Lines ....: 34.06
+ Avg LOC ...............: 26.26 Avg eLOC ..............: 22.03
+ Avg lLOC ..............: 14.46 Avg Cyclomatic Comp. ..: 4.00
+ Avg Interface Comp. ...: 2.58 Avg Parameters ........: 1.58
+ Avg Return Points .....: 1.00 Avg Comment Lines .....: 23.25
------ ----- ----- ------ ------ -----
- Max LOC ...............: 107
- Max eLOC ..............: 94 Max lLOC ..............: 62
- Max Cyclomatic Comp. ..: 15 Max Interface Comp. ...: 8
+ Max LOC ...............: 253
+ Max eLOC ..............: 196 Max lLOC ..............: 124
+ Max Cyclomatic Comp. ..: 57 Max Interface Comp. ...: 8
Max Parameters ........: 7 Max Return Points .....: 1
- Max Comment Lines .....: 79 Max Total Lines .......: 148
+ Max Comment Lines .....: 79 Max Total Lines .......: 264
------ ----- ----- ------ ------ -----
Min LOC ...............: 3
Min eLOC ..............: 2 Min lLOC ..............: 1
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
Min Parameters ........: 0 Min Return Points .....: 1
- Min Comment Lines .....: 3 Min Total Lines .......: 3
+ Min Comment Lines .....: 1 Min Total Lines .......: 3
------------------------------------------------------------------------
~~ File Summary ~~
- C Source Files *.c ....: 18 C/C++ Include Files *.h: 15
+ C Source Files *.c ....: 19 C/C++ Include Files *.h: 15
C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
- Other File Count ......: 0 Total File Count ......: 33
+ Other File Count ......: 0 Total File Count ......: 34
________________________________________________________________________
@endcode
diff --git a/doxygen/modules.dox b/doxygen/modules.cc
similarity index 100%
rename from doxygen/modules.dox
rename to doxygen/modules.cc
diff --git a/doxygen/ports.dox b/doxygen/ports.cc
similarity index 100%
rename from doxygen/ports.dox
rename to doxygen/ports.cc
diff --git a/doxygen/ports_native.dox b/doxygen/ports_native.cc
similarity index 100%
rename from doxygen/ports_native.dox
rename to doxygen/ports_native.cc
diff --git a/doxygen/ports_os.dox b/doxygen/ports_os.cc
similarity index 100%
rename from doxygen/ports_os.dox
rename to doxygen/ports_os.cc
diff --git a/doxygen/ports_rtos.dox b/doxygen/ports_rtos.cc
similarity index 100%
rename from doxygen/ports_rtos.dox
rename to doxygen/ports_rtos.cc
diff --git a/doxygen/qpc_metrics.txt b/doxygen/qpc_metrics.txt
new file mode 100644
index 00000000..830e6296
--- /dev/null
+++ b/doxygen/qpc_metrics.txt
@@ -0,0 +1,2930 @@
+
+ Resource Standard Metrics (TM) for C, C++, C# and Java
+ Version 7.75 - mSquaredTechnologies.com
+
+ License Type: Windows Single User License
+ Licensed To : Quantum Leaps, LLC
+ License No. : WS2975 License Date: Dec 15, 2013
+ Build Date : Sep 2 2009 Run Date: Sep 01, 2015
+ (C)1996-2009 M Squared Technologies LLC
+ ________________________________________________________________________
+
+ ~~ Function Metrics ~~
+ ~~ Complexity Detail Analysis ~~
+ ~~ Quality Analysis ~~
+
+ File: ..\include\qassert.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 43 eLOC 42 lLOC 3 Comment 240 Lines 303
+ ________________________________________________________________________
+ End of File: ..\include\qassert.h
+
+
+ File: ..\include\qep.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 150 eLOC 146 lLOC 52 Comment 414 Lines 611
+ ________________________________________________________________________
+ End of File: ..\include\qep.h
+
+
+ File: ..\include\qequeue.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 33 eLOC 33 lLOC 15 Comment 180 Lines 233
+ ________________________________________________________________________
+ End of File: ..\include\qequeue.h
+
+
+ File: ..\include\qf.h
+ ________________________________________________________________________
+
+
+ Notice #3: Line 665, '...' ellipsis found for a variable argument list.
+ The compiler will not check the types of these parameters.
+
+ Notice #3: Line 669, '...' ellipsis found for a variable argument list.
+ The compiler will not check the types of these parameters.
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 196 eLOC 196 lLOC 77 Comment 559 Lines 862
+ ________________________________________________________________________
+ End of File: ..\include\qf.h
+
+
+ File: ..\include\qk.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 68 eLOC 68 lLOC 17 Comment 105 Lines 188
+ ________________________________________________________________________
+ End of File: ..\include\qk.h
+
+
+ File: ..\include\qmpool.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 42 eLOC 42 lLOC 18 Comment 109 Lines 169
+ ________________________________________________________________________
+ End of File: ..\include\qmpool.h
+
+
+ File: ..\include\qp_port.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 4 eLOC 4 lLOC 0 Comment 40 Lines 45
+ ________________________________________________________________________
+ End of File: ..\include\qp_port.h
+
+
+ File: ..\include\qpc.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 60 eLOC 59 lLOC 8 Comment 117 Lines 206
+ ________________________________________________________________________
+ End of File: ..\include\qpc.h
+
+
+ File: ..\include\qpset.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 50 eLOC 50 lLOC 13 Comment 101 Lines 168
+ ________________________________________________________________________
+ End of File: ..\include\qpset.h
+
+
+ File: ..\include\qs.h
+ ________________________________________________________________________
+
+
+ NOTICE: The end of the source file has been reached where the
+ open brace count { 26 != 24 } close brace count
+ This is an indication of non-compilable code within the source
+ file. RSM processes all source code including code wrapped
+ with preprocessor directives. Accurate metrics requires that
+ all code present in this file must be compilable.
+ ~~ Total File Summary ~~
+
+ LOC 461 eLOC 456 lLOC 108 Comment 671 Lines 1158
+ ________________________________________________________________________
+ End of File: ..\include\qs.h
+
+
+ File: ..\include\qs_dummy.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 69 eLOC 69 lLOC 0 Comment 43 Lines 120
+ ________________________________________________________________________
+ End of File: ..\include\qs_dummy.h
+
+
+ File: ..\include\qv.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 35 eLOC 35 lLOC 3 Comment 80 Lines 119
+ ________________________________________________________________________
+ End of File: ..\include\qv.h
+
+
+ File: ..\source\qf_pkg.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 63 eLOC 63 lLOC 8 Comment 120 Lines 205
+ ________________________________________________________________________
+ End of File: ..\source\qf_pkg.h
+
+
+ File: ..\source\qk_pkg.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 15 eLOC 15 lLOC 2 Comment 71 Lines 92
+ ________________________________________________________________________
+ End of File: ..\source\qk_pkg.h
+
+
+ File: ..\source\qs_pkg.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 29 eLOC 27 lLOC 6 Comment 83 Lines 123
+ ________________________________________________________________________
+ End of File: ..\source\qs_pkg.h
+
+
+ File: ..\source\qep_hsm.c
+ ________________________________________________________________________
+
+
+ ----------------------- Function Begin Line: 131 -----------------------
+ Function: QHsm_ctor
+ Parameters: (QHsm * const me, QStateHandler initial)
+
+ Function: QHsm_ctor
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 9 eLOC 7 lLOC 4 Comment 30 Lines 10
+ ------------------------ Function End Line: 140 ------------------------
+
+ ----------------------- Function Begin Line: 152 -----------------------
+ Function: QHsm_init_
+ Parameters: (QHsm * const me, QEvt const * const e)
+
+ Function: QHsm_init_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 3
+ Conditional if / else if: 1
+ Logical and ( && ) : 2
+ Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
+ LOC 50 eLOC 47 lLOC 31 Comment 34 Lines 70
+ ------------------------ Function End Line: 221 ------------------------
+
+ ----------------------- Function Begin Line: 238 -----------------------
+ Function: QHsm_top
+ Parameters: (void const * const me, QEvt const * const e)
+
+ Function: QHsm_top
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5
+ ------------------------ Function End Line: 242 ------------------------
+
+ ----------------------- Function Begin Line: 257 -----------------------
+ Function: QHsm_dispatch_
+ Parameters: (QHsm * const me, QEvt const * const e)
+
+ Notice #28: Line 400: The function cyclomatic complexity of
+ 12 exceeds the specified limit of 10.
+
+ Function: QHsm_dispatch_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 4
+ Loops for / foreach : 2
+ Conditional if / else if: 5
+ Complexity Param 2 Return 1 Cyclo Vg 12 Total 15
+ LOC 105 eLOC 94 lLOC 62 Comment 65 Lines 144
+ ------------------------ Function End Line: 400 ------------------------
+
+ ----------------------- Function Begin Line: 415 -----------------------
+ Function: QHsm_tran_
+ Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_])
+
+ Notice #55: Line 464
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #55: Line 474
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #55: Line 493
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #55: Line 494
+ The depth of scope '8' exceeds the notice limit of 6.
+
+ Notice #55: Line 501
+ The depth of scope '8' exceeds the notice limit of 6.
+
+ Notice #55: Line 507
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #55: Line 512
+ The depth of scope '8' exceeds the notice limit of 6.
+
+ Notice #55: Line 516
+ The depth of scope '9' exceeds the notice limit of 6.
+
+ Notice #55: Line 527
+ The depth of scope '9' exceeds the notice limit of 6.
+
+ Notice #55: Line 529
+ The depth of scope '10' exceeds the notice limit of 6.
+
+ Notice #55: Line 536
+ The depth of scope '10' exceeds the notice limit of 6.
+
+ Notice #28: Line 548: The function cyclomatic complexity of
+ 15 exceeds the specified limit of 10.
+
+ Function: QHsm_tran_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 4
+ Conditional if / else if: 10
+ Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
+ LOC 97 eLOC 76 lLOC 48 Comment 62 Lines 134
+ ------------------------ Function End Line: 548 ------------------------
+
+ Notice #24: Line 563: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 563 -----------------------
+ Function: QHsm_isIn
+ Parameters: (QHsm * const me, QStateHandler const state)
+
+ Notice #24: Line 564: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 564: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 573: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QHsm_isIn
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
+ ------------------------ Function End Line: 583 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 322 eLOC 279 lLOC 164 Comment 291 Lines 583
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 6
+ Total Function LOC.....: 282 Total Function Pts LOC : 2.5
+ Total Function eLOC....: 241 Total Function Pts eLOC: 2.2
+ Total Function lLOC....: 157 Total Function Pts lLOC: 1.3
+ Total Function Params .: 12 Total Function Return .: 6
+ Total Cyclo Complexity : 39 Total Function Complex.: 57
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 105 Average Function LOC ..: 47.00
+ Max Function eLOC .....: 94 Average Function eLOC .: 40.17
+ Max Function lLOC .....: 62 Average Function lLOC .: 26.17
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 2.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 3.00
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.50
+ Max Total Complexity ..: 18 Avg Total Complexity ..: 9.50
+ ________________________________________________________________________
+ End of File: ..\source\qep_hsm.c
+
+
+ File: ..\source\qep_msm.c
+ ________________________________________________________________________
+
+
+ ----------------------- Function Begin Line: 100 -----------------------
+ Function: QMsm_ctor
+ Parameters: (QMsm * const me, QStateHandler initial)
+
+ Function: QMsm_ctor
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 9 eLOC 7 lLOC 4 Comment 19 Lines 9
+ ------------------------ Function End Line: 108 ------------------------
+
+ ----------------------- Function Begin Line: 120 -----------------------
+ Function: QMsm_init_
+ Parameters: (QMsm * const me, QEvt const * const e)
+
+ Function: QMsm_init_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Logical and ( && ) : 2
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 23 eLOC 22 lLOC 13 Comment 25 Lines 37
+ ------------------------ Function End Line: 156 ------------------------
+
+ ----------------------- Function Begin Line: 171 -----------------------
+ Function: QMsm_dispatch_
+ Parameters: (QMsm * const me, QEvt const * const e)
+
+ Notice #44: Line 193, The keyword 'break' has been identified
+ outside a 'switch' logic control structure. The use
+ of 'break' interrupts the linear logic flow and can create
+ source code which is difficult to maintain.
+
+ Notice #28: Line 318: The function cyclomatic complexity of
+ 15 exceeds the specified limit of 10.
+
+ Function: QMsm_dispatch_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 2
+ Conditional if / else if: 12
+ Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
+ LOC 107 eLOC 91 lLOC 56 Comment 70 Lines 148
+ ------------------------ Function End Line: 318 ------------------------
+
+ ----------------------- Function Begin Line: 334 -----------------------
+ Function: QMsm_execTatbl_
+ Parameters: (QMsm * const me, QMTranActTable const *tatbl)
+
+ Function: QMsm_execTatbl_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 6
+ Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
+ LOC 53 eLOC 43 lLOC 21 Comment 33 Lines 64
+ ------------------------ Function End Line: 397 ------------------------
+
+ ----------------------- Function Begin Line: 412 -----------------------
+ Function: QMsm_exitToTranSource_
+ Parameters: (QMsm * const me, QMState const *s, QMState const * const ts
+ )
+
+ Function: QMsm_exitToTranSource_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 3
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 24 eLOC 16 lLOC 7 Comment 21 Lines 32
+ ------------------------ Function End Line: 443 ------------------------
+
+ ----------------------- Function Begin Line: 457 -----------------------
+ Function: QMsm_enterHistory_
+ Parameters: (QMsm * const me, QMState const * const hist)
+
+ Function: QMsm_enterHistory_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 2
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 37 eLOC 31 lLOC 21 Comment 23 Lines 45
+ ------------------------ Function End Line: 501 ------------------------
+
+ Notice #24: Line 517: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 517 -----------------------
+ Function: QMsm_isInState
+ Parameters: (QMsm * const me, QMState const * const state)
+
+ Notice #24: Line 518: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 518: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 523: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #44: Line 524, The keyword 'break' has been identified
+ outside a 'switch' logic control structure. The use
+ of 'break' interrupts the linear logic flow and can create
+ source code which is difficult to maintain.
+
+ Function: QMsm_isInState
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
+ ------------------------ Function End Line: 528 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 289 eLOC 241 lLOC 133 Comment 264 Lines 528
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 7
+ Total Function LOC.....: 264 Total Function Pts LOC : 2.3
+ Total Function eLOC....: 218 Total Function Pts eLOC: 1.9
+ Total Function lLOC....: 128 Total Function Pts lLOC: 1.0
+ Total Function Params .: 15 Total Function Return .: 7
+ Total Cyclo Complexity : 41 Total Function Complex.: 63
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 107 Average Function LOC ..: 37.71
+ Max Function eLOC .....: 91 Average Function eLOC .: 31.14
+ Max Function lLOC .....: 56 Average Function lLOC .: 18.29
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 2.14
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 3.14
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.86
+ Max Total Complexity ..: 18 Avg Total Complexity ..: 9.00
+ ________________________________________________________________________
+ End of File: ..\source\qep_msm.c
+
+
+ File: ..\source\qf_act.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 69 -----------------------
+ Function: QF_add_
+ Parameters: (QMActive * const a)
+
+ Function: QF_add_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 23 Lines 25
+ ------------------------- Function End Line: 93 ------------------------
+
+ ----------------------- Function Begin Line: 109 -----------------------
+ Function: QF_remove_
+ Parameters: (QMActive const * const a)
+
+ Function: QF_remove_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 22 Lines 24
+ ------------------------ Function End Line: 132 ------------------------
+
+ ----------------------- Function Begin Line: 158 -----------------------
+ Function: QF_bzero
+ Parameters: (void * const start, uint_fast16_t len)
+
+ Function: QF_bzero
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 8 eLOC 6 lLOC 4 Comment 14 Lines 8
+ ------------------------ Function End Line: 165 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 175 eLOC 167 lLOC 25 Comment 122 Lines 298
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 38 Total Function Pts LOC : 1.4
+ Total Function eLOC....: 34 Total Function Pts eLOC: 1.3
+ Total Function lLOC....: 20 Total Function Pts lLOC: 0.2
+ Total Function Params .: 4 Total Function Return .: 3
+ Total Cyclo Complexity : 8 Total Function Complex.: 15
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 15 Average Function LOC ..: 12.67
+ Max Function eLOC .....: 14 Average Function eLOC .: 11.33
+ Max Function lLOC .....: 8 Average Function lLOC .: 6.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.33
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.33
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.67
+ Max Total Complexity ..: 5 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\source\qf_act.c
+
+
+ File: ..\source\qf_actq.c
+ ________________________________________________________________________
+
+
+ Notice #24: Line 100: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 103: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 106 -----------------------
+ Function: QActive_post_
+ Parameters: (QMActive * const me, QEvt const * const e, uint_fast16_t co
+ nst margin)
+
+ Notice #24: Line 108: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 155: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 174: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QActive_post_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 5
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 55 eLOC 46 lLOC 34 Comment 79 Lines 74
+ ------------------------ Function End Line: 179 ------------------------
+
+ ----------------------- Function Begin Line: 195 -----------------------
+ Function: QActive_postLIFO_
+ Parameters: (QMActive * const me, QEvt const * const e)
+
+ Function: QActive_postLIFO_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 4
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 37 eLOC 31 lLOC 22 Comment 36 Lines 50
+ ------------------------ Function End Line: 244 ------------------------
+
+ ----------------------- Function Begin Line: 259 -----------------------
+ Function: QActive_get_
+ Parameters: (QMActive * const me)
+
+ Function: QActive_get_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 37 eLOC 33 lLOC 24 Comment 32 Lines 48
+ ------------------------ Function End Line: 306 ------------------------
+
+ ----------------------- Function Begin Line: 326 -----------------------
+ Function: QF_getQueueMin
+ Parameters: (uint_fast8_t const prio)
+
+ Function: QF_getQueueMin
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 6 Comment 18 Lines 13
+ ------------------------ Function End Line: 338 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 156 eLOC 136 lLOC 86 Comment 216 Lines 338
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 4
+ Total Function LOC.....: 139 Total Function Pts LOC : 1.2
+ Total Function eLOC....: 119 Total Function Pts eLOC: 1.1
+ Total Function lLOC....: 86 Total Function Pts lLOC: 0.7
+ Total Function Params .: 7 Total Function Return .: 4
+ Total Cyclo Complexity : 16 Total Function Complex.: 27
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 55 Average Function LOC ..: 34.75
+ Max Function eLOC .....: 46 Average Function eLOC .: 29.75
+ Max Function lLOC .....: 34 Average Function lLOC .: 21.50
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.75
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.75
+ Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 4.00
+ Max Total Complexity ..: 10 Avg Total Complexity ..: 6.75
+ ________________________________________________________________________
+ End of File: ..\source\qf_actq.c
+
+
+ File: ..\source\qf_defer.c
+ ________________________________________________________________________
+
+
+ Notice #24: Line 70: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ------------------------ Function Begin Line: 72 -----------------------
+ Function: QActive_defer
+ Parameters: (QMActive * const me, QEQueue * const eq, QEvt const * const
+ e)
+
+ Function: QActive_defer
+ Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
+ LOC 4 eLOC 2 lLOC 2 Comment 24 Lines 4
+ ------------------------- Function End Line: 75 ------------------------
+
+ Notice #24: Line 97: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ------------------------ Function Begin Line: 97 -----------------------
+ Function: QActive_recall
+ Parameters: (QMActive * const me, QEQueue * const eq)
+
+ Notice #24: Line 99: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 126: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 129: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QActive_recall
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 15 lLOC 10 Comment 33 Lines 36
+ ------------------------ Function End Line: 132 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 30 eLOC 24 lLOC 12 Comment 100 Lines 132
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 23 Total Function Pts LOC : 0.2
+ Total Function eLOC....: 17 Total Function Pts eLOC: 0.2
+ Total Function lLOC....: 12 Total Function Pts lLOC: 0.1
+ Total Function Params .: 5 Total Function Return .: 2
+ Total Cyclo Complexity : 4 Total Function Complex.: 11
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 19 Average Function LOC ..: 11.50
+ Max Function eLOC .....: 15 Average Function eLOC .: 8.50
+ Max Function lLOC .....: 10 Average Function lLOC .: 6.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 2.50
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 3.50
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 5.50
+ ________________________________________________________________________
+ End of File: ..\source\qf_defer.c
+
+
+ File: ..\source\qf_dyn.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 68 -----------------------
+ Function: QEvt_ctor
+ Parameters: (QEvt * const me, enum_t const sig)
+
+ Function: QEvt_ctor
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
+ ------------------------- Function End Line: 73 ------------------------
+
+ ----------------------- Function Begin Line: 114 -----------------------
+ Function: QF_poolInit
+ Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
+ st16_t const evtSize)
+
+ Function: QF_poolInit
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical or ( || ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 9 eLOC 7 lLOC 4 Comment 38 Lines 13
+ ------------------------ Function End Line: 126 ------------------------
+
+ ----------------------- Function Begin Line: 152 -----------------------
+ Function: QF_newX_
+ Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
+ um_t const sig)
+
+ Notice #44: Line 160, The keyword 'break' has been identified
+ outside a 'switch' logic control structure. The use
+ of 'break' interrupts the linear logic flow and can create
+ source code which is difficult to maintain.
+
+ Function: QF_newX_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 2
+ Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
+ LOC 26 eLOC 20 lLOC 14 Comment 35 Lines 35
+ ------------------------ Function End Line: 186 ------------------------
+
+ ----------------------- Function Begin Line: 211 -----------------------
+ Function: QF_gc
+ Parameters: (QEvt const * const e)
+
+ Function: QF_gc
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 26 eLOC 22 lLOC 13 Comment 35 Lines 39
+ ------------------------ Function End Line: 249 ------------------------
+
+ ----------------------- Function Begin Line: 264 -----------------------
+ Function: QF_newRef_
+ Parameters: (QEvt const * const e, QEvt const * const evtRef)
+
+ Function: QF_newRef_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 7 eLOC 5 lLOC 3 Comment 16 Lines 11
+ ------------------------ Function End Line: 274 ------------------------
+
+ ----------------------- Function Begin Line: 281 -----------------------
+ Function: QF_poolGetMaxBlockSize
+ Parameters: (void)
+
+ Function: QF_poolGetMaxBlockSize
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
+ ------------------------ Function End Line: 283 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 94 eLOC 78 lLOC 40 Comment 191 Lines 283
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 6
+ Total Function LOC.....: 76 Total Function Pts LOC : 0.7
+ Total Function eLOC....: 60 Total Function Pts eLOC: 0.6
+ Total Function lLOC....: 38 Total Function Pts lLOC: 0.3
+ Total Function Params .: 11 Total Function Return .: 6
+ Total Cyclo Complexity : 13 Total Function Complex.: 30
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 26 Average Function LOC ..: 12.67
+ Max Function eLOC .....: 22 Average Function eLOC .: 10.00
+ Max Function lLOC .....: 14 Average Function lLOC .: 6.33
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.83
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.83
+ Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.17
+ Max Total Complexity ..: 8 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\source\qf_dyn.c
+
+
+ File: ..\source\qf_mem.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 87 -----------------------
+ Function: QMPool_init
+ Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool
+ Size, uint_fast16_t blockSize)
+
+ Function: QMPool_init
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 2
+ Logical and ( && ) : 2
+ Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
+ LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
+ ------------------------ Function End Line: 138 ------------------------
+
+ ----------------------- Function Begin Line: 160 -----------------------
+ Function: QMPool_put
+ Parameters: (QMPool * const me, void *b)
+
+ Function: QMPool_put
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
+ ------------------------ Function End Line: 181 ------------------------
+
+ ----------------------- Function Begin Line: 210 -----------------------
+ Function: QMPool_get
+ Parameters: (QMPool * const me, uint_fast16_t const margin)
+
+ Function: QMPool_get
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 41 eLOC 35 lLOC 23 Comment 54 Lines 65
+ ------------------------ Function End Line: 274 ------------------------
+
+ ----------------------- Function Begin Line: 288 -----------------------
+ Function: QF_getPoolMin
+ Parameters: (uint_fast8_t const poolId)
+
+ Function: QF_getPoolMin
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 6 Comment 13 Lines 14
+ ------------------------ Function End Line: 301 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 114 eLOC 102 lLOC 62 Comment 201 Lines 301
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 4
+ Total Function LOC.....: 102 Total Function Pts LOC : 0.9
+ Total Function eLOC....: 90 Total Function Pts eLOC: 0.8
+ Total Function lLOC....: 62 Total Function Pts lLOC: 0.5
+ Total Function Params .: 9 Total Function Return .: 4
+ Total Cyclo Complexity : 13 Total Function Complex.: 26
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 41 Average Function LOC ..: 25.50
+ Max Function eLOC .....: 35 Average Function eLOC .: 22.50
+ Max Function lLOC .....: 24 Average Function lLOC .: 15.50
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 4 Avg Function Parameters: 2.25
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 5 Avg Interface Complex. : 3.25
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.25
+ Max Total Complexity ..: 10 Avg Total Complexity ..: 6.50
+ ________________________________________________________________________
+ End of File: ..\source\qf_mem.c
+
+
+ File: ..\source\qf_ps.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 85 -----------------------
+ Function: QF_psInit
+ Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
+
+ Function: QF_psInit
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 7 eLOC 6 lLOC 3 Comment 32 Lines 12
+ ------------------------- Function End Line: 96 ------------------------
+
+ ----------------------- Function Begin Line: 119 -----------------------
+ Function: QF_publish_
+ Parameters: (QEvt const * const e)
+
+ Function: QF_publish_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 3
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 43 eLOC 34 lLOC 24 Comment 39 Lines 70
+ ------------------------ Function End Line: 188 ------------------------
+
+ ----------------------- Function Begin Line: 208 -----------------------
+ Function: QActive_subscribe
+ Parameters: (QActive const * const me, enum_t const sig)
+
+ Function: QActive_subscribe
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 4
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 17 eLOC 16 lLOC 9 Comment 22 Lines 22
+ ------------------------ Function End Line: 229 ------------------------
+
+ ----------------------- Function Begin Line: 253 -----------------------
+ Function: QActive_unsubscribe
+ Parameters: (QActive const * const me, enum_t const sig)
+
+ Function: QActive_unsubscribe
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 4
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 17 eLOC 16 lLOC 9 Comment 29 Lines 25
+ ------------------------ Function End Line: 277 ------------------------
+
+ ----------------------- Function Begin Line: 300 -----------------------
+ Function: QActive_unsubscribeAll
+ Parameters: (QActive const * const me)
+
+ Function: QActive_unsubscribeAll
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 2
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 26 eLOC 22 lLOC 12 Comment 25 Lines 31
+ ------------------------ Function End Line: 330 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 127 eLOC 111 lLOC 59 Comment 195 Lines 330
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 5
+ Total Function LOC.....: 110 Total Function Pts LOC : 1.0
+ Total Function eLOC....: 94 Total Function Pts eLOC: 0.9
+ Total Function lLOC....: 57 Total Function Pts lLOC: 0.5
+ Total Function Params .: 8 Total Function Return .: 5
+ Total Cyclo Complexity : 21 Total Function Complex.: 34
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 43 Average Function LOC ..: 22.00
+ Max Function eLOC .....: 34 Average Function eLOC .: 18.80
+ Max Function lLOC .....: 24 Average Function lLOC .: 11.40
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.60
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.60
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 4.20
+ Max Total Complexity ..: 8 Avg Total Complexity ..: 6.80
+ ________________________________________________________________________
+ End of File: ..\source\qf_ps.c
+
+
+ File: ..\source\qf_qact.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 65 -----------------------
+ Function: QActive_ctor
+ Parameters: (QActive * const me, QStateHandler initial)
+
+ Function: QActive_ctor
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17
+ ------------------------- Function End Line: 81 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 14 eLOC 12 lLOC 4 Comment 69 Lines 81
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 12 Total Function Pts LOC : 0.1
+ Total Function eLOC....: 10 Total Function Pts eLOC: 0.1
+ Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
+ Total Function Params .: 2 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 4
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 12 Average Function LOC ..: 12.00
+ Max Function eLOC .....: 10 Average Function eLOC .: 10.00
+ Max Function lLOC .....: 4 Average Function lLOC .: 4.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 2.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 3.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00
+ ________________________________________________________________________
+ End of File: ..\source\qf_qact.c
+
+
+ File: ..\source\qf_qeq.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 72 -----------------------
+ Function: QEQueue_init
+ Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const
+ qLen)
+
+ Function: QEQueue_init
+ Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
+ LOC 14 eLOC 12 lLOC 9 Comment 22 Lines 16
+ ------------------------- Function End Line: 87 ------------------------
+
+ Notice #24: Line 116: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 118 -----------------------
+ Function: QEQueue_post
+ Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con
+ st margin)
+
+ Notice #24: Line 120: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 166: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 184: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QEQueue_post
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 5
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 51 eLOC 42 lLOC 30 Comment 55 Lines 72
+ ------------------------ Function End Line: 189 ------------------------
+
+ ----------------------- Function Begin Line: 211 -----------------------
+ Function: QEQueue_postLIFO
+ Parameters: (QEQueue * const me, QEvt const * const e)
+
+ Function: QEQueue_postLIFO
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 4
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 34 eLOC 29 lLOC 21 Comment 41 Lines 44
+ ------------------------ Function End Line: 254 ------------------------
+
+ ----------------------- Function Begin Line: 272 -----------------------
+ Function: QEQueue_get
+ Parameters: (QEQueue * const me)
+
+ Function: QEQueue_get
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 36 eLOC 31 lLOC 21 Comment 35 Lines 46
+ ------------------------ Function End Line: 317 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 149 eLOC 128 lLOC 81 Comment 204 Lines 317
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 4
+ Total Function LOC.....: 135 Total Function Pts LOC : 1.2
+ Total Function eLOC....: 114 Total Function Pts eLOC: 1.0
+ Total Function lLOC....: 81 Total Function Pts lLOC: 0.6
+ Total Function Params .: 9 Total Function Return .: 4
+ Total Cyclo Complexity : 16 Total Function Complex.: 29
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 51 Average Function LOC ..: 33.75
+ Max Function eLOC .....: 42 Average Function eLOC .: 28.50
+ Max Function lLOC .....: 30 Average Function lLOC .: 20.25
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 2.25
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 3.25
+ Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 4.00
+ Max Total Complexity ..: 10 Avg Total Complexity ..: 7.25
+ ________________________________________________________________________
+ End of File: ..\source\qf_qeq.c
+
+
+ File: ..\source\qf_qmact.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 67 -----------------------
+ Function: QMActive_ctor
+ Parameters: (QMActive * const me, QStateHandler initial)
+
+ Function: QMActive_ctor
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28
+ ------------------------- Function End Line: 94 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 15 eLOC 13 lLOC 4 Comment 79 Lines 94
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 12 Total Function Pts LOC : 0.1
+ Total Function eLOC....: 10 Total Function Pts eLOC: 0.1
+ Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
+ Total Function Params .: 2 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 4
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 12 Average Function LOC ..: 12.00
+ Max Function eLOC .....: 10 Average Function eLOC .: 10.00
+ Max Function lLOC .....: 4 Average Function lLOC .: 4.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 2.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 3.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00
+ ________________________________________________________________________
+ End of File: ..\source\qf_qmact.c
+
+
+ File: ..\source\qf_time.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 77 -----------------------
+ Function: QF_tickX_
+ Parameters: (uint_fast8_t const tickRate)
+
+ Notice #107: Line: 89 A double ;; has been identified
+
+ Notice #44: Line 105, The keyword 'break' has been identified
+ outside a 'switch' logic control structure. The use
+ of 'break' interrupts the linear logic flow and can create
+ source code which is difficult to maintain.
+
+ Function: QF_tickX_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 5
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 65 eLOC 53 lLOC 36 Comment 53 Lines 93
+ ------------------------ Function End Line: 169 ------------------------
+
+ Notice #24: Line 196: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 196 -----------------------
+ Function: QF_noTimeEvtsActiveX
+ Parameters: (uint_fast8_t const tickRate)
+
+ Notice #24: Line 197: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 203: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 206: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 209: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QF_noTimeEvtsActiveX
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 14 eLOC 10 lLOC 6 Comment 13 Lines 17
+ ------------------------ Function End Line: 212 ------------------------
+
+ ----------------------- Function Begin Line: 233 -----------------------
+ Function: QTimeEvt_ctorX
+ Parameters: (QTimeEvt * const me, QMActive * const act, enum_t const sig
+ , uint_fast8_t tickRate)
+
+ Function: QTimeEvt_ctorX
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
+ LOC 11 eLOC 9 lLOC 8 Comment 32 Lines 31
+ ------------------------ Function End Line: 263 ------------------------
+
+ ----------------------- Function Begin Line: 293 -----------------------
+ Function: QTimeEvt_armX
+ Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
+ const interval)
+
+ Function: QTimeEvt_armX
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 4
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 28 eLOC 25 lLOC 16 Comment 49 Lines 50
+ ------------------------ Function End Line: 342 ------------------------
+
+ Notice #24: Line 361: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 361 -----------------------
+ Function: QTimeEvt_disarm
+ Parameters: (QTimeEvt * const me)
+
+ Notice #24: Line 362: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 369: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 384: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QTimeEvt_disarm
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 29 eLOC 26 lLOC 17 Comment 30 Lines 37
+ ------------------------ Function End Line: 397 ------------------------
+
+ Notice #24: Line 420: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 420 -----------------------
+ Function: QTimeEvt_rearm
+ Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
+
+ Notice #24: Line 423: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 438: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 463: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QTimeEvt_rearm
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Logical and ( && ) : 3
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 33 eLOC 29 lLOC 18 Comment 47 Lines 59
+ ------------------------ Function End Line: 478 ------------------------
+
+ ----------------------- Function Begin Line: 494 -----------------------
+ Function: QTimeEvt_ctr
+ Parameters: (QTimeEvt const * const me)
+
+ Function: QTimeEvt_ctr
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 16 eLOC 15 lLOC 11 Comment 20 Lines 19
+ ------------------------ Function End Line: 512 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 216 eLOC 187 lLOC 113 Comment 304 Lines 512
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 7
+ Total Function LOC.....: 196 Total Function Pts LOC : 1.7
+ Total Function eLOC....: 167 Total Function Pts eLOC: 1.5
+ Total Function lLOC....: 112 Total Function Pts lLOC: 0.9
+ Total Function Params .: 13 Total Function Return .: 7
+ Total Cyclo Complexity : 27 Total Function Complex.: 47
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 65 Average Function LOC ..: 28.00
+ Max Function eLOC .....: 53 Average Function eLOC .: 23.86
+ Max Function lLOC .....: 36 Average Function lLOC .: 16.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 4 Avg Function Parameters: 1.86
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 5 Avg Interface Complex. : 2.86
+ Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.86
+ Max Total Complexity ..: 10 Avg Total Complexity ..: 6.71
+ ________________________________________________________________________
+ End of File: ..\source\qf_time.c
+
+
+ File: ..\source\qk.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 73 -----------------------
+ Function: QF_init
+ Parameters: (void)
+
+ Function: QF_init
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 16 eLOC 15 lLOC 10 Comment 19 Lines 25
+ ------------------------- Function End Line: 97 ------------------------
+
+ ----------------------- Function Begin Line: 111 -----------------------
+ Function: QF_stop
+ Parameters: (void)
+
+ Function: QF_stop
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
+ ------------------------ Function End Line: 114 ------------------------
+
+ ----------------------- Function Begin Line: 119 -----------------------
+ Function: initial_events
+ Parameters: (void)
+
+ Function: initial_events
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 8 eLOC 6 lLOC 4 Comment 6 Lines 11
+ ------------------------ Function End Line: 129 ------------------------
+
+ ----------------------- Function Begin Line: 147 -----------------------
+ Function: QF_run
+ Parameters: (void)
+
+ Notice #107: Line: 154 A double ;; has been identified
+
+ Function: QF_run
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 15
+ ------------------------ Function End Line: 161 ------------------------
+
+ ----------------------- Function Begin Line: 190 -----------------------
+ Function: QActive_start_
+ Parameters: (QMActive * const me, uint_fast8_t prio, QEvt const *qSto[],
+ uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QE
+ vt const *ie)
+
+ Notice #29: Line 208: The number of function input parameters,
+ 7 exceeds the specified limit of 6.
+
+ Function: QActive_start_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 7 Return 1 Cyclo Vg 3 Total 11
+ LOC 15 eLOC 13 lLOC 9 Comment 29 Lines 19
+ ------------------------ Function End Line: 208 ------------------------
+
+ ----------------------- Function Begin Line: 222 -----------------------
+ Function: QActive_stop
+ Parameters: (QMActive *me)
+
+ Function: QActive_stop
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 3
+ ------------------------ Function End Line: 224 ------------------------
+
+ ----------------------- Function Begin Line: 241 -----------------------
+ Function: QK_schedPrio_
+ Parameters: (void)
+
+ Function: QK_schedPrio_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 19 eLOC 15 lLOC 6 Comment 23 Lines 26
+ ------------------------ Function End Line: 266 ------------------------
+
+ ----------------------- Function Begin Line: 278 -----------------------
+ Function: QK_sched_
+ Parameters: (uint_fast8_t p)
+
+ Function: QK_sched_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 4
+ Logical or ( || ) : 3
+ Complexity Param 1 Return 1 Cyclo Vg 9 Total 11
+ LOC 65 eLOC 58 lLOC 27 Comment 55 Lines 95
+ ------------------------ Function End Line: 372 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 163 eLOC 143 lLOC 70 Comment 230 Lines 372
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 8
+ Total Function LOC.....: 141 Total Function Pts LOC : 1.3
+ Total Function eLOC....: 121 Total Function Pts eLOC: 1.1
+ Total Function lLOC....: 65 Total Function Pts lLOC: 0.5
+ Total Function Params .: 9 Total Function Return .: 8
+ Total Cyclo Complexity : 22 Total Function Complex.: 39
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 65 Average Function LOC ..: 17.63
+ Max Function eLOC .....: 58 Average Function eLOC .: 15.13
+ Max Function lLOC .....: 27 Average Function lLOC .: 8.13
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 7 Avg Function Parameters: 1.13
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 8 Avg Interface Complex. : 2.13
+ Max Cyclomatic Complex.: 9 Avg Cyclomatic Complex.: 2.75
+ Max Total Complexity ..: 11 Avg Total Complexity ..: 4.88
+ ________________________________________________________________________
+ End of File: ..\source\qk.c
+
+
+ File: ..\source\qk_mutex.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 72 -----------------------
+ Function: QK_mutexLock
+ Parameters: (uint_fast8_t prioCeiling)
+
+ Function: QK_mutexLock
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 16 eLOC 14 lLOC 9 Comment 21 Lines 18
+ ------------------------- Function End Line: 89 ------------------------
+
+ ----------------------- Function Begin Line: 106 -----------------------
+ Function: QK_mutexUnlock
+ Parameters: (QMutex mutex)
+
+ Function: QK_mutexUnlock
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 17 eLOC 14 lLOC 8 Comment 20 Lines 19
+ ------------------------ Function End Line: 124 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 45 eLOC 40 lLOC 18 Comment 89 Lines 124
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 33 Total Function Pts LOC : 0.4
+ Total Function eLOC....: 28 Total Function Pts eLOC: 0.3
+ Total Function lLOC....: 17 Total Function Pts lLOC: 0.1
+ Total Function Params .: 2 Total Function Return .: 2
+ Total Cyclo Complexity : 5 Total Function Complex.: 9
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 17 Average Function LOC ..: 16.50
+ Max Function eLOC .....: 14 Average Function eLOC .: 14.00
+ Max Function lLOC .....: 9 Average Function lLOC .: 8.50
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.50
+ Max Total Complexity ..: 5 Avg Total Complexity ..: 4.50
+ ________________________________________________________________________
+ End of File: ..\source\qk_mutex.c
+
+
+ File: ..\source\qs.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 74 -----------------------
+ Function: QS_initBuf
+ Parameters: (uint8_t sto[], uint_fast16_t stoSize)
+
+ Function: QS_initBuf
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 21 eLOC 20 lLOC 19 Comment 30 Lines 35
+ ------------------------ Function End Line: 108 ------------------------
+
+ ----------------------- Function Begin Line: 123 -----------------------
+ Function: QS_filterOn
+ Parameters: (uint_fast8_t rec)
+
+ Function: QS_filterOn
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 17 eLOC 12 lLOC 6 Comment 16 Lines 19
+ ------------------------ Function End Line: 141 ------------------------
+
+ ----------------------- Function Begin Line: 155 -----------------------
+ Function: QS_filterOff
+ Parameters: (uint_fast8_t rec)
+
+ Function: QS_filterOff
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 20 eLOC 15 lLOC 10 Comment 16 Lines 25
+ ------------------------ Function End Line: 179 ------------------------
+
+ ----------------------- Function Begin Line: 189 -----------------------
+ Function: QS_beginRec
+ Parameters: (uint_fast8_t rec)
+
+ Function: QS_beginRec
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 14 eLOC 13 lLOC 10 Comment 18 Lines 18
+ ------------------------ Function End Line: 206 ------------------------
+
+ ----------------------- Function Begin Line: 216 -----------------------
+ Function: QS_endRec
+ Parameters: (void)
+
+ Function: QS_endRec
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
+ ------------------------ Function End Line: 243 ------------------------
+
+ ----------------------- Function Begin Line: 246 -----------------------
+ Function: QS_target_info_
+ Parameters: (uint8_t isReset)
+
+ Notice #28: Line 356: The function cyclomatic complexity of
+ 15 exceeds the specified limit of 10.
+
+ Function: QS_target_info_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 12
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
+ ------------------------ Function End Line: 356 ------------------------
+
+ ----------------------- Function Begin Line: 364 -----------------------
+ Function: QS_u8
+ Parameters: (uint8_t format, uint8_t d)
+
+ Function: QS_u8
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 11 eLOC 10 lLOC 7 Comment 13 Lines 14
+ ------------------------ Function End Line: 377 ------------------------
+
+ ----------------------- Function Begin Line: 385 -----------------------
+ Function: QS_u16
+ Parameters: (uint8_t format, uint16_t d)
+
+ Function: QS_u16
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 15 eLOC 14 lLOC 10 Comment 13 Lines 20
+ ------------------------ Function End Line: 404 ------------------------
+
+ ----------------------- Function Begin Line: 411 -----------------------
+ Function: QS_u32
+ Parameters: (uint8_t format, uint32_t d)
+
+ Function: QS_u32
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 16 eLOC 14 lLOC 11 Comment 14 Lines 20
+ ------------------------ Function End Line: 430 ------------------------
+
+ ----------------------- Function Begin Line: 437 -----------------------
+ Function: QS_u8_
+ Parameters: (uint8_t d)
+
+ Function: QS_u8_
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
+ ------------------------ Function End Line: 448 ------------------------
+
+ ----------------------- Function Begin Line: 454 -----------------------
+ Function: QS_u8u8_
+ Parameters: (uint8_t d1, uint8_t d2)
+
+ Function: QS_u8u8_
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 11 eLOC 10 lLOC 7 Comment 11 Lines 13
+ ------------------------ Function End Line: 466 ------------------------
+
+ ----------------------- Function Begin Line: 473 -----------------------
+ Function: QS_u16_
+ Parameters: (uint16_t d)
+
+ Function: QS_u16_
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 14 eLOC 13 lLOC 10 Comment 12 Lines 18
+ ------------------------ Function End Line: 490 ------------------------
+
+ ----------------------- Function Begin Line: 496 -----------------------
+ Function: QS_u32_
+ Parameters: (uint32_t d)
+
+ Function: QS_u32_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 15 eLOC 13 lLOC 11 Comment 11 Lines 17
+ ------------------------ Function End Line: 512 ------------------------
+
+ ----------------------- Function Begin Line: 519 -----------------------
+ Function: QS_str_
+ Parameters: (char_t const *s)
+
+ Function: QS_str_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
+ ------------------------ Function End Line: 540 ------------------------
+
+ ----------------------- Function Begin Line: 547 -----------------------
+ Function: QS_str_ROM_
+ Parameters: (char_t const Q_ROM *s)
+
+ Function: QS_str_ROM_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
+ ------------------------ Function End Line: 568 ------------------------
+
+ ----------------------- Function Begin Line: 581 -----------------------
+ Function: QS_getByte
+ Parameters: (void)
+
+ Function: QS_getByte
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 18 eLOC 14 lLOC 10 Comment 20 Lines 18
+ ------------------------ Function End Line: 598 ------------------------
+
+ ----------------------- Function Begin Line: 623 -----------------------
+ Function: QS_getBlock
+ Parameters: (uint16_t *pNbytes)
+
+ Function: QS_getBlock
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 4
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 29 eLOC 23 lLOC 17 Comment 32 Lines 33
+ ------------------------ Function End Line: 655 ------------------------
+
+ ----------------------- Function Begin Line: 662 -----------------------
+ Function: QS_sig_dict
+ Parameters: (enum_t const sig, void const * const obj, char_t const Q_RO
+ M *name)
+
+ Function: QS_sig_dict
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
+ ------------------------ Function End Line: 676 ------------------------
+
+ ----------------------- Function Begin Line: 683 -----------------------
+ Function: QS_obj_dict
+ Parameters: (void const * const obj, char_t const Q_ROM *name)
+
+ Function: QS_obj_dict
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
+ ------------------------ Function End Line: 696 ------------------------
+
+ ----------------------- Function Begin Line: 703 -----------------------
+ Function: QS_fun_dict
+ Parameters: (void (* const fun)(void), char_t const Q_ROM *name)
+
+ Function: QS_fun_dict
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
+ ------------------------ Function End Line: 716 ------------------------
+
+ ----------------------- Function Begin Line: 723 -----------------------
+ Function: QS_usr_dict
+ Parameters: (enum_t const rec, char_t const Q_ROM * const name)
+
+ Function: QS_usr_dict
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
+ ------------------------ Function End Line: 733 ------------------------
+
+ ----------------------- Function Begin Line: 739 -----------------------
+ Function: QS_mem
+ Parameters: (uint8_t const *blk, uint8_t size)
+
+ Function: QS_mem
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 18 eLOC 16 lLOC 11 Comment 11 Lines 23
+ ------------------------ Function End Line: 761 ------------------------
+
+ ----------------------- Function Begin Line: 768 -----------------------
+ Function: QS_str
+ Parameters: (char_t const *s)
+
+ Function: QS_str
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 21 eLOC 19 lLOC 14 Comment 16 Lines 24
+ ------------------------ Function End Line: 791 ------------------------
+
+ ----------------------- Function Begin Line: 797 -----------------------
+ Function: QS_str_ROM
+ Parameters: (char_t const Q_ROM *s)
+
+ Function: QS_str_ROM
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 21 eLOC 19 lLOC 14 Comment 15 Lines 25
+ ------------------------ Function End Line: 821 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 495 eLOC 432 lLOC 295 Comment 376 Lines 821
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 24
+ Total Function LOC.....: 480 Total Function Pts LOC : 3.9
+ Total Function eLOC....: 417 Total Function Pts eLOC: 3.4
+ Total Function lLOC....: 292 Total Function Pts lLOC: 2.3
+ Total Function Params .: 33 Total Function Return .: 24
+ Total Cyclo Complexity : 61 Total Function Complex.: 118
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 97 Average Function LOC ..: 20.00
+ Max Function eLOC .....: 90 Average Function eLOC .: 17.38
+ Max Function lLOC .....: 48 Average Function lLOC .: 12.17
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.38
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.38
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 2.54
+ Max Total Complexity ..: 17 Avg Total Complexity ..: 4.92
+ ________________________________________________________________________
+ End of File: ..\source\qs.c
+
+
+ File: ..\source\qs_64bit.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 51 -----------------------
+ Function: QS_u64_
+ Parameters: (uint64_t d)
+
+ Function: QS_u64_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 15 eLOC 13 lLOC 11 Comment 7 Lines 17
+ ------------------------- Function End Line: 67 ------------------------
+
+ ------------------------ Function Begin Line: 73 -----------------------
+ Function: QS_u64
+ Parameters: (uint8_t format, uint64_t d)
+
+ Function: QS_u64
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 16 eLOC 14 lLOC 11 Comment 9 Lines 20
+ ------------------------- Function End Line: 92 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 35 eLOC 31 lLOC 22 Comment 57 Lines 94
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 31 Total Function Pts LOC : 0.3
+ Total Function eLOC....: 27 Total Function Pts eLOC: 0.2
+ Total Function lLOC....: 22 Total Function Pts lLOC: 0.2
+ Total Function Params .: 3 Total Function Return .: 2
+ Total Cyclo Complexity : 4 Total Function Complex.: 9
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 16 Average Function LOC ..: 15.50
+ Max Function eLOC .....: 14 Average Function eLOC .: 13.50
+ Max Function lLOC .....: 11 Average Function lLOC .: 11.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.50
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.50
+ Max Cyclomatic Complex.: 2 Avg Cyclomatic Complex.: 2.00
+ Max Total Complexity ..: 5 Avg Total Complexity ..: 4.50
+ ________________________________________________________________________
+ End of File: ..\source\qs_64bit.c
+
+
+ File: ..\source\qs_fp.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 48 -----------------------
+ Function: QS_f32
+ Parameters: (uint8_t format, float32_t f)
+
+ Function: QS_f32
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 21 eLOC 19 lLOC 15 Comment 16 Lines 26
+ ------------------------- Function End Line: 73 ------------------------
+
+ ------------------------ Function Begin Line: 81 -----------------------
+ Function: QS_f64
+ Parameters: (uint8_t format, float64_t d)
+
+ Function: QS_f64
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 2
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 29 eLOC 26 lLOC 20 Comment 14 Lines 36
+ ------------------------ Function End Line: 116 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 52 eLOC 47 lLOC 35 Comment 70 Lines 116
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 50 Total Function Pts LOC : 0.4
+ Total Function eLOC....: 45 Total Function Pts eLOC: 0.4
+ Total Function lLOC....: 35 Total Function Pts lLOC: 0.3
+ Total Function Params .: 4 Total Function Return .: 2
+ Total Cyclo Complexity : 5 Total Function Complex.: 11
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 29 Average Function LOC ..: 25.00
+ Max Function eLOC .....: 26 Average Function eLOC .: 22.50
+ Max Function lLOC .....: 20 Average Function lLOC .: 17.50
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 2.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 3.00
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.50
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 5.50
+ ________________________________________________________________________
+ End of File: ..\source\qs_fp.c
+
+
+ File: ..\source\qs_rx.c
+ ________________________________________________________________________
+
+
+ Notice #53: Line 67, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 71, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 77, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 84, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 89, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 95, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 99, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #53: Line 108, A struct has been identified which does not
+ have a preceding comment. Comments that detail the purpose,
+ algorithms, and parameter/return definitions are suggested.
+
+ Notice #35: Line 118: Public data has been identified with a class
+ specification. This design breaks object encapsulation
+ allowing free access from other objects and functions.
+
+ Notice #35: Line 119: Public data has been identified with a class
+ specification. This design breaks object encapsulation
+ allowing free access from other objects and functions.
+
+ Notice #35: Line 120: Public data has been identified with a class
+ specification. This design breaks object encapsulation
+ allowing free access from other objects and functions.
+
+ Notice #35: Line 121: Public data has been identified with a class
+ specification. This design breaks object encapsulation
+ allowing free access from other objects and functions.
+
+ Notice #35: Line 122: Public data has been identified with a class
+ specification. This design breaks object encapsulation
+ allowing free access from other objects and functions.
+
+ Notice #24: Line 163: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 199 -----------------------
+ Function: QS_rxInitBuf
+ Parameters: (uint8_t sto[], uint16_t stoSize)
+
+ Function: QS_rxInitBuf
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 18 eLOC 17 lLOC 15 Comment 19 Lines 21
+ ------------------------ Function End Line: 219 ------------------------
+
+ ----------------------- Function Begin Line: 230 -----------------------
+ Function: QS_rxGetNfree
+ Parameters: (void)
+
+ Function: QS_rxGetNfree
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 14 eLOC 10 lLOC 5 Comment 9 Lines 14
+ ------------------------ Function End Line: 243 ------------------------
+
+ ----------------------- Function Begin Line: 246 -----------------------
+ Function: QS_rxParse
+ Parameters: (void)
+
+ Function: QS_rxParse
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 5
+ Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
+ LOC 36 eLOC 26 lLOC 16 Comment 5 Lines 41
+ ------------------------ Function End Line: 286 ------------------------
+
+ ----------------------- Function Begin Line: 289 -----------------------
+ Function: QS_rxParseData_
+ Parameters: (uint8_t b)
+
+ Notice #55: Line 511
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #55: Line 514
+ The depth of scope '7' exceeds the notice limit of 6.
+
+ Notice #28: Line 552: The function cyclomatic complexity of
+ 57 exceeds the specified limit of 10.
+
+ Function: QS_rxParseData_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 40
+ Conditional if / else if: 16
+ Complexity Param 1 Return 1 Cyclo Vg 57 Total 59
+ LOC 253 eLOC 196 lLOC 124 Comment 18 Lines 264
+ ------------------------ Function End Line: 552 ------------------------
+
+ ----------------------- Function Begin Line: 555 -----------------------
+ Function: QS_rxHandleGoodFrame_
+ Parameters: (void)
+
+ Notice #28: Line 691: The function cyclomatic complexity of
+ 25 exceeds the specified limit of 10.
+
+ Function: QS_rxHandleGoodFrame_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 3
+ Selection case : 17
+ Conditional if / else if: 4
+ Complexity Param 0 Return 1 Cyclo Vg 25 Total 26
+ LOC 127 eLOC 103 lLOC 69 Comment 15 Lines 137
+ ------------------------ Function End Line: 691 ------------------------
+
+ ----------------------- Function Begin Line: 694 -----------------------
+ Function: QS_rxHandleBadFrame_
+ Parameters: (void)
+
+ Function: QS_rxHandleBadFrame_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Selection case : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 8 lLOC 4 Comment 1 Lines 12
+ ------------------------ Function End Line: 705 ------------------------
+
+ ----------------------- Function Begin Line: 708 -----------------------
+ Function: QS_rxReportSuccess_
+ Parameters: (enum QSpyRxRecords recId)
+
+ Function: QS_rxReportSuccess_
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+ ------------------------ Function End Line: 714 ------------------------
+
+ ----------------------- Function Begin Line: 717 -----------------------
+ Function: QS_rxReportError_
+ Parameters: (uint8_t stateId)
+
+ Function: QS_rxReportError_
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+ ------------------------ Function End Line: 723 ------------------------
+
+ Notice #24: Line 726: An ANSI C++ keyword 'bool' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ ----------------------- Function Begin Line: 726 -----------------------
+ Function: QS_rxAddr_
+ Parameters: (uint8_t b, QSAddr *addr, uint8_t *idx)
+
+ Notice #23: Line 729, The '?' operator was identified. This implied
+ if-else construct can reduce code readability.
+
+ Notice #24: Line 729: An ANSI C++ keyword 'true' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Notice #24: Line 729: An ANSI C++ keyword 'false' has been found
+ within a C file. This will cause a compile error if this file
+ is compiled with a C++ compiler. It is suggested that this
+ symbol name be changed to a non-conflicting name for C to
+ C++ migration.
+
+ Function: QS_rxAddr_
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
+ ------------------------ Function End Line: 730 ------------------------
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 589 eLOC 485 lLOC 298 Comment 131 Lines 730
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 9
+ Total Function LOC.....: 479 Total Function Pts LOC : 4.6
+ Total Function eLOC....: 376 Total Function Pts eLOC: 3.8
+ Total Function lLOC....: 240 Total Function Pts lLOC: 2.3
+ Total Function Params .: 8 Total Function Return .: 9
+ Total Cyclo Complexity : 99 Total Function Complex.: 116
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 253 Average Function LOC ..: 53.22
+ Max Function eLOC .....: 196 Average Function eLOC .: 41.78
+ Max Function lLOC .....: 124 Average Function lLOC .: 26.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 0.89
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 1.89
+ Max Cyclomatic Complex.: 57 Avg Cyclomatic Complex.: 11.00
+ Max Total Complexity ..: 59 Avg Total Complexity ..: 12.89
+ ________________________________________________________________________
+ End of File: ..\source\qs_rx.c
+
+
+ File: ..\source\qv.c
+ ________________________________________________________________________
+
+
+ ------------------------ Function Begin Line: 76 -----------------------
+ Function: QF_init
+ Parameters: (void)
+
+ Function: QF_init
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 8 eLOC 7 lLOC 6 Comment 15 Lines 13
+ ------------------------- Function End Line: 88 ------------------------
+
+ ----------------------- Function Begin Line: 102 -----------------------
+ Function: QF_stop
+ Parameters: (void)
+
+ Function: QF_stop
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
+ ------------------------ Function End Line: 105 ------------------------
+
+ ----------------------- Function Begin Line: 123 -----------------------
+ Function: QF_run
+ Parameters: (void)
+
+ Notice #107: Line: 131 A double ;; has been identified
+
+ NOTICE: The end of the source file has been reached where the
+ open brace count { 10 != 9 } close brace count
+ This is an indication of non-compilable code within the source
+ file. RSM processes all source code including code wrapped
+ with preprocessor directives. Accurate metrics requires that
+ all code present in this file must be compilable.
+
+ NOTICE: The end of the source file has been reached where the
+ local function scope remains open. The last known function
+ will be emitted but metrics cannot be generated in this
+ condition.
+ Function: QF_run
+ Parameters: (void)
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 91 eLOC 81 lLOC 39 Comment 172 Lines 256
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 11 Total Function Pts LOC : 0.7
+ Total Function eLOC....: 9 Total Function Pts eLOC: 0.6
+ Total Function lLOC....: 7 Total Function Pts lLOC: 0.3
+ Total Function Params .: 0 Total Function Return .: 2
+ Total Cyclo Complexity : 2 Total Function Complex.: 4
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 8 Average Function LOC ..: 3.67
+ Max Function eLOC .....: 7 Average Function eLOC .: 3.00
+ Max Function lLOC .....: 6 Average Function lLOC .: 2.33
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 0.67
+ Max Interface Complex. : 1 Avg Interface Complex. : 0.67
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 0.67
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 1.33
+ ________________________________________________________________________
+ End of File: ..\source\qv.c
+
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Analysis For 34 Files ~~
+
+ ------------------------------------------------------------------------
+
+ ~~ Total Project Summary ~~
+
+ LOC 4489 eLOC 4042 lLOC 1890 Comment 6294 Lines 10912
+ Average per File, metric/34 files
+ LOC 132 eLOC 118 lLOC 55 Comment 185 Lines 320
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Functional Metrics ~~
+
+ Function: QHsm_ctor
+ Parameters: (QHsm * const me, QStateHandler initial)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 9 eLOC 7 lLOC 4 Comment 30 Lines 10
+
+ Function: QHsm_init_
+ Parameters: (QHsm * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
+ LOC 50 eLOC 47 lLOC 31 Comment 34 Lines 70
+
+ Function: QHsm_top
+ Parameters: (void const * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5
+
+ Function: QHsm_dispatch_
+ Parameters: (QHsm * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 12 Total 15
+ LOC 105 eLOC 94 lLOC 62 Comment 65 Lines 144
+
+ Function: QHsm_tran_
+ Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_])
+ Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
+ LOC 97 eLOC 76 lLOC 48 Comment 62 Lines 134
+
+ Function: QHsm_isIn
+ Parameters: (QHsm * const me, QStateHandler const state)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
+
+ Function: QMsm_ctor
+ Parameters: (QMsm * const me, QStateHandler initial)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 9 eLOC 7 lLOC 4 Comment 19 Lines 9
+
+ Function: QMsm_init_
+ Parameters: (QMsm * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 23 eLOC 22 lLOC 13 Comment 25 Lines 37
+
+ Function: QMsm_dispatch_
+ Parameters: (QMsm * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
+ LOC 107 eLOC 91 lLOC 56 Comment 70 Lines 148
+
+ Function: QMsm_execTatbl_
+ Parameters: (QMsm * const me, QMTranActTable const *tatbl)
+ Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
+ LOC 53 eLOC 43 lLOC 21 Comment 33 Lines 64
+
+ Function: QMsm_exitToTranSource_
+ Parameters: (QMsm * const me, QMState const *s, QMState const * const ts
+ )
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 24 eLOC 16 lLOC 7 Comment 21 Lines 32
+
+ Function: QMsm_enterHistory_
+ Parameters: (QMsm * const me, QMState const * const hist)
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 37 eLOC 31 lLOC 21 Comment 23 Lines 45
+
+ Function: QMsm_isInState
+ Parameters: (QMsm * const me, QMState const * const state)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
+
+ Function: QF_add_
+ Parameters: (QMActive * const a)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 23 Lines 25
+
+ Function: QF_remove_
+ Parameters: (QMActive const * const a)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 22 Lines 24
+
+ Function: QF_bzero
+ Parameters: (void * const start, uint_fast16_t len)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 8 eLOC 6 lLOC 4 Comment 14 Lines 8
+
+ Function: QActive_post_
+ Parameters: (QMActive * const me, QEvt const * const e, uint_fast16_t co
+ nst margin)
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 55 eLOC 46 lLOC 34 Comment 79 Lines 74
+
+ Function: QActive_postLIFO_
+ Parameters: (QMActive * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 37 eLOC 31 lLOC 22 Comment 36 Lines 50
+
+ Function: QActive_get_
+ Parameters: (QMActive * const me)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 37 eLOC 33 lLOC 24 Comment 32 Lines 48
+
+ Function: QF_getQueueMin
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 6 Comment 18 Lines 13
+
+ Function: QActive_defer
+ Parameters: (QMActive * const me, QEQueue * const eq, QEvt const * const
+ e)
+ Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
+ LOC 4 eLOC 2 lLOC 2 Comment 24 Lines 4
+
+ Function: QActive_recall
+ Parameters: (QMActive * const me, QEQueue * const eq)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 19 eLOC 15 lLOC 10 Comment 33 Lines 36
+
+ Function: QEvt_ctor
+ Parameters: (QEvt * const me, enum_t const sig)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
+
+ Function: QF_poolInit
+ Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
+ st16_t const evtSize)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 9 eLOC 7 lLOC 4 Comment 38 Lines 13
+
+ Function: QF_newX_
+ Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
+ um_t const sig)
+ Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
+ LOC 26 eLOC 20 lLOC 14 Comment 35 Lines 35
+
+ Function: QF_gc
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 26 eLOC 22 lLOC 13 Comment 35 Lines 39
+
+ Function: QF_newRef_
+ Parameters: (QEvt const * const e, QEvt const * const evtRef)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 7 eLOC 5 lLOC 3 Comment 16 Lines 11
+
+ Function: QF_poolGetMaxBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
+
+ Function: QMPool_init
+ Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool
+ Size, uint_fast16_t blockSize)
+ Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
+ LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
+
+ Function: QMPool_put
+ Parameters: (QMPool * const me, void *b)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
+
+ Function: QMPool_get
+ Parameters: (QMPool * const me, uint_fast16_t const margin)
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 41 eLOC 35 lLOC 23 Comment 54 Lines 65
+
+ Function: QF_getPoolMin
+ Parameters: (uint_fast8_t const poolId)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 6 Comment 13 Lines 14
+
+ Function: QF_psInit
+ Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 7 eLOC 6 lLOC 3 Comment 32 Lines 12
+
+ Function: QF_publish_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 43 eLOC 34 lLOC 24 Comment 39 Lines 70
+
+ Function: QActive_subscribe
+ Parameters: (QActive const * const me, enum_t const sig)
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 17 eLOC 16 lLOC 9 Comment 22 Lines 22
+
+ Function: QActive_unsubscribe
+ Parameters: (QActive const * const me, enum_t const sig)
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 17 eLOC 16 lLOC 9 Comment 29 Lines 25
+
+ Function: QActive_unsubscribeAll
+ Parameters: (QActive const * const me)
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 26 eLOC 22 lLOC 12 Comment 25 Lines 31
+
+ Function: QActive_ctor
+ Parameters: (QActive * const me, QStateHandler initial)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17
+
+ Function: QEQueue_init
+ Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const
+ qLen)
+ Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
+ LOC 14 eLOC 12 lLOC 9 Comment 22 Lines 16
+
+ Function: QEQueue_post
+ Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con
+ st margin)
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 51 eLOC 42 lLOC 30 Comment 55 Lines 72
+
+ Function: QEQueue_postLIFO
+ Parameters: (QEQueue * const me, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
+ LOC 34 eLOC 29 lLOC 21 Comment 41 Lines 44
+
+ Function: QEQueue_get
+ Parameters: (QEQueue * const me)
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 36 eLOC 31 lLOC 21 Comment 35 Lines 46
+
+ Function: QMActive_ctor
+ Parameters: (QMActive * const me, QStateHandler initial)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28
+
+ Function: QF_tickX_
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 65 eLOC 53 lLOC 36 Comment 53 Lines 93
+
+ Function: QF_noTimeEvtsActiveX
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 14 eLOC 10 lLOC 6 Comment 13 Lines 17
+
+ Function: QTimeEvt_ctorX
+ Parameters: (QTimeEvt * const me, QMActive * const act, enum_t const sig
+ , uint_fast8_t tickRate)
+ Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
+ LOC 11 eLOC 9 lLOC 8 Comment 32 Lines 31
+
+ Function: QTimeEvt_armX
+ Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
+ const interval)
+ Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
+ LOC 28 eLOC 25 lLOC 16 Comment 49 Lines 50
+
+ Function: QTimeEvt_disarm
+ Parameters: (QTimeEvt * const me)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 29 eLOC 26 lLOC 17 Comment 30 Lines 37
+
+ Function: QTimeEvt_rearm
+ Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 33 eLOC 29 lLOC 18 Comment 47 Lines 59
+
+ Function: QTimeEvt_ctr
+ Parameters: (QTimeEvt const * const me)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 16 eLOC 15 lLOC 11 Comment 20 Lines 19
+
+ Function: QF_init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 16 eLOC 15 lLOC 10 Comment 19 Lines 25
+
+ Function: QF_stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
+
+ Function: initial_events
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 8 eLOC 6 lLOC 4 Comment 6 Lines 11
+
+ Function: QF_run
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 15
+
+ Function: QActive_start_
+ Parameters: (QMActive * const me, uint_fast8_t prio, QEvt const *qSto[],
+ uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QE
+ vt const *ie)
+ Complexity Param 7 Return 1 Cyclo Vg 3 Total 11
+ LOC 15 eLOC 13 lLOC 9 Comment 29 Lines 19
+
+ Function: QActive_stop
+ Parameters: (QMActive *me)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 3
+
+ Function: QK_schedPrio_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 19 eLOC 15 lLOC 6 Comment 23 Lines 26
+
+ Function: QK_sched_
+ Parameters: (uint_fast8_t p)
+ Complexity Param 1 Return 1 Cyclo Vg 9 Total 11
+ LOC 65 eLOC 58 lLOC 27 Comment 55 Lines 95
+
+ Function: QK_mutexLock
+ Parameters: (uint_fast8_t prioCeiling)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 16 eLOC 14 lLOC 9 Comment 21 Lines 18
+
+ Function: QK_mutexUnlock
+ Parameters: (QMutex mutex)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 17 eLOC 14 lLOC 8 Comment 20 Lines 19
+
+ Function: QS_initBuf
+ Parameters: (uint8_t sto[], uint_fast16_t stoSize)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 21 eLOC 20 lLOC 19 Comment 30 Lines 35
+
+ Function: QS_filterOn
+ Parameters: (uint_fast8_t rec)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 17 eLOC 12 lLOC 6 Comment 16 Lines 19
+
+ Function: QS_filterOff
+ Parameters: (uint_fast8_t rec)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 20 eLOC 15 lLOC 10 Comment 16 Lines 25
+
+ Function: QS_beginRec
+ Parameters: (uint_fast8_t rec)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 14 eLOC 13 lLOC 10 Comment 18 Lines 18
+
+ Function: QS_endRec
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
+
+ Function: QS_target_info_
+ Parameters: (uint8_t isReset)
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
+
+ Function: QS_u8
+ Parameters: (uint8_t format, uint8_t d)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 11 eLOC 10 lLOC 7 Comment 13 Lines 14
+
+ Function: QS_u16
+ Parameters: (uint8_t format, uint16_t d)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 15 eLOC 14 lLOC 10 Comment 13 Lines 20
+
+ Function: QS_u32
+ Parameters: (uint8_t format, uint32_t d)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 16 eLOC 14 lLOC 11 Comment 14 Lines 20
+
+ Function: QS_u8_
+ Parameters: (uint8_t d)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
+
+ Function: QS_u8u8_
+ Parameters: (uint8_t d1, uint8_t d2)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 11 eLOC 10 lLOC 7 Comment 11 Lines 13
+
+ Function: QS_u16_
+ Parameters: (uint16_t d)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 14 eLOC 13 lLOC 10 Comment 12 Lines 18
+
+ Function: QS_u32_
+ Parameters: (uint32_t d)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 15 eLOC 13 lLOC 11 Comment 11 Lines 17
+
+ Function: QS_str_
+ Parameters: (char_t const *s)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
+
+ Function: QS_str_ROM_
+ Parameters: (char_t const Q_ROM *s)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
+
+ Function: QS_getByte
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 18 eLOC 14 lLOC 10 Comment 20 Lines 18
+
+ Function: QS_getBlock
+ Parameters: (uint16_t *pNbytes)
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 29 eLOC 23 lLOC 17 Comment 32 Lines 33
+
+ Function: QS_sig_dict
+ Parameters: (enum_t const sig, void const * const obj, char_t const Q_RO
+ M *name)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
+
+ Function: QS_obj_dict
+ Parameters: (void const * const obj, char_t const Q_ROM *name)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
+
+ Function: QS_fun_dict
+ Parameters: (void (* const fun)(void), char_t const Q_ROM *name)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
+
+ Function: QS_usr_dict
+ Parameters: (enum_t const rec, char_t const Q_ROM * const name)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
+
+ Function: QS_mem
+ Parameters: (uint8_t const *blk, uint8_t size)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 18 eLOC 16 lLOC 11 Comment 11 Lines 23
+
+ Function: QS_str
+ Parameters: (char_t const *s)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 21 eLOC 19 lLOC 14 Comment 16 Lines 24
+
+ Function: QS_str_ROM
+ Parameters: (char_t const Q_ROM *s)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 21 eLOC 19 lLOC 14 Comment 15 Lines 25
+
+ Function: QS_u64_
+ Parameters: (uint64_t d)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 15 eLOC 13 lLOC 11 Comment 7 Lines 17
+
+ Function: QS_u64
+ Parameters: (uint8_t format, uint64_t d)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 16 eLOC 14 lLOC 11 Comment 9 Lines 20
+
+ Function: QS_f32
+ Parameters: (uint8_t format, float32_t f)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 21 eLOC 19 lLOC 15 Comment 16 Lines 26
+
+ Function: QS_f64
+ Parameters: (uint8_t format, float64_t d)
+ Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
+ LOC 29 eLOC 26 lLOC 20 Comment 14 Lines 36
+
+ Function: QS_rxInitBuf
+ Parameters: (uint8_t sto[], uint16_t stoSize)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 18 eLOC 17 lLOC 15 Comment 19 Lines 21
+
+ Function: QS_rxGetNfree
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 14 eLOC 10 lLOC 5 Comment 9 Lines 14
+
+ Function: QS_rxParse
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
+ LOC 36 eLOC 26 lLOC 16 Comment 5 Lines 41
+
+ Function: QS_rxParseData_
+ Parameters: (uint8_t b)
+ Complexity Param 1 Return 1 Cyclo Vg 57 Total 59
+ LOC 253 eLOC 196 lLOC 124 Comment 18 Lines 264
+
+ Function: QS_rxHandleGoodFrame_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 25 Total 26
+ LOC 127 eLOC 103 lLOC 69 Comment 15 Lines 137
+
+ Function: QS_rxHandleBadFrame_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 8 lLOC 4 Comment 1 Lines 12
+
+ Function: QS_rxReportSuccess_
+ Parameters: (enum QSpyRxRecords recId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxReportError_
+ Parameters: (uint8_t stateId)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 2 Comment 3 Lines 7
+
+ Function: QS_rxAddr_
+ Parameters: (uint8_t b, QSAddr *addr, uint8_t *idx)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
+
+ Function: QF_init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 8 eLOC 7 lLOC 6 Comment 15 Lines 13
+
+ Function: QF_stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
+
+ Total: Functions
+ LOC 2614 eLOC 2197 lLOC 1439 InCmp 255 CycloCmp 398
+ Function Points FP(LOC) 20.4 FP(eLOC) 17.2 FP(lLOC) 11.2
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Functional Analysis ~~
+
+ Total Functions .......: 99 Total Physical Lines ..: 3392
+ Total LOC .............: 2614 Total Function Pts LOC : 20.4
+ Total eLOC ............: 2197 Total Function Pts eLOC: 17.2
+ Total lLOC.............: 1439 Total Function Pts lLOC: 11.2
+ Total Cyclomatic Comp. : 398 Total Interface Comp. .: 255
+ Total Parameters ......: 156 Total Return Points ...: 99
+ Total Comment Lines ...: 2302 Total Blank Lines .....: 421
+ ------ ----- ----- ------ ------ -----
+ Avg Physical Lines ....: 34.26
+ Avg LOC ...............: 26.40 Avg eLOC ..............: 22.19
+ Avg lLOC ..............: 14.54 Avg Cyclomatic Comp. ..: 4.02
+ Avg Interface Comp. ...: 2.58 Avg Parameters ........: 1.58
+ Avg Return Points .....: 1.00 Avg Comment Lines .....: 23.25
+ ------ ----- ----- ------ ------ -----
+ Max LOC ...............: 253
+ Max eLOC ..............: 196 Max lLOC ..............: 124
+ Max Cyclomatic Comp. ..: 57 Max Interface Comp. ...: 8
+ Max Parameters ........: 7 Max Return Points .....: 1
+ Max Comment Lines .....: 79 Max Total Lines .......: 264
+ ------ ----- ----- ------ ------ -----
+ Min LOC ...............: 3
+ Min eLOC ..............: 2 Min lLOC ..............: 1
+ Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
+ Min Parameters ........: 0 Min Return Points .....: 1
+ Min Comment Lines .....: 1 Min Total Lines .......: 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Quality Profile ~~
+
+ Type Count Percent Quality Notice
+ ________________________________________________________________________
+
+ 3 2 2.44 Ellipsis '...' are identified as function parameters
+ 23 1 1.22 '?' ternary operator identified
+ 24 39 47.56 ANSI C++ keyword identified within C file
+ 28 6 7.32 Cyclomatic complexity > 10
+ 29 1 1.22 Number of function parameters > 6
+ 35 5 6.10 Class specification contains public data
+ 44 4 4.88 Keyword 'break' identified outside a 'switch' structure
+ 53 8 9.76 No comment preceding a struct block
+ 55 13 15.85 Scope level exceeds the defined limit of 6
+ 107 3 3.66 A double ;; has been identified
+ ________________________________________________________________________
+
+ 82 100.00 Total Quality Notices
+
+ ~~ Quality Notice Density ~~
+
+ Basis: 1000 (K)
+
+ Quality Notices/K LOC = 18.3 ( 1.83%)
+ Quality Notices/K eLOC = 20.3 ( 2.03%)
+ Quality Notices/K lLOC = 43.4 ( 4.34%)
+
+ ------------------------------------------------------------------------
+
+ ~~ File Summary ~~
+
+ C Source Files *.c ....: 19 C/C++ Include Files *.h: 15
+ C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0
+ C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
+ Other File Count ......: 0 Total File Count ......: 34
+ ________________________________________________________________________
+
diff --git a/doxygen/rsm.bat b/doxygen/rsm.bat
index 8d70a6d4..41a88155 100644
--- a/doxygen/rsm.bat
+++ b/doxygen/rsm.bat
@@ -1,14 +1,14 @@
@echo off
:: ==========================================================================
:: Product: QP/C script for running MSquared Resource Standard Metrics (RSM)
-:: Last Updated for Version: 5.2.0
-:: Date of the Last Update: Dec 20, 2013
+:: Last Updated for Version: 5.5.0
+:: Date of the Last Update: 2015-09-01
::
:: Q u a n t u m L e a P s
:: ---------------------------
:: innovating embedded systems
::
-:: Copyright (C) 2002-2013 Quantum Leaps, LLC. All rights reserved.
+:: Copyright (C) Quantum Leaps, LLC. All rights reserved.
::
:: This program is open source software: you can redistribute it and/or
:: modify it under the terms of the GNU General Public License as published
@@ -29,16 +29,15 @@
:: along with this program. If not, see .
::
:: Contact information:
-:: Quantum Leaps Web sites: http://www.quantum-leaps.com
-:: http://www.state-machine.com
-:: e-mail: info@quantum-leaps.com
+:: http://www.state-machine.com
+:: mailto:info@state-machine.com
:: ==========================================================================
setlocal
set RCMHOME="C:\tools\MSquared\M2 RSM"
set RSM_OUTPUT=qpc_metrics.txt
-set RSM_INPUT=..\include\*.h ..\qep\source\*.h ..\qep\source\*.c ..\qf\source\*.h ..\qf\source\*.c ..\qk\source\*.h ..\qk\source\*.c ..\qs\source\*.h ..\qs\source\*.c
+set RSM_INPUT=..\include\*.h ..\source\*.h ..\source\*.c
%RCMHOME%\rsm.exe -fd -n -xNOCOMMAND -xNOCONFIG -u"File cfg rsm_qpc.cfg" %RSM_INPUT% > %RSM_OUTPUT%
diff --git a/doxygen/scripts/jquery.plugins.min.js b/doxygen/scripts/jquery.plugins.min.js
deleted file mode 100644
index c39b7cdb..00000000
--- a/doxygen/scripts/jquery.plugins.min.js
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * jQuery Color Animations
- * Copyright 2007 John Resig
- * Released under the MIT and GPL licenses.
-
- */
-(function(jQuery){jQuery.each(['backgroundColor','borderBottomColor','borderLeftColor','borderRightColor','borderTopColor','color','outlineColor'],function(i,attr){jQuery.fx.step[attr]=function(fx){if(fx.state==0){fx.start=getColor(fx.elem,attr);fx.end=getRGB(fx.end);}
-fx.elem.style[attr]="rgb("+[Math.max(Math.min(parseInt((fx.pos*(fx.end[0]-fx.start[0]))+fx.start[0]),255),0),Math.max(Math.min(parseInt((fx.pos*(fx.end[1]-fx.start[1]))+fx.start[1]),255),0),Math.max(Math.min(parseInt((fx.pos*(fx.end[2]-fx.start[2]))+fx.start[2]),255),0)].join(",")+")";}});function getRGB(color){var result;if(color&&color.constructor==Array&&color.length==3)
-return color;if(result=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
-return[parseInt(result[1]),parseInt(result[2]),parseInt(result[3])];if(result=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
-return[parseFloat(result[1])*2.55,parseFloat(result[2])*2.55,parseFloat(result[3])*2.55];if(result=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
-return[parseInt(result[1],16),parseInt(result[2],16),parseInt(result[3],16)];if(result=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
-return[parseInt(result[1]+result[1],16),parseInt(result[2]+result[2],16),parseInt(result[3]+result[3],16)];return colors[jQuery.trim(color).toLowerCase()];}
-function getColor(elem,attr){var color;do{color=jQuery.curCSS(elem,attr);if(color!=''&&color!='transparent'||jQuery.nodeName(elem,"body"))
-break;attr="backgroundColor";}while(elem=elem.parentNode);return getRGB(color);};var colors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]};})(jQuery);
-
-/*
- * jQuery Form Plugin
- * version: 2.28 (10-MAY-2009)
- * @requires jQuery v1.2.2 or later
- *
- * Examples and documentation at: http://malsup.com/jquery/form/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- */
-;(function($) {
-
-/*
- Usage Note:
- -----------
- Do not use both ajaxSubmit and ajaxForm on the same form. These
- functions are intended to be exclusive. Use ajaxSubmit if you want
- to bind your own submit handler to the form. For example,
-
- $(document).ready(function() {
- $('#myForm').bind('submit', function() {
- $(this).ajaxSubmit({
- target: '#output'
- });
- return false; // <-- important!
- });
- });
-
- Use ajaxForm when you want the plugin to manage all the event binding
- for you. For example,
-
- $(document).ready(function() {
- $('#myForm').ajaxForm({
- target: '#output'
- });
- });
-
- When using ajaxForm, the ajaxSubmit function will be invoked for you
- at the appropriate time.
-*/
-$.fn.ajaxSubmit=function(options){if(!this.length){log('ajaxSubmit: skipping submit process - no element selected');return this;}
-if(typeof options=='function')
-options={success:options};var url=$.trim(this.attr('action'));if(url){url=(url.match(/^([^#]+)/)||[])[1];}
-url=url||window.location.href||''
-options=$.extend({url:url,type:this.attr('method')||'GET'},options||{});var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}
-if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}
-var a=this.formToArray(options.semantic);if(options.data){options.extraData=options.data;for(var n in options.data){if(options.data[n]instanceof Array){for(var k in options.data[n])
-a.push({name:n,value:options.data[n][k]});}
-else
-a.push({name:n,value:options.data[n]});}}
-if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}
-this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}
-var q=$.param(a);if(options.type.toUpperCase()=='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}
-else
-options.data=q;var $form=this,callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm();});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data){$(options.target).html(data).each(oldSuccess,arguments);});}
-else if(options.success)
-callbacks.push(options.success);options.success=function(data,status){for(var i=0,max=callbacks.length;i ');var io=$io[0];$io.css({position:'absolute',top:'-1000px',left:'-1000px'});var xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;$io.attr('src','about:blank');}};var g=opts.global;if(g&&!$.active++)$.event.trigger("ajaxStart");if(g)$.event.trigger("ajaxSend",[xhr,opts]);if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&$.active--;return;}
-if(xhr.aborted)
-return;var cbInvoked=0;var timedOut=0;var sub=form.clk;if(sub){var n=sub.name;if(n&&!sub.disabled){options.extraData=options.extraData||{};options.extraData[n]=sub.value;if(sub.type=="image"){options.extraData[name+'.x']=form.clk_x;options.extraData[name+'.y']=form.clk_y;}}}
-setTimeout(function(){var t=$form.attr('target'),a=$form.attr('action');form.setAttribute('target',id);if(form.getAttribute('method')!='POST')
-form.setAttribute('method','POST');if(form.getAttribute('action')!=opts.url)
-form.setAttribute('action',opts.url);if(!options.skipEncodingOverride){$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});}
-if(opts.timeout)
-setTimeout(function(){timedOut=true;cb();},opts.timeout);var extraInputs=[];try{if(options.extraData)
-for(var n in options.extraData)
-extraInputs.push($(' ').appendTo(form)[0]);$io.appendTo('body');io.attachEvent?io.attachEvent('onload',cb):io.addEventListener('load',cb,false);form.submit();}
-finally{form.setAttribute('action',a);t?form.setAttribute('target',t):$form.removeAttr('target');$(extraInputs).remove();}},10);var nullCheckFlag=0;function cb(){if(cbInvoked++)return;io.detachEvent?io.detachEvent('onload',cb):io.removeEventListener('load',cb,false);var ok=true;try{if(timedOut)throw'timeout';var data,doc;doc=io.contentWindow?io.contentWindow.document:io.contentDocument?io.contentDocument:io.document;if((doc.body==null||doc.body.innerHTML=='')&&!nullCheckFlag){nullCheckFlag=1;cbInvoked--;setTimeout(cb,100);return;}
-xhr.responseText=doc.body?doc.body.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;xhr.getResponseHeader=function(header){var headers={'content-type':opts.dataType};return headers[header];};if(opts.dataType=='json'||opts.dataType=='script'){var ta=doc.getElementsByTagName('textarea')[0];xhr.responseText=ta?ta.value:xhr.responseText;}
-else if(opts.dataType=='xml'&&!xhr.responseXML&&xhr.responseText!=null){xhr.responseXML=toXml(xhr.responseText);}
-data=$.httpData(xhr,opts.dataType);}
-catch(e){ok=false;$.handleError(opts,xhr,'error',e);}
-if(ok){opts.success(data,'success');if(g)$.event.trigger("ajaxSuccess",[xhr,opts]);}
-if(g)$.event.trigger("ajaxComplete",[xhr,opts]);if(g&&!--$.active)$.event.trigger("ajaxStop");if(opts.complete)opts.complete(xhr,ok?'success':'error');setTimeout(function(){$io.remove();xhr.responseXML=null;},100);};function toXml(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}
-else
-doc=(new DOMParser()).parseFromString(s,'text/xml');return(doc&&doc.documentElement&&doc.documentElement.tagName!='parsererror')?doc:null;};};};$.fn.ajaxForm=function(options){return this.ajaxFormUnbind().bind('submit.form-plugin',function(){$(this).ajaxSubmit(options);return false;}).each(function(){$(":submit,input:image",this).bind('click.form-plugin',function(e){var form=this.form;form.clk=this;if(this.type=='image'){if(e.offsetX!=undefined){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset=='function'){var offset=$(this).offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-this.offsetLeft;form.clk_y=e.pageY-this.offsetTop;}}
-setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},10);});});};$.fn.ajaxFormUnbind=function(){this.unbind('submit.form-plugin');return this.each(function(){$(":submit,input:image",this).unbind('click.form-plugin');});};$.fn.formToArray=function(semantic){var a=[];if(this.length==0)return a;var form=this[0];var els=semantic?form.getElementsByTagName('*'):form.elements;if(!els)return a;for(var i=0,max=els.length;i
').appendTo(document.body).hide();if($.fn.bgiframe)
-helper.parent.bgiframe();helper.title=$('h3',helper.parent);helper.body=$('div.body',helper.parent);helper.url=$('div.url',helper.parent);}
-function settings(element){return $.data(element,"tooltip");}
-function handle(event){if(settings(this).delay)
-tID=setTimeout(show,settings(this).delay);else
-show();track=!!settings(this).track;$(document.body).bind('mousemove',update);update(event);}
-function save(){if($.tooltip.blocked||this==current||(!this.tooltipText&&!settings(this).bodyHandler))
-return;current=this;title=this.tooltipText;if(settings(this).bodyHandler){helper.title.hide();var bodyContent=settings(this).bodyHandler.call(this);if(bodyContent.nodeType||bodyContent.jquery){helper.body.empty().append(bodyContent)}else{helper.body.html(bodyContent);}
-helper.body.show();}else if(settings(this).showBody){var parts=title.split(settings(this).showBody);helper.title.html(parts.shift()).show();helper.body.empty();for(var i=0,part;(part=parts[i]);i++){if(i>0)
-helper.body.append(" ");helper.body.append(part);}
-helper.body.hideWhenEmpty();}else{helper.title.html(title).show();helper.body.hide();}
-if(settings(this).showURL&&$(this).url())
-helper.url.html($(this).url().replace('http://','')).show();else
-helper.url.hide();helper.parent.addClass(settings(this).extraClass);if(settings(this).fixPNG)
-helper.parent.fixPNG();handle.apply(this,arguments);}
-function show(){tID=null;if((!IE||!$.fn.bgiframe)&&settings(current).fade){if(helper.parent.is(":animated"))
-helper.parent.stop().show().fadeTo(settings(current).fade,current.tOpacity);else
-helper.parent.is(':visible')?helper.parent.fadeTo(settings(current).fade,current.tOpacity):helper.parent.fadeIn(settings(current).fade);}else{helper.parent.show();}
-update();}
-function update(event){if($.tooltip.blocked)
-return;if(event&&event.target.tagName=="OPTION"){return;}
-if(!track&&helper.parent.is(":visible")){$(document.body).unbind('mousemove',update)}
-if(current==null){$(document.body).unbind('mousemove',update);return;}
-helper.parent.removeClass("viewport-right").removeClass("viewport-bottom");var left=helper.parent[0].offsetLeft;var top=helper.parent[0].offsetTop;if(event){left=event.pageX+settings(current).left;top=event.pageY+settings(current).top;var right='auto';if(settings(current).positionLeft){right=$(window).width()-left;left='auto';}
-helper.parent.css({left:left,right:right,top:top});}
-var v=viewport(),h=helper.parent[0];if(v.x+v.cx » '].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this));}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)
-this.toggleClass(sf.c.shadowClass+'-off');};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show',height:'show'},speed:'normal',autoArrows:false,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery);
-
-/*
- * Supersubs v0.2b - jQuery plugin
- * Copyright (c) 2008 Joel Birch
- *
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- *
- *
- * This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
- * their longest list item children. If you use this, please expect bugs and report them
- * to the jQuery Google Group with the word 'Superfish' in the subject line.
- *
- */
-;(function($){$.fn.supersubs=function(options){var opts=$.extend({},$.fn.supersubs.defaults,options);return this.each(function(){var $$=$(this);var o=$.meta?$.extend({},opts,$$.data()):opts;var fontsize=$('').css({'padding':0,'position':'absolute','top':'-999em','width':'auto'}).appendTo($$).width();$('#menu-fontsize').remove();$ULs=$$.find('ul');$ULs.each(function(i){var $ul=$ULs.eq(i);var $LIs=$ul.children();var $As=$LIs.children('a');var liFloat=$LIs.css('white-space','nowrap').css('float');var emWidth=$ul.add($LIs).add($As).css({'float':'none','width':'auto'}).end().end()[0].clientWidth/fontsize;emWidth+=o.extraWidth;if(emWidth>o.maxWidth){emWidth=o.maxWidth;}
-else if(emWidthul',this);var offsetDirection=$childUl.css('left')!==undefined?'left':'right';$childUl.css(offsetDirection,emWidth);});});});};$.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0};})(jQuery);
-
-/*
- * HoverIntent
- */
-(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY)) ").attr("src", this.href);
- }
- });
-});
diff --git a/doxygen/snippets/qmp_init.c b/doxygen/snippets/qmp_init.c
new file mode 100644
index 00000000..74b52c30
--- /dev/null
+++ b/doxygen/snippets/qmp_init.c
@@ -0,0 +1,15 @@
+QMPool myMemPool1; /* memory pool object #1 (global) */
+static uint8_t memPoolSto1[512]; /* storage for a memory pool #1 */
+
+QMPool myMemPool2; /* memory pool object #2 (global) */
+static uint8_t memPoolSto2[1024]; /* storage for a memory pool #2 */
+
+QMPool_init(&myMemPool1,
+ memPoolSto1,
+ sizeof(memPoolSto1),
+ 10U); /* blocks of 10 bytes each */
+
+QMPool_init(&myMemPool2,
+ memPoolSto2,
+ sizeof(memPoolSto2),
+ 25U); /* blocks of 25 bytes each */
diff --git a/doxygen/snippets/qmp_use.c b/doxygen/snippets/qmp_use.c
new file mode 100644
index 00000000..faebb3d7
--- /dev/null
+++ b/doxygen/snippets/qmp_use.c
@@ -0,0 +1,12 @@
+void *block1 = QMPool_get(&myMemPool1, 0U); /* asserts on empty pool */
+/* block1 is guaranteed to be not NULL */
+~ ~ ~
+QMPool_put(&myMemPool1, block1);
+
+void *block2 = QMpool_get(&myMemPool2, 5U); /* non-asserting version */
+if (block2 != (void *)0) { /* allocation succeeded? */
+ ~ ~ ~
+}
+
+~ ~ ~
+QMPool_put(&myMemPool2, block2);
\ No newline at end of file
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c b/examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c
index 2173a2cc..a7d94779 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/blinky.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: Simple Blinky example
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-16
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-30
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -64,17 +64,6 @@ void Blinky_ctor(void) {
QState Blinky_initial(Blinky * const me, QEvt const * const e) {
(void)e; /* avoid compiler warning about unused parameter */
- QS_OBJ_DICTIONARY(&l_blinky);
- QS_OBJ_DICTIONARY(&l_blinky.timeEvt);
-
- QS_FUN_DICTIONARY(&QHsm_top);
- QS_FUN_DICTIONARY(&Blinky_initial);
- QS_FUN_DICTIONARY(&Blinky_off);
- QS_FUN_DICTIONARY(&Blinky_on);
-
- QS_SIG_DICTIONARY(DUMMY_SIG, (void *)0); /* global signal */
- QS_SIG_DICTIONARY(TIMEOUT_SIG, me); /* signal just for Blinky */
-
/* arm the time event to expire in half a second and every half second */
QTimeEvt_armX(&me->timeEvt, BSP_TICKS_PER_SEC/2U, BSP_TICKS_PER_SEC/2U);
return Q_TRAN(&Blinky_off);
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvoptx b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvoptx
index 17dea0a6..8292516b 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvoptx
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvoptx
@@ -188,6 +188,7 @@
+ 0
@@ -364,6 +365,7 @@
+ 0
@@ -534,6 +536,7 @@
+ 0
@@ -595,6 +598,19 @@
0
0
+
+ 1
+ 5
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -605,7 +621,7 @@
0
2
- 5
+ 6
1
0
0
@@ -618,7 +634,7 @@
2
- 6
+ 7
5
0
0
@@ -631,7 +647,7 @@
2
- 7
+ 8
2
0
0
@@ -644,7 +660,7 @@
2
- 8
+ 9
5
0
0
@@ -657,7 +673,7 @@
2
- 9
+ 10
5
0
0
@@ -670,7 +686,7 @@
2
- 10
+ 11
5
0
0
@@ -683,7 +699,7 @@
2
- 11
+ 12
5
0
0
@@ -704,7 +720,7 @@
0
3
- 12
+ 13
1
0
0
@@ -717,7 +733,7 @@
3
- 13
+ 14
1
0
0
@@ -730,7 +746,7 @@
3
- 14
+ 15
1
0
0
@@ -743,7 +759,7 @@
3
- 15
+ 16
1
0
0
@@ -756,7 +772,7 @@
3
- 16
+ 17
1
0
0
@@ -769,7 +785,7 @@
3
- 17
+ 18
1
0
0
@@ -782,7 +798,7 @@
3
- 18
+ 19
1
0
0
@@ -795,7 +811,7 @@
3
- 19
+ 20
1
0
0
@@ -808,7 +824,7 @@
3
- 20
+ 21
1
0
0
@@ -821,7 +837,7 @@
3
- 21
+ 22
1
0
0
@@ -834,7 +850,7 @@
3
- 22
+ 23
1
0
0
@@ -847,7 +863,7 @@
3
- 23
+ 24
1
0
0
@@ -860,7 +876,7 @@
3
- 24
+ 25
1
0
0
@@ -873,7 +889,7 @@
3
- 25
+ 26
1
0
0
@@ -894,7 +910,7 @@
0
4
- 26
+ 27
2
0
0
@@ -915,7 +931,7 @@
0
5
- 27
+ 28
1
0
0
@@ -928,7 +944,7 @@
5
- 28
+ 29
1
0
0
@@ -941,7 +957,7 @@
5
- 29
+ 30
1
0
0
@@ -952,6 +968,19 @@
0
0
+
+ 5
+ 31
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\source\qs_rx.c
+ qs_rx.c
+ 0
+ 0
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvprojx b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvprojx
index e711d22d..8159d96f 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvprojx
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/arm/blinky-qk.uvprojx
@@ -68,9 +68,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +84,8 @@
0
0
+ 0
+ 0
1
@@ -227,6 +229,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +364,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -428,6 +435,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -591,6 +603,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -633,6 +649,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -699,9 +720,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -715,6 +736,8 @@
0
0
+ 0
+ 0
1
@@ -858,6 +881,7 @@
0
0
0
+ 0
3
3
0
@@ -992,6 +1016,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1059,6 +1087,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1222,6 +1255,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1264,6 +1301,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -1330,9 +1372,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1342,10 +1384,12 @@
1
0
- fromelf --bin --output .\dbg\blinky-qk.bin .\dbg\blinky-qk.axf
+ fromelf --bin --output .\spy\blinky-qk.bin .\spy\blinky-qk.axf
0
0
+ 0
+ 0
1
@@ -1489,6 +1533,7 @@
0
0
0
+ 0
3
3
0
@@ -1623,6 +1668,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1690,6 +1739,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1835,6 +1889,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
index d66b776e..d510e666 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" example, EK-TM4C123GXL board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-17
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -123,18 +123,15 @@ void BSP_init(void) {
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
#endif
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE);/* set direction: output */
GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE); /* digital enable */
- GPIOF->DATA_Bits[LED_RED] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_GREEN] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_BLUE] = 0; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_RED] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_GREEN] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_BLUE] = 0U; /* turn the LED off */
/* configure the Buttons */
GPIOF->DIR &= ~(BTN_SW1 | BTN_SW2); /* set direction: input */
@@ -197,7 +194,15 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/*****************************************************************************
* NOTE00:
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
index 0fe25406..4ef9490f 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Makefile for Blinky on EK-TM4C123GXL, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Product: Blinky on EK-TM4C123GXL, QK, GNU-ARM gnutoolchains.com/arm-eabi
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -125,6 +125,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -136,7 +137,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -260,7 +261,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/iar/blinky-qk.ewp b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/iar/blinky-qk.ewp
index b9d0db04..ddb887be 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/iar/blinky-qk.ewp
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/iar/blinky-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,14 +2057,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2878,6 +2917,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
ek-tm4c123gxl
@@ -2966,6 +3008,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvoptx b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvoptx
index a632b1c3..1afd321a 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvoptx
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvoptx
@@ -114,10 +114,6 @@
BIN\lmidk-agdi.dll
-
- 0
- DLGUARM
-
0
ARMRTXEVENTFLAGS
@@ -599,6 +595,19 @@
0
0
+
+ 1
+ 5
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -609,7 +618,7 @@
0
2
- 5
+ 6
1
0
0
@@ -622,7 +631,7 @@
2
- 6
+ 7
5
0
0
@@ -635,7 +644,7 @@
2
- 7
+ 8
2
0
0
@@ -648,7 +657,7 @@
2
- 8
+ 9
5
0
0
@@ -661,7 +670,7 @@
2
- 9
+ 10
5
0
0
@@ -674,7 +683,7 @@
2
- 10
+ 11
5
0
0
@@ -687,7 +696,7 @@
2
- 11
+ 12
5
0
0
@@ -708,7 +717,7 @@
0
3
- 12
+ 13
1
0
0
@@ -721,7 +730,7 @@
3
- 13
+ 14
1
0
0
@@ -734,7 +743,7 @@
3
- 14
+ 15
1
0
0
@@ -747,7 +756,7 @@
3
- 15
+ 16
1
0
0
@@ -760,7 +769,7 @@
3
- 16
+ 17
1
0
0
@@ -773,7 +782,7 @@
3
- 17
+ 18
1
0
0
@@ -786,7 +795,7 @@
3
- 18
+ 19
1
0
0
@@ -799,7 +808,7 @@
3
- 19
+ 20
1
0
0
@@ -812,7 +821,7 @@
3
- 20
+ 21
1
0
0
@@ -825,7 +834,7 @@
3
- 21
+ 22
1
0
0
@@ -838,7 +847,7 @@
3
- 22
+ 23
1
0
0
@@ -851,7 +860,7 @@
3
- 23
+ 24
1
0
0
@@ -864,7 +873,7 @@
3
- 24
+ 25
1
0
0
@@ -893,7 +902,7 @@
0
5
- 25
+ 26
1
0
0
@@ -906,7 +915,7 @@
5
- 26
+ 27
1
0
0
@@ -919,7 +928,7 @@
5
- 27
+ 28
1
0
0
@@ -930,6 +939,19 @@
0
0
+
+ 5
+ 29
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\source\qs_rx.c
+ qs_rx.c
+ 0
+ 0
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvprojx b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvprojx
index 9046aa64..e66871e7 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvprojx
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/arm/blinky-qv.uvprojx
@@ -68,9 +68,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -428,6 +428,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -621,6 +626,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -687,9 +697,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -1047,6 +1057,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1240,6 +1255,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -1306,9 +1326,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1318,7 +1338,7 @@
1
0
- fromelf --bin --output .\dbg\blinky-qv.bin .\dbg\blinky-qv.axf
+ fromelf --bin --output .\spy\blinky-qv.bin .\spy\blinky-qv.axf
0
0
@@ -1666,6 +1686,11 @@
5
..\..\blinky.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1799,6 +1824,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
index 41cdbf54..374064c1 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" on EK-TM4C123GXL board, cooperative Vanilla kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-17
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -86,7 +86,6 @@ static uint32_t const l_led_pin[] = {
/* ISRs used in this project ===============================================*/
void SysTick_Handler(void) {
QF_TICK_X(0U, (void *)0); /* process time events for rate 0 */
-
}
@@ -109,18 +108,15 @@ void BSP_init(void) {
*/
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE);/* set direction: output */
GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE); /* digital enable */
- GPIOF->DATA_Bits[LED_RED] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_GREEN] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_BLUE] = 0; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_RED] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_GREEN] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_BLUE] = 0U; /* turn the LED off */
/* configure the Buttons */
GPIOF->DIR &= ~(BTN_SW1 | BTN_SW2); /* set direction: input */
@@ -181,7 +177,16 @@ void QV_onIdle(void) { /* CATION: called with interrupts DISABLED, NOTE01 */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
+
/*****************************************************************************
* NOTE00:
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
index ebe9b847..d72cf63c 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Blinky on EK-TM4C123GXL, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -123,6 +123,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -134,7 +135,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -258,7 +259,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/iar/blinky-qv.ewp b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/iar/blinky-qv.ewp
index 3ed812eb..1589c0ae 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/iar/blinky-qv.ewp
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/iar/blinky-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,14 +2057,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2878,6 +2917,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
ek-tm4c123gxl
@@ -2960,6 +3002,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/win32-qv/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/win32-qv/Makefile
index 8ac0860b..435c71da 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/win32-qv/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/win32-qv/Makefile
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -215,7 +215,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/win32/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/win32/Makefile
index 4efa00bb..d2f6606f 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/win32/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/win32/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Blinky console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -215,7 +215,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/.dpp b/examples/arm-cm/dpp_ek-tm4c123gxl/.dpp
new file mode 100644
index 00000000..4552c3a2
--- /dev/null
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/.dpp
@@ -0,0 +1,58 @@
+
+
+ - GPL
+
+
+ - 1
+ - 0
+ - 3
+
+
+
+ - 4129280
+ - 0
+
+
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/lint/lint_out.txt b/examples/arm-cm/dpp_ek-tm4c123gxl/lint/lint_out.txt
index d5eca242..fc96013b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/lint/lint_out.txt
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/lint/lint_out.txt
@@ -1,75 +1,85 @@
---- Module: D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c (C)
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 8 Note 950: Non-ANSI reserved word or construct: 'inline' [MISRA 2004 Rule 1.1, required], [MISRA 2004 Rule 2.2, required]
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Warning 618: Storage class specified after a type
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Note 963: Qualifier const or volatile precedes a type; use +fqb to reverse the test
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 42 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'QK_get_IPSR'
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 21 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'regIPSR'
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 48 52 Note 960: Violates MISRA 2004 Required Rule 14.3, null statement not in line by itself
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 49 19 Warning 530: Symbol 'regIPSR' (line 47) not initialized [MISRA 2004 Rule 9.1, required]
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 1 Info 830: Location cited in prior message
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qs_port.h" 59 10 Warning 537: Repeated include file 'D:\qp\qpc\ports\arm-cm\qk\gnu\qf_port.h'
+--- Module: C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c (C)
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 8 Note 950: Non-ANSI reserved word or construct: 'inline' [MISRA 2004 Rule 1.1, required], [MISRA 2004 Rule 2.2, required]
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Warning 618: Storage class specified after a type
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Note 963: Qualifier const or volatile precedes a type; use +fqb to reverse the test
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 42 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'QK_get_IPSR'
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 21 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'regIPSR'
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 48 52 Note 960: Violates MISRA 2004 Required Rule 14.3, null statement not in line by itself
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 49 19 Warning 530: Symbol 'regIPSR' (line 47) not initialized [MISRA 2004 Rule 9.1, required]
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 1 Info 830: Location cited in prior message
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qs_port.h" 59 10 Warning 537: Repeated include file 'C:\qp\qpc\ports\arm-cm\qk\gnu\qf_port.h'
---- Module: D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c (C)
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 8 Note 950: Non-ANSI reserved word or construct: 'inline' [MISRA 2004 Rule 1.1, required], [MISRA 2004 Rule 2.2, required]
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Warning 618: Storage class specified after a type
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Note 963: Qualifier const or volatile precedes a type; use +fqb to reverse the test
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 42 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'QK_get_IPSR'
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 21 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'regIPSR'
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 48 52 Note 960: Violates MISRA 2004 Required Rule 14.3, null statement not in line by itself
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 49 19 Warning 530: Symbol 'regIPSR' (line 47) not initialized [MISRA 2004 Rule 9.1, required]
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 1 Info 830: Location cited in prior message
-"D:\qp\qpc\ports\arm-cm\qk\gnu\qs_port.h" 59 10 Warning 537: Repeated include file 'D:\qp\qpc\ports\arm-cm\qk\gnu\qf_port.h'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 148 21 Warning 527: Unreachable code at token 'status_' [MISRA 2004 Rule 14.1, required]
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 257 21 Warning 527: Unreachable code at token 'status_' [MISRA 2004 Rule 14.1, required]
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 56 1 Note 960: Violates MISRA 2004 Required Rule 8.7, could define variable at block scope: 'AO_Table' at location line 56, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c
+--- Module: C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c (C)
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 8 Note 950: Non-ANSI reserved word or construct: 'inline' [MISRA 2004 Rule 1.1, required], [MISRA 2004 Rule 2.2, required]
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Warning 618: Storage class specified after a type
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 15 Note 963: Qualifier const or volatile precedes a type; use +fqb to reverse the test
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 46 42 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'QK_get_IPSR'
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 21 Note 960: Violates MISRA 2004 Required Rule 8.5, object/function definition in header file: 'regIPSR'
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 48 52 Note 960: Violates MISRA 2004 Required Rule 14.3, null statement not in line by itself
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 49 19 Warning 530: Symbol 'regIPSR' (line 47) not initialized [MISRA 2004 Rule 9.1, required]
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qk_port.h" 47 1 Info 830: Location cited in prior message
+"C:\qp\qpc\ports\arm-cm\qk\gnu\qs_port.h" 59 10 Warning 537: Repeated include file 'C:\qp\qpc\ports\arm-cm\qk\gnu\qf_port.h'
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 148 21 Warning 527: Unreachable code at token 'status_' [MISRA 2004 Rule 14.1, required]
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 257 21 Warning 527: Unreachable code at token 'status_' [MISRA 2004 Rule 14.1, required]
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 56 1 Note 960: Violates MISRA 2004 Required Rule 8.7, could define variable at block scope: 'AO_Table' at location line 56, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c
/// Start of Pass 2 ///
---- Module: D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c (C)
+--- Module: C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c (C)
---- Module: D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c (C)
+--- Module: C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c (C)
--- Global Wrap-up
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_mem'
-"D:\qp\qpc\include\qf.h" 162 1 Warning 526: Symbol 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_APP_BUILD_DATE'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_APP_BUILD_TIME'
+"C:\qp\qpc\include\qf.h" 162 1 Warning 526: Symbol 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMActive_ctor'
-"D:\qp\qpc\include\qs.h" 262 1 Warning 526: Symbol 'QS_obj_dict(const void *, const char_t *)' (line 262, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qs.h" 272 1 Warning 526: Symbol 'QS_obj_dict(const void *, const char_t *)' (line 272, file C:\qp\qpc\include\qs.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_obj_dict'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCommand'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\include\qs.h" 1068 1 Warning 526: Symbol 'QS_priv_' (line 1068, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onReset'
+"C:\qp\qpc\include\qs.h" 1084 1 Warning 526: Symbol 'QS_priv_' (line 1084, file C:\qp\qpc\include\qs.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_priv_'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 79 1 Info 759: header declaration for symbol 'Table_ctor(void)' defined at (line 79, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c) could be moved from header to module
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 79 1 Info 765: external 'Table_ctor(void)' (line 79, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c) could be made static [MISRA 2004 Rule 8.10, required]
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 79 1 Info 759: header declaration for symbol 'Table_ctor(void)' defined at (line 79, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c) could be moved from header to module
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c" 79 1 Info 765: external 'Table_ctor(void)' (line 79, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\table.c) could be made static [MISRA 2004 Rule 8.10, required]
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_init'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_noTimeEvtsActiveX'
-"D:\qp\qpc\include\qf.h" 654 1 Warning 526: Symbol 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 654, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qf.h" 657 1 Warning 526: Symbol 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 657, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newX_'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 40 1 Warning 526: Symbol 'BSP_displayPaused(uint8_t)' (line 40, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newRef_'
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 40 1 Warning 526: Symbol 'BSP_displayPaused(uint8_t)' (line 40, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_displayPaused'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 41 1 Warning 526: Symbol 'BSP_displayPhilStat(uint8_t, const char_t *)' (line 41, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 41 1 Warning 526: Symbol 'BSP_displayPhilStat(uint8_t, const char_t *)' (line 41, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_displayPhilStat'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_init'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 42 1 Warning 526: Symbol 'BSP_terminate(int16_t)' (line 42, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 42 1 Warning 526: Symbol 'BSP_terminate(int16_t)' (line 42, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_terminate'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_randomSeed'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 45 1 Warning 526: Symbol 'BSP_random(void)' (line 45, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h" 45 1 Warning 526: Symbol 'BSP_random(void)' (line 45, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\bsp.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'BSP_random'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_beginRec'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_rxGetNfree'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_rxInitBuf'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_rxParse'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_rxPriv_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolInit'
+ Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolGetMaxBlockSize'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_psInit'
-"D:\qp\qpc\include\qf.h" 563 1 Warning 526: Symbol 'QF_publish_(const QEvt *, const void *)' (line 563, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qf.h" 566 1 Warning 526: Symbol 'QF_publish_(const QEvt *, const void *)' (line 566, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_publish_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_pwr2Lkup'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QP_versionStr'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str'
-"D:\qp\qpc\include\qs.h" 258 1 Warning 526: Symbol 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 258, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qs.h" 268 1 Warning 526: Symbol 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 268, file C:\qp\qpc\include\qs.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_sig_dict'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM_'
@@ -98,7 +108,7 @@
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_recall'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_start_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_stop'
-"D:\qp\qpc\include\qf.h" 364 1 Warning 526: Symbol 'QActive_subscribe(const QActive *, enum_t)' (line 364, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qf.h" 364 1 Warning 526: Symbol 'QActive_subscribe(const QActive *, enum_t)' (line 364, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_subscribe'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribe'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribeAll'
@@ -107,22 +117,22 @@
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_dispatch_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_init_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_isIn'
-"D:\qp\qpc\include\qep.h" 445 1 Warning 526: Symbol 'QHsm_top(const void *, const QEvt *)' (line 445, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qep.h" 445 1 Warning 526: Symbol 'QHsm_top(const void *, const QEvt *)' (line 445, file C:\qp\qpc\include\qep.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_top'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOff'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f32'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f64'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOn'
-"D:\qp\qpc\include\qs.h" 266 1 Warning 526: Symbol 'QS_fun_dict(void (*)(void), const char_t *)' (line 266, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qs.h" 276 1 Warning 526: Symbol 'QS_fun_dict(void (*)(void), const char_t *)' (line 276, file C:\qp\qpc\include\qs.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_fun_dict'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_tickX_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_div8Lkup'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_onIdle'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getByte'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getBlock'
-"D:\qp\qpc\include\qf.h" 476 1 Warning 526: Symbol 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qf.h" 476 1 Warning 526: Symbol 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_armX'
-"D:\qp\qpc\include\qf.h" 472 1 Warning 526: Symbol 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qf.h" 472 1 Warning 526: Symbol 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file C:\qp\qpc\include\qf.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctorX'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_rearm'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_disarm'
@@ -134,14 +144,14 @@
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_initBuf'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_readySet_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_gc'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 88 1 Info 759: header declaration for symbol 'Philo_ctor(void)' defined at (line 88, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be moved from header to module
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 88 1 Info 765: external 'Philo_ctor(void)' (line 88, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be made static [MISRA 2004 Rule 8.10, required]
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 88 1 Info 759: header declaration for symbol 'Philo_ctor(void)' defined at (line 88, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be moved from header to module
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 88 1 Info 765: external 'Philo_ctor(void)' (line 88, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be made static [MISRA 2004 Rule 8.10, required]
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getPoolMin'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getQueueMin'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_get'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_init'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_put'
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h, module D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
+"C:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file C:\qp\qpc\include\qassert.h, module C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) not defined
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_sched_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_schedPrio_'
@@ -151,106 +161,124 @@
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_execTatbl_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_init_'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_isInState'
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 78 1 Info 759: header declaration for symbol 'AO_Philo' defined at (line 78, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be moved from header to module
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 78 1 Info 765: external 'AO_Philo' (line 78, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be made static [MISRA 2004 Rule 8.10, required]
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 78 1 Info 759: header declaration for symbol 'AO_Philo' defined at (line 78, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be moved from header to module
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c" 78 1 Info 765: external 'AO_Philo' (line 78, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\philo.c) could be made static [MISRA 2004 Rule 8.10, required]
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_init'
Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_invPwr2Lkup'
-"D:\qp\qpc\include\qs.h" 750 1 Info 758: global enum '(untagged)' (line 750, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 57 1 Info 769: global enumeration constant 'QSpyRecords::QS_QP_RESET' (line 57, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 60 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 60, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 61 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 61, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 62 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 62, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 63 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 63, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 64 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 64, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 65 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 65, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 66 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 66, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 67, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 68 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 68, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 71, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 72, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 73, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 74, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 75, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 76, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 77, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 78, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 79 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 79, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 80 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 80, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 81, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 82, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 83, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 84, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 85, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 86, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 87, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 89, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 90, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 91, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 92, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 93, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 94, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 95, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 96, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 97, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 98, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 99, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 106, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 107, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 108, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 113, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 114, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_SCHEDULE' (line 115, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 120, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 121 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 121, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 122 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 122, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 130, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 131, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 759 1 Info 769: global enumeration constant 'QS_STR_T' (line 759, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 760 1 Info 769: global enumeration constant 'QS_MEM_T' (line 760, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 27 1 Info 769: global enumeration constant 'DPPSignals::MAX_PUB_SIG' (line 27, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h) not referenced
-"D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 31 1 Info 769: global enumeration constant 'DPPSignals::MAX_SIG' (line 31, file D:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h) not referenced
+"C:\qp\qpc\include\qs.h" 764 1 Info 758: global enum '(untagged)' (line 764, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1095 1 Info 758: global enum 'QSpyRxRecords' (line 1095, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file C:\qp\qpc\include\qep.h) not referenced
+"C:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 67, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 70 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 70, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 71, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 72, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 73, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 74, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 75, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 76, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 77, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 78, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 81, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 82, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 83, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 84, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 85, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 86, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 87, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 88, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 89, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 90, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 91, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 92, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 93, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 94, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 95, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 96, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 97, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 98, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 99, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 100, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 101, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 102, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 103, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 104, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 105, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 106, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 107, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 108, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 109, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 110, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 111 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 111, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 112 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 112, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 113, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 114, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 115, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 116, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 117, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 118 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 118, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 119 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 119, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 120, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 123, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 124, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 125 1 Info 769: global enumeration constant 'QSpyRecords::QS_QVK_SCHEDULE' (line 125, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 126 1 Info 769: global enumeration constant 'QSpyRecords::QS_QVK_IDLE' (line 126, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 127 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESUME' (line 127, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 130, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 131, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 132, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 133, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 134, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 140 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 140, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 141 1 Info 769: global enumeration constant 'QSpyRecords::QS_TARGET_INFO' (line 141, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 142 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED0' (line 142, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 143 1 Info 769: global enumeration constant 'QSpyRecords::QS_RX_STATUS' (line 143, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 144 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_STATUS' (line 144, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 145 1 Info 769: global enumeration constant 'QSpyRecords::QS_PEEK_DATA' (line 145, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 146 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 146, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 149 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 149, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_I8_T' (line 765, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U8_T' (line 766, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 767 1 Info 769: global enumeration constant 'QS_I16_T' (line 767, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 768 1 Info 769: global enumeration constant 'QS_U16_T' (line 768, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 769 1 Info 769: global enumeration constant 'QS_I32_T' (line 769, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 770 1 Info 769: global enumeration constant 'QS_U32_T' (line 770, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 771 1 Info 769: global enumeration constant 'QS_F32_T' (line 771, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 772 1 Info 769: global enumeration constant 'QS_F64_T' (line 772, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 773 1 Info 769: global enumeration constant 'QS_STR_T' (line 773, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 774 1 Info 769: global enumeration constant 'QS_MEM_T' (line 774, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 775 1 Info 769: global enumeration constant 'QS_SIG_T' (line 775, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 776 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 776, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 777 1 Info 769: global enumeration constant 'QS_FUN_T' (line 777, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 778 1 Info 769: global enumeration constant 'QS_I64_T' (line 778, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 779 1 Info 769: global enumeration constant 'QS_U64_T' (line 779, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 780 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 780, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1096 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_INFO' (line 1096, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1097 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_COMMAND' (line 1097, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1098 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESET' (line 1098, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1099 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_TICK' (line 1099, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1100 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_PEEK' (line 1100, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1101 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_POKE' (line 1101, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1102 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED7' (line 1102, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1103 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED6' (line 1103, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1104 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED5' (line 1104, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1105 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED4' (line 1105, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1106 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_GLB_FILTER' (line 1106, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1107 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_LOC_FILTER' (line 1107, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1108 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_AO_FILTER' (line 1108, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1109 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED3' (line 1109, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1110 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED2' (line 1110, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1111 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_RESERVED1' (line 1111, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\include\qs.h" 1112 1 Info 769: global enumeration constant 'QSpyRxRecords::QS_RX_EVENT' (line 1112, file C:\qp\qpc\include\qs.h) not referenced
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 27 1 Info 769: global enumeration constant 'DPPSignals::MAX_PUB_SIG' (line 27, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h) not referenced
+"C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h" 31 1 Info 769: global enumeration constant 'DPPSignals::MAX_SIG' (line 31, file C:\qp\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\dpp.h) not referenced
Count Type Number Text
@@ -259,10 +287,10 @@ Count Type Number Text
2 Warning 530 Symbol '___' (___) not initialized
2 Warning 537 Repeated include file '___'
2 Warning 618 Storage class specified after a type
-1 Info 758 global ___ '___' (___) not referenced
+2 Info 758 global ___ '___' (___) not referenced
3 Info 759 header declaration for symbol '___' defined at (___) could be moved from header to module
3 Info 765 external '___' (___) could be made static
-95 Info 769 global enumeration constant '___' (___) not referenced
+112 Info 769 global enumeration constant '___' (___) not referenced
2 Note 950 Non-ANSI reserved word or construct: '___'
-108 Note 960 Violates MISRA 2004 Required Rule ___, ___
+118 Note 960 Violates MISRA 2004 Required Rule ___, ___
2 Note 963 Qualifier const or volatile ___ a type; use ___ to reverse the test
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvoptx b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvoptx
index aaa35d09..1456cf34 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvoptx
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvoptx
@@ -114,6 +114,10 @@
BIN\lmidk-agdi.dll
+
+ 0
+ DLGUARM
+
0
ARMRTXEVENTFLAGS
@@ -188,6 +192,7 @@
+ 0
@@ -364,6 +369,7 @@
+ 0
@@ -534,6 +540,7 @@
+ 0
@@ -621,6 +628,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -631,7 +651,7 @@
0
2
- 7
+ 8
1
0
0
@@ -644,7 +664,7 @@
2
- 8
+ 9
5
0
0
@@ -657,7 +677,7 @@
2
- 9
+ 10
2
0
0
@@ -670,7 +690,7 @@
2
- 10
+ 11
5
0
0
@@ -683,7 +703,7 @@
2
- 11
+ 12
5
0
0
@@ -696,7 +716,7 @@
2
- 12
+ 13
5
0
0
@@ -709,7 +729,7 @@
2
- 13
+ 14
5
0
0
@@ -730,7 +750,7 @@
0
3
- 14
+ 15
1
0
0
@@ -743,7 +763,7 @@
3
- 15
+ 16
1
0
0
@@ -756,7 +776,7 @@
3
- 16
+ 17
1
0
0
@@ -769,7 +789,7 @@
3
- 17
+ 18
1
0
0
@@ -782,7 +802,7 @@
3
- 18
+ 19
1
0
0
@@ -795,7 +815,7 @@
3
- 19
+ 20
1
0
0
@@ -808,7 +828,7 @@
3
- 20
+ 21
1
0
0
@@ -821,7 +841,7 @@
3
- 21
+ 22
1
0
0
@@ -834,7 +854,7 @@
3
- 22
+ 23
1
0
0
@@ -847,7 +867,7 @@
3
- 23
+ 24
1
0
0
@@ -860,7 +880,7 @@
3
- 24
+ 25
1
0
0
@@ -873,7 +893,7 @@
3
- 25
+ 26
1
0
0
@@ -886,7 +906,7 @@
3
- 26
+ 27
1
0
0
@@ -899,7 +919,7 @@
3
- 27
+ 28
1
0
0
@@ -920,7 +940,7 @@
0
4
- 28
+ 29
2
0
0
@@ -935,13 +955,13 @@
QS
- 0
+ 1
0
0
0
5
- 29
+ 30
1
0
0
@@ -954,7 +974,7 @@
5
- 30
+ 31
1
0
0
@@ -967,7 +987,7 @@
5
- 31
+ 32
1
0
0
@@ -978,6 +998,19 @@
0
0
+
+ 5
+ 33
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\source\qs_rx.c
+ qs_rx.c
+ 0
+ 0
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvprojx b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvprojx
index d5eaf79c..eefe2f75 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvprojx
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/arm/dpp-qk.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
1
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -601,6 +614,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -643,6 +660,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -709,9 +731,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -725,6 +747,8 @@
0
0
+ 0
+ 0
1
@@ -868,6 +892,7 @@
0
0
0
+ 0
3
3
0
@@ -1002,6 +1027,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1079,6 +1108,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1242,6 +1276,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1284,6 +1322,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -1292,6 +1335,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -1350,9 +1394,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1366,6 +1410,8 @@
0
0
+ 0
+ 0
1
@@ -1509,6 +1555,7 @@
0
0
0
+ 0
3
3
0
@@ -1643,6 +1690,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1720,6 +1771,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1865,6 +1921,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.c b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.c
index 17e8b995..52915a01 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.c
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, EK-TM4C123GXL board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -48,6 +48,7 @@ Q_DEFINE_THIS_FILE
* DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE!
*/
enum KernelUnawareISRs { /* see NOTE00 */
+ UART0_PRIO,
/* ... */
MAX_KERNEL_UNAWARE_CMSIS_PRI /* keep always last */
};
@@ -69,27 +70,33 @@ void GPIOPortA_IRQHandler(void);
/* Local-scope objects -----------------------------------------------------*/
#define LED_RED (1U << 1)
-#define LED_GREEN (1U << 3)
#define LED_BLUE (1U << 2)
+#define LED_GREEN (1U << 3)
#define BTN_SW1 (1U << 4)
#define BTN_SW2 (1U << 0)
-static unsigned l_rnd; /* random seed */
+static uint32_t l_rnd; /* random seed */
#ifdef Q_SPY
+ void UART0_IRQHandler(void);
+
QSTimeCtr QS_tickTime_;
QSTimeCtr QS_tickPeriod_;
- static uint8_t l_SysTick_Handler;
- static uint8_t l_GPIOPortA_IRQHandler;
+
+ /* QS source IDs */
+ static uint8_t const l_SysTick_Handler = (uint8_t)0;
+ static uint8_t const l_GPIOPortA_IRQHandler = (uint8_t)0;
#define UART_BAUD_RATE 115200U
- #define UART_FR_TXFE 0x80U
+ #define UART_FR_TXFE (1U << 7)
+ #define UART_FR_RXFE (1U << 4)
#define UART_TXFIFO_DEPTH 16U
enum AppRecords { /* application-specific trace records */
- PHILO_STAT = QS_USER
+ PHILO_STAT = QS_USER,
+ COMMAND_STAT
};
#endif
@@ -180,18 +187,15 @@ void BSP_init(void) {
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
#endif
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE);/* set direction: output */
GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE); /* digital enable */
- GPIOF->DATA_Bits[LED_RED] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_GREEN] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_BLUE] = 0; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_RED] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_GREEN] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_BLUE] = 0U; /* turn the LED off */
/* configure the Buttons */
GPIOF->DIR &= ~(BTN_SW1 | BTN_SW2); /* set direction: input */
@@ -205,6 +209,8 @@ void BSP_init(void) {
}
QS_OBJ_DICTIONARY(&l_SysTick_Handler);
QS_OBJ_DICTIONARY(&l_GPIOPortA_IRQHandler);
+ QS_USR_DICTIONARY(PHILO_STAT);
+ QS_USR_DICTIONARY(COMMAND_STAT);
}
/*..........................................................................*/
void BSP_displayPhilStat(uint8_t n, char const *stat) {
@@ -257,12 +263,17 @@ void QF_onStartup(void) {
* Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority().
* DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE!
*/
+ NVIC_SetPriority(UART0_IRQn, UART0_PRIO);
NVIC_SetPriority(SysTick_IRQn, SYSTICK_PRIO);
NVIC_SetPriority(GPIOA_IRQn, GPIOA_PRIO);
/* ... */
/* enable IRQs... */
NVIC_EnableIRQ(GPIOA_IRQn);
+
+#ifdef Q_SPY
+ NVIC_EnableIRQ(UART0_IRQn); /* UART0 interrupt used for QS-RX */
+#endif
}
/*..........................................................................*/
void QF_onCleanup(void) {
@@ -276,6 +287,8 @@ void QK_onIdle(void) {
QF_INT_ENABLE();
#ifdef Q_SPY
+ QS_rxParse(); /* parse all the received bytes */
+
if ((UART0->FR & UART_FR_TXFE) != 0U) { /* TX done? */
uint16_t fifo = UART_TXFIFO_DEPTH; /* max bytes we can accept */
uint8_t const *block;
@@ -284,7 +297,7 @@ void QK_onIdle(void) {
block = QS_getBlock(&fifo); /* try to get next block to transmit */
QF_INT_ENABLE();
- while (fifo-- != 0) { /* any bytes in the block? */
+ while (fifo-- != 0) { /* any bytes in the block? */
UART0->DR = *block++; /* put into the FIFO */
}
}
@@ -298,41 +311,58 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
-/*--------------------------------------------------------------------------*/
+/* QS callbacks ============================================================*/
#ifdef Q_SPY
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
- static uint8_t qsBuf[2*1024]; /* buffer for Quantum Spy */
+ static uint8_t qsTxBuf[2*1024]; /* buffer for QS transmit channel */
+ static uint8_t qsRxBuf[100]; /* buffer for QS receive channel */
uint32_t tmp;
- QS_initBuf(qsBuf, sizeof(qsBuf));
- /* enable the peripherals used by the UART0 */
- SYSCTL->RCGC1 |= (1U << 0); /* enable clock to UART0 */
- SYSCTL->RCGC2 |= (1U << 0); /* enable clock to GPIOA */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ QS_initBuf (qsTxBuf, sizeof(qsTxBuf));
+ QS_rxInitBuf(qsRxBuf, sizeof(qsRxBuf));
+
+ /* enable clock for UART0 and GPIOA (used by UART0 pins) */
+ SYSCTL->RCGCUART |= (1U << 0); /* enable Run mode for UART0 */
+ SYSCTL->RCGCGPIO |= (1U << 0); /* enable Run mode for GPIOA */
/* configure UART0 pins for UART operation */
tmp = (1U << 0) | (1U << 1);
GPIOA->DIR &= ~tmp;
- GPIOA->AFSEL |= tmp;
- GPIOA->DR2R |= tmp; /* set 2mA drive, DR4R and DR8R are cleared */
GPIOA->SLR &= ~tmp;
GPIOA->ODR &= ~tmp;
GPIOA->PUR &= ~tmp;
GPIOA->PDR &= ~tmp;
- GPIOA->DEN |= tmp;
+ GPIOA->AMSEL &= ~tmp; /* disable analog function on the pins */
+ GPIOA->AFSEL |= tmp; /* enable ALT function on the pins */
+ GPIOA->DEN |= tmp; /* enable digital I/O on the pins */
+ GPIOA->PCTL &= ~0x00U;
+ GPIOA->PCTL |= 0x11U;
/* configure the UART for the desired baud rate, 8-N-1 operation */
tmp = (((SystemCoreClock * 8U) / UART_BAUD_RATE) + 1U) / 2U;
UART0->IBRD = tmp / 64U;
UART0->FBRD = tmp % 64U;
- UART0->LCRH = 0x60U; /* configure 8-N-1 operation */
- UART0->LCRH |= 0x10U;
- UART0->CTL |= (1U << 0) | (1U << 8) | (1U << 9);
+ UART0->LCRH = (0x3U << 5); /* configure 8-N-1 operation */
+ UART0->LCRH |= (0x1U << 4); /* enable FIFOs */
+ UART0->CTL = (1U << 0) /* UART enable */
+ | (1U << 8) /* UART TX enable */
+ | (1U << 9); /* UART RX enable */
+
+ /* configure UART interrupts (for the RX channel) */
+ UART0->IM |= (1U << 4) | (1U << 6); /* enable RX and RX-TO interrupt */
+ UART0->IFLS |= (0x2U << 2); /* interrupt on RX FIFO half-full */
+ /* NOTE: do not enable the UART0 interrupt yet. Wait till QF_onStartup() */
QS_tickPeriod_ = SystemCoreClock / BSP_TICKS_PER_SEC;
QS_tickTime_ = QS_tickPeriod_; /* to start the timestamp at zero */
@@ -348,73 +378,28 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
+ QS_FILTER_ON(COMMAND_STAT);
return (uint8_t)1; /* return success */
}
/*..........................................................................*/
+/*
+* ISR for receiving bytes from the QSPY Back-End
+* NOTE: This ISR is "QF-unaware" meaning that it does not interact with
+* the QF/QK and is not disabled. Such ISRs don't need to call QK_ISR_ENTRY/
+* QK_ISR_EXIT and they cannot post or publish events.
+*/
+void UART0_IRQHandler(void) {
+ uint32_t status = UART0->RIS; /* get the raw interrupt status */
+ UART0->ICR = status; /* clear the asserted interrupts */
+
+ while ((UART0->FR & UART_FR_RXFE) == 0) { /* while RX FIFO NOT empty */
+ uint32_t b = UART0->DR;
+ QS_RX_PUT(b);
+ }
+}
+/*..........................................................................*/
void QS_onCleanup(void) {
}
/*..........................................................................*/
@@ -433,7 +418,7 @@ void QS_onFlush(void) {
QF_INT_DISABLE();
while ((block = QS_getBlock(&fifo)) != (uint8_t *)0) {
QF_INT_ENABLE();
- /* busy-wait until TX FIFO empty */
+ /* busy-wait as long as TX FIFO has data to transmit */
while ((UART0->FR & UART_FR_TXFE) == 0) {
}
@@ -445,6 +430,30 @@ void QS_onFlush(void) {
}
QF_INT_ENABLE();
}
+/*..........................................................................*/
+/*! callback function to reset the target (to be implemented in the BSP) */
+void QS_onReset(void) {
+ NVIC_SystemReset();
+}
+/*..........................................................................*/
+/*! callback function to execute a user command (to be implemented in BSP) */
+void QS_onCommand(uint8_t cmdId, uint32_t param) {
+ void assert_failed(char const *module, int loc);
+ (void)cmdId;
+ (void)param;
+ QS_BEGIN(COMMAND_STAT, (void *)0) /* application-specific record begin */
+ QS_U8(2, cmdId);
+ QS_U32(8, param);
+ QS_END()
+
+ if (cmdId == 10U) {
+ Q_ERROR();
+ }
+ else if (cmdId == 11U) {
+ assert_failed("QS_onCommand", 123);
+ }
+}
+
#endif /* Q_SPY */
/*--------------------------------------------------------------------------*/
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
index 39eca593..42b5b9d3 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on EK-TM4C123GXL, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -126,6 +126,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -137,7 +138,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -261,7 +262,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/iar/dpp-qk.ewp b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/iar/dpp-qk.ewp
index 6a8aee45..ef7d3145 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/iar/dpp-qk.ewp
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/iar/dpp-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,14 +2057,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2878,6 +2917,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -2969,6 +3011,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/dpp.tcl b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/dpp.tcl
new file mode 100644
index 00000000..9ff95710
--- /dev/null
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/dpp.tcl
@@ -0,0 +1,375 @@
+#-----------------------------------------------------------------------------
+# Product: QSpyView -- Customization example for DPP application
+# Last updated for version 5.5.0
+# Last updated on 2015-08-21
+#
+# Q u a n t u m L e a P s
+# ---------------------------
+# innovating embedded systems
+#
+# Copyright (C) Quantum Leaps, LLC, All rights reserved.
+#
+# This program is open source software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Alternatively, this program may be distributed and modified under the
+# terms of Quantum Leaps commercial licenses, which expressly supersede
+# the GNU General Public License and are specifically designed for
+# licensees interested in retaining the proprietary status of their code.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Contact information:
+# http://www.state-machine.com
+# mailto:info@state-machine.com
+#-----------------------------------------------------------------------------
+
+# command handlers ===========================================================
+proc onMyCommand {} {
+ # do something here, for example:
+ # - inject an event to the Target
+ # - send a command to the Target
+ # - peek memory
+ # - poke memory
+ # - exectute system tick in the Target
+ # - open a dialog box...
+ # - etc.
+
+ # as an example, the following code sends a command to the Target
+ variable ::qspy::QS_RX
+ ::qspy::sendPkt [binary format cci $::qspy::QS_RX(COMMAND) 1 12345]
+}
+
+proc onPause {} {
+ global theButtonId theBtnState
+ if {[string equal $theBtnState BTN_UP]} { ;# is DWN?
+ set theBtnState BTN_DWN
+ ::qspy::sendEvent 6 6 0
+ } else {
+ set theBtnState BTN_UP
+ ::qspy::sendEvent 6 7 0
+ }
+ .canv.c itemconfigure $theButtonId -image ::img::$theBtnState
+}
+
+# additinal menu options =====================================================
+.mbar.cust add command -label "MyCommand" -command onMyCommand
+
+
+# specific canvas for DPP ====================================================
+image create photo ::img::e -file img/eating.gif
+image create photo ::img::h -file img/hungry.gif
+image create photo ::img::t -file img/thinking.gif
+image create photo ::img::BTN_UP -file img/BTN_UP.gif
+image create photo ::img::BTN_DWN -file img/BTN_DWN.gif
+
+wm geometry .canv =400x260
+.canv.c configure -width 400
+.canv.c configure -height 260
+
+set thePhiloId [.canv.c create image 190 57 -image ::img::t]
+.canv.c create image 273 100 -image ::img::t
+.canv.c create image 237 185 -image ::img::t
+.canv.c create image 146 184 -image ::img::t
+.canv.c create image 107 100 -image ::img::t
+
+
+set theButtonId [.canv.c create image 200 120 -image ::img::BTN_UP]
+set theBtnState BTN_UP
+.canv.c bind $theButtonId onPause
+
+# QS record handlers =========================================================
+
+# QS User records [70..0x7C] -------------------------------------------------
+proc ::qspy::rec70 {} { ;# QS_USER
+ variable thePkt
+ variable theFmt
+ binary scan $thePkt xx$theFmt(tstamp)xcxa* \
+ tstamp philoNum stat
+
+ dispTxt [format "%010u Philo %1d is %s" $tstamp $philoNum $stat]
+
+ global thePhiloId
+ set img [string index $stat 0]
+ .canv.c itemconfigure [expr $thePhiloId + $philoNum] -image ::img::$img
+}
+#.............................................................................
+proc ::qspy::rec71 {} { ;# QS_USER + 1
+ variable thePkt
+ variable theFmt
+ binary scan $thePkt xx$theFmt(tstamp)xcxi \
+ tstamp cmdId param
+ dispTxt [format "%010u cmd=%d param=%d" $tstamp $cmdId $param]
+}
+proc ::qspy::rec72 {} { ;# QS_USER + 2
+}
+proc ::qspy::rec73 {} { ;# QS_USER + 3
+}
+proc ::qspy::rec74 {} { ;# QS_USER + 4
+}
+proc ::qspy::rec75 {} { ;# QS_USER + 5
+}
+proc ::qspy::rec76 {} { ;# QS_USER + 6
+}
+proc ::qspy::rec77 {} { ;# QS_USER + 7
+}
+proc ::qspy::rec78 {} { ;# QS_USER + 8
+}
+proc ::qspy::rec79 {} { ;# QS_USER + 9
+}
+proc ::qspy::rec80 {} { ;# QS_USER + 10
+}
+proc ::qspy::rec81 {} { ;# QS_USER + 11
+}
+proc ::qspy::rec82 {} { ;# QS_USER + 12
+}
+proc ::qspy::rec83 {} { ;# QS_USER + 13
+}
+proc ::qspy::rec84 {} { ;# QS_USER + 14
+}
+proc ::qspy::rec85 {} { ;# QS_USER + 15
+}
+proc ::qspy::rec86 {} { ;# QS_USER + 16
+}
+proc ::qspy::rec87 {} { ;# QS_USER + 17
+}
+proc ::qspy::rec88 {} { ;# QS_USER + 18
+}
+proc ::qspy::rec89 {} { ;# QS_USER + 19
+}
+proc ::qspy::rec90 {} { ;# QS_USER + 20
+}
+proc ::qspy::rec91 {} { ;# QS_USER + 21
+}
+proc ::qspy::rec92 {} { ;# QS_USER + 22
+}
+proc ::qspy::rec93 {} { ;# QS_USER + 23
+}
+proc ::qspy::rec94 {} { ;# QS_USER + 24
+}
+proc ::qspy::rec95 {} { ;# QS_USER + 25
+}
+proc ::qspy::rec96 {} { ;# QS_USER + 26
+}
+proc ::qspy::rec97 {} { ;# QS_USER + 27
+}
+proc ::qspy::rec98 {} { ;# QS_USER + 28
+}
+proc ::qspy::rec99 {} { ;# QS_USER + 29
+}
+proc ::qspy::rec100 {} { ;# QS_USER + 30
+}
+proc ::qspy::rec101 {} { ;# QS_USER + 31
+}
+proc ::qspy::rec102 {} { ;# QS_USER + 32
+}
+proc ::qspy::rec103 {} { ;# QS_USER + 33
+}
+proc ::qspy::rec104 {} { ;# QS_USER + 34
+}
+proc ::qspy::rec105 {} { ;# QS_USER + 35
+}
+proc ::qspy::rec106 {} { ;# QS_USER + 36
+}
+proc ::qspy::rec107 {} { ;# QS_USER + 37
+}
+proc ::qspy::rec108 {} { ;# QS_USER + 38
+}
+proc ::qspy::rec109 {} { ;# QS_USER + 39
+}
+proc ::qspy::rec110 {} { ;# QS_USER + 40
+}
+proc ::qspy::rec111 {} { ;# QS_USER + 41
+}
+proc ::qspy::rec112 {} { ;# QS_USER + 42
+}
+proc ::qspy::rec113 {} { ;# QS_USER + 43
+}
+proc ::qspy::rec114 {} { ;# QS_USER + 44
+}
+proc ::qspy::rec115 {} { ;# QS_USER + 45
+}
+proc ::qspy::rec116 {} { ;# QS_USER + 46
+}
+proc ::qspy::rec117 {} { ;# QS_USER + 47
+}
+proc ::qspy::rec118 {} { ;# QS_USER + 48
+}
+proc ::qspy::rec119 {} { ;# QS_USER + 49
+}
+proc ::qspy::rec120 {} { ;# QS_USER + 50
+}
+proc ::qspy::rec121 {} { ;# QS_USER + 51
+}
+proc ::qspy::rec122 {} { ;# QS_USER + 52
+}
+proc ::qspy::rec123 {} { ;# QS_USER + 53
+}
+proc ::qspy::rec124 {} { ;# QS_USER + 54
+}
+
+
+# Special QS records ---------------------------------------------------------
+proc ::qspy::recRESET {} { ;# target reset callback
+}
+proc ::qspy::recINFO {} { ;# target info callback
+}
+
+# QS standard records [1..54] ------------------------------------------------
+proc ::qspy::rec0 {} { ;# QS_EMPTY
+}
+
+# [1] QEP records...
+proc ::qspy::rec1 {} { ;# QS_QEP_STATE_ENTRY
+}
+proc ::qspy::rec2 {} { ;# QS_QEP_STATE_EXIT
+}
+proc ::qspy::rec3 {} { ;# QS_QEP_STATE_INIT
+}
+proc ::qspy::rec4 {} { ;# QS_QEP_INIT_TRAN
+}
+proc ::qspy::rec5 {} { ;# QS_QEP_INTERN_TRAN
+}
+proc ::qspy::rec6 {} { ;# QS_QEP_TRAN
+}
+proc ::qspy::rec7 {} { ;# QS_QEP_IGNORED
+}
+proc ::qspy::rec8 {} { ;# QS_QEP_DISPATCH
+}
+proc ::qspy::rec9 {} { ;# QS_QEP_UNHANDLED
+}
+
+# [10] QF records...
+proc ::qspy::rec10 {} { ;# QS_QF_ACTIVE_ADD
+}
+proc ::qspy::rec11 {} { ;# QS_QF_ACTIVE_REMOVE
+}
+proc ::qspy::rec12 {} { ;# QS_QF_ACTIVE_SUBSCRIBE
+}
+proc ::qspy::rec13 {} { ;# QS_QF_ACTIVE_UNSUBSCRIBE
+}
+proc ::qspy::rec14 {} { ;# QS_QF_ACTIVE_POST_FIFO
+}
+proc ::qspy::rec15 {} { ;# QS_QF_ACTIVE_POST_LIFO
+}
+proc ::qspy::rec16 {} { ;# QS_QF_ACTIVE_GET
+}
+proc ::qspy::rec17 {} { ;# QS_QF_ACTIVE_GET_LAST
+}
+proc ::qspy::rec18 {} { ;# QS_QF_EQUEUE_INIT
+}
+proc ::qspy::rec19 {} { ;# QS_QF_EQUEUE_POST_FIFO
+}
+proc ::qspy::rec20 {} { ;# QS_QF_EQUEUE_POST_LIFO
+}
+proc ::qspy::rec21 {} { ;# QS_QF_EQUEUE_GET
+}
+proc ::qspy::rec22 {} { ;# QS_QF_EQUEUE_GET_LAST
+}
+proc ::qspy::rec23 {} { ;# QS_QF_MPOOL_INIT
+}
+proc ::qspy::rec24 {} { ;# QS_QF_MPOOL_GET
+}
+proc ::qspy::rec25 {} { ;# QS_QF_MPOOL_PUT
+}
+proc ::qspy::rec26 {} { ;# QS_QF_PUBLISH
+}
+proc ::qspy::rec27 {} { ;# QS_QF_RESERVED8
+}
+proc ::qspy::rec28 {} { ;# QS_QF_NEW
+}
+proc ::qspy::rec29 {} { ;# QS_QF_GC_ATTEMPT
+}
+proc ::qspy::rec30 {} { ;# QS_QF_GC
+}
+proc ::qspy::rec31 {} { ;# QS_QF_TICK
+}
+proc ::qspy::rec32 {} { ;# QS_QF_TIMEEVT_ARM
+}
+proc ::qspy::rec33 {} { ;# QS_QF_TIMEEVT_AUTO_DISARM
+}
+proc ::qspy::rec34 {} { ;# QS_QF_TIMEEVT_DISARM_ATTEMPT
+}
+proc ::qspy::rec35 {} { ;# QS_QF_TIMEEVT_DISARM
+}
+proc ::qspy::rec36 {} { ;# QS_QF_TIMEEVT_REARM
+}
+proc ::qspy::rec37 {} { ;# QS_QF_TIMEEVT_POST
+}
+proc ::qspy::rec38 {} { ;# QS_QF_TIMEEVT_CTR
+}
+proc ::qspy::rec39 {} { ;# QS_QF_CRIT_ENTRY
+}
+proc ::qspy::rec40 {} { ;# QS_QF_CRIT_EXIT
+}
+proc ::qspy::rec41 {} { ;# QS_QF_ISR_ENTRY
+}
+proc ::qspy::rec42 {} { ;# QS_QF_ISR_EXIT
+}
+proc ::qspy::rec43 {} { ;# QS_QF_INT_DISABLE
+}
+proc ::qspy::rec44 {} { ;# QS_QF_INT_ENABLE
+}
+proc ::qspy::rec45 {} { ;# QS_QF_ACTIVE_POST_ATTEMPT
+}
+proc ::qspy::rec46 {} { ;# QS_QF_EQUEUE_POST_ATTEMPT
+}
+proc ::qspy::rec47 {} { ;# QS_QF_MPOOL_GET_ATTEMPT
+}
+proc ::qspy::rec48 {} { ;# QS_QF_RESERVED1
+}
+proc ::qspy::rec49 {} { ;# QS_QF_RESERVED0
+}
+
+# [50] QK records
+proc ::qspy::rec50 {} { ;# QS_QK_MUTEX_LOCK
+}
+proc ::qspy::rec51 {} { ;# QS_QK_MUTEX_UNLOCK
+}
+proc ::qspy::rec52 {} { ;# QS_QK_SCHEDULE
+}
+proc ::qspy::rec53 {} { ;# QS_QK_RESERVED1
+}
+proc ::qspy::rec54 {} { ;# QS_QK_RESERVED0
+}
+
+# [55] Additional QEP records
+proc ::qspy::rec55 {} { ;# QS_QEP_TRAN_HIST
+}
+proc ::qspy::rec56 {} { ;# QS_QEP_TRAN_EP
+}
+proc ::qspy::rec57 {} { ;# QS_QEP_TRAN_XP
+}
+proc ::qspy::rec58 {} { ;# QS_QEP_RESERVED1
+}
+proc ::qspy::rec59 {} { ;# QS_QEP_RESERVED0
+}
+
+# Miscellaneous QS records
+proc ::qspy::rec60 {} { ;# QS_SIG_DICT
+}
+proc ::qspy::rec61 {} { ;# QS_OBJ_DICT
+}
+proc ::qspy::rec62 {} { ;# QS_FUN_DICT
+}
+proc ::qspy::rec63 {} { ;# QS_USR_DICT
+}
+proc ::qspy::rec65 {} { ;# QS_RESERVED0
+}
+proc ::qspy::rec66 {} { ;# QS_RX_STATUS
+}
+proc ::qspy::rec67 {} { ;# QS_TEST_STATUS
+}
+proc ::qspy::rec68 {} { ;# QS_PEEK_DATA
+}
+proc ::qspy::rec69 {} { ;# QS_ASSERT_FAIL
+}
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_DWN.gif b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_DWN.gif
new file mode 100644
index 0000000000000000000000000000000000000000..36d8c790736950bcfe9d753d25d9fd197be63048
GIT binary patch
literal 2071
zcmV+y2C@6
zXoG5Gg>_Q&<;K>&o|uV$+QOa7xTU$Qc*eMh9@O3%ET&cLLF
za%hNfX^C=e(7v68d3K9?dD6h1eQRZkb!}^2S$Jt>fpKYMTU35-WsGrck$ZB?ww;M|
zYJhQWb7f(RdUSehVv28Sc4u7H$)SXNdCt0;%e%)z@C(n(Yu_5
zb#B_vp6T7PvZRo$p__4NUY?I&U{_Jy&auV3w%5t4dTnQaa9fdmYvS3a@1vmu-E3(!qul8$g~xBSPa^ixxg=
zY}0GK)z3zn&MNc;do2ndcKEv%(t8Xnz-R&lTLv)1-Lw@^MDN{8X|nPsKKK!j|57anXq6cT?)8O0>n{K;3j}F7c#3+
zGc`y-CoO{1AWVV>i3EiVb)#jb4VEnd+^Fz_MNgF}xTjR95+U=53jj!5dD7wm4Oy4hjr5k9!0t5dtAn#IeN|0N}TTcKpGRL0e!$B>#PH4TEYq|?2&7kCHTn%3snG6M+{E*Fi#DtHgf_NWK1ds1sr%eK(v`s
zORc7U9svdzM1ohx7cw~Ef(r|@5T{xspc{t-9I#si2($8euN8SXV1*U<&RatN5>t4K
zzyb;Y+(n!>Sdf5JA56f(8+tBGs{?sJ%<{wzXqssf7y}@K1t};nj|(7MpjQAT{{ct4
z3`3j8(MTWd0G~4?F+dvoLL*dzh$&?O2?1cy1j1ubu*Aa9vK(>J4wSt#3{|8NKp8yE
zLxp=R8E|#hA4u@W7(+ihYuOR=ZH3tmd|AO1EdZc}7A?5Y#m8}5aKZyk#KG(aU8nJN
z*nz(bxC0O{>;)Mp$e=|OE;#9)3A3*blVkrRO736i_
zO*sV>v~PVD)x&SQ^%V%<1pqmaaDxIbfUm$1s55~Ho`D19eSmqC6MzESSAq9Auzdn(
zfF7ivl^;Yw0T^7s4vZkc82rEjQ20t5KESNzZD0dl5C8?($G|MKj{edGiY@h)RpxhW#xIzjD;0`g=5C#y?fhQ?|20Cm(9XcpL
z1WbbtEpXid_`rcNAn}Z6^g;u?P=y1i00T96!WA^=Bps3~21YPK3}Wyi9n7Hxa{#~=
zupj|BaKL_POkowsFc}q`;0hh!-ws~TF-nq)gGP{n5fIP`Pf(%%4O{>K7S6B*2~0o^
za+tsbws3$G_(272pn*pg@Phsg!3DKcfcOMxf*8oagHeb=3Q#}kfRei<^tj=UvV!yh0(1R{t+5D<_8B2b|VG{gWArg8!u5CH{JzyKOL
z(g7#v@LwGBUkzgLI|TR;0Wtun2%ta%B9xPup|BDP;2DxDKym>Wbke_ufXyLLl%IR#
z;~o*9fGC6k2RhJ!5Qsq1cb0UaR0ydKT96(mRk8-)+kp!(y2oGgQ40V?00N*eQW}U<
zq$FKv7k&{BUvw0gEG^wFIp|HDIu)P~2q^GUAQYeo0VpYSNI^AV)X`cdEP97PyyHA^=6CS#?K8qmWAs^6v#vXu((!5QZq|R0KK==3M=HMRyqX9ZuK<
z4KkQPjtwS+EG2;qCQE_`kU+A4^&U8bFj>yZz=9F&stE8J%zF5sAuWJH7(@^V06UO%
BVI%+m
literal 0
HcmV?d00001
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_UP.gif b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/BTN_UP.gif
new file mode 100644
index 0000000000000000000000000000000000000000..3246ff9827129f635ad0fc3e4de0b62a6438d946
GIT binary patch
literal 1987
zcmV;!2R!&kNk%w1VJiSF0OkMygK=u(+R2J?Y;0p)n2UIFYGl~TwBy>h)xw~Pd3NaG
z%H7kwg=}V*iG_o7af5DYq?LNw!k&b3Wx}?qjE05Jy`s*$oz=aax2vaORZH2>%87bb
zZDwTM(yg?rlXh@vb75U(URuSyj(TZZj)HW`wwY5&J#%eqt)g~)baI`Kf{AuFQ2TFJAJrkRV`$*0@Qs(NN&ZD3KTo0F=Zi)&j{x~7T4vz4ivfXu_W*1nj)
ztBJa%g{7N?yR??OtB!kcTFLNz@?G@BB;u#lFogNdp$iI0q}1--FCPfj#0xd6KolLIFou!oN}#RE!D
z0~sN)n5hFbH9{^fI1dlf4-x_#i-v-ak2>ZcHW?-v0}AllVnYYIbUE5>k|tnxqc|hOj2seV5Kuv2ri>a_Fd6I-%^d)e
zC4(S2anevli!%mDAi%Y-|LuLIMMMGQtX=@Cp{Tim9+H^#Xwi
z5t;=5@<`|*fyB%PPbRup0U+KA8BCbSfI~FdjSotc91=o+?OQ4sCNydCl8#z`8h$&+i1tdt4$!dvyl+cA9S!98R1G$7HB?qV|wFCrXkkNsbLwf0_1!11S
zMwk{PS%INP9C6{In*8NJj*2L;1`AJ#aDbj2bou2OoO=3csJxbNL>V5$a6)
z`@#zsTrlqoh5i~v5n4ELf&(tpsNs|ad|+2ocDUh22erbBfW7qAJMRVgmJx;j7g;
zEXxwhPXIsw2^;hwg2K^Gi-6S;M2<4hTrZ)5
z2_`sE!via5IM`uA)WQS-8~8!T9}K_yc(sv74h9%=Oc6#AUK6m!4&&g^kN`GPkb)CJ
z=%9n)L~MY92zGQ}hndyZ3p?y3$PNVrd>o#^4zWBS0Pi&(mO=`#06;?j@y3hLLJMky
znr8GRA7cQY@iNAAi!%_u!O^{p#T|>;0`h%1rXF|do?N-7gG=f7zE*io9KiY
zNI-%N#32r8NP`*57zcmIaR@fh2o|?TuI+KocOJX}48YhI8~`Ez2Xp~K9!7wIA;({CqAqSuQ1Qxc5g)MBsigg^DJDyZY-u*xT&b+}i9gqMpy5oa1pg|9Y
z`3WF=5}QC60Sz+9Jq?{xJm>sDI@`HP|2bg=FmS*J=ZOP($}4O#nYB
z7rFkZ&=n~3qX{6ELTi8n064UlG_WR5@~1tF2GpG80;8MU^ihSb6NEKz!8Jh{&s(UY
z9qzECMJ?HvgnkfCw*=%n-eJLYIF%hZxI#O`8896Nj4LA`p#VV}&;S^0(xY6tWdgj~
V&II&@rP>3iJO1f{O>{I606W4fO_=}y
literal 0
HcmV?d00001
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/eating.gif b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/eating.gif
new file mode 100644
index 0000000000000000000000000000000000000000..632b9d23acd8604b0219c7ebe2836c3c1f2fa825
GIT binary patch
literal 3169
zcmWmB|3k}p0|4;%=iBz#R{PS{`d*(^m$b^FBD$=a8j+AhVI|jm>9JgtsQc_oYpAnu
zkKB1!U8hBuZy9&oXVWE#rzmp1E$8TPEV^`$FFnum%j+L_rOr;77MGU+=76UFj6dd#
z-{*WP{Pg&u`|Y-p4<9~Mmk18;=4>t$e!RmfE!l8T#~T`YcJ?4|>=yUd&7ONdmVSER
zyLOpiz{(#l8rNyd_ZgOMFP*b`Y2>CgDSvbbTp09XWz_!t2UjgmeckQ$=+UDenwp+<
zF`W6su`$H>^YB##1-o|DUbyh%{d;%1PqFUY?(eavvgYt_T)$>E=6o1ge0A})SARY~
zab(x%fa~9X|NZoL$EAkCyr}H<_I8Wq*y~=m>!*Y@(yy;}oH?{Vy*2gNuWe{nn)n-C
zczML;S)N2|>#1K_1Z7E^PwiXz_U+pTcGqF&tKV{eZ`iNSm^1I{k#(b^W40FTz{Eq=
zbIotQ9`5Yuvzs@oQWMA0-dVGMI=mfl-rwKv7=FF^=B=XZb;6Gyx1Bs*
zY;Bly^{cBb6)oqjtNXhDHQdj8H#&Un_{J0Ftp7Y*KlW;@vm>kb2qv1JWedENNUz$1zJgZDOCXnSXem1fj>
z<+VTDlQreF@KVJ`ljYY5_KQo>Ckp)}dGgwJE%U(GFrrs9rnyk(FT6okvkmVrbb@9b
z@+Cj`1K^+eR(q!(zW=0`^Oo>a-(yQHqo*ae*n#iP517tvpk;kSf3G5u`lt%sKaU+=
zd>Qt*gl+Pb*La4bMfSFZ{c8uVbDq6vJMVjN?f@EX9eS4ZTZl%Ya533QJ}QD;TMSK5
z%;9;?tLjds)1C|-xavysW?`P;5C!9e
z#0I$z+5zq&>G{P+)pk|RjtyQc6)fn>AioevZdTC~&1#Z~M@!Hp4W#Lc*B8-iQ{0W;
z7N>aZ>@-~_A~Q`=%>97M&JU5DH1KdjN3q>+5KKfQDc1`H?O{~w>2hUNV5sREEqx{x
zmFiRUK|-hdg}$kxhXG4|06kaX7L1)?u5pyG1|
zCB|<9R@SQkm_bm<0jb?4G}JHN`voo!C3PUEMk2;!f+!4&+E&+zcq#w_7_tLYc^Y9N
z$KB^V@xlvy>b9fvf>YeTVZCePIzbSpp8Fogw#@Sd(UNjDYs6?F}UsS@Wagz
zh~d5C0asU5Ps3p^n(ZKs52$2Ta?{}D3)Q*|%q`d`ISu4QFY2~YnJC8M(t2))wm9-A
zIC?Db-Th19qFKm7L)?huSac6?O(dL*py^HbFZ1Q~u1;JqLZos8E-x{5KG9=m6}vYg
zzPM2#MNoFx)GE4}dv4Mwq3njYM4w7^uVaND1$D^qw6;Zrgn}c2>*7Q)2UL)cuz<8x
zUD;~1Vck>LlYhKij8IU7uhu)LJX2ldBF_~|g>mztOXJicPa=gyo0b?L!a}9gd(>%z
zeYQD=6VNff>N4i(DS=#@zubjpI@?}|0X0r7TQ$pk;Uc0p4k(cG!`aYFFxRch=~S?$dj%CEZK#@1);}Un#Ih4pJNhIzAORmix-x1_}k)nQyd>->S_vg~X
zZ}w)CK{U4X-?D54{X(2Q(TC7{|F7Bj9eW}#pBs0Emj|)9$zIk1+(QzrdsP4l6kXlH
zbE9#iteyGtJjw`{Dqr4J)7T_hq~5(5^ZUZ>fMRk|JO!&up1DtPY8E||HoA`E8hZH`
z2Elp=3iw`+L=zb6`IOB|>+SFgr(ULWXrmX01Xiik`g9(1wgu2MT$J6kCU3N4PFOUB
zAR`1#W)=Rdl3c}4Hh9nJXd&wN%H06px6^HpO|3TGqA
z$lz}Zl&pU#4+E0~M|m8T4e>XsX;WTfQ>{hgf@9MLkLF9OPP>p5=W}qDDG;2D(}d}I
zgWZ&S;2?wgy2?VIuyAlir3EUZ)gi3xVx9S?=a`Ow7l)Rz9>`_%As^sxn3gcFQ7j}$
zRHT5QY|7@Mn2d*II~G=&p_;GWYRqB$6E!aSjn~MPNfPQ{%Do)P+Bhhk%wu0WilEOe
zGZ3YW8&d`yIG1bi4t2C$>pMi}l0+1}0m@Eq_YNbOv|$C*K_t38cj)IVxxmi%g#B=}
z#v?SMQ*Tl8TMb>}aw+_|e+sN2FixgIWhkS5yutH1>qpMLlH>n2Qlf2hOJZ=$(nTCK
z%qh6NH|Wenc;Wc5=byDF;vr`0G`G6IDhJ9Vt)WIbRe?p!5`!Un%_>3|V%2^y*`yP3jrq$KrHP88ZvOewl#QuqInu
zdnGCAha~qvqaB`RBKal`Kg}9)CD{Rogo-duwvC~vz*QI1rcZcxF1AhDl49xFRVhg-4B0$xwVuh2OnGa
zDfJm3P63A~P^AqYez*0h$>*d4ojnZVEDC}AOBW|#THxi5$mB08t9qaVQ}H<@?C%D1
z6o{W>eQb0ZQRgvJ8qk|MfskljGN2F@970~Iyb_2t|FzAah9f8A3!Gq9BS`7tdJI)E
zl^`gE=V9agv4jkv3a2&)h3r8*2`oX0ixn`DQMTt!ab%BdG94CkVHXNrJz7!F<1dKH
zigzLnP6Q#J&+5T>vtTn?r1gBd>s)Qa)XZu@hjY}<>Fw*
Fe*y4k@DKn1
literal 0
HcmV?d00001
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/hungry.gif b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/hungry.gif
new file mode 100644
index 0000000000000000000000000000000000000000..dc144db97a2ee0413f63de2148988e112139134e
GIT binary patch
literal 2428
zcmW-e`&&{61Axzg0~`?Xh={1DfK2gH;WaF3fb&+?(5yK#!_Cx|+i+8}+xHzVq6s>x
zEiKKk+;VEArlmdE4x(kHWtTN;)$kHxpWBCRty*sE+1?-C_YZiJQW8aRxpH6)U;_ZB
zBVY<A*0orR8LO{jTH3kN^1NBTIMCqsO*u
z*RGd+o_Oli*8>9sJsteBXFKtr`)}Ov?r~H5wF|-B
z=e{c`H9WRG{maG~=m`01HXtTC#_4nd|H6F@{oC+={Ld4B3&_n8u2B4-I~DV`ed;2^&n2BZ>%ZGoU>Hi@)Ip>
zg9(X}YC0(e&ep^o_Qyr-6G*m{a5Nn6XlJ9iUvV{$fD^DENhTww(`o=VXUB$>k!3C+mUAHfHQ$a*(QDkFsRzQ?{M`=U4uErG+Vx5!e7XAG(
zf+ptm0mXIJ=Pj;M<;v+qfm;1ft3L`J4vwo@2S)*EO!BNUhy84ieGj=F(Z
z`DnCwN+mhOV0NAEz~V_SWvuml#h~pPy#^O8#k=d~`D$u>Jr)n$_0)QiUb=pU`G~br
zolAV`!i~(eVyS``DK5q{U95l~!B<
z?oeJ(<2(x8Elwid-erN{LIs*1=8k|2gVJi&O%w(u(4(ODEU<5~>FSXJnh+!IHkeQ_
z9pRwlE#(JcmMnFlF4m1TuE|9>(x9VS`bYT&GF*aZSN9<1;)S$e9fGYYLE$Z_SblS3
zQ-}(r2tbS;JW-qs@>!0p?>|J0kc+%jI0WPCAIzOz7mAqiA7o-E)rKxKwtc5OPXg96
z^1t=yee$fs|D$KkAQQ+iULofQ&02&B4?j)wY;4A5AYYpE5B05B2_Qa-Bncs?+-hbt
zY>%RPI>?<`q^vdr^@@<_e>r!IrZBr@0Kcy7dJZbo^tVky186_})}RyqRA5TNpq-)8
z*6H4vbvUL-sU>)dl^WL;PoWM^L#-$~V#s706S)~|z)FrhEjIW$5amW*x2SZuGBDynMQ#p%pafabMH2(+!e@yVakVvHz2y#B}}WQ
zh>(i00$j7iHw-+a4h2}~FrLY1p5OPR*fB_TQOM^wiV^uc2wZrZ{{vCWHY|@o6)2IK
zXH3v)_BKmhLN8$`jok_0T|yUAs=T99Ip&KL%xlz=>A>)=uOtz1I|)Opt7vr2pjG1iYm+pL~QJCUkVV(&`yLsUjNvlSr@eJZh;S*sQwad#M@6}@>
zL2_M)C}o;U6GAZ@Yt5L46p>V+46*bJy;8+214e9PAY9rqNN%f2mKmh9-2!RgS_d)0
zR_HALiVx9e0B9Yq8^Tu&y7|iqa$P!-Q*HrLUne3(7>=pf=D#(ripG|@9w}P0A2sXEF*#NEa@}h`pr0V0nmr@iBAF9
zbPCM0=8I-utK1+fe&cvr2b
z@OVd{(%HDEP^6-*uorMcCo0L`bOlWb@uW_P>=VY#a=)sRfxG3}=vc+>kIA>`7qwZ%
zuTXF(2KwM`pL$&pw>DX%$^5-j8#&+VMpB?fUbz`zGD*U|K43|oQoR6JiFbV=JSVFP
z$&*5{7>G~qT>CtYlWK@bdVoBfR&g@gh^Du+8(M;KlyDP?(T5T4UpodaGZDV`gnXzD
z)I-^f#45bGGyv}>cOa`qBp>wSHC{?9&ReM|T6l-Jh*M&l6=up(42?@oa1WFCZqGM@
zl~&nyjbsp|PHL#xCSqv46km;46MC@!?&y*od4p<V>&l!$|*W#9S63Atbs)&js0pW_0|2(Erh{lQ0O^HdHLx(3;FQ2;Hv>qbf
XpQlo&rO5Tpgr@ifb-xb}0apGEm|EE%
literal 0
HcmV?d00001
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/thinking.gif b/examples/arm-cm/dpp_ek-tm4c123gxl/qspy/img/thinking.gif
new file mode 100644
index 0000000000000000000000000000000000000000..ec684ee5a378e80a351b0821edc6adc9fa1c4850
GIT binary patch
literal 2378
zcmWlY=~ol?0ziK=lgUPa0Rkkf2?8bYeb(8LOfKd2C5cq>l;yATEw^lJ}}RIx&OeuH!eOld|9>Rx9{@X-xk;&2TffI*iuqX
z>RO*%-gBz7~ecI;o+*|fDFJ1A*Q*tRx2OAu?7X~Z*S!C}
z;**yq*jfRuWeAOlC
zV`I0+C!QJ(HgDgysce_#_05GRdoEn<7M1SUw)2aR&7I=wJ%Z7(2UE|dzt*hz-`u;Z
zigk}4KYB45xN5C3cgvT$rp}t$%In>ghMGkWpIFCC+K8AnXN~1)d8JLpZsWo7J^Dk1
zrF-7Ic|G~FE^l*6d6j;4_U--g@kdWy#Y74c(h7%8lqJQwEewkrJV7oE^*Xs9Gc?pa
zynlCY_D!R1`@6Zfrw?Kc`tldo^mqSLHGNBBv)KRu;#tOf0wDVb|2P3Gn|c>nSyipA
zsjb^xE%c7dN=fKGo2+f
z9bMfS89ciThD4ebf837<=(}ccOtn)$Y&JXwLn3>rBS{qfa{WP#Fpd`jAmq!bX9xs4
z1j=REerbYLaq8pI
zKLKEzTv3KU$X(3Y>;NPiwgP7sE1kGE?%Y%x$p38gzz$@%s`Y3qNE%rqSq=QxO-Ajm
zLwP=--;T<#Hcixtrd@)e6R)LuemIq$4&@LV+SoR?Ib~=5O41HJcp-R$dcdKtRwc;B
z`k&s_LpjNy@Z;TVuJ0|>;3ayNO+sW#_OK*ICtAAFH=L-9YA8Lho`oGO3w@;6_#m@(
ze5G!Sckq~X2FvYzHj={2NNkxnE#j=&O4qN;C$&<>(MgNq+rE9m1@Uj@H=Q4_Q$&Rc
zxJl5JHdpsNJ)a_`3OIgNc6!eDmc1A2TIF@!eFP9ndtaq9#azU^0oK?8E4K(29%_1FHG62#$OxSvj~1mf;jjAE`Ef
zi>GhYK|X9X07kBba$f880@$x$V-O^&<+2266%As3T8k04!wtqxj=jVw+6RAZQNRI1
z?JP)zVhRQj5x|R60v}=Iw-8JQH~*g2v$%zZ?cJ?^RdJXg8*oC-rr;2eKvA$#t%%q9
z^%6|qnU%&R3{Qy>cQ0mtQ0d~UI<+^8b(~@ZaH^m@PH-WBF7VTaS+%!?$B*cF=T1@zvZXDKQ{|i?4LXo$r~=
zk<&cI)!_@LJRk;7X|5GU5(U3TF0z_=&rL30xFGzZZCU|k{QM#}ad?}VJ7ZyNsPHK%
z(QenrShBQZF=KMhaC_ZYnC04|t~&@2WY=%5kJk_w@(W9KQ1X
zT@VLjK*5Q{pVd{?AxNQeAYR}9JZo-er%x+8zc1Z`|4FD*{dj4>t+!D
z^HKEEF`P9&u_U-x4ID(Pph6lQ8JS=^AGotzc4Sc4CDtD3QKL!>y&>7Ms*iJ>D3}
zr#NYbrgWXU>RqyU&(qpu7dNX`_67p00-dSS-ZrB|c`Q-8H)KI{FTM1lNs5vYv
zfIL!a{lYj-;(RP6p@_NA|B64-MTMN*jEHC27;)VF;wR;dkGs~ANuol6CJsdE=vZOm5y+#S?m^j)0hozZ@_I)ljS?$S=(L-MYMfL|b5CipAD&_4GlD2&givs@
zoKb{9KH!1>1%+2unF5P$a4={a7|fMq(08_qfh$5V0vHUz97%VPd;x}%{QR6^1{(%W
z1{Q|*``F!2Yz2wy0abKYgDg@(XauuLb#F72FysSa4nr|eM1&y(YMz8UL%RS&A;dri
zJE(~g?xGzM?h+j!6F+sb07;0a!G^(!LKHK_7`)(S{%sRrNXpD(us|_S3~b(KuzBdg
z0Wvg+A(J5wNDDDUF&Hs`0?x@{^(+O3^3384z0`_SARlg?7|?wX^W?ig?!#tYIncaf
zh71NhhE#?MAZB2Y0OBAZmVxR3(I!9)0)apbl4l0uLl@Z(2mtBu%)FHR@?r*HoPa|p
z1`<#)K)=NxT%`@PL60GZ0Er0y7zX5!i-Gz(h5_BZj6f5$8B~ET3t{jFLLY`;AP=Ow
zn4y575{Xp?^l2(kKSB;Bq6dtlWMHf-Fr)zW6aY~N9gc9Kh;@4~7IZ;!KS{UC7=NC0ABa4m=cae$yO
zN4K~jHMyh+6xKk%w|^4%`<-zP4T|PL=hx`mz0|k5$kF?$;Ou7%59F$NlL*O!%m4rx
C!LMNe
literal 0
HcmV?d00001
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvoptx b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvoptx
index e84a05a3..d5d01052 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvoptx
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvoptx
@@ -77,7 +77,7 @@
0
1
- 4
+ 255
0
1
@@ -188,6 +188,7 @@
+ 0
@@ -364,6 +365,7 @@
+ 0
@@ -534,6 +536,7 @@
+ 0
@@ -621,6 +624,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -631,7 +647,7 @@
0
2
- 7
+ 8
1
0
0
@@ -644,7 +660,7 @@
2
- 8
+ 9
5
0
0
@@ -657,7 +673,7 @@
2
- 9
+ 10
2
0
0
@@ -670,7 +686,7 @@
2
- 10
+ 11
5
0
0
@@ -683,7 +699,7 @@
2
- 11
+ 12
5
0
0
@@ -696,7 +712,7 @@
2
- 12
+ 13
5
0
0
@@ -709,7 +725,7 @@
2
- 13
+ 14
5
0
0
@@ -730,7 +746,7 @@
0
3
- 14
+ 15
1
0
0
@@ -743,7 +759,7 @@
3
- 15
+ 16
1
0
0
@@ -756,7 +772,7 @@
3
- 16
+ 17
1
0
0
@@ -769,7 +785,7 @@
3
- 17
+ 18
1
0
0
@@ -782,7 +798,7 @@
3
- 18
+ 19
1
0
0
@@ -795,7 +811,7 @@
3
- 19
+ 20
1
0
0
@@ -808,7 +824,7 @@
3
- 20
+ 21
1
0
0
@@ -821,7 +837,7 @@
3
- 21
+ 22
1
0
0
@@ -834,7 +850,7 @@
3
- 22
+ 23
1
0
0
@@ -847,7 +863,7 @@
3
- 23
+ 24
1
0
0
@@ -860,7 +876,7 @@
3
- 24
+ 25
1
0
0
@@ -873,7 +889,7 @@
3
- 25
+ 26
1
0
0
@@ -886,7 +902,7 @@
3
- 26
+ 27
1
0
0
@@ -915,7 +931,7 @@
0
5
- 27
+ 28
1
0
0
@@ -928,7 +944,7 @@
5
- 28
+ 29
1
0
0
@@ -941,7 +957,7 @@
5
- 29
+ 30
1
0
0
@@ -952,6 +968,19 @@
0
0
+
+ 5
+ 31
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\source\qs_rx.c
+ qs_rx.c
+ 0
+ 0
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvprojx b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvprojx
index 5d18afc8..d76cb3b8 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvprojx
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/arm/dpp-qv.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
1
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -589,6 +602,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -631,6 +648,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -639,6 +661,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -697,9 +720,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -713,6 +736,8 @@
0
0
+ 0
+ 0
1
@@ -856,6 +881,7 @@
0
0
0
+ 0
3
3
0
@@ -990,6 +1016,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1067,6 +1097,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1218,6 +1253,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1260,6 +1299,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
@@ -1268,6 +1312,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -1326,9 +1371,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1342,6 +1387,8 @@
0
0
+ 0
+ 0
1
@@ -1485,6 +1532,7 @@
0
0
0
+ 0
3
3
0
@@ -1619,6 +1667,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1696,6 +1748,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1829,6 +1886,11 @@
1
..\..\..\..\..\source\qs_fp.c
+
+ qs_rx.c
+ 1
+ ..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.c b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.c
index 8cc85669..7d19ba6b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.c
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, EK-TM4C123GXL board, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -48,6 +48,7 @@ Q_DEFINE_THIS_FILE
* DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE!
*/
enum KernelUnawareISRs { /* see NOTE00 */
+ UART0_PRIO,
/* ... */
MAX_KERNEL_UNAWARE_CMSIS_PRI /* keep always last */
};
@@ -69,27 +70,33 @@ void GPIOPortA_IRQHandler(void);
/* Local-scope objects -----------------------------------------------------*/
#define LED_RED (1U << 1)
-#define LED_GREEN (1U << 3)
#define LED_BLUE (1U << 2)
+#define LED_GREEN (1U << 3)
#define BTN_SW1 (1U << 4)
#define BTN_SW2 (1U << 0)
-static unsigned l_rnd; /* random seed */
+static uint32_t l_rnd; /* random seed */
#ifdef Q_SPY
+ void UART0_IRQHandler(void);
+
QSTimeCtr QS_tickTime_;
QSTimeCtr QS_tickPeriod_;
- static uint8_t l_SysTick_Handler;
- static uint8_t l_GPIOPortA_IRQHandler;
+
+ /* QS source IDs */
+ static uint8_t const l_SysTick_Handler = (uint8_t)0;
+ static uint8_t const l_GPIOPortA_IRQHandler = (uint8_t)0;
#define UART_BAUD_RATE 115200U
- #define UART_FR_TXFE 0x80U
+ #define UART_FR_TXFE (1U << 7)
+ #define UART_FR_RXFE (1U << 4)
#define UART_TXFIFO_DEPTH 16U
enum AppRecords { /* application-specific trace records */
- PHILO_STAT = QS_USER
+ PHILO_STAT = QS_USER,
+ COMMAND_STAT
};
#endif
@@ -172,18 +179,15 @@ void BSP_init(void) {
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
#endif
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE);/* set direction: output */
GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE); /* digital enable */
- GPIOF->DATA_Bits[LED_RED] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_GREEN] = 0; /* turn the LED off */
- GPIOF->DATA_Bits[LED_BLUE] = 0; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_RED] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_GREEN] = 0U; /* turn the LED off */
+ GPIOF->DATA_Bits[LED_BLUE] = 0U; /* turn the LED off */
/* configure the Buttons */
GPIOF->DIR &= ~(BTN_SW1 | BTN_SW2); /* set direction: input */
@@ -197,6 +201,8 @@ void BSP_init(void) {
}
QS_OBJ_DICTIONARY(&l_SysTick_Handler);
QS_OBJ_DICTIONARY(&l_GPIOPortA_IRQHandler);
+ QS_USR_DICTIONARY(PHILO_STAT);
+ QS_USR_DICTIONARY(COMMAND_STAT);
}
/*..........................................................................*/
void BSP_displayPhilStat(uint8_t n, char const *stat) {
@@ -249,12 +255,17 @@ void QF_onStartup(void) {
* Assign a priority to EVERY ISR explicitly by calling NVIC_SetPriority().
* DO NOT LEAVE THE ISR PRIORITIES AT THE DEFAULT VALUE!
*/
+ NVIC_SetPriority(UART0_IRQn, UART0_PRIO);
NVIC_SetPriority(SysTick_IRQn, SYSTICK_PRIO);
NVIC_SetPriority(GPIOA_IRQn, GPIOA_PRIO);
/* ... */
/* enable IRQs... */
NVIC_EnableIRQ(GPIOA_IRQn);
+
+#ifdef Q_SPY
+ NVIC_EnableIRQ(UART0_IRQn); /* UART0 interrupt used for QS-RX */
+#endif
}
/*..........................................................................*/
void QF_onCleanup(void) {
@@ -267,67 +278,84 @@ void QV_onIdle(void) { /* called with interrupts disabled, see NOTE01 */
#ifdef Q_SPY
QF_INT_ENABLE();
+ QS_rxParse(); /* parse all the received bytes */
+
if ((UART0->FR & UART_FR_TXFE) != 0U) { /* TX done? */
uint16_t fifo = UART_TXFIFO_DEPTH; /* max bytes we can accept */
uint8_t const *block;
QF_INT_DISABLE();
- block = QS_getBlock(&fifo); /* try to get next block to transmit */
+ block = QS_getBlock(&fifo); /* try to get next block to transmit */
QF_INT_ENABLE();
- while (fifo-- != 0) { /* any bytes in the block? */
- UART0->DR = *block++; /* put into the FIFO */
+ while (fifo-- != 0) { /* any bytes in the block? */
+ UART0->DR = *block++; /* put into the FIFO */
}
}
#elif defined NDEBUG
/* Put the CPU and peripherals to the low-power mode.
* you might need to customize the clock management for your application,
- * see the datasheet for your particular Cortex-M MCU.
+ * see the datasheet for your particular Cortex-M3 MCU.
*/
- QV_CPU_SLEEP(); /* atomically go to sleep and enable interrupts */
-#else
- QF_INT_ENABLE(); /* just enable interrupts */
+ __WFI(); /* Wait-For-Interrupt */
#endif
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *file, int line) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)file;
+ (void)line;
+ QS_ASSERTION(file, line, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
-/*--------------------------------------------------------------------------*/
+/* QS callbacks ============================================================*/
#ifdef Q_SPY
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
- static uint8_t qsBuf[2*1024]; /* buffer for Quantum Spy */
+ static uint8_t qsTxBuf[2*1024]; /* buffer for QS transmit channel */
+ static uint8_t qsRxBuf[100]; /* buffer for QS receive channel */
uint32_t tmp;
- QS_initBuf(qsBuf, sizeof(qsBuf));
- /* enable the peripherals used by the UART0 */
- SYSCTL->RCGC1 |= (1U << 0); /* enable clock to UART0 */
- SYSCTL->RCGC2 |= (1U << 0); /* enable clock to GPIOA */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ QS_initBuf (qsTxBuf, sizeof(qsTxBuf));
+ QS_rxInitBuf(qsRxBuf, sizeof(qsRxBuf));
+
+ /* enable clock for UART0 and GPIOA (used by UART0 pins) */
+ SYSCTL->RCGCUART |= (1U << 0); /* enable Run mode for UART0 */
+ SYSCTL->RCGCGPIO |= (1U << 0); /* enable Run mode for GPIOA */
/* configure UART0 pins for UART operation */
tmp = (1U << 0) | (1U << 1);
GPIOA->DIR &= ~tmp;
- GPIOA->AFSEL |= tmp;
- GPIOA->DR2R |= tmp; /* set 2mA drive, DR4R and DR8R are cleared */
GPIOA->SLR &= ~tmp;
GPIOA->ODR &= ~tmp;
GPIOA->PUR &= ~tmp;
GPIOA->PDR &= ~tmp;
- GPIOA->DEN |= tmp;
+ GPIOA->AMSEL &= ~tmp; /* disable analog function on the pins */
+ GPIOA->AFSEL |= tmp; /* enable ALT function on the pins */
+ GPIOA->DEN |= tmp; /* enable digital I/O on the pins */
+ GPIOA->PCTL &= ~0x00U;
+ GPIOA->PCTL |= 0x11U;
/* configure the UART for the desired baud rate, 8-N-1 operation */
- tmp = (((ROM_SysCtlClockGet() * 8U) / UART_BAUD_RATE) + 1U) / 2U;
+ tmp = (((SystemCoreClock * 8U) / UART_BAUD_RATE) + 1U) / 2U;
UART0->IBRD = tmp / 64U;
UART0->FBRD = tmp % 64U;
- UART0->LCRH = 0x60U; /* configure 8-N-1 operation */
- UART0->LCRH |= 0x10U;
- UART0->CTL |= (1U << 0) | (1U << 8) | (1U << 9);
+ UART0->LCRH = (0x3U << 5); /* configure 8-N-1 operation */
+ UART0->LCRH |= (0x1U << 4); /* enable FIFOs */
+ UART0->CTL = (1U << 0) /* UART enable */
+ | (1U << 8) /* UART TX enable */
+ | (1U << 9); /* UART RX enable */
- QS_tickPeriod_ = ROM_SysCtlClockGet() / BSP_TICKS_PER_SEC;
+ /* configure UART interrupts (for the RX channel) */
+ UART0->IM |= (1U << 4) | (1U << 6); /* enable RX and RX-TO interrupt */
+ UART0->IFLS |= (0x2U << 2); /* interrupt on RX FIFO half-full */
+ /* NOTE: do not enable the UART0 interrupt yet. Wait till QF_onStartup() */
+
+ QS_tickPeriod_ = SystemCoreClock / BSP_TICKS_PER_SEC;
QS_tickTime_ = QS_tickPeriod_; /* to start the timestamp at zero */
/* setup the QS filters... */
@@ -341,73 +369,27 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
+ QS_FILTER_ON(COMMAND_STAT);
return (uint8_t)1; /* return success */
}
/*..........................................................................*/
+/*
+* ISR for receiving bytes from the QSPY Back-End
+* NOTE: This ISR is "QF-unaware" meaning that it does not interact with
+* the QF/QK and is not disabled. Such ISRs cannot post or publish events.
+*/
+void UART0_IRQHandler(void) {
+ uint32_t status = UART0->RIS; /* get the raw interrupt status */
+ UART0->ICR = status; /* clear the asserted interrupts */
+
+ while ((UART0->FR & UART_FR_RXFE) == 0) { /* while RX FIFO NOT empty */
+ uint32_t b = UART0->DR;
+ QS_RX_PUT(b);
+ }
+}
+/*..........................................................................*/
void QS_onCleanup(void) {
}
/*..........................................................................*/
@@ -426,7 +408,7 @@ void QS_onFlush(void) {
QF_INT_DISABLE();
while ((block = QS_getBlock(&fifo)) != (uint8_t *)0) {
QF_INT_ENABLE();
- /* busy-wait until TX FIFO empty */
+ /* busy-wait as long as TX FIFO has data to transmit */
while ((UART0->FR & UART_FR_TXFE) == 0) {
}
@@ -438,6 +420,30 @@ void QS_onFlush(void) {
}
QF_INT_ENABLE();
}
+/*..........................................................................*/
+/*! callback function to reset the target (to be implemented in the BSP) */
+void QS_onReset(void) {
+ NVIC_SystemReset();
+}
+/*..........................................................................*/
+/*! callback function to execute a user command (to be implemented in BSP) */
+void QS_onCommand(uint8_t cmdId, uint32_t param) {
+ void assert_failed(char const *module, int loc);
+ (void)cmdId;
+ (void)param;
+ QS_BEGIN(COMMAND_STAT, (void *)0) /* application-specific record begin */
+ QS_U8(2, cmdId);
+ QS_U32(8, param);
+ QS_END()
+
+ if (cmdId == 10U) {
+ Q_ERROR();
+ }
+ else if (cmdId == 11U) {
+ assert_failed("QS_onCommand", 123);
+ }
+}
+
#endif /* Q_SPY */
/*--------------------------------------------------------------------------*/
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
index 0f06b7bf..7bd62af6 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on EK-TM4C123GXL, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -124,6 +124,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -135,7 +136,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -259,7 +260,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/iar/dpp-qv.ewp b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/iar/dpp-qv.ewp
index 561b293b..f5e159fd 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/iar/dpp-qv.ewp
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/iar/dpp-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,15 +125,10 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
- 40
+ 22
+ 39
OGUseCmsis
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,15 +2057,10 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
- 40
+ 22
+ 39
OGUseCmsis
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2938,6 +2977,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qf_time.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\..\..\..\source\qv.c
@@ -2960,6 +3002,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/Makefile
index 4f2ce288..5658570b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, DPP-GUI, Win32-QV, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -217,7 +217,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/bsp.c b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/bsp.c
index 43f81ad6..631400da 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/bsp.c
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP example, Win32-GUI
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-14
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -361,79 +361,8 @@ uint8_t QS_onStartup(void const *arg) {
&custParserFun); // customized parser function
/* setup the QS filters... */
-// QS_FILTER_ON(QS_QEP_STATE_ENTRY);
-// QS_FILTER_ON(QS_QEP_STATE_EXIT);
-// QS_FILTER_ON(QS_QEP_STATE_INIT);
-// QS_FILTER_ON(QS_QEP_INIT_TRAN);
-// QS_FILTER_ON(QS_QEP_INTERN_TRAN);
-// QS_FILTER_ON(QS_QEP_TRAN);
-// QS_FILTER_ON(QS_QEP_IGNORED);
-// QS_FILTER_ON(QS_QEP_DISPATCH);
-// QS_FILTER_ON(QS_QEP_UNHANDLED);
-
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
QS_FILTER_ON(QS_QF_MPOOL_INIT);
QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
-// QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
return CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
!= (HANDLE)0; /* return the status of creating the idle thread */
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj
index ede509b8..d267b8b2 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj
@@ -1,4 +1,4 @@
-
+
@@ -81,7 +81,7 @@
MaxSpeed
OnlyExplicitInline
- .;..;../../../../include;../../../../ports/win32;%(AdditionalIncludeDirectories)
+ .;..;../../../../include;../../../../ports/win32-qv;%(AdditionalIncludeDirectories)
NDEBUG;WIN32_GUI;_WINDOWS;%(PreprocessorDefinitions)
false
@@ -102,10 +102,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
Windows
false
@@ -116,6 +116,9 @@
true
.\Release/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -129,7 +132,7 @@
Disabled
- .;..;../../../../include;../../../../ports/win32;$(QTOOLS)/qspy/include;%(AdditionalIncludeDirectories)
+ .;..;../../../../include;../../../../ports/win32-qv;$(QTOOLS)/qspy/include;%(AdditionalIncludeDirectories)
Q_SPY;WIN32_GUI;snprintf=_snprintf;_CRT_SECURE_NO_WARNINGS;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
false
@@ -152,10 +155,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -170,6 +173,9 @@
true
.\QSpy/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -183,7 +189,7 @@
Disabled
- .;..;../../../../include;../../../../ports/win32;%(AdditionalIncludeDirectories)
+ .;..;../../../../include;../../../../ports/win32-qv;%(AdditionalIncludeDirectories)
WIN32_GUI;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
false
@@ -208,10 +214,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -226,12 +232,16 @@
true
.\Debug/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
true
true
+
@@ -261,6 +271,22 @@
+
+
+ false
+ true
+ true
+
+
+ true
+ true
+
+
+ true
+ true
+ false
+
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj.filters b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj.filters
index b11211e8..1749836b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj.filters
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32-qv/dpp-gui.vcxproj.filters
@@ -3,11 +3,12 @@
- Q_SPY
+ QSPY
+
@@ -38,16 +39,30 @@
-
- {9329cf7b-e791-415b-8458-a26ea9bf414f}
-
{c8d4d732-dcf8-4466-ad8e-3f15ab6fe204}
+
+ {9329cf7b-e791-415b-8458-a26ea9bf414f}
+
+
+ {fc58f96a-b3df-47d3-9a58-3283c0cf1a5c}
+
Res
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/Makefile
index fe53c07e..31abe5a1 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, DPP-GUI, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -217,7 +217,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/bsp.c b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/bsp.c
index 43f81ad6..631400da 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/bsp.c
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP example, Win32-GUI
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-14
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -361,79 +361,8 @@ uint8_t QS_onStartup(void const *arg) {
&custParserFun); // customized parser function
/* setup the QS filters... */
-// QS_FILTER_ON(QS_QEP_STATE_ENTRY);
-// QS_FILTER_ON(QS_QEP_STATE_EXIT);
-// QS_FILTER_ON(QS_QEP_STATE_INIT);
-// QS_FILTER_ON(QS_QEP_INIT_TRAN);
-// QS_FILTER_ON(QS_QEP_INTERN_TRAN);
-// QS_FILTER_ON(QS_QEP_TRAN);
-// QS_FILTER_ON(QS_QEP_IGNORED);
-// QS_FILTER_ON(QS_QEP_DISPATCH);
-// QS_FILTER_ON(QS_QEP_UNHANDLED);
-
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
QS_FILTER_ON(QS_QF_MPOOL_INIT);
QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
-// QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
return CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
!= (HANDLE)0; /* return the status of creating the idle thread */
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj
index ede509b8..50754a23 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj
@@ -102,10 +102,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
Windows
false
@@ -116,6 +116,9 @@
true
.\Release/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -152,10 +155,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -170,6 +173,9 @@
true
.\QSpy/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -208,10 +214,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -226,12 +232,16 @@
true
.\Debug/dpp-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
true
true
+
@@ -261,6 +271,22 @@
+
+
+ false
+ true
+ true
+
+
+ true
+ true
+
+
+ true
+ true
+ false
+
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj.filters b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj.filters
index b11211e8..1749836b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj.filters
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/win32/dpp-gui.vcxproj.filters
@@ -3,11 +3,12 @@
- Q_SPY
+ QSPY
+
@@ -38,16 +39,30 @@
-
- {9329cf7b-e791-415b-8458-a26ea9bf414f}
-
{c8d4d732-dcf8-4466-ad8e-3f15ab6fe204}
+
+ {9329cf7b-e791-415b-8458-a26ea9bf414f}
+
+
+ {fc58f96a-b3df-47d3-9a58-3283c0cf1a5c}
+
Res
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvoptx b/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvoptx
index 29104a86..b6f56028 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvoptx
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvoptx
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -82,17 +82,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -222,6 +222,7 @@
+ 0
@@ -286,17 +287,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -414,6 +415,7 @@
+ 0
@@ -478,17 +480,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -606,6 +608,7 @@
+ 0
@@ -693,6 +696,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -703,7 +719,7 @@
0
2
- 7
+ 8
1
0
0
@@ -716,7 +732,7 @@
2
- 8
+ 9
2
0
0
@@ -737,7 +753,7 @@
0
3
- 9
+ 10
1
0
0
@@ -750,7 +766,7 @@
3
- 10
+ 11
1
0
0
@@ -763,7 +779,7 @@
3
- 11
+ 12
1
0
0
@@ -776,7 +792,7 @@
3
- 12
+ 13
1
0
0
@@ -789,7 +805,7 @@
3
- 13
+ 14
1
0
0
@@ -802,7 +818,7 @@
3
- 14
+ 15
1
0
0
@@ -815,7 +831,7 @@
3
- 15
+ 16
1
0
0
@@ -828,7 +844,7 @@
3
- 16
+ 17
5
0
0
@@ -841,7 +857,7 @@
3
- 17
+ 18
1
0
0
@@ -854,7 +870,7 @@
3
- 18
+ 19
1
0
0
@@ -867,7 +883,7 @@
3
- 19
+ 20
1
0
0
@@ -880,7 +896,7 @@
3
- 20
+ 21
1
0
0
@@ -893,7 +909,7 @@
3
- 21
+ 22
1
0
0
@@ -906,7 +922,7 @@
3
- 22
+ 23
1
0
0
@@ -919,7 +935,7 @@
3
- 23
+ 24
1
0
0
@@ -932,7 +948,7 @@
3
- 24
+ 25
5
0
0
@@ -953,7 +969,7 @@
0
4
- 25
+ 26
5
0
0
@@ -966,7 +982,7 @@
4
- 26
+ 27
5
0
0
@@ -979,7 +995,7 @@
4
- 27
+ 28
5
0
0
@@ -992,7 +1008,7 @@
4
- 28
+ 29
2
0
0
@@ -1005,7 +1021,7 @@
4
- 29
+ 30
5
0
0
@@ -1026,7 +1042,7 @@
0
5
- 30
+ 31
1
0
0
@@ -1039,7 +1055,7 @@
5
- 31
+ 32
1
0
0
@@ -1052,7 +1068,7 @@
5
- 32
+ 33
5
0
0
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvprojx b/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvprojx
index 689b8cb7..6c99bd1a 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvprojx
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/arm/dpp-qk.uvprojx
@@ -10,11 +10,12 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
rvmdk __FPU_PRESENT
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -606,6 +619,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -656,11 +673,12 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -714,9 +732,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -730,6 +748,8 @@
0
0
+ 0
+ 0
0
@@ -873,6 +893,7 @@
0
0
0
+ 0
3
3
0
@@ -1007,6 +1028,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1084,6 +1109,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1252,6 +1282,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1302,11 +1336,12 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -1360,9 +1395,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1376,6 +1411,8 @@
0
0
+ 0
+ 0
0
@@ -1519,6 +1556,7 @@
0
0
0
+ 0
3
3
0
@@ -1653,6 +1691,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1730,6 +1772,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
index 85e650c6..52bdc746 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, NXP mbed-LPC1768 board, QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-06
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -289,8 +289,15 @@ void QK_onIdle(void) {
#endif
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -354,69 +361,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile b/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
index fff17235..cb69bb79 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on mbed-LPC1768, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -126,6 +126,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -261,7 +262,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/iar/dpp-qk.ewp b/examples/arm-cm/dpp_mbed-lpc1768/qk/iar/dpp-qk.ewp
index 58a7ebef..d1c4a927 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/iar/dpp-qk.ewp
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/iar/dpp-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2875,10 +2914,28 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
+
+ mbed-lpc1768
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\LPC17xx.h
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\iar\startup_LPC17xx.s
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\system_LPC17xx.c
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\system_LPC17xx.h
+
+
QP
@@ -2952,21 +3009,6 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
-
- mbed-lpc1768
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\LPC17xx.h
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\iar\startup_LPC17xx.s
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\system_LPC17xx.c
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\mbed-lpc1768\system_LPC17xx.h
-
-
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvoptx b/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvoptx
index a1052e78..7460e00f 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvoptx
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvoptx
@@ -82,17 +82,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -222,6 +222,7 @@
+ 0
@@ -286,17 +287,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -414,6 +415,7 @@
+ 0
@@ -478,17 +480,17 @@
0
MCB1700 Schematics (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700-schematics.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700-schematics.pdf
1
User Manual (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700.chm
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700.chm
2
MCB1700 Quick Start Guide (MCB1700)
- C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\Documents\mcb1700_quickstart.pdf
+ C:\tools\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.1.0\Documents\mcb1700_quickstart.pdf
3
@@ -606,6 +608,7 @@
+ 0
@@ -693,6 +696,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -703,7 +719,7 @@
0
2
- 7
+ 8
1
0
0
@@ -716,7 +732,7 @@
2
- 8
+ 9
2
0
0
@@ -737,7 +753,7 @@
0
3
- 9
+ 10
1
0
0
@@ -750,7 +766,7 @@
3
- 10
+ 11
1
0
0
@@ -763,7 +779,7 @@
3
- 11
+ 12
1
0
0
@@ -776,7 +792,7 @@
3
- 12
+ 13
1
0
0
@@ -789,7 +805,7 @@
3
- 13
+ 14
1
0
0
@@ -802,7 +818,7 @@
3
- 14
+ 15
1
0
0
@@ -815,7 +831,7 @@
3
- 15
+ 16
1
0
0
@@ -828,7 +844,7 @@
3
- 16
+ 17
5
0
0
@@ -841,7 +857,7 @@
3
- 17
+ 18
1
0
0
@@ -854,7 +870,7 @@
3
- 18
+ 19
1
0
0
@@ -867,7 +883,7 @@
3
- 19
+ 20
1
0
0
@@ -880,7 +896,7 @@
3
- 20
+ 21
1
0
0
@@ -893,7 +909,7 @@
3
- 21
+ 22
1
0
0
@@ -906,7 +922,7 @@
3
- 22
+ 23
1
0
0
@@ -927,7 +943,7 @@
0
4
- 23
+ 24
5
0
0
@@ -940,7 +956,7 @@
4
- 24
+ 25
5
0
0
@@ -953,7 +969,7 @@
4
- 25
+ 26
5
0
0
@@ -966,7 +982,7 @@
4
- 26
+ 27
5
0
0
@@ -987,7 +1003,7 @@
0
5
- 27
+ 28
1
0
0
@@ -1000,7 +1016,7 @@
5
- 28
+ 29
1
0
0
@@ -1013,7 +1029,7 @@
5
- 29
+ 30
5
0
0
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvprojx b/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvprojx
index c39e6222..492cb68c 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvprojx
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/arm/dpp-qv.uvprojx
@@ -10,11 +10,12 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
rvmdk __FPU_PRESENT
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -591,6 +604,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -641,11 +658,12 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -699,9 +717,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -715,6 +733,8 @@
0
0
+ 0
+ 0
0
@@ -858,6 +878,7 @@
0
0
0
+ 0
3
3
0
@@ -992,6 +1013,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1069,6 +1094,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1222,6 +1252,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1272,11 +1306,12 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
LPC1768
NXP
- Keil.LPC1700_DFP.2.0.0
+ Keil.LPC1700_DFP.2.1.0
http://www.keil.com/pack/
IROM(0x00000000,0x80000) IRAM(0x10000000,0x8000) IRAM2(0x2007C000,0x8000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
@@ -1330,9 +1365,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1346,6 +1381,8 @@
0
0
+ 0
+ 0
0
@@ -1489,6 +1526,7 @@
0
0
0
+ 0
3
3
0
@@ -1623,6 +1661,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1700,6 +1742,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
index 26c26177..e6d0ccab 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, NXP mbed-LPC1768 board, coopearative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-06
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -283,8 +283,15 @@ void QV_onIdle(void) { /* called with interrupts disabled, see NOTE01 */
#endif
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -348,69 +355,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile b/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
index f0bc849d..b0cb1fd3 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on mbed-LPC1768, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -124,6 +124,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -259,7 +260,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/iar/dpp-qv.ewp b/examples/arm-cm/dpp_mbed-lpc1768/qv/iar/dpp-qv.ewp
index f7c7aaf1..2a407702 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/iar/dpp-qv.ewp
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/iar/dpp-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LPC1768 NXP LPC1768
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2875,6 +2914,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvoptx b/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvoptx
index abdf0116..39729e24 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvoptx
@@ -96,31 +96,6 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
- STM32 Nucleo board (NUCLEO-L053R8)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
-
-
- 8
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -164,7 +139,7 @@
0
ST-LINKIII-KEIL_SWO
- -U066CFF484951775087074312 -I0 -O8431 -S3 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(0BC11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC800 -FN1 -FF0STM32L0xx_64.FLM -FS08000000 -FL010000 -FP0($$Device:STM32L053R8$Flash\STM32L0xx_64.FLM)
+ -U066CFF484951775087074312 -O8431 -S3 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(0BC11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8004 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC800 -FN1 -FF0STM32L0xx_64.FLM -FS08000000 -FL010000 -FP0($$Device:STM32L053R8$Flash\STM32L0xx_64.FLM)
0
@@ -245,6 +220,7 @@
+ 0
@@ -323,31 +299,6 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
- STM32 Nucleo board (NUCLEO-L053R8)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
-
-
- 8
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -472,6 +423,7 @@
+ 0
@@ -550,31 +502,6 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
- STM32 Nucleo board (NUCLEO-L053R8)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
-
-
- 8
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -699,6 +626,7 @@
+ 0
@@ -786,6 +714,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -796,7 +737,7 @@
0
2
- 7
+ 8
5
0
0
@@ -809,7 +750,7 @@
2
- 8
+ 9
5
0
0
@@ -822,7 +763,7 @@
2
- 9
+ 10
1
0
0
@@ -835,7 +776,7 @@
2
- 10
+ 11
5
0
0
@@ -848,7 +789,7 @@
2
- 11
+ 12
2
0
0
@@ -869,7 +810,7 @@
0
3
- 12
+ 13
1
0
0
@@ -882,7 +823,7 @@
3
- 13
+ 14
1
0
0
@@ -895,7 +836,7 @@
3
- 14
+ 15
1
0
0
@@ -908,7 +849,7 @@
3
- 15
+ 16
1
0
0
@@ -921,7 +862,7 @@
3
- 16
+ 17
1
0
0
@@ -934,7 +875,7 @@
3
- 17
+ 18
1
0
0
@@ -947,7 +888,7 @@
3
- 18
+ 19
1
0
0
@@ -960,7 +901,7 @@
3
- 19
+ 20
5
0
0
@@ -973,7 +914,7 @@
3
- 20
+ 21
1
0
0
@@ -986,7 +927,7 @@
3
- 21
+ 22
1
0
0
@@ -999,7 +940,7 @@
3
- 22
+ 23
1
0
0
@@ -1012,7 +953,7 @@
3
- 23
+ 24
1
0
0
@@ -1025,7 +966,7 @@
3
- 24
+ 25
1
0
0
@@ -1038,7 +979,7 @@
3
- 25
+ 26
1
0
0
@@ -1051,7 +992,7 @@
3
- 26
+ 27
1
0
0
@@ -1064,7 +1005,7 @@
3
- 27
+ 28
5
0
0
@@ -1085,7 +1026,7 @@
0
4
- 28
+ 29
5
0
0
@@ -1098,7 +1039,7 @@
4
- 29
+ 30
5
0
0
@@ -1111,7 +1052,7 @@
4
- 30
+ 31
5
0
0
@@ -1124,7 +1065,7 @@
4
- 31
+ 32
2
0
0
@@ -1137,7 +1078,7 @@
4
- 32
+ 33
5
0
0
@@ -1158,7 +1099,7 @@
0
5
- 33
+ 34
1
0
0
@@ -1171,7 +1112,7 @@
5
- 34
+ 35
1
0
0
@@ -1184,7 +1125,7 @@
5
- 35
+ 36
1
0
0
@@ -1197,7 +1138,7 @@
5
- 36
+ 37
5
0
0
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvprojx b/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvprojx
index afbd7799..1f3d9832 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/arm/dpp-qk.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -621,6 +634,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -676,6 +693,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -734,9 +752,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -750,6 +768,8 @@
0
0
+ 0
+ 0
0
@@ -893,6 +913,7 @@
0
0
0
+ 0
3
3
0
@@ -1027,6 +1048,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1104,6 +1129,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1287,6 +1317,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1342,6 +1376,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -1400,9 +1435,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1416,6 +1451,8 @@
0
0
+ 0
+ 0
0
@@ -1559,6 +1596,7 @@
0
0
0
+ 0
3
3
0
@@ -1693,6 +1731,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1770,6 +1812,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
index 3c87440e..49aefdfe 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, NUCLEO-L053R8 board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-05
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -260,7 +260,15 @@ void QK_onIdle(void) { /* called with interrupts enabled */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -312,69 +320,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
index 8457a4ff..9e7c711d 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L053R8, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -126,6 +126,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -261,7 +262,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/iar/dpp-qk.ewp b/examples/arm-cm/dpp_nucleo-l053r8/qk/iar/dpp-qk.ewp
index 67f4fdf5..c956978d 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/iar/dpp-qk.ewp
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/iar/dpp-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2875,10 +2914,31 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
+
+ nucleo-l053r8
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\iar\startup_stm32l053xx.s
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\stm32l053xx.h
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\stm32l0xx.h
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\system_stm32l0xx.c
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\system_stm32l0xx.h
+
+
QP
@@ -2967,24 +3027,6 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
-
- nucleo-l053r8
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\iar\startup_stm32l053xx.s
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\stm32l053xx.h
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\stm32l0xx.h
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\system_stm32l0xx.c
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l053r8\system_stm32l0xx.h
-
-
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvoptx b/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvoptx
index 455a3053..a1d4065e 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvoptx
@@ -96,31 +96,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -245,6 +230,7 @@
+ 0
@@ -323,31 +309,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -472,6 +443,7 @@
+ 0
@@ -550,31 +522,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -699,6 +656,7 @@
+ 0
@@ -786,6 +744,19 @@
0
0
+
+ 1
+ 7
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -796,7 +767,7 @@
0
2
- 7
+ 8
5
0
0
@@ -809,7 +780,7 @@
2
- 8
+ 9
5
0
0
@@ -822,7 +793,7 @@
2
- 9
+ 10
1
0
0
@@ -835,7 +806,7 @@
2
- 10
+ 11
5
0
0
@@ -848,7 +819,7 @@
2
- 11
+ 12
2
0
0
@@ -869,7 +840,7 @@
0
3
- 12
+ 13
1
0
0
@@ -882,7 +853,7 @@
3
- 13
+ 14
1
0
0
@@ -895,7 +866,7 @@
3
- 14
+ 15
1
0
0
@@ -908,7 +879,7 @@
3
- 15
+ 16
1
0
0
@@ -921,7 +892,7 @@
3
- 16
+ 17
1
0
0
@@ -934,7 +905,7 @@
3
- 17
+ 18
1
0
0
@@ -947,7 +918,7 @@
3
- 18
+ 19
1
0
0
@@ -960,7 +931,7 @@
3
- 19
+ 20
5
0
0
@@ -973,7 +944,7 @@
3
- 20
+ 21
1
0
0
@@ -986,7 +957,7 @@
3
- 21
+ 22
1
0
0
@@ -999,7 +970,7 @@
3
- 22
+ 23
1
0
0
@@ -1012,7 +983,7 @@
3
- 23
+ 24
1
0
0
@@ -1025,7 +996,7 @@
3
- 24
+ 25
1
0
0
@@ -1038,7 +1009,7 @@
3
- 25
+ 26
1
0
0
@@ -1059,7 +1030,7 @@
0
4
- 26
+ 27
5
0
0
@@ -1072,7 +1043,7 @@
4
- 27
+ 28
5
0
0
@@ -1085,7 +1056,7 @@
4
- 28
+ 29
5
0
0
@@ -1098,7 +1069,7 @@
4
- 29
+ 30
5
0
0
@@ -1119,7 +1090,7 @@
0
5
- 30
+ 31
1
0
0
@@ -1132,7 +1103,7 @@
5
- 31
+ 32
1
0
0
@@ -1145,7 +1116,7 @@
5
- 32
+ 33
1
0
0
@@ -1158,7 +1129,7 @@
5
- 33
+ 34
5
0
0
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvprojx b/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvprojx
index a095af05..6c6e20b8 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/arm/dpp-qv.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -438,6 +446,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -606,6 +619,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -661,6 +678,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -719,9 +737,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -735,6 +753,8 @@
0
0
+ 0
+ 0
0
@@ -878,6 +898,7 @@
0
0
0
+ 0
3
3
0
@@ -1012,6 +1033,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1089,6 +1114,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1257,6 +1287,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1312,6 +1346,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -1370,9 +1405,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1386,6 +1421,8 @@
0
0
+ 0
+ 0
0
@@ -1529,6 +1566,7 @@
0
0
0
+ 0
3
3
0
@@ -1663,6 +1701,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1740,6 +1782,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
index 4e064aff..282f551a 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, NUCLEO-L053R8 board, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-05
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -259,7 +259,15 @@ void QV_onIdle(void) { /* called with interrupts disabled, see NOTE01 */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -312,69 +320,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
index 4b3b13f6..8a4c848c 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L053R8, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -124,6 +124,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -259,7 +260,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/iar/dpp-qv.ewp b/examples/arm-cm/dpp_nucleo-l053r8/qv/iar/dpp-qv.ewp
index ba2963f5..a7e9d247 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/iar/dpp-qv.ewp
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/iar/dpp-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2875,6 +2914,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvoptx b/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvoptx
index 919f4982..f6bc27ab 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvoptx
@@ -78,33 +78,6 @@
1
18
-
-
- 0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
- Schematics (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 4
- STM32 Nucleo board (NUCLEO-L152RE)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
-
-
0
1
@@ -164,7 +137,7 @@
0
ST-LINKIII-KEIL_SWO
- -U066EFF495056805087184715 -I0 -O8398 -S1 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32L1xx_512.FLM -FS08000000 -FL080000 -FP0($$Device:STM32L152RE$Flash\STM32L1xx_512.FLM)
+ -U066EFF495056805087184715 -O8398 -S1 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32L1xx_512.FLM -FS08000000 -FL080000 -FP0($$Device:STM32L152RE$Flash\STM32L1xx_512.FLM)
0
@@ -172,24 +145,7 @@
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32L1xx_512 -FS08000000 -FL080000 -FP0($$Device:STM32L152RE$Flash\STM32L1xx_512.FLM))
-
-
- 0
- 0
- 214
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\bsp.c
-
-
-
-
+
1
@@ -237,6 +193,7 @@
+ 0
@@ -300,26 +257,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -456,6 +398,7 @@
+ 0
@@ -516,33 +459,6 @@
0
18
-
-
- 0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
- Schematics (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 4
- STM32 Nucleo board (NUCLEO-L152RE)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
-
-
0
1
@@ -675,6 +591,7 @@
+ 0
@@ -775,6 +692,19 @@
0
0
+
+ 1
+ 8
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -785,7 +715,7 @@
0
2
- 8
+ 9
5
0
0
@@ -798,7 +728,7 @@
2
- 9
+ 10
5
0
0
@@ -811,7 +741,7 @@
2
- 10
+ 11
1
0
0
@@ -824,7 +754,7 @@
2
- 11
+ 12
5
0
0
@@ -837,7 +767,7 @@
2
- 12
+ 13
2
0
0
@@ -858,7 +788,7 @@
0
3
- 13
+ 14
1
0
0
@@ -871,7 +801,7 @@
3
- 14
+ 15
1
0
0
@@ -884,7 +814,7 @@
3
- 15
+ 16
1
0
0
@@ -897,7 +827,7 @@
3
- 16
+ 17
1
0
0
@@ -910,7 +840,7 @@
3
- 17
+ 18
1
0
0
@@ -923,7 +853,7 @@
3
- 18
+ 19
1
0
0
@@ -936,7 +866,7 @@
3
- 19
+ 20
1
0
0
@@ -949,7 +879,7 @@
3
- 20
+ 21
5
0
0
@@ -962,7 +892,7 @@
3
- 21
+ 22
1
0
0
@@ -975,7 +905,7 @@
3
- 22
+ 23
1
0
0
@@ -988,7 +918,7 @@
3
- 23
+ 24
1
0
0
@@ -1001,7 +931,7 @@
3
- 24
+ 25
1
0
0
@@ -1014,7 +944,7 @@
3
- 25
+ 26
1
0
0
@@ -1027,7 +957,7 @@
3
- 26
+ 27
1
0
0
@@ -1040,7 +970,7 @@
3
- 27
+ 28
1
0
0
@@ -1053,7 +983,7 @@
3
- 28
+ 29
5
0
0
@@ -1074,7 +1004,7 @@
0
4
- 29
+ 30
5
0
0
@@ -1087,7 +1017,7 @@
4
- 30
+ 31
5
0
0
@@ -1100,7 +1030,7 @@
4
- 31
+ 32
5
0
0
@@ -1113,7 +1043,7 @@
4
- 32
+ 33
2
0
0
@@ -1126,7 +1056,7 @@
4
- 33
+ 34
5
0
0
@@ -1147,7 +1077,7 @@
0
5
- 34
+ 35
1
0
0
@@ -1160,7 +1090,7 @@
5
- 35
+ 36
1
0
0
@@ -1173,7 +1103,7 @@
5
- 36
+ 37
1
0
0
@@ -1186,7 +1116,7 @@
5
- 37
+ 38
5
0
0
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvprojx b/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvprojx
index 56233a72..d6b21d1f 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/arm/dpp-qk.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
HSE_VALUE=4000000
@@ -443,6 +451,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -626,6 +639,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -681,6 +698,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -739,9 +757,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -755,6 +773,8 @@
0
0
+ 0
+ 0
0
@@ -898,6 +918,7 @@
0
0
0
+ 0
3
3
0
@@ -1032,6 +1053,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1114,6 +1139,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1297,6 +1327,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1352,6 +1386,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -1410,9 +1445,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1426,6 +1461,8 @@
0
0
+ 0
+ 0
0
@@ -1569,6 +1606,7 @@
0
0
0
+ 0
3
3
0
@@ -1703,6 +1741,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1785,6 +1827,11 @@
1
..\..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
index 900d795f..7943f7af 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, STM32 NUCLEO-L152RE board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-20
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -260,7 +260,15 @@ void QK_onIdle(void) { /* called with interrupts enabled */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -310,69 +318,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
index a464113c..afffd4db 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L152RE, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -126,6 +126,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -261,7 +262,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/iar/dpp-qk.ewp b/examples/arm-cm/dpp_nucleo-l152re/qk/iar/dpp-qk.ewp
index 73beeaca..5144ecb9 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/iar/dpp-qk.ewp
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/iar/dpp-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -172,6 +185,7 @@
CCDefines
+
CCPreprocFile
@@ -627,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -963,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -978,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1009,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1038,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1086,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1108,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1579,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1915,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1930,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1961,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1990,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2038,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2060,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2531,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2874,6 +2914,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvoptx b/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvoptx
index c0225569..990d656a 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvoptx
@@ -81,26 +81,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -220,6 +205,7 @@
+ 0
@@ -283,26 +269,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -422,6 +393,7 @@
+ 0
@@ -485,26 +457,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -624,6 +581,7 @@
+ 0
@@ -724,6 +682,19 @@
0
0
+
+ 1
+ 8
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -734,7 +705,7 @@
0
2
- 8
+ 9
5
0
0
@@ -747,7 +718,7 @@
2
- 9
+ 10
5
0
0
@@ -760,7 +731,7 @@
2
- 10
+ 11
1
0
0
@@ -773,7 +744,7 @@
2
- 11
+ 12
5
0
0
@@ -786,7 +757,7 @@
2
- 12
+ 13
2
0
0
@@ -807,7 +778,7 @@
0
3
- 13
+ 14
1
0
0
@@ -820,7 +791,7 @@
3
- 14
+ 15
1
0
0
@@ -833,7 +804,7 @@
3
- 15
+ 16
1
0
0
@@ -846,7 +817,7 @@
3
- 16
+ 17
1
0
0
@@ -859,7 +830,7 @@
3
- 17
+ 18
1
0
0
@@ -872,7 +843,7 @@
3
- 18
+ 19
1
0
0
@@ -885,7 +856,7 @@
3
- 19
+ 20
1
0
0
@@ -898,7 +869,7 @@
3
- 20
+ 21
5
0
0
@@ -911,7 +882,7 @@
3
- 21
+ 22
1
0
0
@@ -924,7 +895,7 @@
3
- 22
+ 23
1
0
0
@@ -937,7 +908,7 @@
3
- 23
+ 24
1
0
0
@@ -950,7 +921,7 @@
3
- 24
+ 25
1
0
0
@@ -963,7 +934,7 @@
3
- 25
+ 26
1
0
0
@@ -976,7 +947,7 @@
3
- 26
+ 27
1
0
0
@@ -997,7 +968,7 @@
0
4
- 27
+ 28
5
0
0
@@ -1010,7 +981,7 @@
4
- 28
+ 29
5
0
0
@@ -1023,7 +994,7 @@
4
- 29
+ 30
5
0
0
@@ -1036,7 +1007,7 @@
4
- 30
+ 31
5
0
0
@@ -1057,7 +1028,7 @@
0
5
- 31
+ 32
1
0
0
@@ -1070,7 +1041,7 @@
5
- 32
+ 33
1
0
0
@@ -1083,7 +1054,7 @@
5
- 33
+ 34
1
0
0
@@ -1096,7 +1067,7 @@
5
- 34
+ 35
5
0
0
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvprojx b/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvprojx
index 6118a328..e885360e 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/arm/dpp-qv.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -443,6 +451,11 @@
1
..\bsp.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -611,6 +624,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -666,6 +683,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -724,9 +742,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -740,6 +758,8 @@
0
0
+ 0
+ 0
0
@@ -883,6 +903,7 @@
0
0
0
+ 0
3
3
0
@@ -1017,6 +1038,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1099,6 +1124,11 @@
1
..\bsp.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1267,6 +1297,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1322,6 +1356,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -1380,9 +1415,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1396,6 +1431,8 @@
0
0
+ 0
+ 0
0
@@ -1539,6 +1576,7 @@
0
0
0
+ 0
3
3
0
@@ -1673,6 +1711,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1755,6 +1797,11 @@
1
..\bsp.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
index 86d85fb7..6e76824d 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, STM32 NUCLEO-L152RE board, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-20
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -259,7 +259,15 @@ void QV_onIdle(void) { /* called with interrupts disabled, see NOTE01 */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -309,69 +317,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
index 95182e78..476529e0 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L152RE, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -124,6 +124,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -259,7 +260,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/iar/dpp-qv.ewp b/examples/arm-cm/dpp_nucleo-l152re/qv/iar/dpp-qv.ewp
index 6b92ff92..d66fb4db 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/iar/dpp-qv.ewp
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/iar/dpp-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -172,6 +185,7 @@
CCDefines
+
CCPreprocFile
@@ -627,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -963,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -978,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1009,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1038,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1086,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1108,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1579,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1915,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1930,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1961,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1990,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2038,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2060,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2531,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2874,6 +2914,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvoptx b/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvoptx
index b337506b..75ba8aec 100644
--- a/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvoptx
+++ b/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvoptx
@@ -142,7 +142,7 @@
0
lmidk-agdi
- -UTI000001A -O4878 -S4 -FO61
+ -UTI000001A -O4878 -S5 -FO61
@@ -193,6 +193,7 @@
+ 0
@@ -363,6 +364,7 @@
+ 0
@@ -477,7 +479,7 @@
0
lmidk-agdi
- -U0E2006F4 -O4878 -S4 -FO61
+ -UTI000001A -O4878 -S5 -FO61
0
@@ -533,6 +535,7 @@
+ 0
@@ -659,6 +662,19 @@
0
0
+
+ 1
+ 10
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -669,7 +685,7 @@
0
2
- 10
+ 11
1
0
0
@@ -682,7 +698,7 @@
2
- 11
+ 12
5
0
0
@@ -695,7 +711,7 @@
2
- 12
+ 13
5
0
0
@@ -708,7 +724,7 @@
2
- 13
+ 14
1
0
0
@@ -721,7 +737,7 @@
2
- 14
+ 15
5
0
0
@@ -734,7 +750,7 @@
2
- 15
+ 16
2
0
0
@@ -755,7 +771,7 @@
0
3
- 16
+ 17
1
0
0
@@ -768,7 +784,7 @@
3
- 17
+ 18
1
0
0
@@ -781,7 +797,7 @@
3
- 18
+ 19
1
0
0
@@ -794,7 +810,7 @@
3
- 19
+ 20
1
0
0
@@ -807,7 +823,7 @@
3
- 20
+ 21
1
0
0
@@ -820,7 +836,7 @@
3
- 21
+ 22
1
0
0
@@ -833,7 +849,7 @@
3
- 22
+ 23
1
0
0
@@ -846,7 +862,7 @@
3
- 23
+ 24
5
0
0
@@ -859,7 +875,7 @@
3
- 24
+ 25
1
0
0
@@ -872,7 +888,7 @@
3
- 25
+ 26
1
0
0
@@ -885,7 +901,7 @@
3
- 26
+ 27
1
0
0
@@ -898,7 +914,7 @@
3
- 27
+ 28
1
0
0
@@ -911,7 +927,7 @@
3
- 28
+ 29
1
0
0
@@ -924,7 +940,7 @@
3
- 29
+ 30
1
0
0
@@ -937,7 +953,7 @@
3
- 30
+ 31
1
0
0
@@ -950,7 +966,7 @@
3
- 31
+ 32
5
0
0
@@ -971,7 +987,7 @@
0
4
- 32
+ 33
5
0
0
@@ -984,7 +1000,7 @@
4
- 33
+ 34
5
0
0
@@ -997,7 +1013,7 @@
4
- 34
+ 35
5
0
0
@@ -1010,7 +1026,7 @@
4
- 35
+ 36
2
0
0
@@ -1023,7 +1039,7 @@
4
- 36
+ 37
5
0
0
@@ -1044,7 +1060,7 @@
0
5
- 37
+ 38
1
0
0
@@ -1057,7 +1073,7 @@
5
- 38
+ 39
1
0
0
@@ -1070,7 +1086,7 @@
5
- 39
+ 40
1
0
0
@@ -1083,7 +1099,7 @@
5
- 40
+ 41
5
0
0
diff --git a/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvprojx b/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvprojx
index 89644465..bfd37077 100644
--- a/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvprojx
+++ b/examples/arm-cm/game_ek-lm3s811/qk/arm/game-qk.uvprojx
@@ -10,6 +10,7 @@
game-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
1
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -453,6 +461,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -641,6 +654,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -696,6 +713,7 @@
game-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -754,9 +772,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -770,6 +788,8 @@
0
0
+ 0
+ 0
0
@@ -913,6 +933,7 @@
0
1
0
+ 0
3
3
0
@@ -1047,6 +1068,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1139,6 +1164,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1327,6 +1357,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1382,6 +1416,7 @@
game-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -1440,9 +1475,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1456,6 +1491,8 @@
0
0
+ 0
+ 0
0
@@ -1599,6 +1636,7 @@
0
1
0
+ 0
3
3
0
@@ -1733,6 +1771,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1825,6 +1867,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/game_ek-lm3s811/qk/bsp.c b/examples/arm-cm/game_ek-lm3s811/qk/bsp.c
index f5d1bc8b..22fb7528 100644
--- a/examples/arm-cm/game_ek-lm3s811/qk/bsp.c
+++ b/examples/arm-cm/game_ek-lm3s811/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Fly 'n' Shoot" game example, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-05-07
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "game.h"
@@ -331,7 +331,15 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -381,69 +389,10 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_GET);
+ QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/game_ek-lm3s811/qk/gnu/Makefile b/examples/arm-cm/game_ek-lm3s811/qk/gnu/Makefile
index 53e041d5..6ab18297 100644
--- a/examples/arm-cm/game_ek-lm3s811/qk/gnu/Makefile
+++ b/examples/arm-cm/game_ek-lm3s811/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Game on EK-LM3S811, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-20
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -130,6 +130,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -265,7 +266,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/game_ek-lm3s811/qk/iar/game-qk.ewp b/examples/arm-cm/game_ek-lm3s811/qk/iar/game-qk.ewp
index dd8448b4..b291f37e 100644
--- a/examples/arm-cm/game_ek-lm3s811/qk/iar/game-qk.ewp
+++ b/examples/arm-cm/game_ek-lm3s811/qk/iar/game-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2881,6 +2920,9 @@
$PROJ_DIR$\..\..\missile.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\ship.c
diff --git a/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvoptx b/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvoptx
index a490df3f..d5b7c3e4 100644
--- a/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvoptx
+++ b/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvoptx
@@ -142,7 +142,7 @@
0
lmidk-agdi
- -UTI000001A -O4878 -S4 -FO61
+ -UTI000001A -O4878 -S5 -FO61
@@ -193,6 +193,7 @@
+ 0
@@ -307,7 +308,7 @@
0
lmidk-agdi
- -UTI000001A -O4878 -S4 -FO61
+ -UTI000001A -O4878 -S5 -FO61
0
@@ -363,6 +364,7 @@
+ 0
@@ -477,7 +479,7 @@
0
lmidk-agdi
- -U0E2006F4 -O4878 -S4 -FO61
+ -UTI000001A -O4878 -S5 -FO61
0
@@ -533,6 +535,7 @@
+ 0
@@ -659,6 +662,19 @@
0
0
+
+ 1
+ 10
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -669,7 +685,7 @@
0
2
- 10
+ 11
1
0
0
@@ -682,7 +698,7 @@
2
- 11
+ 12
5
0
0
@@ -695,7 +711,7 @@
2
- 12
+ 13
5
0
0
@@ -708,7 +724,7 @@
2
- 13
+ 14
1
0
0
@@ -721,7 +737,7 @@
2
- 14
+ 15
5
0
0
@@ -734,7 +750,7 @@
2
- 15
+ 16
2
0
0
@@ -755,7 +771,7 @@
0
3
- 16
+ 17
1
0
0
@@ -768,7 +784,7 @@
3
- 17
+ 18
1
0
0
@@ -781,7 +797,7 @@
3
- 18
+ 19
1
0
0
@@ -794,7 +810,7 @@
3
- 19
+ 20
1
0
0
@@ -807,7 +823,7 @@
3
- 20
+ 21
1
0
0
@@ -820,7 +836,7 @@
3
- 21
+ 22
1
0
0
@@ -833,7 +849,7 @@
3
- 22
+ 23
1
0
0
@@ -846,7 +862,7 @@
3
- 23
+ 24
5
0
0
@@ -859,7 +875,7 @@
3
- 24
+ 25
1
0
0
@@ -872,7 +888,7 @@
3
- 25
+ 26
1
0
0
@@ -885,7 +901,7 @@
3
- 26
+ 27
1
0
0
@@ -898,7 +914,7 @@
3
- 27
+ 28
1
0
0
@@ -911,7 +927,7 @@
3
- 28
+ 29
1
0
0
@@ -924,7 +940,7 @@
3
- 29
+ 30
1
0
0
@@ -945,7 +961,7 @@
0
4
- 30
+ 31
5
0
0
@@ -958,7 +974,7 @@
4
- 31
+ 32
5
0
0
@@ -971,7 +987,7 @@
4
- 32
+ 33
5
0
0
@@ -984,7 +1000,7 @@
4
- 33
+ 34
5
0
0
@@ -1005,7 +1021,7 @@
0
5
- 34
+ 35
1
0
0
@@ -1018,7 +1034,7 @@
5
- 35
+ 36
1
0
0
@@ -1031,7 +1047,7 @@
5
- 36
+ 37
1
0
0
@@ -1044,7 +1060,7 @@
5
- 37
+ 38
5
0
0
diff --git a/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvprojx b/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvprojx
index 7c8ec1ee..7e247f72 100644
--- a/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvprojx
+++ b/examples/arm-cm/game_ek-lm3s811/qv/arm/game-qv.uvprojx
@@ -10,6 +10,7 @@
game-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
1
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -453,6 +461,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -626,6 +639,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -681,6 +698,7 @@
game-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -739,9 +757,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -755,6 +773,8 @@
0
0
+ 0
+ 0
0
@@ -898,6 +918,7 @@
0
1
0
+ 0
3
3
0
@@ -1032,6 +1053,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1124,6 +1149,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1297,6 +1327,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1352,6 +1386,7 @@
game-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
ARMCM3
@@ -1410,9 +1445,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1426,6 +1461,8 @@
0
0
+ 0
+ 0
0
@@ -1569,6 +1606,7 @@
0
1
0
+ 0
3
3
0
@@ -1703,6 +1741,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1795,6 +1837,11 @@
1
..\..\tunnel.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/arm-cm/game_ek-lm3s811/qv/bsp.c b/examples/arm-cm/game_ek-lm3s811/qv/bsp.c
index bfa42dfc..959a9672 100644
--- a/examples/arm-cm/game_ek-lm3s811/qv/bsp.c
+++ b/examples/arm-cm/game_ek-lm3s811/qv/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
-* Product: "Fly 'n' Shoot" game example, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-05-07
+* Product: "Fly 'n' Shoot" game example, preemptive QK kernel
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -320,7 +320,15 @@ void QV_onIdle(void) { /* called with interrupts disabled, see NOTE01 */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -370,69 +378,10 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_GET);
+ QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
return (uint8_t)1; /* return success */
}
diff --git a/examples/arm-cm/game_ek-lm3s811/qv/gnu/Makefile b/examples/arm-cm/game_ek-lm3s811/qv/gnu/Makefile
index ac6dc3f0..e7bef6b0 100644
--- a/examples/arm-cm/game_ek-lm3s811/qv/gnu/Makefile
+++ b/examples/arm-cm/game_ek-lm3s811/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Makefile for Game on EK-LM3S811, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Product: Makefile for Game on EK-LM3S811, QK kernel, GNU-ARM
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-20
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -128,6 +128,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -263,7 +264,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/arm-cm/game_ek-lm3s811/qv/iar/game-qv.ewp b/examples/arm-cm/game_ek-lm3s811/qv/iar/game-qv.ewp
index 60a315de..b1e702e1 100644
--- a/examples/arm-cm/game_ek-lm3s811/qv/iar/game-qv.ewp
+++ b/examples/arm-cm/game_ek-lm3s811/qv/iar/game-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S811 Luminary LM3S811
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2881,6 +2920,9 @@
$PROJ_DIR$\..\..\missile.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\ship.c
diff --git a/examples/arm-cm/game_ek-lm3s811/win32-qv/Makefile b/examples/arm-cm/game_ek-lm3s811/win32-qv/Makefile
index a5da5f7b..240dbfe9 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32-qv/Makefile
+++ b/examples/arm-cm/game_ek-lm3s811/win32-qv/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Game-GUI, Win32-QV, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -90,9 +90,9 @@ C_SRCS := \
bsp.c \
main.c \
mine1.c \
- mine2.c \
- missile.c \
- ship.c \
+ mine2.c \
+ missile.c \
+ ship.c \
tunnel.c
# C++ source files...
@@ -220,7 +220,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/game_ek-lm3s811/win32-qv/bsp.c b/examples/arm-cm/game_ek-lm3s811/win32-qv/bsp.c
index 7fd9c9dd..02f24307 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32-qv/bsp.c
+++ b/examples/arm-cm/game_ek-lm3s811/win32-qv/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: "Fly 'n' Shoot" game example, Win32-GUI
-* Last Updated for Version: 5.4.2
-* Date of the Last Update: 2015-06-03
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-14
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -566,79 +566,8 @@ uint8_t QS_onStartup(void const *arg) {
&custParserFun); // customized parser function
/* setup the QS filters... */
-// QS_FILTER_ON(QS_QEP_STATE_ENTRY);
-// QS_FILTER_ON(QS_QEP_STATE_EXIT);
-// QS_FILTER_ON(QS_QEP_STATE_INIT);
-// QS_FILTER_ON(QS_QEP_INIT_TRAN);
-// QS_FILTER_ON(QS_QEP_INTERN_TRAN);
-// QS_FILTER_ON(QS_QEP_TRAN);
-// QS_FILTER_ON(QS_QEP_IGNORED);
-// QS_FILTER_ON(QS_QEP_DISPATCH);
-// QS_FILTER_ON(QS_QEP_UNHANDLED);
-
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
QS_FILTER_ON(QS_QF_MPOOL_INIT);
QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
-// QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
return CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
!= (HANDLE)0; /* return the status of creating the idle thread */
diff --git a/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj b/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj
index 67c40df6..704d8dc3 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj
+++ b/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj
@@ -1,4 +1,4 @@
-
+
@@ -102,10 +102,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32-qv/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
Windows
false
@@ -116,6 +116,9 @@
true
.\Release/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -152,10 +155,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32-qv/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -170,6 +173,9 @@
true
.\QSpy/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -208,10 +214,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32-qv/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -226,12 +232,16 @@
true
.\Debug/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
true
true
+
@@ -263,6 +273,21 @@
+
+
+ false
+ true
+
+
+ true
+ true
+
+
+ true
+ true
+ true
+
+
diff --git a/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj.filters b/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj.filters
index dfd7406b..f67c3e84 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj.filters
+++ b/examples/arm-cm/game_ek-lm3s811/win32-qv/game-gui.vcxproj.filters
@@ -3,7 +3,7 @@
- Q_SPY
+ QSPY
@@ -11,6 +11,7 @@
+
@@ -40,16 +41,30 @@
-
- {9329cf7b-e791-415b-8458-a26ea9bf414f}
-
{c8d4d732-dcf8-4466-ad8e-3f15ab6fe204}
+
+ {9329cf7b-e791-415b-8458-a26ea9bf414f}
+
+
+ {22663e12-dd09-49e8-b222-67a2f17d770d}
+
Res
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
\ No newline at end of file
diff --git a/examples/arm-cm/game_ek-lm3s811/win32/Makefile b/examples/arm-cm/game_ek-lm3s811/win32/Makefile
index ce17ac0c..7e49d2c1 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32/Makefile
+++ b/examples/arm-cm/game_ek-lm3s811/win32/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Game-GUI, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -90,9 +90,9 @@ C_SRCS := \
bsp.c \
main.c \
mine1.c \
- mine2.c \
- missile.c \
- ship.c \
+ mine2.c \
+ missile.c \
+ ship.c \
tunnel.c
# C++ source files...
@@ -220,7 +220,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/arm-cm/game_ek-lm3s811/win32/bsp.c b/examples/arm-cm/game_ek-lm3s811/win32/bsp.c
index 7fd9c9dd..02f24307 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32/bsp.c
+++ b/examples/arm-cm/game_ek-lm3s811/win32/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: "Fly 'n' Shoot" game example, Win32-GUI
-* Last Updated for Version: 5.4.2
-* Date of the Last Update: 2015-06-03
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-14
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -566,79 +566,8 @@ uint8_t QS_onStartup(void const *arg) {
&custParserFun); // customized parser function
/* setup the QS filters... */
-// QS_FILTER_ON(QS_QEP_STATE_ENTRY);
-// QS_FILTER_ON(QS_QEP_STATE_EXIT);
-// QS_FILTER_ON(QS_QEP_STATE_INIT);
-// QS_FILTER_ON(QS_QEP_INIT_TRAN);
-// QS_FILTER_ON(QS_QEP_INTERN_TRAN);
-// QS_FILTER_ON(QS_QEP_TRAN);
-// QS_FILTER_ON(QS_QEP_IGNORED);
-// QS_FILTER_ON(QS_QEP_DISPATCH);
-// QS_FILTER_ON(QS_QEP_UNHANDLED);
-
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
QS_FILTER_ON(QS_QF_MPOOL_INIT);
QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
-// QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
return CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
!= (HANDLE)0; /* return the status of creating the idle thread */
diff --git a/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj b/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj
index 70143dbd..dd304976 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj
+++ b/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj
@@ -102,10 +102,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
Windows
false
@@ -116,6 +116,9 @@
true
.\Release/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -152,10 +155,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -170,6 +173,9 @@
true
.\QSpy/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -208,10 +214,10 @@
0x0409
- qp.lib;%(AdditionalDependencies)
+ %(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
true
- ../../../../ports/win32/$(Configuration);%(AdditionalLibraryDirectories)
+ %(AdditionalLibraryDirectories)
true
false
@@ -226,12 +232,16 @@
true
.\Debug/game-gui.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
true
true
+
@@ -263,6 +273,21 @@
+
+
+ false
+ true
+
+
+ true
+ true
+
+
+ true
+ true
+ true
+
+
diff --git a/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj.filters b/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj.filters
index dfd7406b..aaaef326 100644
--- a/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj.filters
+++ b/examples/arm-cm/game_ek-lm3s811/win32/game-gui.vcxproj.filters
@@ -3,7 +3,7 @@
- Q_SPY
+ QSPY
@@ -11,6 +11,7 @@
+
@@ -40,16 +41,30 @@
-
- {9329cf7b-e791-415b-8458-a26ea9bf414f}
-
{c8d4d732-dcf8-4466-ad8e-3f15ab6fe204}
+
+ {9329cf7b-e791-415b-8458-a26ea9bf414f}
+
+
+ {22663e12-dd09-49e8-b222-67a2f17d770d}
+
Res
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
\ No newline at end of file
diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.c b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.c
index 2fbba56c..1b458158 100644
--- a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.c
+++ b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP on AT91SAM7S-EK, QK kernel, IAR-ARM
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-01
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-26
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -278,9 +278,20 @@ void QK_onIdle(void) {
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const Q_ROM_VAR file, int line) {
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
- for (;;) { /* hang here in the for-ever loop */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
+ /* trip the Watchdog to reset the system */
+ AT91C_BASE_WDTC->WDTC_WDCR = (0xA5U << 24) | AT91C_WDTC_WDRSTT;
+
+ /* hang in here until the reset occurrs */
+ for (;;) {
}
}
@@ -332,69 +343,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* indicate successfull QS initialization */
}
diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/dpp-qk.ewp b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/dpp-qk.ewp
index 8556157f..45f48c72 100644
--- a/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/dpp-qk.ewp
+++ b/examples/arm7-9/dpp_at91sam7s-ek/qk/iar/dpp-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3631,6 +3670,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -5499,6 +5541,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
Debug
diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.c b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.c
index 52728b63..99f2333b 100644
--- a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.c
+++ b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
-* Product: DPP on AT91SAM7S-EK, cooperative QV kernel, IAR-ARM toolset
-* Last Updated for Version: 5.4.1
-* Date of the Last Update: 2015-05-31
+* Product: DPP on AT91SAM7S-EK, QK kernel, IAR-ARM
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-26
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -280,9 +280,20 @@ void QV_onIdle(void) { /* NOTE: called with interrupts DISABLED */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const Q_ROM_VAR file, int line) {
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
- for (;;) { /* hang here in the for-ever loop */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
+ /* trip the Watchdog to reset the system */
+ AT91C_BASE_WDTC->WDTC_WDCR = (0xA5U << 24) | AT91C_WDTC_WDRSTT;
+
+ /* hang in here until the reset occurrs */
+ for (;;) {
}
}
@@ -334,69 +345,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* indicate successfull QS initialization */
}
diff --git a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/dpp-qv.ewp b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/dpp-qv.ewp
index dcdaccfa..ccf7a8ba 100644
--- a/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/dpp-qv.ewp
+++ b/examples/arm7-9/dpp_at91sam7s-ek/qv/iar/dpp-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 0
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 0
-
GBECoreSlave
- 21
+ 22
0
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 0
+
+
+ GFPUDeviceSlave
+ AT91SAM7S64 Atmel AT91SAM7S64
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 0
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3631,6 +3670,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -5496,6 +5538,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
Debug
diff --git a/examples/avr/blinky_arduino-uno/qk/gnu/Makefile b/examples/avr/blinky_arduino-uno/qk/gnu/Makefile
index 69218a7c..4fb16fcd 100644
--- a/examples/avr/blinky_arduino-uno/qk/gnu/Makefile
+++ b/examples/avr/blinky_arduino-uno/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Blinky on Arduino-UNO, preemptive QK kernel, GNU-AVR
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -119,6 +119,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -244,7 +245,8 @@ $(TARGET_HEX): $(TARGET_ELF)
$(BIN) -O ihex $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/avr/blinky_arduino-uno/qk/gnu/bsp.c b/examples/avr/blinky_arduino-uno/qk/gnu/bsp.c
index 6cd3a6da..105aec34 100644
--- a/examples/avr/blinky_arduino-uno/qk/gnu/bsp.c
+++ b/examples/avr/blinky_arduino-uno/qk/gnu/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Blinky example, Arduino-UNO board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -113,9 +113,14 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
diff --git a/examples/avr/blinky_arduino-uno/qk/iar/blinky-qk.ewp b/examples/avr/blinky_arduino-uno/qk/iar/blinky-qk.ewp
index 95b69d1c..b5fec82c 100644
--- a/examples/avr/blinky_arduino-uno/qk/iar/blinky-qk.ewp
+++ b/examples/avr/blinky_arduino-uno/qk/iar/blinky-qk.ewp
@@ -149,11 +149,11 @@
Input variant
36
- 8
+ 0
Input description
-
+ Automatic choice of formatter.
Output variant
@@ -696,6 +696,7 @@
+ 0
@@ -707,15 +708,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
1
@@ -948,7 +949,7 @@
OverlaySystemMap
- 1
+ 0
RawBinaryFile
@@ -974,6 +975,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -1697,6 +1743,7 @@
+ 0
@@ -1708,15 +1755,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -1975,6 +2022,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -2698,6 +2790,7 @@
+ 0
@@ -2709,15 +2802,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -2976,6 +3069,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -3022,6 +3160,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3110,6 +3251,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/avr/blinky_arduino-uno/qk/iar/bsp.c b/examples/avr/blinky_arduino-uno/qk/iar/bsp.c
index cd97570d..84989530 100644
--- a/examples/avr/blinky_arduino-uno/qk/iar/bsp.c
+++ b/examples/avr/blinky_arduino-uno/qk/iar/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Blinky example, Arduino-UNO board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -115,9 +115,14 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
diff --git a/examples/avr/blinky_arduino-uno/qv/gnu/Makefile b/examples/avr/blinky_arduino-uno/qv/gnu/Makefile
index cd8056ff..0ab3e874 100644
--- a/examples/avr/blinky_arduino-uno/qv/gnu/Makefile
+++ b/examples/avr/blinky_arduino-uno/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Blinky on Arduino-UNO, cooperative QV kernel, GNU-AVR
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -117,6 +117,7 @@ QP_PORT :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -242,7 +243,8 @@ $(TARGET_HEX): $(TARGET_ELF)
$(BIN) -O ihex $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/avr/blinky_arduino-uno/qv/gnu/bsp.c b/examples/avr/blinky_arduino-uno/qv/gnu/bsp.c
index 6044013e..a389fedf 100644
--- a/examples/avr/blinky_arduino-uno/qv/gnu/bsp.c
+++ b/examples/avr/blinky_arduino-uno/qv/gnu/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Blinky example, Arduino-UNO board, cooperative QV kernel, GNU-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -110,9 +110,14 @@ void QV_onIdle(void) { /* called with interrupts DISABLED, see NOTE1 */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
diff --git a/examples/avr/blinky_arduino-uno/qv/iar/blinky-qv.ewp b/examples/avr/blinky_arduino-uno/qv/iar/blinky-qv.ewp
index 3efc0661..3807fc58 100644
--- a/examples/avr/blinky_arduino-uno/qv/iar/blinky-qv.ewp
+++ b/examples/avr/blinky_arduino-uno/qv/iar/blinky-qv.ewp
@@ -149,7 +149,7 @@
Input variant
36
- 8
+ 0
Input description
@@ -696,6 +696,7 @@
+ 0
@@ -707,15 +708,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
1
@@ -948,7 +949,7 @@
OverlaySystemMap
- 1
+ 0
RawBinaryFile
@@ -974,6 +975,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -1697,6 +1743,7 @@
+ 0
@@ -1708,15 +1755,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -1975,6 +2022,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -2698,6 +2790,7 @@
+ 0
@@ -2709,15 +2802,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -2792,7 +2885,7 @@
XclFile
- $TOOLKIT_DIR$\src\template\cfgm169.xcl
+ $TOOLKIT_DIR$\src\template\cfgm328p.xcl
XclFileSlave
@@ -2976,6 +3069,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -3022,6 +3160,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3101,6 +3242,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/avr/blinky_arduino-uno/qv/iar/bsp.c b/examples/avr/blinky_arduino-uno/qv/iar/bsp.c
index 7b31fac3..a7896d88 100644
--- a/examples/avr/blinky_arduino-uno/qv/iar/bsp.c
+++ b/examples/avr/blinky_arduino-uno/qv/iar/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Blinky example for Arduino-UNO, cooperative QV kernel, IAR-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -111,9 +111,14 @@ void QV_onIdle(void) { /* called with interrupts DISABLED, see NOTE1 */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
diff --git a/examples/avr/dpp_arduino-uno/qk/gnu/Makefile b/examples/avr/dpp_arduino-uno/qk/gnu/Makefile
index e8aeca61..d1bd2093 100644
--- a/examples/avr/dpp_arduino-uno/qk/gnu/Makefile
+++ b/examples/avr/dpp_arduino-uno/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on Arduino-UNO, preemptive QK kernel, GNU-AVR
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -120,6 +120,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -245,7 +246,8 @@ $(TARGET_HEX): $(TARGET_ELF)
$(BIN) -O ihex $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/avr/dpp_arduino-uno/qk/gnu/bsp.c b/examples/avr/dpp_arduino-uno/qk/gnu/bsp.c
index 8aece5c0..4a8014ab 100644
--- a/examples/avr/dpp_arduino-uno/qk/gnu/bsp.c
+++ b/examples/avr/dpp_arduino-uno/qk/gnu/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, Arduino-UNO board, preemptive QK kernel, GNU-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -209,9 +209,14 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
@@ -254,69 +259,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/avr/dpp_arduino-uno/qk/iar/bsp.c b/examples/avr/dpp_arduino-uno/qk/iar/bsp.c
index 18bac360..26cef46c 100644
--- a/examples/avr/dpp_arduino-uno/qk/iar/bsp.c
+++ b/examples/avr/dpp_arduino-uno/qk/iar/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, Arduino-UNO board, preemptive QK kernel, IAR-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -50,7 +50,6 @@ Q_DEFINE_THIS_FILE
/* external button BTN_EXT (PORTD), http://arduino.cc/en/tutorial/button */
#define BTN_EXT (1U << 2)
-
static unsigned l_rnd; /* random seed */
#ifdef Q_SPY
@@ -210,9 +209,14 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
@@ -255,69 +259,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/avr/dpp_arduino-uno/qk/iar/dpp-qk.ewp b/examples/avr/dpp_arduino-uno/qk/iar/dpp-qk.ewp
index 89b57517..98ee397d 100644
--- a/examples/avr/dpp_arduino-uno/qk/iar/dpp-qk.ewp
+++ b/examples/avr/dpp_arduino-uno/qk/iar/dpp-qk.ewp
@@ -149,7 +149,7 @@
Input variant
36
- 8
+ 0
Input description
@@ -696,6 +696,7 @@
+ 0
@@ -707,15 +708,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
1
@@ -948,7 +949,7 @@
OverlaySystemMap
- 1
+ 0
RawBinaryFile
@@ -974,6 +975,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -1697,6 +1743,7 @@
+ 0
@@ -1708,15 +1755,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -1975,6 +2022,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -2698,6 +2790,7 @@
+ 0
@@ -2709,15 +2802,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -2976,6 +3069,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -3022,6 +3160,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -3113,6 +3254,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/avr/dpp_arduino-uno/qv/gnu/Makefile b/examples/avr/dpp_arduino-uno/qv/gnu/Makefile
index fa5274ff..142161d1 100644
--- a/examples/avr/dpp_arduino-uno/qv/gnu/Makefile
+++ b/examples/avr/dpp_arduino-uno/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on Arduino-UNO, preemptive QV kernel, GNU-AVR
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -118,6 +118,7 @@ QP_PORT :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -243,7 +244,8 @@ $(TARGET_HEX): $(TARGET_ELF)
$(BIN) -O ihex $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/avr/dpp_arduino-uno/qv/gnu/bsp.c b/examples/avr/dpp_arduino-uno/qv/gnu/bsp.c
index b84a258f..f4c0bc45 100644
--- a/examples/avr/dpp_arduino-uno/qv/gnu/bsp.c
+++ b/examples/avr/dpp_arduino-uno/qv/gnu/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example for Arduino-UNO, cooperative QV kernel, GNU-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -51,7 +51,6 @@ Q_DEFINE_THIS_FILE
/* external button BTN_EXT (PORTD), http://arduino.cc/en/tutorial/button */
#define BTN_EXT (1U << 2)
-
static unsigned l_rnd; /* random seed */
#ifdef Q_SPY
@@ -207,9 +206,14 @@ void QV_onIdle(void) { /* called with interrupts DISABLED, see NOTE1 */
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
@@ -252,69 +256,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/avr/dpp_arduino-uno/qv/iar/bsp.c b/examples/avr/dpp_arduino-uno/qv/iar/bsp.c
index 07e9ee22..f8ce7352 100644
--- a/examples/avr/dpp_arduino-uno/qv/iar/bsp.c
+++ b/examples/avr/dpp_arduino-uno/qv/iar/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example for Arduino-UNO, cooperative QV kernel, GNU-AVR
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -50,7 +50,6 @@ Q_DEFINE_THIS_FILE
/* external button BTN_EXT (PORTD), http://arduino.cc/en/tutorial/button */
#define BTN_EXT (1U << 2)
-
static unsigned l_rnd; /* random seed */
#ifdef Q_SPY
@@ -207,9 +206,14 @@ void QV_onIdle(void) { /* called with interrupts DISABLED, see NOTE1 */
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
QF_INT_DISABLE(); /* disable all interrupts */
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)2000U); /* report assertion to QS */
QF_RESET(); /* reset the CPU */
}
@@ -252,69 +256,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/avr/dpp_arduino-uno/qv/iar/dpp-qv.ewp b/examples/avr/dpp_arduino-uno/qv/iar/dpp-qv.ewp
index 1273699d..ce45da40 100644
--- a/examples/avr/dpp_arduino-uno/qv/iar/dpp-qv.ewp
+++ b/examples/avr/dpp_arduino-uno/qv/iar/dpp-qv.ewp
@@ -149,7 +149,7 @@
Input variant
36
- 8
+ 0
Input description
@@ -696,6 +696,7 @@
+ 0
@@ -707,15 +708,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
1
@@ -948,7 +949,7 @@
OverlaySystemMap
- 1
+ 0
RawBinaryFile
@@ -974,6 +975,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -1697,6 +1743,7 @@
+ 0
@@ -1708,15 +1755,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -1975,6 +2022,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -2698,6 +2790,7 @@
+ 0
@@ -2709,15 +2802,15 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
XLINK
- 2
+ 3
- 13
+ 16
1
0
@@ -2976,6 +3069,51 @@
CrcInitialValue
0x00
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ XlinkLogEnable
+ 0
+
+
+ XlinkLogInputFiles
+ 0
+
+
+ XlinkLogModuleSelection
+ 0
+
+
+ XlinkLogPrintfScanf
+ 0
+
+
+ XlinkLogSegmentSelection
+ 0
+
+
+ XlinkLogStackDepth
+ 0
+
+
+ XlinkStackUsageEnable
+ 0
+
+
+ XlinkControlFiles
+
+
+
+ XlinkCallGraphFileEnable
+ 0
+
+
+ XlinkCallGraphFileName
+ $LIST_DIR$\$PROJ_FNAME$.call_graph.cgx
+
@@ -3022,6 +3160,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -3104,6 +3245,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvoptx b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvoptx
index c818ecc9..d0e3d984 100644
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvoptx
+++ b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvoptx
@@ -114,10 +114,6 @@
BIN\lmidk-agdi.dll
-
- 0
- DLGUARM
-
0
ARMRTXEVENTFLAGS
@@ -209,6 +205,7 @@
+ 0
@@ -379,6 +376,7 @@
+ 0
@@ -549,6 +547,7 @@
+ 0
@@ -610,6 +609,19 @@
0
0
+
+ 1
+ 5
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -620,7 +632,7 @@
0
2
- 5
+ 6
5
0
0
@@ -633,7 +645,7 @@
2
- 6
+ 7
5
0
0
@@ -646,7 +658,7 @@
2
- 7
+ 8
5
0
0
@@ -659,7 +671,7 @@
2
- 8
+ 9
1
0
0
@@ -672,7 +684,7 @@
2
- 9
+ 10
5
0
0
@@ -685,7 +697,7 @@
2
- 10
+ 11
5
0
0
@@ -698,7 +710,7 @@
2
- 11
+ 12
2
0
0
@@ -719,7 +731,7 @@
0
3
- 12
+ 13
1
0
0
@@ -732,7 +744,7 @@
3
- 13
+ 14
1
0
0
@@ -745,7 +757,7 @@
3
- 14
+ 15
1
0
0
@@ -758,7 +770,7 @@
3
- 15
+ 16
1
0
0
@@ -771,7 +783,7 @@
3
- 16
+ 17
1
0
0
@@ -784,7 +796,7 @@
3
- 17
+ 18
1
0
0
@@ -797,7 +809,7 @@
3
- 18
+ 19
1
0
0
@@ -810,7 +822,7 @@
3
- 19
+ 20
5
0
0
@@ -823,7 +835,7 @@
3
- 20
+ 21
1
0
0
@@ -836,7 +848,7 @@
3
- 21
+ 22
1
0
0
@@ -849,7 +861,7 @@
3
- 22
+ 23
1
0
0
@@ -862,7 +874,7 @@
3
- 23
+ 24
1
0
0
@@ -875,7 +887,7 @@
3
- 24
+ 25
1
0
0
@@ -896,7 +908,7 @@
0
4
- 25
+ 26
5
0
0
@@ -909,7 +921,7 @@
4
- 26
+ 27
1
0
0
@@ -922,7 +934,7 @@
4
- 27
+ 28
5
0
0
@@ -935,7 +947,7 @@
4
- 28
+ 29
5
0
0
@@ -956,7 +968,7 @@
0
5
- 29
+ 30
1
0
0
@@ -969,7 +981,7 @@
5
- 30
+ 31
1
0
0
@@ -982,7 +994,7 @@
5
- 31
+ 32
1
0
0
@@ -995,7 +1007,7 @@
5
- 32
+ 33
5
0
0
@@ -1016,7 +1028,7 @@
0
6
- 33
+ 34
4
0
0
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvprojx b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvprojx
index 5013247a..3ee10a48 100644
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvprojx
+++ b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/arm/blinky.uvprojx
@@ -10,6 +10,7 @@
blinky-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -428,6 +436,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -601,6 +614,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -666,6 +683,7 @@
blinky-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -724,9 +742,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -740,6 +758,8 @@
0
0
+ 0
+ 0
0
@@ -883,6 +903,7 @@
0
0
0
+ 0
3
3
0
@@ -1017,6 +1038,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1084,6 +1109,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1257,6 +1287,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1322,6 +1356,7 @@
blinky-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -1380,9 +1415,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1392,10 +1427,12 @@
1
0
- fromelf --bin --output .\dbg\blinky.bin .\dbg\blinky.axf
+ fromelf --bin --output .\spy\blinky.bin .\spy\blinky.axf
0
0
+ 0
+ 0
0
@@ -1539,6 +1576,7 @@
0
0
0
+ 0
3
3
0
@@ -1673,6 +1711,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1740,6 +1782,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1916,17 +1963,4 @@
-
-
-
-
-
- RTE\CMSIS\RTX_Conf_CM.c
-
-
-
-
-
-
-
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/bsp.c b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/bsp.c
index 4ac8a440..8ba09490 100644
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/bsp.c
+++ b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Simple "Blinky" example, EK-TM4C123GLX board, CMSIS-RTOS RTX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-23
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-17
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -112,11 +112,8 @@ void BSP_init(void) {
*/
SystemCoreClockUpdate();
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE); /* set as output */
@@ -167,7 +164,15 @@ void QF_onRtxTicker() {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/*****************************************************************************
* NOTE01:
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.cproject b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.cproject
deleted file mode 100644
index f1824b50..00000000
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.cproject
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.project b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.project
deleted file mode 100644
index 5fcd793a..00000000
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/.project
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- blinky-rtx
-
-
-
-
-
- com.codesourcery.target.data.arm_none_eabi.builder
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/Makefile b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/Makefile
index 679fd785..4251b2ac 100644
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/Makefile
+++ b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Blinky on EK-TM4C123GXL, CMSIS-RTX kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -129,6 +129,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS := -L$(CMSIS_RTX)/LIB/GCC
@@ -140,7 +141,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -264,7 +265,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/iar/blinky.ewp b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/iar/blinky.ewp
index 55eb379a..064a2f58 100644
--- a/examples/cmsis-rtx/blinky_ek-tm4c123gxl/iar/blinky.ewp
+++ b/examples/cmsis-rtx/blinky_ek-tm4c123gxl/iar/blinky.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
39
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1583,7 +1609,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1919,7 +1945,7 @@
General
3
- 22
+ 24
1
1
@@ -1934,11 +1960,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1965,11 +1986,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1994,7 +2010,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2042,14 +2058,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2064,6 +2075,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2537,7 +2576,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2883,6 +2922,9 @@
$PROJ_DIR$\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\rom.h
diff --git a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvoptx b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
index 137ceb9d..1b725b7d 100644
--- a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
+++ b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
@@ -188,6 +188,7 @@
+ 0
@@ -358,6 +359,7 @@
+ 0
@@ -528,6 +530,7 @@
+ 0
@@ -628,6 +631,19 @@
0
0
+
+ 1
+ 8
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -638,7 +654,7 @@
0
2
- 8
+ 9
5
0
0
@@ -651,7 +667,7 @@
2
- 9
+ 10
5
0
0
@@ -664,7 +680,7 @@
2
- 10
+ 11
5
0
0
@@ -677,7 +693,7 @@
2
- 11
+ 12
1
0
0
@@ -690,7 +706,7 @@
2
- 12
+ 13
5
0
0
@@ -703,7 +719,7 @@
2
- 13
+ 14
5
0
0
@@ -716,7 +732,7 @@
2
- 14
+ 15
2
0
0
@@ -737,7 +753,7 @@
0
3
- 15
+ 16
1
0
0
@@ -750,7 +766,7 @@
3
- 16
+ 17
1
0
0
@@ -763,7 +779,7 @@
3
- 17
+ 18
1
0
0
@@ -776,7 +792,7 @@
3
- 18
+ 19
1
0
0
@@ -789,7 +805,7 @@
3
- 19
+ 20
1
0
0
@@ -802,7 +818,7 @@
3
- 20
+ 21
1
0
0
@@ -815,7 +831,7 @@
3
- 21
+ 22
1
0
0
@@ -828,7 +844,7 @@
3
- 22
+ 23
1
0
0
@@ -841,7 +857,7 @@
3
- 23
+ 24
1
0
0
@@ -854,7 +870,7 @@
3
- 24
+ 25
1
0
0
@@ -867,7 +883,7 @@
3
- 25
+ 26
1
0
0
@@ -880,7 +896,7 @@
3
- 26
+ 27
1
0
0
@@ -901,7 +917,7 @@
0
4
- 27
+ 28
1
0
0
@@ -922,7 +938,7 @@
0
5
- 28
+ 29
1
0
0
@@ -935,7 +951,7 @@
5
- 29
+ 30
1
0
0
@@ -948,7 +964,7 @@
5
- 30
+ 31
1
0
0
@@ -969,7 +985,7 @@
0
6
- 31
+ 32
4
0
0
diff --git a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvprojx b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
index a4ae3669..759d05f0 100644
--- a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
+++ b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -443,6 +451,11 @@
5
..\dpp.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -596,6 +609,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -656,6 +673,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -714,9 +732,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -730,6 +748,8 @@
0
0
+ 0
+ 0
0
@@ -873,6 +893,7 @@
0
0
0
+ 0
3
3
0
@@ -1007,6 +1028,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1089,6 +1114,11 @@
5
..\dpp.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1242,6 +1272,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1302,6 +1336,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -1360,9 +1395,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1376,6 +1411,8 @@
0
0
+ 0
+ 0
0
@@ -1519,6 +1556,7 @@
0
0
0
+ 0
3
3
0
@@ -1653,6 +1691,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1735,6 +1777,11 @@
5
..\dpp.h
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1886,17 +1933,4 @@
-
-
-
-
-
- RTE\CMSIS\RTX_Conf_CM.c
-
-
-
-
-
-
-
diff --git a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/bsp.c b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/bsp.c
index e8e22d3b..8aa6f332 100644
--- a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/bsp.c
+++ b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, EK-TM4C123GLX board, CMSIS-RTOS RTX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-27
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -139,15 +139,12 @@ void BSP_init(void) {
*/
SystemCoreClockUpdate();
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE); /* set as output */
- GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE);/* digital enable */
+ GPIOF->DEN |= (LED_RED | LED_GREEN | LED_BLUE); /* digital enable */
GPIOF->DATA_Bits[LED_RED] = 0U; /* turn the LED off */
GPIOF->DATA_Bits[LED_GREEN] = 0U; /* turn the LED off */
GPIOF->DATA_Bits[LED_BLUE] = 0U; /* turn the LED off */
@@ -255,8 +252,15 @@ void QF_onRtxTicker() {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -266,31 +270,32 @@ uint8_t QS_onStartup(void const *arg) {
uint32_t tmp;
QS_initBuf(qsBuf, sizeof(qsBuf));
- /* enable the peripherals used by the UART0 */
- SYSCTL->RCGC1 |= (1U << 0); /* enable clock to UART0 */
- SYSCTL->RCGC2 |= (1U << 0); /* enable clock to GPIOA */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for UART0 and GPIOA (used by UART0 pins) */
+ SYSCTL->RCGCUART |= (1U << 0); /* enable Run mode for UART0 */
+ SYSCTL->RCGCGPIO |= (1U << 0); /* enable Run mode for GPIOA */
/* configure UART0 pins for UART operation */
tmp = (1U << 0) | (1U << 1);
GPIOA->DIR &= ~tmp;
- GPIOA->AFSEL |= tmp;
- GPIOA->DR2R |= tmp; /* set 2mA drive, DR4R and DR8R are cleared */
GPIOA->SLR &= ~tmp;
GPIOA->ODR &= ~tmp;
GPIOA->PUR &= ~tmp;
GPIOA->PDR &= ~tmp;
- GPIOA->DEN |= tmp;
+ GPIOA->AMSEL &= ~tmp; /* disable analog function on the pins */
+ GPIOA->AFSEL |= tmp; /* enable ALT function on the pins */
+ GPIOA->DEN |= tmp; /* enable digital I/O on the pins */
+ GPIOA->PCTL &= ~0x00U;
+ GPIOA->PCTL |= 0x11U;
/* configure the UART for the desired baud rate, 8-N-1 operation */
tmp = (((SystemCoreClock * 8U) / UART_BAUD_RATE) + 1U) / 2U;
UART0->IBRD = tmp / 64U;
UART0->FBRD = tmp % 64U;
- UART0->LCRH = 0x60U; /* configure 8-N-1 operation */
- UART0->LCRH |= 0x10U;
- UART0->CTL |= (1U << 0) | (1U << 8) | (1U << 9);
+ UART0->LCRH = (0x3U << 5); /* configure 8-N-1 operation */
+ UART0->LCRH |= (0x1U << 4); /* enable FIFOs */
+ UART0->CTL = (1U << 0) /* UART enable */
+ | (1U << 8) /* UART TX enable */
+ | (1U << 9); /* UART RX enable */
/* setup the QS filters... */
QS_FILTER_ON(QS_QEP_STATE_ENTRY);
@@ -303,69 +308,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/gnu/Makefile b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/gnu/Makefile
index 9d1ba2e2..64449048 100644
--- a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/gnu/Makefile
+++ b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on EK-TM4C123GXL, CMSIS-RTX kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -130,6 +130,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS := -L$(CMSIS_RTX)/LIB/GCC
@@ -141,7 +142,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -265,7 +266,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/iar/dpp.ewp b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/iar/dpp.ewp
index fbb12412..6654e289 100644
--- a/examples/cmsis-rtx/dpp_ek-tm4c123gxl/iar/dpp.ewp
+++ b/examples/cmsis-rtx/dpp_ek-tm4c123gxl/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
39
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1583,7 +1609,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1919,7 +1945,7 @@
General
3
- 22
+ 24
1
1
@@ -1934,11 +1960,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1965,11 +1986,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1994,7 +2010,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2042,14 +2058,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2064,6 +2075,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2537,7 +2576,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2883,6 +2922,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\rom.h
diff --git a/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvoptx b/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvoptx
index 4eae91ff..e7d727cc 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvoptx
+++ b/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvoptx
@@ -96,31 +96,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -278,6 +263,7 @@
+ 0
@@ -356,31 +342,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -505,6 +476,7 @@
+ 0
@@ -583,31 +555,16 @@
3
- User Manual (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
+ STM32L053-Discovery Web Page (STM32L053-Discovery)
+ http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
4
- Overview (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 5
- Getting started (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 6
- Schematics (NUCLEO-L053R8)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
-
-
- 7
STM32 Nucleo board (NUCLEO-L053R8)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
- 8
+ 5
STM32L053-Discovery Web Page (STM32L053-Discovery)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF260319
@@ -749,6 +706,7 @@
+ 0
@@ -849,6 +807,19 @@
0
0
+
+ 1
+ 8
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -859,7 +830,7 @@
0
2
- 8
+ 9
5
0
0
@@ -872,7 +843,7 @@
2
- 9
+ 10
5
0
0
@@ -885,7 +856,7 @@
2
- 10
+ 11
1
0
0
@@ -898,7 +869,7 @@
2
- 11
+ 12
5
0
0
@@ -911,7 +882,7 @@
2
- 12
+ 13
2
0
0
@@ -932,7 +903,7 @@
0
3
- 13
+ 14
1
0
0
@@ -945,7 +916,7 @@
3
- 14
+ 15
1
0
0
@@ -958,7 +929,7 @@
3
- 15
+ 16
1
0
0
@@ -971,7 +942,7 @@
3
- 16
+ 17
1
0
0
@@ -984,7 +955,7 @@
3
- 17
+ 18
1
0
0
@@ -997,7 +968,7 @@
3
- 18
+ 19
1
0
0
@@ -1010,7 +981,7 @@
3
- 19
+ 20
1
0
0
@@ -1023,7 +994,7 @@
3
- 20
+ 21
5
0
0
@@ -1036,7 +1007,7 @@
3
- 21
+ 22
1
0
0
@@ -1049,7 +1020,7 @@
3
- 22
+ 23
1
0
0
@@ -1062,7 +1033,7 @@
3
- 23
+ 24
1
0
0
@@ -1075,7 +1046,7 @@
3
- 24
+ 25
1
0
0
@@ -1088,7 +1059,7 @@
3
- 25
+ 26
1
0
0
@@ -1109,7 +1080,7 @@
0
4
- 26
+ 27
5
0
0
@@ -1122,7 +1093,7 @@
4
- 27
+ 28
1
0
0
@@ -1135,7 +1106,7 @@
4
- 28
+ 29
5
0
0
@@ -1148,7 +1119,7 @@
4
- 29
+ 30
5
0
0
@@ -1169,7 +1140,7 @@
0
5
- 30
+ 31
1
0
0
@@ -1182,7 +1153,7 @@
5
- 31
+ 32
1
0
0
@@ -1195,7 +1166,7 @@
5
- 32
+ 33
1
0
0
@@ -1208,7 +1179,7 @@
5
- 33
+ 34
5
0
0
@@ -1229,7 +1200,7 @@
0
6
- 34
+ 35
4
0
0
diff --git a/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvprojx b/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvprojx
index 4ff31a34..7aa14f04 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvprojx
+++ b/examples/cmsis-rtx/dpp_nucleo-l053r8/arm/dpp.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -443,6 +451,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -606,6 +619,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -671,6 +688,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -729,9 +747,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -745,6 +763,8 @@
0
0
+ 0
+ 0
0
@@ -888,6 +908,7 @@
0
0
0
+ 0
3
3
0
@@ -1022,6 +1043,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1104,6 +1129,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1267,6 +1297,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1332,6 +1366,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L053R8
@@ -1390,9 +1425,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1406,6 +1441,8 @@
0
0
+ 0
+ 0
0
@@ -1549,6 +1586,7 @@
0
0
0
+ 0
3
3
0
@@ -1683,6 +1721,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1765,6 +1807,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
diff --git a/examples/cmsis-rtx/dpp_nucleo-l053r8/bsp.c b/examples/cmsis-rtx/dpp_nucleo-l053r8/bsp.c
index 17945ed8..e4659904 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l053r8/bsp.c
+++ b/examples/cmsis-rtx/dpp_nucleo-l053r8/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP example, NUCLEO-L053R8 board, CMSIS-RTOS RTX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-21
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -259,7 +259,15 @@ void QF_onRtxTicker() {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -308,69 +316,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/cmsis-rtx/dpp_nucleo-l053r8/gnu/Makefile b/examples/cmsis-rtx/dpp_nucleo-l053r8/gnu/Makefile
index 2d5aa797..20e5744e 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l053r8/gnu/Makefile
+++ b/examples/cmsis-rtx/dpp_nucleo-l053r8/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L053R8, CMSIS-RTX kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -130,6 +130,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS := -L$(CMSIS_RTX)/LIB/GCC
@@ -265,7 +266,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/cmsis-rtx/dpp_nucleo-l053r8/iar/dpp.ewp b/examples/cmsis-rtx/dpp_nucleo-l053r8/iar/dpp.ewp
index 1ab083a8..4cd10d3f 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l053r8/iar/dpp.ewp
+++ b/examples/cmsis-rtx/dpp_nucleo-l053r8/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 35
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,14 +2057,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 35
-
GBECoreSlave
- 21
+ 22
35
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 35
+
+
+ GFPUDeviceSlave
+ STM32L053x8 ST STM32L053x8
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 35
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2881,6 +2920,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\rom.h
diff --git a/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvoptx b/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvoptx
index de3dbcff..5e605e42 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvoptx
+++ b/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvoptx
@@ -81,26 +81,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -276,6 +261,7 @@
+ 0
@@ -339,26 +325,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -478,6 +449,7 @@
+ 0
@@ -541,26 +513,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -687,6 +644,7 @@
+ 0
@@ -800,6 +758,19 @@
0
0
+
+ 1
+ 9
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -810,7 +781,7 @@
0
2
- 9
+ 10
5
0
0
@@ -823,7 +794,7 @@
2
- 10
+ 11
1
0
0
@@ -836,7 +807,7 @@
2
- 11
+ 12
5
0
0
@@ -849,7 +820,7 @@
2
- 12
+ 13
2
0
0
@@ -870,7 +841,7 @@
0
3
- 13
+ 14
1
0
0
@@ -883,7 +854,7 @@
3
- 14
+ 15
1
0
0
@@ -896,7 +867,7 @@
3
- 15
+ 16
1
0
0
@@ -909,7 +880,7 @@
3
- 16
+ 17
1
0
0
@@ -922,7 +893,7 @@
3
- 17
+ 18
1
0
0
@@ -935,7 +906,7 @@
3
- 18
+ 19
1
0
0
@@ -948,7 +919,7 @@
3
- 19
+ 20
1
0
0
@@ -961,7 +932,7 @@
3
- 20
+ 21
5
0
0
@@ -974,7 +945,7 @@
3
- 21
+ 22
1
0
0
@@ -987,7 +958,7 @@
3
- 22
+ 23
1
0
0
@@ -1000,7 +971,7 @@
3
- 23
+ 24
1
0
0
@@ -1013,7 +984,7 @@
3
- 24
+ 25
1
0
0
@@ -1026,7 +997,7 @@
3
- 25
+ 26
1
0
0
@@ -1047,7 +1018,7 @@
0
4
- 26
+ 27
5
0
0
@@ -1060,7 +1031,7 @@
4
- 27
+ 28
1
0
0
@@ -1073,7 +1044,7 @@
4
- 28
+ 29
5
0
0
@@ -1086,7 +1057,7 @@
4
- 29
+ 30
5
0
0
@@ -1107,7 +1078,7 @@
0
5
- 30
+ 31
1
0
0
@@ -1120,7 +1091,7 @@
5
- 31
+ 32
1
0
0
@@ -1133,7 +1104,7 @@
5
- 32
+ 33
1
0
0
@@ -1146,7 +1117,7 @@
5
- 33
+ 34
5
0
0
@@ -1167,7 +1138,7 @@
0
6
- 34
+ 35
4
0
0
diff --git a/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvprojx b/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvprojx
index 3aefe885..f2f3e244 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvprojx
+++ b/examples/cmsis-rtx/dpp_nucleo-l152re/arm/dpp.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -448,6 +456,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -606,6 +619,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -671,6 +688,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -729,9 +747,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -745,6 +763,8 @@
0
0
+ 0
+ 0
0
@@ -888,6 +908,7 @@
0
0
0
+ 0
3
3
0
@@ -1022,6 +1043,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1109,6 +1134,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
@@ -1267,6 +1297,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1332,6 +1366,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -1390,9 +1425,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1406,6 +1441,8 @@
0
0
+ 0
+ 0
0
@@ -1549,6 +1586,7 @@
0
0
0
+ 0
3
3
0
@@ -1683,6 +1721,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1770,6 +1812,11 @@
1
..\RTX_Conf_CM.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\include\qstamp.c
+
diff --git a/examples/cmsis-rtx/dpp_nucleo-l152re/bsp.c b/examples/cmsis-rtx/dpp_nucleo-l152re/bsp.c
index 863a5af9..845e84e6 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l152re/bsp.c
+++ b/examples/cmsis-rtx/dpp_nucleo-l152re/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, STM32 NUCLEO-L152RE board, CMSIS-RTOS RTX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-27
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -262,8 +262,15 @@ void QF_onRtxTicker() {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -310,69 +317,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/cmsis-rtx/dpp_nucleo-l152re/gnu/Makefile b/examples/cmsis-rtx/dpp_nucleo-l152re/gnu/Makefile
index 00d52e67..a3230bda 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l152re/gnu/Makefile
+++ b/examples/cmsis-rtx/dpp_nucleo-l152re/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on NUCLEO-L152RE, CMSIS-RTX kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -130,6 +130,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS := -L$(CMSIS_RTX)/LIB/GCC
@@ -265,7 +266,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/cmsis-rtx/dpp_nucleo-l152re/iar/dpp.ewp b/examples/cmsis-rtx/dpp_nucleo-l152re/iar/dpp.ewp
index 8824ffbd..c9eeb097 100644
--- a/examples/cmsis-rtx/dpp_nucleo-l152re/iar/dpp.ewp
+++ b/examples/cmsis-rtx/dpp_nucleo-l152re/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -629,7 +642,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -965,7 +978,7 @@
General
3
- 22
+ 24
1
0
@@ -980,11 +993,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1011,11 +1019,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1040,7 +1043,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1088,14 +1091,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1110,6 +1108,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1582,7 +1608,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1918,7 +1944,7 @@
General
3
- 22
+ 24
1
1
@@ -1933,11 +1959,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1964,11 +1985,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1993,7 +2009,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2041,14 +2057,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2063,6 +2074,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2535,7 +2574,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2881,6 +2920,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\rom.h
diff --git a/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.c b/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.c
index 0ec2fbba..2c267ba1 100644
--- a/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.c
+++ b/examples/embos/arm-cm/dpp_stm32f429-discovery/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Dining Philosophers Problem" example, embOS kernel
-* Last updated for version 5.4.0
-* Last updated on 2015-04-23
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -294,7 +294,15 @@ void QF_onCleanup(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -339,47 +347,17 @@ uint8_t QS_onStartup(void const *arg) {
QS_tickTime_ = QS_tickPeriod_; /* to start the timestamp at zero */
/* setup the QS filters... */
- QS_FILTER_ON(QS_ALL_RECORDS);
+ QS_FILTER_ON(QS_QEP_STATE_ENTRY);
+ QS_FILTER_ON(QS_QEP_STATE_EXIT);
+ QS_FILTER_ON(QS_QEP_STATE_INIT);
+ QS_FILTER_ON(QS_QEP_INIT_TRAN);
+ QS_FILTER_ON(QS_QEP_INTERN_TRAN);
+ QS_FILTER_ON(QS_QEP_TRAN);
+ QS_FILTER_ON(QS_QEP_IGNORED);
+ QS_FILTER_ON(QS_QEP_DISPATCH);
+ QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_OFF(QS_QEP_STATE_ENTRY);
-// QS_FILTER_OFF(QS_QEP_STATE_EXIT);
-// QS_FILTER_OFF(QS_QEP_STATE_INIT);
-// QS_FILTER_OFF(QS_QEP_TRAN_HIST);
-// QS_FILTER_OFF(QS_QEP_INTERN_TRAN);
-// QS_FILTER_OFF(QS_QEP_TRAN);
-// QS_FILTER_OFF(QS_QEP_IGNORED);
-
-// QS_FILTER_OFF(QS_QF_ACTIVE_ADD);
-// QS_FILTER_OFF(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_OFF(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_OFF(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_OFF(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_OFF(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_OFF(QS_QF_ACTIVE_GET);
-// QS_FILTER_OFF(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_OFF(QS_QF_EQUEUE_INIT);
-// QS_FILTER_OFF(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_OFF(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_OFF(QS_QF_EQUEUE_GET);
-// QS_FILTER_OFF(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_OFF(QS_QF_MPOOL_INIT);
-// QS_FILTER_OFF(QS_QF_MPOOL_GET);
-// QS_FILTER_OFF(QS_QF_MPOOL_PUT);
-// QS_FILTER_OFF(QS_QF_PUBLISH);
-// QS_FILTER_OFF(QS_QF_NEW);
-// QS_FILTER_OFF(QS_QF_GC_ATTEMPT);
-// QS_FILTER_OFF(QS_QF_GC);
-// QS_FILTER_OFF(QS_QF_TICK);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_OFF(QS_QF_TIMEEVT_POST);
- QS_FILTER_OFF(QS_QF_CRIT_ENTRY);
- QS_FILTER_OFF(QS_QF_CRIT_EXIT);
- QS_FILTER_OFF(QS_QF_ISR_ENTRY);
- QS_FILTER_OFF(QS_QF_ISR_EXIT);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/embos/arm-cm/dpp_stm32f429-discovery/iar/dpp.ewp b/examples/embos/arm-cm/dpp_stm32f429-discovery/iar/dpp.ewp
index 699778dc..ed510b38 100644
--- a/examples/embos/arm-cm/dpp_stm32f429-discovery/iar/dpp.ewp
+++ b/examples/embos/arm-cm/dpp_stm32f429-discovery/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ STM32F407VG ST STM32F407VG
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -628,7 +641,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -964,7 +977,7 @@
General
3
- 22
+ 24
1
0
@@ -979,11 +992,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1010,11 +1018,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1039,7 +1042,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1087,14 +1090,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1109,6 +1107,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ STM32F407VG ST STM32F407VG
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1580,7 +1606,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1669,7 +1695,7 @@
IlinkIcfFile
- D:\qp\qpc\examples\embos\arm-cm\dpp_stm32f429-discovery\iar\dpp.icf
+ $PROJ_DIR$\dpp.icf
IlinkIcfFileSlave
@@ -1916,7 +1942,7 @@
General
3
- 22
+ 24
1
1
@@ -1931,11 +1957,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1962,11 +1983,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1991,7 +2007,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2039,14 +2055,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2061,6 +2072,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ STM32F407VG ST STM32F407VG
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2532,7 +2571,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2875,6 +2914,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\table.c
diff --git a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/bsp.c b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/bsp.c
index 77fc88e6..adc57621 100644
--- a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/bsp.c
+++ b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" example, EK-TM4C123GXL board, FreeRTOS kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-16
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -125,11 +125,8 @@ void BSP_init(void) {
*/
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE); /* set as output */
@@ -177,7 +174,16 @@ void QF_onCleanup(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
+
/*****************************************************************************
diff --git a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/gnu/Makefile b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/gnu/Makefile
index afba69eb..ad4ab80c 100644
--- a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/gnu/Makefile
+++ b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for Blinky on EK-TM4C123GXL, FreeRTOS kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -138,6 +138,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -149,7 +150,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -273,7 +274,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/iar/blinky.ewp b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/iar/blinky.ewp
index ffa467df..a8f4ea3c 100644
--- a/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/iar/blinky.ewp
+++ b/examples/freertos/arm-cm/blinky_ek-tm4c123gxl/iar/blinky.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -631,7 +644,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -967,7 +980,7 @@
General
3
- 22
+ 24
1
0
@@ -982,11 +995,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1013,11 +1021,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1042,7 +1045,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1090,14 +1093,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1112,6 +1110,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1587,7 +1613,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1923,7 +1949,7 @@
General
3
- 22
+ 24
1
1
@@ -1938,11 +1964,6 @@
ListPath
Spy\List
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1969,11 +1990,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1998,7 +2014,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2046,14 +2062,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2068,6 +2079,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2543,7 +2582,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2886,6 +2925,9 @@
$PROJ_DIR$\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
ek-tm4c123gxl
diff --git a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c
index e0d40af6..8079b700 100644
--- a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c
+++ b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, EK-TM4C123GXL board, FreeRTOS kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-16
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -202,11 +202,8 @@ void BSP_init(void) {
*/
FPU->FPCCR &= ~((1U << FPU_FPCCR_ASPEN_Pos) | (1U << FPU_FPCCR_LSPEN_Pos));
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE); /* set as output */
@@ -294,8 +291,17 @@ void QF_onCleanup(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-/*--------------------------------------------------------------------------*/
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
+
+/* QS callbacks ============================================================*/
#ifdef Q_SPY
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
@@ -303,33 +309,34 @@ uint8_t QS_onStartup(void const *arg) {
uint32_t tmp;
QS_initBuf(qsBuf, sizeof(qsBuf));
- /* enable the peripherals used by the UART0 */
- SYSCTL->RCGC1 |= (1U << 0); /* enable clock to UART0 */
- SYSCTL->RCGC2 |= (1U << 0); /* enable clock to GPIOA */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for UART0 and GPIOA (used by UART0 pins) */
+ SYSCTL->RCGCUART |= (1U << 0); /* enable Run mode for UART0 */
+ SYSCTL->RCGCGPIO |= (1U << 0); /* enable Run mode for GPIOA */
/* configure UART0 pins for UART operation */
tmp = (1U << 0) | (1U << 1);
GPIOA->DIR &= ~tmp;
- GPIOA->AFSEL |= tmp;
- GPIOA->DR2R |= tmp; /* set 2mA drive, DR4R and DR8R are cleared */
GPIOA->SLR &= ~tmp;
GPIOA->ODR &= ~tmp;
GPIOA->PUR &= ~tmp;
GPIOA->PDR &= ~tmp;
- GPIOA->DEN |= tmp;
+ GPIOA->AMSEL &= ~tmp; /* disable analog function on the pins */
+ GPIOA->AFSEL |= tmp; /* enable ALT function on the pins */
+ GPIOA->DEN |= tmp; /* enable digital I/O on the pins */
+ GPIOA->PCTL &= ~0x00U;
+ GPIOA->PCTL |= 0x11U;
/* configure the UART for the desired baud rate, 8-N-1 operation */
- tmp = (((ROM_SysCtlClockGet() * 8U) / UART_BAUD_RATE) + 1U) / 2U;
+ tmp = (((SystemCoreClock * 8U) / UART_BAUD_RATE) + 1U) / 2U;
UART0->IBRD = tmp / 64U;
UART0->FBRD = tmp % 64U;
- UART0->LCRH = 0x60U; /* configure 8-N-1 operation */
- UART0->LCRH |= 0x10U;
- UART0->CTL |= (1U << 0) | (1U << 8) | (1U << 9);
+ UART0->LCRH = (0x3U << 5); /* configure 8-N-1 operation */
+ UART0->LCRH |= (0x1U << 4); /* enable FIFOs */
+ UART0->CTL = (1U << 0) /* UART enable */
+ | (1U << 8) /* UART TX enable */
+ | (1U << 9); /* UART RX enable */
- QS_tickPeriod_ = ROM_SysCtlClockGet() / BSP_TICKS_PER_SEC;
+ QS_tickPeriod_ = SystemCoreClock / BSP_TICKS_PER_SEC;
QS_tickTime_ = QS_tickPeriod_; /* to start the timestamp at zero */
/* setup the QS filters... */
@@ -343,69 +350,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile
index 9c7747b4..69d6808d 100644
--- a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile
+++ b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for DPP on EK-TM4C123GXL, FreeRTOS kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-22
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -139,6 +139,7 @@ QP_PORT := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -150,7 +151,7 @@ DEFINES :=
# ARM CPU, FPU, and Float-ABI types
ARM_CPU := -mcpu=cortex-m4
ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=hard
+FLOAT_ABI := -mfloat-abi=softfp
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -274,7 +275,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
index d940a035..a978925e 100644
--- a/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
+++ b/examples/freertos/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -631,7 +644,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -967,7 +980,7 @@
General
3
- 22
+ 24
1
0
@@ -982,11 +995,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1013,11 +1021,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1042,7 +1045,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1090,14 +1093,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -1112,6 +1110,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1587,7 +1613,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1923,7 +1949,7 @@
General
3
- 22
+ 24
1
1
@@ -1938,11 +1964,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1969,11 +1990,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1998,7 +2014,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2046,14 +2062,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -2068,6 +2079,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2543,7 +2582,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2889,6 +2928,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\table.c
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c
index a57f9ea6..ee3ffcfc 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP with lwIP application, preemptive QK kernel
-* Last Updated for Version: 5.4.1
-* Date of the Last Update: 2015-05-12
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h" /* QP/C header file */
#include "dpp.h" /* application events and active objects */
@@ -63,11 +63,11 @@ Q_ASSERT_COMPILE(MAX_KERNEL_AWARE_CMSIS_PRI <= (0xFF >>(8-__NVIC_PRIO_BITS)));
void SysTick_Handler(void);
/* Local-scope objects -----------------------------------------------------*/
-#define USER_LED (1 << 0)
-#define USER_BTN (1 << 1)
+#define USER_LED (1U << 0)
+#define USER_BTN (1U << 1)
-#define ETH0_LED (1 << 3)
-#define ETH1_LED (1 << 2)
+#define ETH0_LED (1U << 3)
+#define ETH1_LED (1U << 2)
static uint32_t l_nTicks;
@@ -77,9 +77,9 @@ static uint32_t l_nTicks;
QSTimeCtr QS_tickPeriod_;
static uint8_t l_SysTick_Handler;
- #define UART_BAUD_RATE 115200
- #define UART_TXFIFO_DEPTH 16
- #define UART_FR_TXFE (1 << 7)
+ #define UART_BAUD_RATE 115200U
+ #define UART_TXFIFO_DEPTH 16U
+ #define UART_FR_TXFE (1U << 7)
#endif
@@ -231,7 +231,15 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/*..........................................................................*/
/* sys_now() is used in the lwIP stack
@@ -289,70 +297,6 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
-
return (uint8_t)1; /* return success */
}
/*..........................................................................*/
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile
index f858eed4..27eb2a9a 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for lwIP on EK-LM3S6965, QK kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -139,6 +139,7 @@ QP_ASMS := \
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -274,7 +275,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/iar/lwip-qk.ewp b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/iar/lwip-qk.ewp
index 727a52eb..86f9ce9f 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/iar/lwip-qk.ewp
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qk/iar/lwip-qk.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -634,7 +647,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -970,7 +983,7 @@
General
3
- 22
+ 24
1
0
@@ -985,11 +998,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1016,11 +1024,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1045,7 +1048,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1093,14 +1096,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1115,6 +1113,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1592,7 +1618,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1928,7 +1954,7 @@
General
3
- 22
+ 24
1
1
@@ -1943,11 +1969,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1974,11 +1995,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -2003,7 +2019,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2051,14 +2067,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2073,6 +2084,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2550,7 +2589,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2908,6 +2947,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c
index eb899662..c9ce130c 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP with lwIP application, cooperative QV kernel
-* Last Updated for Version: 5.4.1
-* Date of the Last Update: 2015-05-12
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h" /* QP/C header file */
#include "dpp.h" /* application events and active objects */
@@ -229,7 +229,15 @@ void QV_onIdle(void) { /* NOTE: called with interrutps DISABLED, see NOTE01 */
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/*..........................................................................*/
/* sys_now() is used in the lwIP stack
@@ -287,70 +295,6 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
-
return (uint8_t)1; /* return success */
}
/*..........................................................................*/
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile
index 211d69af..27fc4abf 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for lwIP on EK-LM3S6965, QV kernel, GNU-ARM
-# Last Updated for Version: 5.4.1
-# Date of the Last Update: 2015-05-21
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-13
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -137,6 +137,7 @@ QP_ASMS :=
QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c
LIB_DIRS :=
@@ -272,7 +273,8 @@ $(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
$(TARGET_ELF) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.c
$(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
diff --git a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/iar/lwip-qv.ewp b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/iar/lwip-qv.ewp
index 43f96e15..d75db95a 100644
--- a/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/iar/lwip-qv.ewp
+++ b/examples/lwip/arm-cm/lwip_ek-lm3s6965/qv/iar/lwip-qv.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -634,7 +647,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -970,7 +983,7 @@
General
3
- 22
+ 24
1
0
@@ -985,11 +998,6 @@
ListPath
rel
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1016,11 +1024,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1045,7 +1048,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1093,14 +1096,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -1115,6 +1113,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -1592,7 +1618,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1928,7 +1954,7 @@
General
3
- 22
+ 24
1
1
@@ -1943,11 +1969,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1974,11 +1995,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -2003,7 +2019,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2051,14 +2067,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2073,6 +2084,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ LM3S6965 TexasInstruments LM3S6965
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2550,7 +2589,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2877,7 +2916,7 @@
- application
+ Application
$PROJ_DIR$\..\bsp.c
@@ -2908,6 +2947,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qk/bsp.c b/examples/msp430/blinky_msp-exp430f5529lp/qk/bsp.c
index f9725352..24c007b4 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qk/bsp.c
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" on MSP-EXP430F5529LP, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -123,8 +123,14 @@ void QK_onIdle(void) {
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
QF_INT_DISABLE(); /* disable all interrupts */
/* cause the reset of the CPU... */
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.cproject b/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.cproject
index 82d036f3..ab9bca29 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.cproject
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -92,7 +92,7 @@
-
+
@@ -109,7 +109,7 @@
-
+
@@ -188,7 +188,7 @@
-
+
@@ -205,7 +205,7 @@
-
+
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.project b/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.project
index bdd90223..81a1b9ff 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.project
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qk/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qk/ccs
+ C:/qp/qpc/ports/msp430/qk/ccs
blinky.c
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qk/iar/blinky-qk.ewp b/examples/msp430/blinky_msp-exp430f5529lp/qk/iar/blinky-qk.ewp
index c6b824e6..33611f4b 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qk/iar/blinky-qk.ewp
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qk/iar/blinky-qk.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1855,7 +1855,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2981,7 +2981,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3401,6 +3401,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3486,6 +3489,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qv/bsp.c b/examples/msp430/blinky_msp-exp430f5529lp/qv/bsp.c
index 3c74c8b8..1a3cf45e 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qv/bsp.c
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" on MSP-EXP430F5529LP, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -52,6 +52,8 @@
#define LED1 (1U << 0)
#define LED2 (1U << 7)
+#define BTN_S1 (1U << 1)
+
/* ISRs used in this project ===============================================*/
#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
@@ -120,8 +122,14 @@ void QV_onIdle(void) { /* NOTE: called with interrutps DISABLED, see NOTE1 */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
QF_INT_DISABLE(); /* disable all interrupts */
/* cause the reset of the CPU... */
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.cproject b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.cproject
index d7dff92a..f3e23b52 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.cproject
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -90,8 +90,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -108,7 +123,7 @@
-
+
@@ -187,7 +202,7 @@
-
+
@@ -204,7 +219,7 @@
-
+
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.launches/blinky-qv_msp-exp430f5529lp.launch b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.launches/blinky-qv_msp-exp430f5529lp.launch
index 6cde4f92..dd3ac771 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.launches/blinky-qv_msp-exp430f5529lp.launch
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.launches/blinky-qv_msp-exp430f5529lp.launch
@@ -2,10 +2,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.project b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.project
index 119bf9d6..b16e159b 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.project
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qv/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qv/ccs
+ C:/qp/qpc/ports/msp430/qv/ccs
blinky.c
diff --git a/examples/msp430/blinky_msp-exp430f5529lp/qv/iar/blinky-qv.ewp b/examples/msp430/blinky_msp-exp430f5529lp/qv/iar/blinky-qv.ewp
index b8da1202..4f7e4830 100644
--- a/examples/msp430/blinky_msp-exp430f5529lp/qv/iar/blinky-qv.ewp
+++ b/examples/msp430/blinky_msp-exp430f5529lp/qv/iar/blinky-qv.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1851,7 +1851,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2977,7 +2977,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3397,6 +3397,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3473,6 +3476,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/msp430/blinky_msp-exp430g2/qk/bsp.c b/examples/msp430/blinky_msp-exp430g2/qk/bsp.c
index 0d55bd09..54aae0d9 100644
--- a/examples/msp430/blinky_msp-exp430g2/qk/bsp.c
+++ b/examples/msp430/blinky_msp-exp430g2/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: "Blinky" on MSP-EXP430G2, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -75,6 +75,7 @@ static uint32_t const l_led_pin[] = {
QK_ISR_EXIT(); /* inform QK about exiting the ISR */
}
+
/* BSP functions ===========================================================*/
void BSP_init(void) {
WDTCTL = WDTPW | WDTHOLD; /* stop watchdog timer */
@@ -120,9 +121,16 @@ void QK_onIdle(void) {
__low_power_mode_1(); /* Enter LPM1; also ENABLES interrupts */
#endif
}
+
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
QF_INT_DISABLE(); /* disable all interrupts */
/* cause the reset of the CPU... */
diff --git a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.cproject b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.cproject
index 836f6edb..8245044c 100644
--- a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.cproject
+++ b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -83,8 +83,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -101,7 +116,7 @@
-
+
@@ -177,7 +192,7 @@
-
+
@@ -194,7 +209,7 @@
-
+
diff --git a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.launches/blinky-qk_msp-exp430g2.launch b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.launches/blinky-qk_msp-exp430g2.launch
index e93b437d..cca5d0ff 100644
--- a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.launches/blinky-qk_msp-exp430g2.launch
+++ b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.launches/blinky-qk_msp-exp430g2.launch
@@ -2,10 +2,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.project b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.project
index 48239463..53f52335 100644
--- a/examples/msp430/blinky_msp-exp430g2/qk/ccs/.project
+++ b/examples/msp430/blinky_msp-exp430g2/qk/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qk/ccs
+ C:/qp/qpc/ports/msp430/qk/ccs
blinky.c
diff --git a/examples/msp430/blinky_msp-exp430g2/qk/iar/blinky-qk.ewp b/examples/msp430/blinky_msp-exp430g2/qk/iar/blinky-qk.ewp
index 755f6e2e..9629d331 100644
--- a/examples/msp430/blinky_msp-exp430g2/qk/iar/blinky-qk.ewp
+++ b/examples/msp430/blinky_msp-exp430g2/qk/iar/blinky-qk.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1851,7 +1851,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2977,7 +2977,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3397,6 +3397,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3482,6 +3485,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/msp430/blinky_msp-exp430g2/qv/bsp.c b/examples/msp430/blinky_msp-exp430g2/qv/bsp.c
index 43f8f1fc..bd533412 100644
--- a/examples/msp430/blinky_msp-exp430g2/qv/bsp.c
+++ b/examples/msp430/blinky_msp-exp430g2/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: Blinky on MSP-EXP430G2, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "blinky.h"
@@ -121,8 +121,14 @@ void QV_onIdle(void) { /* NOTE: called with interrutps DISABLED, see NOTE1 */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+
QF_INT_DISABLE(); /* disable all interrupts */
/* cause the reset of the CPU... */
diff --git a/examples/msp430/blinky_msp-exp430g2/qv/ccs/.cproject b/examples/msp430/blinky_msp-exp430g2/qv/ccs/.cproject
index fa902169..59407928 100644
--- a/examples/msp430/blinky_msp-exp430g2/qv/ccs/.cproject
+++ b/examples/msp430/blinky_msp-exp430g2/qv/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -84,7 +84,7 @@
-
+
@@ -101,7 +101,7 @@
-
+
@@ -177,7 +177,7 @@
-
+
@@ -194,7 +194,7 @@
-
+
diff --git a/examples/msp430/blinky_msp-exp430g2/qv/ccs/.project b/examples/msp430/blinky_msp-exp430g2/qv/ccs/.project
index cff3fd35..5f601c4c 100644
--- a/examples/msp430/blinky_msp-exp430g2/qv/ccs/.project
+++ b/examples/msp430/blinky_msp-exp430g2/qv/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qk/ccs
+ C:/qp/qpc/ports/msp430/qv/ccs
blinky.c
diff --git a/examples/msp430/blinky_msp-exp430g2/qv/iar/blinky-qv.ewp b/examples/msp430/blinky_msp-exp430g2/qv/iar/blinky-qv.ewp
index 449db830..88ec0371 100644
--- a/examples/msp430/blinky_msp-exp430g2/qv/iar/blinky-qv.ewp
+++ b/examples/msp430/blinky_msp-exp430g2/qv/iar/blinky-qv.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1851,7 +1851,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2977,7 +2977,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3397,6 +3397,9 @@
$PROJ_DIR$\..\..\main.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
QP
@@ -3473,6 +3476,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qk/bsp.c b/examples/msp430/dpp_msp-exp430g2/qk/bsp.c
index 98df7ccf..5e776af2 100644
--- a/examples/msp430/dpp_msp-exp430g2/qk/bsp.c
+++ b/examples/msp430/dpp_msp-exp430g2/qk/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP on MSP-EXP430G2 board, preemptive QK kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -228,11 +228,16 @@ void QK_onIdle(void) {
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
- QF_INT_DISABLE(); /* disable all interrupts */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
/* cause the reset of the CPU... */
+ QF_INT_DISABLE();
WDTCTL = WDTPW | WDTHOLD;
__asm(" push &0xFFFE");
/* return from function does the reset */
@@ -274,69 +279,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.cproject b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.cproject
index ffdd050f..36525783 100644
--- a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.cproject
+++ b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -82,8 +82,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -100,7 +115,7 @@
-
+
@@ -175,7 +190,7 @@
-
+
@@ -192,7 +207,7 @@
-
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.launches/dpp-qk_msp-exp430g2.launch b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.launches/dpp-qk_msp-exp430g2.launch
index 65fca42f..7bc18e67 100644
--- a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.launches/dpp-qk_msp-exp430g2.launch
+++ b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.launches/dpp-qk_msp-exp430g2.launch
@@ -2,10 +2,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.project b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.project
index bfed0323..187d8168 100644
--- a/examples/msp430/dpp_msp-exp430g2/qk/ccs/.project
+++ b/examples/msp430/dpp_msp-exp430g2/qk/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qk/ccs
+ C:/qp/qpc/ports/msp430/qk/ccs
bsp.c
diff --git a/examples/msp430/dpp_msp-exp430g2/qk/iar/dpp-qk.ewp b/examples/msp430/dpp_msp-exp430g2/qk/iar/dpp-qk.ewp
index 55a95b6d..89bb85b7 100644
--- a/examples/msp430/dpp_msp-exp430g2/qk/iar/dpp-qk.ewp
+++ b/examples/msp430/dpp_msp-exp430g2/qk/iar/dpp-qk.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1851,7 +1851,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2977,7 +2977,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3397,6 +3397,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -3488,6 +3491,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qv/bsp.c b/examples/msp430/dpp_msp-exp430g2/qv/bsp.c
index 981356d4..af2c56cd 100644
--- a/examples/msp430/dpp_msp-exp430g2/qv/bsp.c
+++ b/examples/msp430/dpp_msp-exp430g2/qv/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP on MSP-EXP430G2, cooperative QV kernel
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-04
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -228,11 +228,16 @@ void QV_onIdle(void) { /* NOTE: called with interrutps DISABLED, see NOTE1 */
#endif
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- /* implement the error-handling policy for your application!!! */
- QF_INT_DISABLE(); /* disable all interrupts */
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
/* cause the reset of the CPU... */
+ QF_INT_DISABLE();
WDTCTL = WDTPW | WDTHOLD;
__asm(" push &0xFFFE");
/* return from function does the reset */
@@ -274,69 +279,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.cproject b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.cproject
index ad7492c2..7a25c20f 100644
--- a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.cproject
+++ b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.cproject
@@ -12,7 +12,7 @@
-
+
@@ -82,8 +82,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -100,7 +115,7 @@
-
+
@@ -175,7 +190,7 @@
-
+
@@ -192,7 +207,7 @@
-
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.launches/dpp-qv_msp-exp430g2.launch b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.launches/dpp-qv_msp-exp430g2.launch
index 8ccb71f4..0e72533c 100644
--- a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.launches/dpp-qv_msp-exp430g2.launch
+++ b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.launches/dpp-qv_msp-exp430g2.launch
@@ -17,7 +17,7 @@
-
+
diff --git a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.project b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.project
index dd9ca50b..360b75a8 100644
--- a/examples/msp430/dpp_msp-exp430g2/qv/ccs/.project
+++ b/examples/msp430/dpp_msp-exp430g2/qv/ccs/.project
@@ -28,12 +28,17 @@
QP
2
- D:/qp/qpc/source
+ C:/qp/qpc/source
+
+
+ QP_include
+ 2
+ C:/qp/qpc/include
QP_port
2
- D:/qp/qpc/ports/msp430/qv/ccs
+ C:/qp/qpc/ports/msp430/qv/ccs
bsp.c
diff --git a/examples/msp430/dpp_msp-exp430g2/qv/iar/dpp-qv.ewp b/examples/msp430/dpp_msp-exp430g2/qv/iar/dpp-qv.ewp
index a0579771..7a4ec828 100644
--- a/examples/msp430/dpp_msp-exp430g2/qv/iar/dpp-qv.ewp
+++ b/examples/msp430/dpp_msp-exp430g2/qv/iar/dpp-qv.ewp
@@ -725,7 +725,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1851,7 +1851,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2977,7 +2977,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -3397,6 +3397,9 @@
$PROJ_DIR$\..\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\..\table.c
@@ -3479,6 +3482,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
diff --git a/examples/posix/blinky/Makefile b/examples/posix/blinky/Makefile
index a039ec08..3e7f9b8f 100644
--- a/examples/posix/blinky/Makefile
+++ b/examples/posix/blinky/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Generic Makefile for QP/C application, POSIX, GNU compiler
-# Last updated for version 5.4.0
-# Last updated on 2015-04-07
+# Product: Makefile for QP/C, Blinky console, POSIX, GNU compiler
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -41,62 +41,67 @@
# make clean
# make CONF=rel clean
# make CONF=spy clean
-##############################################################################
-#
-# NOTE: Typically, you should have no need to change anything in this Makefile
-#
-##############################################################################
-
#-----------------------------------------------------------------------------
+# project name
+#
+PROJECT := blinky
+
+#-----------------------------------------------------------------------------
+# project directories
+#
+
# location of the QP/C framework (if not provided in an environemnt var.)
ifeq ($(QPC),)
QPC := ../../..
endif
+# QP port used in this project
+QP_PORT_DIR := $(QPC)/ports/posix
+
+# list of all source directories used by this project
+VPATH = \
+ . \
+
+# list of all include directories needed by this project
+INCLUDES = \
+ -I. \
+ -I$(QPC)/include
+
+
+
+#-----------------------------------------------------------------------------
+# files
+#
+
+# C source files...
+C_SRCS := \
+ bsp.c \
+ main.c \
+ blinky.c
+
+# C++ source files...
+CPP_SRCS :=
+
+LIB_DIRS :=
+LIBS :=
+
+# defines...
+# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
+DEFINES := -DQP_API_VERSION=9999
+
+
#-----------------------------------------------------------------------------
# GNU toolset
#
CC := gcc
CPP := g++
-LINK := gcc # for C programs
-#LINK := g++ # for C++ programs
+LINK := gcc # for C programs
+#LINK := g++ # for C++ programs
MKDIR := mkdir -p
RM := rm
-
-#-----------------------------------------------------------------------------
-# directories
-#
-# Project name is derived from the directory name
-PROJECT := $(notdir $(CURDIR))
-
-QP_PORT_DIR := $(QPC)/ports/posix
-APP_DIR := .
-
-VPATH = $(APP_DIR)
-
-# include directories
-INCLUDES = -I. \
- -I$(QPC)/include \
- -I$(QP_PORT_DIR)
-
-# defines
-DEFINES =
-
-#-----------------------------------------------------------------------------
-# files
-#
-
-# C source files
-C_SRCS := $(wildcard *.c)
-
-# C++ source files
-CPP_SRCS := $(wildcard *.cpp)
-
-LD_SCRIPT :=
-
#-----------------------------------------------------------------------------
# build options for various configurations
#
@@ -105,17 +110,14 @@ ifeq (rel, $(CONF)) # Release configuration ..................................
BIN_DIR := rel
-CFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
-
-CPPFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CPPFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
else ifeq (spy, $(CONF)) # Spy configuration ................................
-BIN_DIR := spy
-
# make sure that QTOOLS exists...
ifeq ("$(wildcard $(QTOOLS))","")
$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
@@ -125,30 +127,35 @@ INCLUDES += -I$(QTOOLS)/qspy/include
VPATH += $(QTOOLS)/qspy/source
C_SRCS += qspy.c
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+BIN_DIR := spy
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
else # default Debug configuration ..........................................
BIN_DIR := dbg
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-endif
+endif # .....................................................................
-
-LINKFLAGS = -L$(QP_PORT_DIR)/$(BIN_DIR) -pthread \
- -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
+LINKFLAGS := -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
#-----------------------------------------------------------------------------
+# combine all the soruces...
+INCLUDES += -I$(QP_PORT_DIR)
+LIB_DIRS += -L$(QP_PORT_DIR)/$(BIN_DIR)
+LIBS += -lpthread -lqp
+
C_OBJS := $(patsubst %.c, %.o, $(C_SRCS))
CPP_OBJS := $(patsubst %.cpp, %.o, $(CPP_SRCS))
@@ -174,24 +181,22 @@ all: $(TARGET_EXE)
$(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
-$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ -lqp
-
-$(BIN_DIR)/%.d : %.c
- $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
+$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
-$(BIN_DIR)/%.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+$(BIN_DIR)/%.d : %.c
+ $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
$(BIN_DIR)/%.o : %.cpp
$(CPP) $(CPPFLAGS) -c $< -o $@
+$(BIN_DIR)/%.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
# include dependency files only if our goal depends on their existence
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),show)
@@ -215,3 +220,6 @@ show:
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
+ @echo LIB_DIRS = $(LIB_DIRS)
+ @echo LIBS = $(LIBS)
diff --git a/examples/posix/blinky/bsp.c b/examples/posix/blinky/bsp.c
index 12d0ede1..817c96ad 100644
--- a/examples/posix/blinky/bsp.c
+++ b/examples/posix/blinky/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: Blinky example, POSIX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-07
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "bsp.h"
@@ -101,7 +101,13 @@ void BSP_ledOn(uint_fast8_t n) {
printf("ON\n");
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- fprintf(stderr, "Assertion failed in %s, line %d", file, line);
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ fprintf(stderr, "Assertion failed in %s, location %d", module, loc);
exit(-1);
}
diff --git a/examples/posix/dpp/Makefile b/examples/posix/dpp/Makefile
index a039ec08..7f3665af 100644
--- a/examples/posix/dpp/Makefile
+++ b/examples/posix/dpp/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Generic Makefile for QP/C application, POSIX, GNU compiler
-# Last updated for version 5.4.0
-# Last updated on 2015-04-07
+# Product: Makefile for QP/C, DPP console, POSIX, GNU compiler
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -41,62 +41,68 @@
# make clean
# make CONF=rel clean
# make CONF=spy clean
-##############################################################################
-#
-# NOTE: Typically, you should have no need to change anything in this Makefile
-#
-##############################################################################
-
#-----------------------------------------------------------------------------
+# project name
+#
+PROJECT := dpp
+
+#-----------------------------------------------------------------------------
+# project directories
+#
+
# location of the QP/C framework (if not provided in an environemnt var.)
ifeq ($(QPC),)
QPC := ../../..
endif
+# QP port used in this project
+QP_PORT_DIR := $(QPC)/ports/posix
+
+# list of all source directories used by this project
+VPATH = \
+ .
+
+# list of all include directories needed by this project
+INCLUDES = \
+ -I. \
+ -I$(QPC)/include
+
+
+
+#-----------------------------------------------------------------------------
+# files
+#
+
+# C source files...
+C_SRCS := \
+ bsp.c \
+ main.c \
+ philo.c \
+ table.c
+
+# C++ source files...
+CPP_SRCS :=
+
+LIB_DIRS :=
+LIBS :=
+
+# defines...
+# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
+DEFINES := -DQP_API_VERSION=9999
+
+
#-----------------------------------------------------------------------------
# GNU toolset
#
CC := gcc
CPP := g++
-LINK := gcc # for C programs
-#LINK := g++ # for C++ programs
+LINK := gcc # for C programs
+#LINK := g++ # for C++ programs
MKDIR := mkdir -p
RM := rm
-
-#-----------------------------------------------------------------------------
-# directories
-#
-# Project name is derived from the directory name
-PROJECT := $(notdir $(CURDIR))
-
-QP_PORT_DIR := $(QPC)/ports/posix
-APP_DIR := .
-
-VPATH = $(APP_DIR)
-
-# include directories
-INCLUDES = -I. \
- -I$(QPC)/include \
- -I$(QP_PORT_DIR)
-
-# defines
-DEFINES =
-
-#-----------------------------------------------------------------------------
-# files
-#
-
-# C source files
-C_SRCS := $(wildcard *.c)
-
-# C++ source files
-CPP_SRCS := $(wildcard *.cpp)
-
-LD_SCRIPT :=
-
#-----------------------------------------------------------------------------
# build options for various configurations
#
@@ -105,17 +111,14 @@ ifeq (rel, $(CONF)) # Release configuration ..................................
BIN_DIR := rel
-CFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
-
-CPPFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CPPFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
else ifeq (spy, $(CONF)) # Spy configuration ................................
-BIN_DIR := spy
-
# make sure that QTOOLS exists...
ifeq ("$(wildcard $(QTOOLS))","")
$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
@@ -125,30 +128,35 @@ INCLUDES += -I$(QTOOLS)/qspy/include
VPATH += $(QTOOLS)/qspy/source
C_SRCS += qspy.c
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+BIN_DIR := spy
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
else # default Debug configuration ..........................................
BIN_DIR := dbg
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-endif
+endif # .....................................................................
-
-LINKFLAGS = -L$(QP_PORT_DIR)/$(BIN_DIR) -pthread \
- -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
+LINKFLAGS := -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
#-----------------------------------------------------------------------------
+# combine all the soruces...
+INCLUDES += -I$(QP_PORT_DIR)
+LIB_DIRS += -L$(QP_PORT_DIR)/$(BIN_DIR)
+LIBS += -lpthread -lqp
+
C_OBJS := $(patsubst %.c, %.o, $(C_SRCS))
CPP_OBJS := $(patsubst %.cpp, %.o, $(CPP_SRCS))
@@ -174,24 +182,22 @@ all: $(TARGET_EXE)
$(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
-$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ -lqp
-
-$(BIN_DIR)/%.d : %.c
- $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
+$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
-$(BIN_DIR)/%.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+$(BIN_DIR)/%.d : %.c
+ $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
$(BIN_DIR)/%.o : %.cpp
$(CPP) $(CPPFLAGS) -c $< -o $@
+$(BIN_DIR)/%.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
# include dependency files only if our goal depends on their existence
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),show)
@@ -215,3 +221,6 @@ show:
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
+ @echo LIB_DIRS = $(LIB_DIRS)
+ @echo LIBS = $(LIBS)
diff --git a/examples/posix/dpp/bsp.c b/examples/posix/dpp/bsp.c
index d28051d0..af45a285 100644
--- a/examples/posix/dpp/bsp.c
+++ b/examples/posix/dpp/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, POSIX
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-07
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -56,17 +56,17 @@ static uint32_t l_rnd; /* random seed */
#endif
/* BSP functions ===========================================================*/
-/*..........................................................................*/
void BSP_init() {
- printf("Dining Philosopher Problem example"
- "\nQEP %s\nQF %s\n"
- "Press p to pause\n"
- "Press s to serve\n"
+
+ printf("Dining Philosophers Problem example"
+ "\nQP %s\n"
+ "Press 'p' to pause\n"
+ "Press 's' to serve\n"
"Press ESC to quit...\n",
- QEP_getVersion(),
- QF_getVersion());
+ QP_versionStr);
BSP_randomSeed(1234U);
+
Q_ALLEGE(QS_INIT((void *)0));
QS_OBJ_DICTIONARY(&l_clock_tick); /* must be called *after* QF_init() */
QS_USR_DICTIONARY(PHILO_STAT);
@@ -125,7 +125,7 @@ void QF_onClockTick(void) {
struct timeval timeout = { 0 }; /* timeout for select() */
fd_set con; /* FD set representing the console */
- QF_TICK(&l_clock_tick); /* perform the QF clock tick processing */
+ QF_TICK_X(0U, &l_clock_tick); /* perform the QF clock tick processing */
FD_ZERO(&con);
FD_SET(0, &con);
@@ -145,10 +145,15 @@ void QF_onClockTick(void) {
}
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- QS_ASSERTION(file, line);
- fprintf(stderr, "Assertion failed in %s, line %d", file, line);
- QF_stop();
+void Q_onAssert(char const Q_ROM *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ fprintf(stderr, "Assertion failed in %s, loc %d", module, loc);
+ exit(-1);
}
/* QS callbacks ============================================================*/
@@ -183,8 +188,22 @@ static void *idleThread(void *par) { /* the expected P-Thread signature */
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
static uint8_t qsBuf[4*1024]; // 4K buffer for Quantum Spy
+
+ (void)arg;
QS_initBuf(qsBuf, sizeof(qsBuf));
+ printf("QSPY_config(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n",
+ (int)QP_VERSION, // version
+ (int)QS_OBJ_PTR_SIZE, // objPtrSize
+ (int)QS_FUN_PTR_SIZE, // funPtrSize
+ (int)QS_TIME_SIZE, // tstampSize
+ (int)Q_SIGNAL_SIZE, // sigSize,
+ (int)QF_EVENT_SIZ_SIZE, // evtSize
+ (int)QF_EQUEUE_CTR_SIZE, // queueCtrSize
+ (int)QF_MPOOL_CTR_SIZE, // poolCtrSize
+ (int)QF_MPOOL_SIZ_SIZE, // poolBlkSize
+ (int)QF_TIMEEVT_CTR_SIZE);
+
QSPY_config(QP_VERSION, // version
QS_OBJ_PTR_SIZE, // objPtrSize
QS_FUN_PTR_SIZE, // funPtrSize
@@ -199,49 +218,22 @@ uint8_t QS_onStartup(void const *arg) {
(void *)0,
(QSPY_CustParseFun)0); // customized parser function
- QS_FILTER_ON(QS_ALL_RECORDS);
+ /* set up the QS filters... */
+ QS_FILTER_ON(QS_QEP_STATE_ENTRY);
+ QS_FILTER_ON(QS_QEP_STATE_EXIT);
+ QS_FILTER_ON(QS_QEP_STATE_INIT);
+ QS_FILTER_ON(QS_QEP_INIT_TRAN);
+ QS_FILTER_ON(QS_QEP_INTERN_TRAN);
+ QS_FILTER_ON(QS_QEP_TRAN);
+ QS_FILTER_ON(QS_QEP_IGNORED);
+ QS_FILTER_ON(QS_QEP_DISPATCH);
+ QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_OFF(QS_QEP_STATE_ENTRY);
-// QS_FILTER_OFF(QS_QEP_STATE_EXIT);
-// QS_FILTER_OFF(QS_QEP_STATE_INIT);
-// QS_FILTER_OFF(QS_QEP_TRAN_HIST);
-// QS_FILTER_OFF(QS_QEP_INTERN_TRAN);
-// QS_FILTER_OFF(QS_QEP_TRAN);
-// QS_FILTER_OFF(QS_QEP_IGNORED);
-// QS_FILTER_OFF(QS_QEP_DISPATCH);
-// QS_FILTER_OFF(QS_QEP_UNHANDLED);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
+ QS_FILTER_ON(QS_QF_PUBLISH);
- QS_FILTER_OFF(QS_QF_ACTIVE_ADD);
- QS_FILTER_OFF(QS_QF_ACTIVE_REMOVE);
- QS_FILTER_OFF(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_OFF(QS_QF_ACTIVE_UNSUBSCRIBE);
- QS_FILTER_OFF(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_OFF(QS_QF_ACTIVE_POST_LIFO);
- QS_FILTER_OFF(QS_QF_ACTIVE_GET);
- QS_FILTER_OFF(QS_QF_ACTIVE_GET_LAST);
- QS_FILTER_OFF(QS_QF_EQUEUE_INIT);
- QS_FILTER_OFF(QS_QF_EQUEUE_POST_FIFO);
- QS_FILTER_OFF(QS_QF_EQUEUE_POST_LIFO);
- QS_FILTER_OFF(QS_QF_EQUEUE_GET);
- QS_FILTER_OFF(QS_QF_EQUEUE_GET_LAST);
- QS_FILTER_OFF(QS_QF_MPOOL_INIT);
- QS_FILTER_OFF(QS_QF_MPOOL_GET);
- QS_FILTER_OFF(QS_QF_MPOOL_PUT);
- QS_FILTER_OFF(QS_QF_PUBLISH);
- QS_FILTER_OFF(QS_QF_NEW);
- QS_FILTER_OFF(QS_QF_GC_ATTEMPT);
- QS_FILTER_OFF(QS_QF_GC);
- QS_FILTER_OFF(QS_QF_TICK);
- QS_FILTER_OFF(QS_QF_TIMEEVT_ARM);
- QS_FILTER_OFF(QS_QF_TIMEEVT_AUTO_DISARM);
- QS_FILTER_OFF(QS_QF_TIMEEVT_DISARM_ATTEMPT);
- QS_FILTER_OFF(QS_QF_TIMEEVT_DISARM);
- QS_FILTER_OFF(QS_QF_TIMEEVT_REARM);
- QS_FILTER_OFF(QS_QF_TIMEEVT_POST);
- QS_FILTER_OFF(QS_QF_CRIT_ENTRY);
- QS_FILTER_OFF(QS_QF_CRIT_EXIT);
- QS_FILTER_OFF(QS_QF_ISR_ENTRY);
- QS_FILTER_OFF(QS_QF_ISR_EXIT);
+ QS_FILTER_ON(PHILO_STAT);
{
pthread_attr_t attr;
diff --git a/examples/posix/dpp/make.tcl b/examples/posix/dpp/make.tcl
deleted file mode 100644
index cfd9faaf..00000000
--- a/examples/posix/dpp/make.tcl
+++ /dev/null
@@ -1,194 +0,0 @@
-##############################################################################
-# Product: TCL make script for DPP, POSIX port, GNU compiler
-# Last Updated for Version: 5.4.0
-# Date of the Last Update: 2015-04-07
-#
-# Q u a n t u m L e a P s
-# ---------------------------
-# innovating embedded systems
-#
-# Copyright (C) Quantum Leaps, LLC. All rights reserved.
-#
-# This program is open source software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as published
-# by the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# Alternatively, this program may be distributed and modified under the
-# terms of Quantum Leaps commercial licenses, which expressly supersede
-# the GNU General Public License and are specifically designed for
-# licensees interested in retaining the proprietary status of their code.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-#
-# Contact information:
-# Web: http://www.state-machine.com
-# Email: info@state-machine.com
-##############################################################################
-#
-# usage
-# $tclsh make.tcl
-# $tclsh make.tcl clean
-# $tclsh make.tcl CONF=rel
-# $tclsh make.tcl CONF=rel clean
-# $tclsh make.tcl CONF=spy
-# $tclsh make.tcl CONF=spy clean
-#
-
-set PROJECT "dpp"
-set C_FILES [glob -nocomplain *.c]
-
-set QPC "[file normalize $env(QPC)]"
-set QTOOLS "[file normalize $env(QTOOLS)]"
-set QP_PORT_DIR "$QPC/ports/posix"
-set INCLUDES "-I. -I$QPC/include -I$QP_PORT_DIR"
-set DEFINES ""
-
-#=============================================================================
-# typically no need to change anything below this line
-#
-set CC "gcc"
-set CPP "g++"
-set LINK "gcc"
-set CFLAGS "-c -Wall -pthread"
-
-set BIN_DIR "dbg"
-
-#.............................................................................
-# execute a build command
-proc make.exec args {
- set cmd [join $args]
- puts $cmd
- catch {eval exec -- $cmd} msg
- if {[string length $msg]} {
- puts $msg
- }
- global EXEC
- incr EXEC
-}
-#.............................................................................
-proc make.filesAreNewer {depList f} {
- foreach dep $depList {
- if {![file exists $dep] || ![file exists $f]} {
- return 1
- }
- if {[file mtime $dep] > [file mtime $f]} {
- return 1
- }
- }
- return 0
-}
-#.............................................................................
-proc make.fileChangeExt { file ext } {
- return [file tail [file rootname $file]]$ext
-}
-#.............................................................................
-proc make.genDepList {depFile} {
- set fileList {}
- if { [catch {open $depFile "r"} fid] } {
- puts stderr $fid
- return $fileList
- }
- set contentList [split $[read -nonewline $fid] "\n "]
- catch { close $fid }
-
- foreach str $contentList {
- if { $str != "\\" && $str != " "} {
- set $str [file normalize $str]
- if { [file exists $str] } {
- lappend fileList [file normalize $str]
- }
- }
- }
- return $fileList
-}
-#.............................................................................
-proc make.delete { dir pattern } {
- set fileList [glob -nocomplain -directory $dir $pattern]
- puts -nonewline "deleting $dir/$pattern"
- set n 0
- foreach f $fileList {
- file delete $f
- incr n
- }
- puts "($n)"
-}
-
-#=============================================================================
-proc makeDeps { srcList depDir } {
- foreach f $srcList {
- set depFile $depDir/[make.fileChangeExt $f ".d"]
- if { [make.filesAreNewer $f $depFile] } {
- global CC INCLUDES DEFINES
- make.exec $CC -MM -MT [make.fileChangeExt $f ".o"] \
- $INCLUDES $DEFINES $f > $depFile
- }
- }
-}
-#.............................................................................
-proc makeCobjs { srcList depDir binDir } {
- foreach f $srcList {
- set objFile $binDir/[make.fileChangeExt $f ".o"]
- set depList [make.genDepList $depDir/[make.fileChangeExt $f ".d"]]
- if { [make.filesAreNewer $depList $objFile] } {
- global CC CFLAGS INCLUDES DEFINES
- make.exec $CC $CFLAGS $INCLUDES $DEFINES $f -o $objFile
- }
- }
-}
-#.............................................................................
-proc makeExe { srcList binDir } {
- set objList {}
- foreach f $srcList {
- set objFile $binDir/[make.fileChangeExt $f ".o"]
- lappend objList $objFile
- }
- global PROJECT
- set exeFile $binDir/$PROJECT
- if { [make.filesAreNewer $objList $exeFile] } {
- global LINK QP_PORT_DIR
- make.exec $LINK -L$QP_PORT_DIR/$binDir -pthread -o $exeFile \
- [join $objList] -lqp
- }
-}
-
-#-----------------------------------------------------------------------------
-if { [lsearch $argv "CONF=*"] >= 0 } {
- set CONF [string range [lindex $argv [lsearch $argv "CONF=*"]] 5 end]
- set BIN_DIR $CONF
- if { [string equal -nocase $CONF "rel"] } {
- append CFLAGS " -Os -DNDEBUG"
- } elseif { [string equal -nocase $CONF "spy"] } {
- append CFLAGS " -g -DQ_SPY"
- append INCLUDES " -I$QTOOLS/qspy/include"
- lappend C_FILES $QTOOLS/qspy/source/qspy.c
- }
-} else {
- append CFLAGS " -g"
-}
-
-if { 0 <= [lsearch $argv "clean"] } {
-
- make.delete $BIN_DIR *.d
- make.delete $BIN_DIR *.o
- make.delete $BIN_DIR $PROJECT
- make.delete $BIN_DIR $PROJECT.map
-
-} else {
- set EXEC 0
- if { ![file exists $BIN_DIR] } {
- file mkdir $BIN_DIR
- }
- makeDeps $C_FILES $BIN_DIR
- makeCobjs $C_FILES $BIN_DIR $BIN_DIR
- makeExe $C_FILES $BIN_DIR
- if { $EXEC == 0 } {
- puts "UP TO DATE"
- }
-}
diff --git a/examples/posix/qhsmtst/Makefile b/examples/posix/qhsmtst/Makefile
index a039ec08..2d64eae5 100644
--- a/examples/posix/qhsmtst/Makefile
+++ b/examples/posix/qhsmtst/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Generic Makefile for QP/C application, POSIX, GNU compiler
-# Last updated for version 5.4.0
-# Last updated on 2015-04-07
+# Product: Makefile for QP/C, QHsmTst console, POSIX, GNU compiler
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -41,62 +41,66 @@
# make clean
# make CONF=rel clean
# make CONF=spy clean
-##############################################################################
-#
-# NOTE: Typically, you should have no need to change anything in this Makefile
-#
-##############################################################################
-
#-----------------------------------------------------------------------------
+# project name
+#
+PROJECT := qhsmtst
+
+#-----------------------------------------------------------------------------
+# project directories
+#
+
# location of the QP/C framework (if not provided in an environemnt var.)
ifeq ($(QPC),)
QPC := ../../..
endif
+# QP port used in this project
+QP_PORT_DIR := $(QPC)/ports/posix
+
+# list of all source directories used by this project
+VPATH = \
+ . \
+
+# list of all include directories needed by this project
+INCLUDES = \
+ -I. \
+ -I$(QPC)/include
+
+
+
+#-----------------------------------------------------------------------------
+# files
+#
+
+# C source files...
+C_SRCS := \
+ main.c \
+ qhsmtst.c
+
+# C++ source files...
+CPP_SRCS :=
+
+LIB_DIRS :=
+LIBS :=
+
+# defines...
+# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
+DEFINES := -DQP_API_VERSION=9999
+
+
#-----------------------------------------------------------------------------
# GNU toolset
#
CC := gcc
CPP := g++
-LINK := gcc # for C programs
-#LINK := g++ # for C++ programs
+LINK := gcc # for C programs
+#LINK := g++ # for C++ programs
MKDIR := mkdir -p
RM := rm
-
-#-----------------------------------------------------------------------------
-# directories
-#
-# Project name is derived from the directory name
-PROJECT := $(notdir $(CURDIR))
-
-QP_PORT_DIR := $(QPC)/ports/posix
-APP_DIR := .
-
-VPATH = $(APP_DIR)
-
-# include directories
-INCLUDES = -I. \
- -I$(QPC)/include \
- -I$(QP_PORT_DIR)
-
-# defines
-DEFINES =
-
-#-----------------------------------------------------------------------------
-# files
-#
-
-# C source files
-C_SRCS := $(wildcard *.c)
-
-# C++ source files
-CPP_SRCS := $(wildcard *.cpp)
-
-LD_SCRIPT :=
-
#-----------------------------------------------------------------------------
# build options for various configurations
#
@@ -105,17 +109,14 @@ ifeq (rel, $(CONF)) # Release configuration ..................................
BIN_DIR := rel
-CFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
-
-CPPFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CPPFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
else ifeq (spy, $(CONF)) # Spy configuration ................................
-BIN_DIR := spy
-
# make sure that QTOOLS exists...
ifeq ("$(wildcard $(QTOOLS))","")
$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
@@ -125,30 +126,35 @@ INCLUDES += -I$(QTOOLS)/qspy/include
VPATH += $(QTOOLS)/qspy/source
C_SRCS += qspy.c
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+BIN_DIR := spy
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
else # default Debug configuration ..........................................
BIN_DIR := dbg
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-endif
+endif # .....................................................................
-
-LINKFLAGS = -L$(QP_PORT_DIR)/$(BIN_DIR) -pthread \
- -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
+LINKFLAGS := -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
#-----------------------------------------------------------------------------
+# combine all the soruces...
+INCLUDES += -I$(QP_PORT_DIR)
+LIB_DIRS += -L$(QP_PORT_DIR)/$(BIN_DIR)
+LIBS += -lpthread -lqp
+
C_OBJS := $(patsubst %.c, %.o, $(C_SRCS))
CPP_OBJS := $(patsubst %.cpp, %.o, $(CPP_SRCS))
@@ -174,24 +180,22 @@ all: $(TARGET_EXE)
$(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
-$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ -lqp
-
-$(BIN_DIR)/%.d : %.c
- $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
+$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
-$(BIN_DIR)/%.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+$(BIN_DIR)/%.d : %.c
+ $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
$(BIN_DIR)/%.o : %.cpp
$(CPP) $(CPPFLAGS) -c $< -o $@
+$(BIN_DIR)/%.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
# include dependency files only if our goal depends on their existence
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),show)
@@ -215,3 +219,6 @@ show:
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
+ @echo LIB_DIRS = $(LIB_DIRS)
+ @echo LIBS = $(LIBS)
diff --git a/examples/posix/qmsmtst/Makefile b/examples/posix/qmsmtst/Makefile
index a039ec08..824d5d2b 100644
--- a/examples/posix/qmsmtst/Makefile
+++ b/examples/posix/qmsmtst/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Generic Makefile for QP/C application, POSIX, GNU compiler
-# Last updated for version 5.4.0
-# Last updated on 2015-04-07
+# Product: Makefile for QP/C, QMsmTst console, POSIX, GNU compiler
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -41,62 +41,66 @@
# make clean
# make CONF=rel clean
# make CONF=spy clean
-##############################################################################
-#
-# NOTE: Typically, you should have no need to change anything in this Makefile
-#
-##############################################################################
-
#-----------------------------------------------------------------------------
+# project name
+#
+PROJECT := qmsmtst
+
+#-----------------------------------------------------------------------------
+# project directories
+#
+
# location of the QP/C framework (if not provided in an environemnt var.)
ifeq ($(QPC),)
QPC := ../../..
endif
+# QP port used in this project
+QP_PORT_DIR := $(QPC)/ports/posix
+
+# list of all source directories used by this project
+VPATH = \
+ . \
+
+# list of all include directories needed by this project
+INCLUDES = \
+ -I. \
+ -I$(QPC)/include
+
+
+
+#-----------------------------------------------------------------------------
+# files
+#
+
+# C source files...
+C_SRCS := \
+ main.c \
+ qmsmtst.c
+
+# C++ source files...
+CPP_SRCS :=
+
+LIB_DIRS :=
+LIBS :=
+
+# defines...
+# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
+DEFINES := -DQP_API_VERSION=9999
+
+
#-----------------------------------------------------------------------------
# GNU toolset
#
CC := gcc
CPP := g++
-LINK := gcc # for C programs
-#LINK := g++ # for C++ programs
+LINK := gcc # for C programs
+#LINK := g++ # for C++ programs
MKDIR := mkdir -p
RM := rm
-
-#-----------------------------------------------------------------------------
-# directories
-#
-# Project name is derived from the directory name
-PROJECT := $(notdir $(CURDIR))
-
-QP_PORT_DIR := $(QPC)/ports/posix
-APP_DIR := .
-
-VPATH = $(APP_DIR)
-
-# include directories
-INCLUDES = -I. \
- -I$(QPC)/include \
- -I$(QP_PORT_DIR)
-
-# defines
-DEFINES =
-
-#-----------------------------------------------------------------------------
-# files
-#
-
-# C source files
-C_SRCS := $(wildcard *.c)
-
-# C++ source files
-CPP_SRCS := $(wildcard *.cpp)
-
-LD_SCRIPT :=
-
#-----------------------------------------------------------------------------
# build options for various configurations
#
@@ -105,17 +109,14 @@ ifeq (rel, $(CONF)) # Release configuration ..................................
BIN_DIR := rel
-CFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
-
-CPPFLAGS = -c -Wall -W -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
+CPPFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
else ifeq (spy, $(CONF)) # Spy configuration ................................
-BIN_DIR := spy
-
# make sure that QTOOLS exists...
ifeq ("$(wildcard $(QTOOLS))","")
$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
@@ -125,30 +126,35 @@ INCLUDES += -I$(QTOOLS)/qspy/include
VPATH += $(QTOOLS)/qspy/source
C_SRCS += qspy.c
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+BIN_DIR := spy
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
+
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
else # default Debug configuration ..........................................
BIN_DIR := dbg
-CFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-CPPFLAGS = -c -Wall -W -g -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -pthread
+CPPFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-endif
+endif # .....................................................................
-
-LINKFLAGS = -L$(QP_PORT_DIR)/$(BIN_DIR) -pthread \
- -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
+LINKFLAGS := -Wl,-Map,$(BIN_DIR)/$(PROJECT).map,--cref,--gc-sections
#-----------------------------------------------------------------------------
+# combine all the soruces...
+INCLUDES += -I$(QP_PORT_DIR)
+LIB_DIRS += -L$(QP_PORT_DIR)/$(BIN_DIR)
+LIBS += -lpthread -lqp
+
C_OBJS := $(patsubst %.c, %.o, $(C_SRCS))
CPP_OBJS := $(patsubst %.cpp, %.o, $(CPP_SRCS))
@@ -174,24 +180,22 @@ all: $(TARGET_EXE)
$(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
-$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT)
- $(LINK) $(LINKFLAGS) -o $@ $^ -lqp
-
-$(BIN_DIR)/%.d : %.c
- $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
+$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
-$(BIN_DIR)/%.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+$(BIN_DIR)/%.d : %.c
+ $(CC) -MM -MT $(@:.d=.o) $(CFLAGS) $< > $@
$(BIN_DIR)/%.o : %.cpp
$(CPP) $(CPPFLAGS) -c $< -o $@
+$(BIN_DIR)/%.o : %.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
# include dependency files only if our goal depends on their existence
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),show)
@@ -215,3 +219,6 @@ show:
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
+ @echo LIB_DIRS = $(LIB_DIRS)
+ @echo LIBS = $(LIBS)
diff --git a/examples/posix/qmsmtst/log.txt b/examples/posix/qmsmtst/log.txt
new file mode 100644
index 00000000..9d8d814f
--- /dev/null
+++ b/examples/posix/qmsmtst/log.txt
@@ -0,0 +1,23 @@
+QMsmTst example, QEP 5.5.0
+top-INIT;s-ENTRY;s2-ENTRY;s2-INIT;s21-ENTRY;s211-ENTRY;
+A:s21-A;s211-EXIT;s21-EXIT;s21-ENTRY;s21-INIT;s211-ENTRY;
+B:s21-B;s211-EXIT;s211-ENTRY;
+D:s211-D;s211-EXIT;s21-INIT;s211-ENTRY;
+E:s-E;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s11-ENTRY;
+I:s1-I;
+F:s1-F;s11-EXIT;s1-EXIT;s2-ENTRY;s21-ENTRY;s211-ENTRY;
+I:s2-I;
+I:s-I;
+F:s2-F;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s11-ENTRY;
+A:s1-A;s11-EXIT;s1-EXIT;s1-ENTRY;s1-INIT;s11-ENTRY;
+B:s1-B;s11-EXIT;s11-ENTRY;
+D:s1-D;s11-EXIT;s1-EXIT;s-INIT;s1-ENTRY;s11-ENTRY;
+D:s11-D;s11-EXIT;s1-INIT;s11-ENTRY;
+E:s-E;s11-EXIT;s1-EXIT;s1-ENTRY;s11-ENTRY;
+G:s11-G;s11-EXIT;s1-EXIT;s2-ENTRY;s21-ENTRY;s211-ENTRY;
+H:s211-H;s211-EXIT;s21-EXIT;s2-EXIT;s-INIT;s1-ENTRY;s11-ENTRY;
+H:s11-H;s11-EXIT;s1-EXIT;s-INIT;s1-ENTRY;s11-ENTRY;
+C:s1-C;s11-EXIT;s1-EXIT;s2-ENTRY;s2-INIT;s21-ENTRY;s211-ENTRY;
+G:s21-G;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s1-INIT;s11-ENTRY;
+C:s1-C;s11-EXIT;s1-EXIT;s2-ENTRY;s2-INIT;s21-ENTRY;s211-ENTRY;
+C:s2-C;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s1-INIT;s11-ENTRY;
\ No newline at end of file
diff --git a/examples/threadx/dpp_visual-studio/bsp.c b/examples/threadx/dpp_visual-studio/bsp.c
index af4ba7d7..6143ccd5 100644
--- a/examples/threadx/dpp_visual-studio/bsp.c
+++ b/examples/threadx/dpp_visual-studio/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, ThreadX demo on Windows
-* Last updated for version 5.4.0
-* Last updated on 2014-05-07
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-29
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -52,6 +52,7 @@ static unsigned l_rnd; /* random seed */
PHILO_STAT = QS_USER
};
/* ThreadX thread and thread function for QS output, see NOTE1 */
+ static char const *l_hostAndPort = "localhost:6601";
static TX_THREAD l_qs_output_thread;
static void qs_thread_function(ULONG thread_input);
static ULONG qs_thread_stkSto[64];
@@ -60,20 +61,17 @@ static unsigned l_rnd; /* random seed */
/*..........................................................................*/
void BSP_init(int argc, char *argv[]) {
- static char const *hostAndPort = "localhost:6601";
-
printf("Dining Philosopher Problem example"
- "\nQEP %s\nQF %s\n"
+ "\nQP %s\n"
"Press Ctrl-C to quit...\n",
- QEP_getVersion(),
- QF_getVersion());
+ QP_versionStr);
BSP_randomSeed(1234U); /* seed the random number generator */
if (argc > 1) { /* port specified? */
- hostAndPort = argv[1];
+ l_hostAndPort = argv[1];
}
- if (!QS_INIT(hostAndPort)) {
+ if (!QS_INIT(l_hostAndPort)) {
printf("\nUnable to open QSpy socket\n");
exit(-1);
}
@@ -133,16 +131,16 @@ void QF_onStartup(void) {
#ifdef Q_SPY
/* start a ThreadX timer to perform QS output. See NOTE1... */
Q_ALLEGE(tx_thread_create(&l_qs_output_thread, /* thread control block */
- "QS", /* thread name */
- &qs_thread_function, /* thread function */
- (ULONG)0, /* thread input (unsued) */
- qs_thread_stkSto, /* stack start */
- sizeof(qs_thread_stkSto), /* stack size in bytes */
- TX_MAX_PRIORITIES - 1,/* ThreadX priority (lowest possible)*/
- TX_MAX_PRIORITIES - 1,/* preemption threshold disabled */
- TX_NO_TIME_SLICE,
- TX_AUTO_START)
- == TX_SUCCESS);
+ "QS", /* thread name */
+ &qs_thread_function, /* thread function */
+ (ULONG)0, /* thread input (unsued) */
+ qs_thread_stkSto, /* stack start */
+ sizeof(qs_thread_stkSto), /* stack size in bytes */
+ TX_MAX_PRIORITIES - 1, /* ThreadX priority (lowest possible)*/
+ TX_MAX_PRIORITIES - 1, /* preemption threshold disabled */
+ TX_NO_TIME_SLICE,
+ TX_AUTO_START)
+ == TX_SUCCESS);
#endif /* Q_SPY */
}
/*..........................................................................*/
@@ -205,9 +203,9 @@ uint8_t QS_onStartup(void const *arg) {
char host[64];
char const *src;
char *dst;
- USHORT port = 6601; /* default port */
+ USHORT port = 6601; /* default QSPY server port */
ULONG ioctl_opt = 1;
- struct sockaddr_in servAddr;
+ struct sockaddr_in sockAddr;
struct hostent *server;
QS_initBuf(qsBuf, sizeof(qsBuf));
@@ -230,31 +228,29 @@ uint8_t QS_onStartup(void const *arg) {
l_sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); /* TCP socket */
if (l_sock == INVALID_SOCKET){
- printf("Socket cannot be created.\n"
- "Windows socket error 0x%08X.",
+ printf("Socket cannot be created; error 0x%08X\n",
WSAGetLastError());
- return (uint8_t)0;
+ return (uint8_t)0; /* failure */
}
server = gethostbyname(host);
if (server == NULL) {
- printf("QSpy host name cannot be resolved.\n"
- "Windows socket error 0x%08X.",
+ printf("QSpy host name cannot be resolved; error 0x%08X\n",
WSAGetLastError());
return (uint8_t)0;
}
- memset(&servAddr, 0, sizeof(servAddr));
- servAddr.sin_family = AF_INET;
- memcpy(&servAddr.sin_addr, server->h_addr, server->h_length);
- servAddr.sin_port = htons(port);
- if (connect(l_sock, (struct sockaddr *)&servAddr, sizeof(servAddr))
+
+ memset(&sockAddr, 0, sizeof(sockAddr));
+ sockAddr.sin_family = AF_INET;
+ memcpy(&sockAddr.sin_addr, server->h_addr, server->h_length);
+ sockAddr.sin_port = htons(port);
+ if (connect(l_sock, (struct sockaddr *)&sockAddr, sizeof(sockAddr))
== SOCKET_ERROR)
{
- printf("Socket cannot be connected to the QSpy server.\n"
- "Windows socket error 0x%08X.",
+ printf("Cannot connect to the QSPY server; error 0x%08X\n",
WSAGetLastError());
QS_EXIT();
- return (uint8_t)0;
+ return (uint8_t)0; /* failure */
}
/* Set the socket to non-blocking mode. */
@@ -263,16 +259,21 @@ uint8_t QS_onStartup(void const *arg) {
"Windows socket error 0x%08X.",
WSAGetLastError());
QS_EXIT();
- return (uint8_t)0;
+ return (uint8_t)0; /* failure */
}
- QS_FILTER_ON(QS_ALL_RECORDS);
- QS_FILTER_OFF(QS_QF_CRIT_ENTRY);
- QS_FILTER_OFF(QS_QF_CRIT_EXIT);
- QS_FILTER_OFF(QS_QF_ISR_ENTRY);
- QS_FILTER_OFF(QS_QF_ISR_EXIT);
- QS_FILTER_OFF(QS_QF_TICK);
- QS_FILTER_OFF(QS_QK_SCHEDULE);
+ // Set QS global filters...
+ QS_FILTER_ON(QS_QEP_STATE_ENTRY);
+ QS_FILTER_ON(QS_QEP_STATE_EXIT);
+ QS_FILTER_ON(QS_QEP_STATE_INIT);
+ QS_FILTER_ON(QS_QEP_TRAN_HIST);
+ QS_FILTER_ON(QS_QEP_INTERN_TRAN);
+ QS_FILTER_ON(QS_QEP_TRAN);
+ QS_FILTER_ON(QS_QEP_IGNORED);
+ QS_FILTER_ON(QS_QEP_DISPATCH);
+ QS_FILTER_ON(QS_QEP_UNHANDLED);
+
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* success */
}
diff --git a/examples/threadx/dpp_visual-studio/dpp.vcxproj b/examples/threadx/dpp_visual-studio/dpp.vcxproj
index 783f6a8f..8a20f897 100644
--- a/examples/threadx/dpp_visual-studio/dpp.vcxproj
+++ b/examples/threadx/dpp_visual-studio/dpp.vcxproj
@@ -195,8 +195,12 @@
true
.\Spy/dpp.bsc
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
+
diff --git a/examples/threadx/dpp_visual-studio/dpp.vcxproj.filters b/examples/threadx/dpp_visual-studio/dpp.vcxproj.filters
index db5e3ae3..9b0347f3 100644
--- a/examples/threadx/dpp_visual-studio/dpp.vcxproj.filters
+++ b/examples/threadx/dpp_visual-studio/dpp.vcxproj.filters
@@ -47,6 +47,7 @@
QP_port
+
diff --git a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvoptx b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
index a01afa05..ced7a531 100644
--- a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
+++ b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvoptx
@@ -212,6 +212,7 @@
+ 0
@@ -382,6 +383,7 @@
+ 0
@@ -569,6 +571,7 @@
+ 0
@@ -695,6 +698,19 @@
0
0
+
+ 1
+ 10
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -705,7 +721,7 @@
0
2
- 10
+ 11
5
0
0
@@ -718,7 +734,7 @@
2
- 11
+ 12
5
0
0
@@ -731,7 +747,7 @@
2
- 12
+ 13
5
0
0
@@ -744,7 +760,7 @@
2
- 13
+ 14
1
0
0
@@ -757,7 +773,7 @@
2
- 14
+ 15
5
0
0
@@ -770,7 +786,7 @@
2
- 15
+ 16
5
0
0
@@ -783,7 +799,7 @@
2
- 16
+ 17
2
0
0
@@ -804,7 +820,7 @@
0
3
- 17
+ 18
5
0
0
@@ -817,7 +833,7 @@
3
- 18
+ 19
1
0
0
@@ -830,7 +846,7 @@
3
- 19
+ 20
1
0
0
@@ -843,7 +859,7 @@
3
- 20
+ 21
1
0
0
@@ -856,7 +872,7 @@
3
- 21
+ 22
1
0
0
@@ -869,7 +885,7 @@
3
- 22
+ 23
1
0
0
@@ -882,7 +898,7 @@
3
- 23
+ 24
1
0
0
@@ -895,7 +911,7 @@
3
- 24
+ 25
1
0
0
@@ -908,7 +924,7 @@
3
- 25
+ 26
1
0
0
@@ -921,7 +937,7 @@
3
- 26
+ 27
1
0
0
@@ -934,7 +950,7 @@
3
- 27
+ 28
1
0
0
@@ -947,7 +963,7 @@
3
- 28
+ 29
5
0
0
@@ -968,7 +984,7 @@
0
4
- 29
+ 30
5
0
0
@@ -981,7 +997,7 @@
4
- 30
+ 31
2
0
0
@@ -994,7 +1010,7 @@
4
- 31
+ 32
1
0
0
@@ -1007,7 +1023,7 @@
4
- 32
+ 33
1
0
0
@@ -1028,7 +1044,7 @@
0
5
- 33
+ 34
1
0
0
@@ -1041,7 +1057,7 @@
5
- 34
+ 35
1
0
0
@@ -1054,7 +1070,7 @@
5
- 35
+ 36
1
0
0
@@ -1067,7 +1083,7 @@
5
- 36
+ 37
1
0
0
@@ -1080,7 +1096,7 @@
5
- 37
+ 38
1
0
0
@@ -1093,7 +1109,7 @@
5
- 38
+ 39
5
0
0
@@ -1106,7 +1122,7 @@
5
- 39
+ 40
1
0
0
@@ -1119,7 +1135,7 @@
5
- 40
+ 41
1
0
0
@@ -1132,7 +1148,7 @@
5
- 41
+ 42
1
0
0
@@ -1145,7 +1161,7 @@
5
- 42
+ 43
1
0
0
@@ -1158,7 +1174,7 @@
5
- 43
+ 44
1
0
0
@@ -1179,7 +1195,7 @@
0
6
- 44
+ 45
1
0
0
@@ -1200,7 +1216,7 @@
0
7
- 45
+ 46
1
0
0
@@ -1213,7 +1229,7 @@
7
- 46
+ 47
1
0
0
diff --git a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvprojx b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
index b410fe3f..5a2f19a9 100644
--- a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
+++ b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/arm/dpp.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
__FPU_PRESENT
@@ -453,6 +461,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -691,6 +704,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -736,6 +753,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -794,9 +812,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -810,6 +828,8 @@
0
0
+ 0
+ 0
0
@@ -953,6 +973,7 @@
0
0
0
+ 0
3
3
0
@@ -1087,6 +1108,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG __FPU_PRESENT
@@ -1179,6 +1204,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1417,6 +1447,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1462,6 +1496,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
TM4C123GH6PM
@@ -1520,9 +1555,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1536,6 +1571,8 @@
0
0
+ 0
+ 0
0
@@ -1679,6 +1716,7 @@
0
0
0
+ 0
3
3
0
@@ -1813,6 +1851,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY __FPU_PRESENT
@@ -1905,6 +1947,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -2126,17 +2173,4 @@
-
-
-
-
-
- RTE\CMSIS\RTX_Conf_CM.c
-
-
-
-
-
-
-
diff --git a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.c b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.c
index ecd5f810..4ab31cf9 100644
--- a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.c
+++ b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, EK-TM4C123GLX board, uC/OS-II RTOS
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-27
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -182,11 +182,8 @@ void BSP_init(void) {
*/
SystemCoreClockUpdate();
- /* enable clock to the peripherals used by the application */
- SYSCTL->RCGC2 |= (1U << 5); /* enable clock to GPIOF */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for to the peripherals used by this application... */
+ SYSCTL->RCGCGPIO |= (1U << 5); /* enable Run mode for GPIOF */
/* configure the LEDs and push buttons */
GPIOF->DIR |= (LED_RED | LED_GREEN | LED_BLUE); /* set as output */
@@ -272,8 +269,15 @@ void QF_onStartup(void) {
void QF_onCleanup(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -283,31 +287,32 @@ uint8_t QS_onStartup(void const *arg) {
uint32_t tmp;
QS_initBuf(qsBuf, sizeof(qsBuf));
- /* enable the peripherals used by the UART0 */
- SYSCTL->RCGC1 |= (1U << 0); /* enable clock to UART0 */
- SYSCTL->RCGC2 |= (1U << 0); /* enable clock to GPIOA */
- __NOP(); /* wait after enabling clocks */
- __NOP();
- __NOP();
+ /* enable clock for UART0 and GPIOA (used by UART0 pins) */
+ SYSCTL->RCGCUART |= (1U << 0); /* enable Run mode for UART0 */
+ SYSCTL->RCGCGPIO |= (1U << 0); /* enable Run mode for GPIOA */
/* configure UART0 pins for UART operation */
tmp = (1U << 0) | (1U << 1);
GPIOA->DIR &= ~tmp;
- GPIOA->AFSEL |= tmp;
- GPIOA->DR2R |= tmp; /* set 2mA drive, DR4R and DR8R are cleared */
GPIOA->SLR &= ~tmp;
GPIOA->ODR &= ~tmp;
GPIOA->PUR &= ~tmp;
GPIOA->PDR &= ~tmp;
- GPIOA->DEN |= tmp;
+ GPIOA->AMSEL &= ~tmp; /* disable analog function on the pins */
+ GPIOA->AFSEL |= tmp; /* enable ALT function on the pins */
+ GPIOA->DEN |= tmp; /* enable digital I/O on the pins */
+ GPIOA->PCTL &= ~0x00U;
+ GPIOA->PCTL |= 0x11U;
/* configure the UART for the desired baud rate, 8-N-1 operation */
tmp = (((SystemCoreClock * 8U) / UART_BAUD_RATE) + 1U) / 2U;
UART0->IBRD = tmp / 64U;
UART0->FBRD = tmp % 64U;
- UART0->LCRH = 0x60U; /* configure 8-N-1 operation */
- UART0->LCRH |= 0x10U;
- UART0->CTL |= (1U << 0) | (1U << 8) | (1U << 9);
+ UART0->LCRH = (0x3U << 5); /* configure 8-N-1 operation */
+ UART0->LCRH |= (0x1U << 4); /* enable FIFOs */
+ UART0->CTL = (1U << 0) /* UART enable */
+ | (1U << 8) /* UART TX enable */
+ | (1U << 9); /* UART RX enable */
QS_tickPeriod_ = SystemCoreClock / BSP_TICKS_PER_SEC;
QS_tickTime_ = QS_tickPeriod_; /* to start the timestamp at zero */
@@ -323,69 +328,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
index 426abfee..bd5bdb45 100644
--- a/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
+++ b/examples/ucos-ii/arm-cm/dpp_ek-tm4c123gxl/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
40
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -630,7 +643,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -966,7 +979,7 @@
General
3
- 22
+ 24
1
0
@@ -981,11 +994,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1012,11 +1020,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1041,7 +1044,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1089,14 +1092,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
39
@@ -1111,6 +1109,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1585,7 +1611,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1921,7 +1947,7 @@
General
3
- 22
+ 24
1
1
@@ -1936,11 +1962,6 @@
ListPath
spy
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1967,11 +1988,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1996,7 +2012,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2044,14 +2060,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
39
@@ -2066,6 +2077,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -2540,7 +2579,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2889,6 +2928,9 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\table.c
@@ -2989,6 +3031,9 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
+
+ $PROJ_DIR$\..\..\..\..\..\source\qs_rx.c
+
uCOS-II
diff --git a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvoptx b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvoptx
index 41a4760b..76fe9078 100644
--- a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvoptx
+++ b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvoptx
@@ -81,26 +81,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -227,6 +212,7 @@
+ 0
@@ -290,26 +276,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -429,6 +400,7 @@
+ 0
@@ -492,26 +464,11 @@
0
- User Manual (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105823.pdf
-
-
- 1
- Overview (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105918.pdf
-
-
- 2
- Getting started (NUCLEO-L152RE)
- C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\DM00105925.pdf
-
-
- 3
Schematics (NUCLEO-L152RE)
C:\tools\Keil_v5\ARM\PACK\Keil\STM32NUCLEO_BSP\1.3.0\Documents\MB1136.pdf
- 4
+ 1
STM32 Nucleo board (NUCLEO-L152RE)
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002
@@ -638,6 +595,7 @@
+ 0
@@ -764,6 +722,19 @@
0
0
+
+ 1
+ 10
+ 1
+ 0
+ 0
+ 0
+ 0
+ ..\..\..\..\..\include\qstamp.c
+ qstamp.c
+ 0
+ 0
+
@@ -774,7 +745,7 @@
0
2
- 10
+ 11
5
0
0
@@ -787,7 +758,7 @@
2
- 11
+ 12
1
0
0
@@ -800,7 +771,7 @@
2
- 12
+ 13
5
0
0
@@ -813,7 +784,7 @@
2
- 13
+ 14
2
0
0
@@ -834,7 +805,7 @@
0
3
- 14
+ 15
1
0
0
@@ -847,7 +818,7 @@
3
- 15
+ 16
5
0
0
@@ -860,7 +831,7 @@
3
- 16
+ 17
1
0
0
@@ -873,7 +844,7 @@
3
- 17
+ 18
1
0
0
@@ -886,7 +857,7 @@
3
- 18
+ 19
1
0
0
@@ -899,7 +870,7 @@
3
- 19
+ 20
1
0
0
@@ -912,7 +883,7 @@
3
- 20
+ 21
1
0
0
@@ -925,7 +896,7 @@
3
- 21
+ 22
1
0
0
@@ -938,7 +909,7 @@
3
- 22
+ 23
1
0
0
@@ -951,7 +922,7 @@
3
- 23
+ 24
1
0
0
@@ -964,7 +935,7 @@
3
- 24
+ 25
1
0
0
@@ -977,7 +948,7 @@
3
- 25
+ 26
5
0
0
@@ -998,7 +969,7 @@
0
4
- 26
+ 27
5
0
0
@@ -1011,7 +982,7 @@
4
- 27
+ 28
2
0
0
@@ -1024,7 +995,7 @@
4
- 28
+ 29
1
0
0
@@ -1037,7 +1008,7 @@
4
- 29
+ 30
1
0
0
@@ -1058,7 +1029,7 @@
0
5
- 30
+ 31
1
0
0
@@ -1071,7 +1042,7 @@
5
- 31
+ 32
1
0
0
@@ -1084,7 +1055,7 @@
5
- 32
+ 33
1
0
0
@@ -1097,7 +1068,7 @@
5
- 33
+ 34
1
0
0
@@ -1110,7 +1081,7 @@
5
- 34
+ 35
1
0
0
@@ -1123,7 +1094,7 @@
5
- 35
+ 36
1
0
0
@@ -1136,7 +1107,7 @@
5
- 36
+ 37
1
0
0
@@ -1149,7 +1120,7 @@
5
- 37
+ 38
1
0
0
@@ -1162,7 +1133,7 @@
5
- 38
+ 39
1
0
0
@@ -1175,7 +1146,7 @@
5
- 39
+ 40
1
0
0
@@ -1196,7 +1167,7 @@
0
6
- 40
+ 41
5
0
0
@@ -1209,7 +1180,7 @@
6
- 41
+ 42
5
0
0
@@ -1222,7 +1193,7 @@
6
- 42
+ 43
5
0
0
@@ -1235,7 +1206,7 @@
6
- 43
+ 44
1
0
0
@@ -1248,7 +1219,7 @@
6
- 44
+ 45
5
0
0
@@ -1261,7 +1232,7 @@
6
- 45
+ 46
5
0
0
@@ -1282,7 +1253,7 @@
0
7
- 46
+ 47
1
0
0
@@ -1295,7 +1266,7 @@
7
- 47
+ 48
1
0
0
diff --git a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvprojx b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvprojx
index 4b28a671..379bab6b 100644
--- a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvprojx
+++ b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/arm/dpp.uvprojx
@@ -10,6 +10,7 @@
dpp-dbg
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -68,9 +69,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\dbg\qstamp.o"
0
0
@@ -84,6 +85,8 @@
0
0
+ 0
+ 0
0
@@ -227,6 +230,7 @@
0
0
0
+ 0
3
3
0
@@ -361,6 +365,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
@@ -453,6 +461,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -696,6 +709,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -741,6 +758,7 @@
dpp-rel
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -799,9 +817,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\rel\qstamp.o"
0
0
@@ -815,6 +833,8 @@
0
0
+ 0
+ 0
0
@@ -958,6 +978,7 @@
0
0
0
+ 0
3
3
0
@@ -1092,6 +1113,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
NDEBUG
@@ -1184,6 +1209,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
@@ -1427,6 +1457,10 @@
2
2
2
+ 0
+ 0
+ 0
+ 0
@@ -1472,6 +1506,7 @@
dpp-spy
0x4
ARM-ADS
+ 5060020::V5.06 (build 20)::ARMCC
STM32L152RE
@@ -1530,9 +1565,9 @@
0
- 0
+ 1
0
-
+ cmd /c "del .\spy\qstamp.o"
0
0
@@ -1546,6 +1581,8 @@
0
0
+ 0
+ 0
0
@@ -1689,6 +1726,7 @@
0
0
0
+ 0
3
3
0
@@ -1823,6 +1861,10 @@
1
0
0
+ 0
+ 0
+ 0
+ 0
Q_SPY
@@ -1915,6 +1957,11 @@
1
..\table.c
+
+ qstamp.c
+ 1
+ ..\..\..\..\..\include\qstamp.c
+
diff --git a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.c b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.c
index d2ffd443..22899b34 100644
--- a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.c
+++ b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/bsp.c
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example, STM32 NUCLEO-L152RE board, uC/OS-II RTOS
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-03-27
+* Last Updated for Version: 5.5.0
+* Date of the Last Update: 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,8 +28,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
*****************************************************************************/
#include "qpc.h"
#include "dpp.h"
@@ -278,8 +278,15 @@ void QF_onStartup(void) {
void QF_onCleanup(void) {
}
/*..........................................................................*/
-/* NOTE Q_onAssert() defined in assembly in startup_TM4C123GH6PM.s */
-
+void Q_onAssert(char const *module, int loc) {
+ /*
+ * NOTE: add here your application-specific error handling
+ */
+ (void)module;
+ (void)loc;
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ NVIC_SystemReset();
+}
/* QS callbacks ============================================================*/
#ifdef Q_SPY
@@ -328,69 +335,7 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
-
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
return (uint8_t)1; /* return success */
}
diff --git a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/iar/dpp.ewp b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/iar/dpp.ewp
index 7d096542..2324715e 100644
--- a/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/iar/dpp.ewp
+++ b/examples/ucos-ii/arm-cm/dpp_nucleo-l152re/iar/dpp.ewp
@@ -12,7 +12,7 @@
General
3
- 22
+ 24
1
1
@@ -27,11 +27,6 @@
ListPath
dbg
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -58,11 +53,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -87,7 +77,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -135,14 +125,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -157,6 +142,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -630,7 +643,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -966,7 +979,7 @@
General
3
- 22
+ 24
1
0
@@ -981,11 +994,6 @@
ListPath
rel
-
- Variant
- 21
- 40
-
GEndianMode
0
@@ -1012,11 +1020,6 @@
GOutputBinary
0
-
- FPU
- 5
- 7
-
OGCoreOrChip
1
@@ -1041,7 +1044,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -1089,14 +1092,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 40
-
GBECoreSlave
- 21
+ 22
39
@@ -1111,6 +1109,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 39
+
+
+ GFPUDeviceSlave
+ TM4C123GH6PM TexasInstruments TM4C123GH6PM
+
+
+ FPU2
+ 0
+ 4
+
+
+ NrRegs
+ 0
+ 1
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 39
+
@@ -1584,7 +1610,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -1920,7 +1946,7 @@
General
3
- 22
+ 24
1
1
@@ -1935,11 +1961,6 @@
ListPath
spy
-
- Variant
- 21
- 38
-
GEndianMode
0
@@ -1966,11 +1987,6 @@
GOutputBinary
0
-
- FPU
- 5
- 0
-
OGCoreOrChip
1
@@ -1995,7 +2011,7 @@
OGLastSavedByProductVersion
- 7.40.2.8567
+ 7.40.3.8937
GeneralEnableMisra
@@ -2043,14 +2059,9 @@
RTConfigPath2
$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
- GFPUCoreSlave
- 21
- 38
-
GBECoreSlave
- 21
+ 22
38
@@ -2065,6 +2076,34 @@
GRuntimeLibThreads
0
+
+ CoreVariant
+ 22
+ 38
+
+
+ GFPUDeviceSlave
+ STM32L152xE ST STM32L152xE
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 38
+
@@ -2538,7 +2577,7 @@
BUILDACTION
1
-
+ cmd /c "if exist $OBJ_DIR$\qstamp.o del $OBJ_DIR$\qstamp.o"
@@ -2887,10 +2926,28 @@
$PROJ_DIR$\..\philo.c
+
+ $PROJ_DIR$\..\..\..\..\..\include\qstamp.c
+
$PROJ_DIR$\..\table.c
+
+ nucleo-l152re
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\iar\startup_stm32l1xx.s
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\stm32l1xx.h
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\system_stm32l1xx.c
+
+
+ $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\system_stm32l1xx.h
+
+
QP
@@ -2964,21 +3021,6 @@
$PROJ_DIR$\..\..\..\..\..\source\qs_pkg.h
-
- nucleo-l152re
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\iar\startup_stm32l1xx.s
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\stm32l1xx.h
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\system_stm32l1xx.c
-
-
- $PROJ_DIR$\..\..\..\..\..\3rd_party\nucleo-l152re\system_stm32l1xx.h
-
-
uCOS-II_Port
diff --git a/examples/win32-qv/dpp/Makefile b/examples/win32-qv/dpp/Makefile
index b9f7c10f..834e7c3c 100644
--- a/examples/win32-qv/dpp/Makefile
+++ b/examples/win32-qv/dpp/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, DPP console, Win32-QV, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -87,7 +87,7 @@ RCINCLUDES = \
C_SRCS := \
bsp.c \
main.c \
- philo.c \
+ philo.c \
table.c
# C++ source files...
@@ -97,7 +97,7 @@ CPP_SRCS :=
RC_SRCS :=
LIB_DIRS :=
-LIBS :=
+LIBS := -lwsock32
# defines...
# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
@@ -142,15 +142,6 @@ CPPFLAGS = -ffunction-sections -fdata-sections \
else ifeq (spy, $(CONF)) # Spy configuration ................................
-# make sure that QTOOLS exists...
-ifeq ("$(wildcard $(QTOOLS))","")
-$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
-endif
-
-INCLUDES += -I$(QTOOLS)/qspy/include
-VPATH += $(QTOOLS)/qspy/source
-C_SRCS += qspy.c
-
BIN_DIR := spy
CFLAGS = -g -ffunction-sections -fdata-sections \
@@ -214,7 +205,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32-qv/dpp/bsp.c b/examples/win32-qv/dpp/bsp.c
index 732ce45f..1414f02a 100644
--- a/examples/win32-qv/dpp/bsp.c
+++ b/examples/win32-qv/dpp/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP example, Windows
-* Last updated for version 5.4.0
-* Last updated on 2015-04-07
+* Last updated for version 5.5.0
+* Last updated on 2015-08-19
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -42,11 +42,12 @@
Q_DEFINE_THIS_FILE
/* local variables ---------------------------------------------------------*/
-static uint32_t l_rnd; /* random seed */
+static uint32_t l_rnd; /* random seed */
#ifdef Q_SPY
enum {
- PHILO_STAT = QS_USER
+ PHILO_STAT = QS_USER,
+ COMMAND_STAT
};
static uint8_t l_running;
static uint8_t const l_clock_tick = 0U;
@@ -54,7 +55,7 @@ static uint32_t l_rnd; /* random seed */
/*..........................................................................*/
void QF_onStartup(void) {
- QF_setTickRate(BSP_TICKS_PER_SEC); /* set the desired tick rate */
+ QF_setTickRate(BSP_TICKS_PER_SEC); /* set the desired tick rate */
}
/*..........................................................................*/
void QF_onCleanup(void) {
@@ -62,10 +63,10 @@ void QF_onCleanup(void) {
}
/*..........................................................................*/
void QF_onClockTick(void) {
- QF_TICK_X(0U, &l_clock_tick); /* perform the QF clock tick processing */
- if (_kbhit()) { /* any key pressed? */
+ QF_TICK_X(0U, &l_clock_tick); /* perform the QF clock tick processing */
+ if (_kbhit()) { /* any key pressed? */
int ch = _getch();
- if (ch == '\33') { /* see if the ESC key pressed */
+ if (ch == '\33') { /* see if the ESC key pressed */
QF_PUBLISH(Q_NEW(QEvt, TERMINATE_SIG), &l_clock_tick);
}
else if (ch == 'p') {
@@ -77,41 +78,43 @@ void QF_onClockTick(void) {
}
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- fprintf(stderr, "Assertion failed in %s, line %d", file, line);
+void Q_onAssert(char const Q_ROM * const module, int loc) {
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ fprintf(stderr, "Assertion failed in %s, line %d", module, loc);
exit(-1);
}
/*..........................................................................*/
-void BSP_init(void) {
+void BSP_init(int argc, char *argv[]) {
printf("Dining Philosophers Problem example"
- "\nQEP %s\nQF %s\n"
+ "\nQP %s\n"
"Press 'p' to pause\n"
"Press 's' to serve\n"
"Press ESC to quit...\n",
- QEP_getVersion(),
- QF_getVersion());
+ QP_versionStr);
BSP_randomSeed(1234U);
- Q_ALLEGE(QS_INIT((void *)0));
- QS_OBJ_DICTIONARY(&l_clock_tick); /* must be called *after* QF_init() */
+
+ Q_ALLEGE(QS_INIT((argc > 1) ? argv[1] : ""));
+ QS_OBJ_DICTIONARY(&l_clock_tick); /* must be called *after* QF_init() */
QS_USR_DICTIONARY(PHILO_STAT);
+ QS_USR_DICTIONARY(COMMAND_STAT);
}
/*..........................................................................*/
void BSP_terminate(int16_t result) {
(void)result;
#ifdef Q_SPY
- l_running = (uint8_t)0; /* stop the QS output thread */
+ l_running = (uint8_t)0; /* stop the QS output thread */
#endif
- QF_stop(); /* stop the main "ticker thread" */
+ QF_stop(); /* stop the main "ticker thread" */
}
/*..........................................................................*/
void BSP_displayPhilStat(uint8_t n, char const *stat) {
printf("Philosopher %2d is %s\n", (int)n, stat);
- QS_BEGIN(PHILO_STAT, AO_Philo[n]) /* application-specific record begin */
- QS_U8(1, n); /* Philosopher number */
- QS_STR(stat); /* Philosopher status */
+ QS_BEGIN(PHILO_STAT, AO_Philo[n]) /* application-specific record begin */
+ QS_U8(1, n); /* Philosopher number */
+ QS_STR(stat); /* Philosopher status */
QS_END()
}
/*..........................................................................*/
@@ -132,53 +135,139 @@ void BSP_randomSeed(uint32_t seed) {
}
/*--------------------------------------------------------------------------*/
-#ifdef Q_SPY /* define QS callbacks */
+#ifdef Q_SPY /* define QS callbacks */
#include
#define WIN32_LEAN_AND_MEAN
-#include /* Win32 API for multithreading */
+#include /* Win32 API for multithreading */
+#include /* for Windows network facilities */
-#include "qspy.h"
+/*
+* In this demo, the QS software tracing output is sent out of the application
+* through a TCP/IP socket. This requires the QSPY host application to
+* be started first to open a server socket (qspy -t ...) to wait for the
+* incoming TCP/IP connection from the DPP demo.
+*
+* In an embedded target, the QS software tracing output can be sent out
+* using any method available, such as a UART. This would require changing
+* the implementation of the functions in this section, but the rest of the
+* application code does not "know" (and should not care) how the QS ouptut
+* is actually performed. In other words, the rest of the application does NOT
+* need to change in any way to produce QS output.
+*/
+
+static SOCKET l_sock = INVALID_SOCKET;
/*..........................................................................*/
static DWORD WINAPI idleThread(LPVOID par) {/* signature for CreateThread() */
(void)par;
-
- SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE);
- l_running = (uint8_t)1;
- while (l_running) {
- uint16_t nBytes = 256;
+ while (l_sock != INVALID_SOCKET) {
+ uint16_t nBytes;
uint8_t const *block;
+
+ /* try to receive bytes from the QS socket... */
+ nBytes = QS_rxGetNfree();
+ if (nBytes > 0U) {
+ uint8_t buf[64];
+ int status;
+
+ if (nBytes > sizeof(buf)) {
+ nBytes = sizeof(buf);
+ }
+ status = recv(l_sock, (char *)buf, (int)nBytes, 0);
+ if (status != SOCKET_ERROR) {
+ uint16_t i;
+ nBytes = (uint16_t)status;
+ for (i = 0U; i < nBytes; ++i) {
+ QS_RX_PUT(buf[i]);
+ }
+ }
+ }
+ QS_rxParse(); /* parse all the received bytes */
+
+ nBytes = 1024U;
QF_CRIT_ENTRY(dummy);
block = QS_getBlock(&nBytes);
QF_CRIT_EXIT(dummy);
+
if (block != (uint8_t *)0) {
- QSPY_parse(block, nBytes);
+ send(l_sock, (char const *)block, nBytes, 0);
}
- Sleep(10); /* wait for a while */
+ Sleep(20); /* sleep for xx milliseconds */
}
- return 0; /* return success */
+ return (DWORD)0; /* return success */
}
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
- static uint8_t qsBuf[4*1024]; // 4K buffer for Quantum Spy
- QS_initBuf(qsBuf, sizeof(qsBuf));
- (void)arg;
- QSPY_config(QP_VERSION, // version
- QS_OBJ_PTR_SIZE, // objPtrSize
- QS_FUN_PTR_SIZE, // funPtrSize
- QS_TIME_SIZE, // tstampSize
- Q_SIGNAL_SIZE, // sigSize,
- QF_EVENT_SIZ_SIZE, // evtSize
- QF_EQUEUE_CTR_SIZE, // queueCtrSize
- QF_MPOOL_CTR_SIZE, // poolCtrSize
- QF_MPOOL_SIZ_SIZE, // poolBlkSize
- QF_TIMEEVT_CTR_SIZE,// tevtCtrSize
- (void *)0, // matFile,
- (void *)0,
- (QSPY_CustParseFun)0); // customized parser function
+ static uint8_t qsBuf[1024]; /* buffer for QS output */
+ static uint8_t qsRxBuf[100]; /* buffer for QS receive channel */
+ static WSADATA wsaData;
+ char hostName[64];
+ char const *src;
+ char *dst;
+ USHORT port = 6601; /* default QSPY server port */
+ ULONG ioctl_opt = 1;
+ struct sockaddr_in sockAddr;
+ struct hostent *server;
- /* setup the QS filters... */
+ QS_initBuf(qsBuf, sizeof(qsBuf));
+ QS_rxInitBuf(qsRxBuf, sizeof(qsRxBuf));
+
+ /* initialize Windows sockets */
+ if (WSAStartup(MAKEWORD(2,0), &wsaData) == SOCKET_ERROR) {
+ printf("Windows Sockets cannot be initialized.");
+ return (uint8_t)0;
+ }
+
+ src = (arg != (void const *)0)
+ ? (char const *)arg
+ : "localhost";
+ dst = hostName;
+ while ((*src != '\0') && (*src != ':') && (dst < &hostName[sizeof(hostName)])) {
+ *dst++ = *src++;
+ }
+ *dst = '\0';
+ if (*src == ':') {
+ port = (USHORT)strtoul(src + 1, NULL, 10);
+ }
+
+ l_sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); /* TCP socket */
+ if (l_sock == INVALID_SOCKET){
+ printf("Socket cannot be created; error 0x%08X\n",
+ WSAGetLastError());
+ return (uint8_t)0; /* failure */
+ }
+
+ server = gethostbyname(hostName);
+ if (server == NULL) {
+ printf("QSpy host name %s cannot be resolved; error 0x%08X\n",
+ hostName, WSAGetLastError());
+ return (uint8_t)0;
+ }
+
+ memset(&sockAddr, 0, sizeof(sockAddr));
+ sockAddr.sin_family = AF_INET;
+ memcpy(&sockAddr.sin_addr, server->h_addr, server->h_length);
+ sockAddr.sin_port = htons(port);
+ if (connect(l_sock, (struct sockaddr *)&sockAddr, sizeof(sockAddr))
+ == SOCKET_ERROR)
+ {
+ printf("Cannot connect to the QSPY server; error 0x%08X\n",
+ WSAGetLastError());
+ QS_EXIT();
+ return (uint8_t)0; /* failure */
+ }
+
+ /* Set the socket to non-blocking mode. */
+ if (ioctlsocket(l_sock, FIONBIO, &ioctl_opt) == SOCKET_ERROR) {
+ printf("Socket configuration failed.\n"
+ "Windows socket error 0x%08X.",
+ WSAGetLastError());
+ QS_EXIT();
+ return (uint8_t)0; /* failure */
+ }
+
+ /* set up the QS filters... */
QS_FILTER_ON(QS_QEP_STATE_ENTRY);
QS_FILTER_ON(QS_QEP_STATE_EXIT);
QS_FILTER_ON(QS_QEP_STATE_INIT);
@@ -189,69 +278,12 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
+ QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
+ QS_FILTER_ON(COMMAND_STAT);
/* return the status of creating the idle thread */
return (CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
@@ -259,26 +291,19 @@ uint8_t QS_onStartup(void const *arg) {
}
/*..........................................................................*/
void QS_onCleanup(void) {
-
- QSPY_stop();
+ if (l_sock != INVALID_SOCKET) {
+ closesocket(l_sock);
+ l_sock = INVALID_SOCKET;
+ }
+ WSACleanup();
}
/*..........................................................................*/
void QS_onFlush(void) {
- for (;;) {
- uint16_t nBytes = 1024;
- uint8_t const *block;
-
- QF_CRIT_ENTRY(dummy);
- block = QS_getBlock(&nBytes);
- QF_CRIT_EXIT(dummy);
-
- if (block != (uint8_t const *)0) {
- QSPY_parse(block, nBytes);
- nBytes = 1024;
- }
- else {
- break;
- }
+ uint16_t nBytes = 1000;
+ uint8_t const *block;
+ while ((block = QS_getBlock(&nBytes)) != (uint8_t *)0) {
+ send(l_sock, (char const *)block, nBytes, 0);
+ nBytes = 1000;
}
}
/*..........................................................................*/
@@ -286,9 +311,24 @@ QSTimeCtr QS_onGetTime(void) {
return (QSTimeCtr)clock();
}
/*..........................................................................*/
-void QSPY_onPrintLn(void) {
- fputs(QSPY_line, stdout);
- fputc('\n', stdout);
+/*! callback function to reset the target (to be implemented in the BSP) */
+void QS_onReset(void) {
+ //TBD
}
-#endif /* Q_SPY */
+/*..........................................................................*/
+/*! callback function to execute a uesr command (to be implemented in BSP) */
+void QS_onCommand(uint8_t cmdId, uint32_t param) {
+ (void)cmdId;
+ (void)param;
+ QS_BEGIN(COMMAND_STAT, (void *)0) /* application-specific record begin */
+ QS_U8(2, cmdId);
+ QS_U32(8, param);
+ QS_END()
+
+ if (cmdId == 10U) {
+ Q_ERROR();
+ }
+}
+
+#endif /* Q_SPY */
/*--------------------------------------------------------------------------*/
diff --git a/examples/win32-qv/dpp/bsp.h b/examples/win32-qv/dpp/bsp.h
index e20bdaa6..55bd35ba 100644
--- a/examples/win32-qv/dpp/bsp.h
+++ b/examples/win32-qv/dpp/bsp.h
@@ -37,7 +37,7 @@
#define BSP_TICKS_PER_SEC 50U
-void BSP_init(void);
+void BSP_init(int argc, char *argv[]);
void BSP_displayPaused(uint8_t paused);
void BSP_displayPhilStat(uint8_t n, char_t const *stat);
void BSP_terminate(int16_t result);
diff --git a/examples/win32-qv/dpp/dpp.vcxproj b/examples/win32-qv/dpp/dpp.vcxproj
index a8b754fe..32fdad35 100644
--- a/examples/win32-qv/dpp/dpp.vcxproj
+++ b/examples/win32-qv/dpp/dpp.vcxproj
@@ -84,6 +84,9 @@
Console
MachineX86
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -112,6 +115,9 @@
MachineX86
true
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -129,18 +135,18 @@
4127
- %(AdditionalDependencies)
+ wsock32.lib;%(AdditionalDependencies)
%(AdditionalLibraryDirectories)
true
Console
MachineX86
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
-
- true
- true
-
+
@@ -151,15 +157,15 @@
-
+
true
true
-
+
true
true
-
+
true
true
diff --git a/examples/win32-qv/dpp/dpp.vcxproj.filters b/examples/win32-qv/dpp/dpp.vcxproj.filters
new file mode 100644
index 00000000..150ef6ca
--- /dev/null
+++ b/examples/win32-qv/dpp/dpp.vcxproj.filters
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
+
+
+ {223c8de9-a095-4bac-8dbb-75a9d5fcaa58}
+
+
+
\ No newline at end of file
diff --git a/examples/win32-qv/dpp/main.c b/examples/win32-qv/dpp/main.c
index 10a4de62..817891d3 100644
--- a/examples/win32-qv/dpp/main.c
+++ b/examples/win32-qv/dpp/main.c
@@ -36,7 +36,7 @@
#include "bsp.h"
/*..........................................................................*/
-int main() {
+int main(int argc, char *argv[]) {
static QEvt const *tableQueueSto[N_PHILO];
static QEvt const *philoQueueSto[N_PHILO][N_PHILO];
static QSubscrList subscrSto[MAX_PUB_SIG];
@@ -47,7 +47,7 @@ int main() {
Table_ctor(); /* instantiate the Table active object */
QF_init(); /* initialize the framework and the underlying RT kernel */
- BSP_init(); /* initialize the Board Support Package */
+ BSP_init(argc, argv); /* initialize the Board Support Package */
/* object dictionaries... */
QS_OBJ_DICTIONARY(smlPoolSto);
diff --git a/examples/win32-qv/reminder2/Makefile b/examples/win32-qv/reminder2/Makefile
index f13797be..57c745ad 100644
--- a/examples/win32-qv/reminder2/Makefile
+++ b/examples/win32-qv/reminder2/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Reminder2 Pattern console, Win32-QV, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32-qv/reminder2/reminder2.c b/examples/win32-qv/reminder2/reminder2.c
index e0b2ec19..ca1a4035 100644
--- a/examples/win32-qv/reminder2/reminder2.c
+++ b/examples/win32-qv/reminder2/reminder2.c
@@ -103,14 +103,14 @@ QState Cruncher_processing(Cruncher * const me, QEvt const * const e) {
status = Q_HANDLED();
}
else {
- printf("pi=%16.14f\n", 4.0*me->sum);
+ printf("pi=%16.14f\n", 4.0*me->sum);
fflush(stdout);
status = Q_TRAN(&Cruncher_processing);
}
break;
}
case ECHO_SIG: {
- printf("Echo! pi=%16.14f\n", 4.0*me->sum);
+ printf("Echo! pi=%16.14f\n", 4.0*me->sum);
fflush(stdout);
status = Q_HANDLED();
break;
@@ -131,7 +131,7 @@ QState Cruncher_final(Cruncher * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
case Q_ENTRY_SIG: {
- printf("final-ENTRY;\n");
+ printf("final-ENTRY;\n");
fflush(stdout);
QF_stop(); /* terminate the application */
status = Q_HANDLED();
@@ -157,9 +157,9 @@ int main(int argc, char *argv[]) {
printf("Reminder state pattern\nQP version: %s\n"
"Press 'e' to echo the current value...\n"
"Press ESC to quit...\n",
- QP_versionStr);
- fflush(stdout);
-
+ QP_versionStr);
+ fflush(stdout);
+
Cruncher_ctor(&l_cruncher);
BSP_init(argc, argv); /* initialize the BSP */
diff --git a/examples/win32/calc/Makefile b/examples/win32/calc/Makefile
index d3aafad8..066ffb83 100644
--- a/examples/win32/calc/Makefile
+++ b/examples/win32/calc/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Calc console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -213,7 +213,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/calc2/Makefile b/examples/win32/calc2/Makefile
index 8142496d..b4d0595d 100644
--- a/examples/win32/calc2/Makefile
+++ b/examples/win32/calc2/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Calc2 console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -213,7 +213,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/comp/Makefile b/examples/win32/comp/Makefile
index 4d162223..f3c59306 100644
--- a/examples/win32/comp/Makefile
+++ b/examples/win32/comp/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Orthogonal Component console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -213,7 +213,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/comp_qm/Makefile b/examples/win32/comp_qm/Makefile
index c0f062fc..d546d431 100644
--- a/examples/win32/comp_qm/Makefile
+++ b/examples/win32/comp_qm/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Orthogonal Component console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -87,7 +87,7 @@ RCINCLUDES = \
C_SRCS := \
bsp.c \
main.c \
- alarm.c \
+ alarm.c \
clock.c
# C++ source files...
@@ -214,7 +214,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/defer/Makefile b/examples/win32/defer/Makefile
index 02d14d2a..fdc47a67 100644
--- a/examples/win32/defer/Makefile
+++ b/examples/win32/defer/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Deferred Event console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/defer/defer.c b/examples/win32/defer/defer.c
index 2bc67d65..698c07b5 100644
--- a/examples/win32/defer/defer.c
+++ b/examples/win32/defer/defer.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: Deferred Event state pattern example
-* Last updated for version 5.4.2
-* Last updated on 2015-06-04
+* Last updated for version 5.4.3
+* Last updated on 2015-06-11
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -46,7 +46,7 @@ enum TServerSignals {
TERMINATE_SIG /* terminate the application */
};
/*..........................................................................*/
-typedef struct RequestEvtTag {
+typedef struct {
QEvt super; /* inherit QEvt */
uint8_t ref_num; /* reference number of the request */
} RequestEvt;
@@ -57,6 +57,7 @@ typedef struct TServerTag { /* Transaction Server active object */
QEQueue requestQueue; /* native QF queue for deferred request events */
QEvt const *requestQSto[3]; /* storage for deferred queue buffer */
+ RequestEvt const *activeRequest; /* request event being processed */
QTimeEvt receivedEvt; /* private time event generator */
QTimeEvt authorizedEvt; /* private time event generator */
@@ -83,6 +84,7 @@ void TServer_ctor(TServer * const me) { /* the default ctor */
/* HSM definition ----------------------------------------------------------*/
QState TServer_initial(TServer * const me, QEvt const * const e) {
(void)e; /* unused parameter */
+ me->activeRequest= (RequestEvt const *)0; /* no active request yet */
return Q_TRAN(&TServer_idle);
}
/*..........................................................................*/
@@ -90,7 +92,7 @@ QState TServer_final(TServer * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
case Q_ENTRY_SIG: {
- printf("final-ENTRY;\nBye!Bye!\n");
+ printf("final-ENTRY;\n");
QF_stop(); /* terminate the application */
status = Q_HANDLED();
break;
@@ -108,8 +110,9 @@ QState TServer_idle(TServer * const me, QEvt const * const e) {
switch (e->sig) {
case Q_ENTRY_SIG: {
printf("idle-ENTRY;\n");
- /* recall the request from the requestQueue */
- if (QActive_recall((QActive *)me, &me->requestQueue)) {
+
+ /* recall the oldest deferred request... */
+ if (QActive_recall(&me->super, &me->requestQueue)) {
printf("Request recalled\n");
}
else {
@@ -119,8 +122,15 @@ QState TServer_idle(TServer * const me, QEvt const * const e) {
break;
}
case NEW_REQUEST_SIG: {
+ /* create and save a new reference to the request event so that
+ * this event will be available beyond this RTC step and won't be
+ * recycled.
+ */
+ Q_NEW_REF(me->activeRequest, RequestEvt);
+
printf("Processing request #%d\n",
- (int)((RequestEvt const *)e)->ref_num);
+ (int)me->activeRequest->ref_num);
+
status = Q_TRAN(&TServer_receiving);
break;
}
@@ -139,15 +149,28 @@ QState TServer_idle(TServer * const me, QEvt const * const e) {
QState TServer_busy(TServer * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
+ case Q_EXIT_SIG: {
+ printf("busy-EXIT; done processing request #%d\n",
+ (int)me->activeRequest->ref_num);
+
+ /* delete the reference to the active request, because
+ * it is now processed.
+ */
+ Q_DELETE_REF(me->activeRequest);
+
+ status = Q_HANDLED();
+ break;
+ }
case NEW_REQUEST_SIG: {
- if (QActive_defer((QActive *)me, &me->requestQueue, e)) {
+ /* defer the new request event... */
+ if (QActive_defer(&me->super, &me->requestQueue, e)) {
printf("Request #%d deferred;\n",
(int)((RequestEvt const *)e)->ref_num);
}
else {
- printf("Request #%d IGNORED;\n",
- (int)((RequestEvt const *)e)->ref_num);
/* notify the request sender that his request was denied... */
+ printf("Request #%d IGNORED;\n",
+ (int)Q_EVT_CAST(RequestEvt)->ref_num);
}
status = Q_HANDLED();
break;
@@ -168,7 +191,10 @@ QState TServer_receiving(TServer * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
case Q_ENTRY_SIG: {
- printf("receiving-ENTRY;\n");
+ /* inform about the first stage of processing of the request... */
+ printf("receiving-ENTRY; active request: #%d\n",
+ (int)me->activeRequest->ref_num);
+
/* one-shot timeout in 1 second */
QTimeEvt_armX(&me->receivedEvt, BSP_TICKS_PER_SEC, 0U);
status = Q_HANDLED();
@@ -195,7 +221,10 @@ QState TServer_authorizing(TServer * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
case Q_ENTRY_SIG: {
- printf("authorizing-ENTRY;\n");
+ /* inform about the second stage of processing of the request.. */
+ printf("authorizing-ENTRY; active request: #%d\n",
+ (int)me->activeRequest->ref_num);
+
/* one-shot timeout in 2 seconds */
QTimeEvt_armX(&me->authorizedEvt, 2U*BSP_TICKS_PER_SEC, 0U);
status = Q_HANDLED();
diff --git a/examples/win32/dpp/Makefile b/examples/win32/dpp/Makefile
index 74eb0da2..c6bb72c7 100644
--- a/examples/win32/dpp/Makefile
+++ b/examples/win32/dpp/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, DPP console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -28,8 +28,8 @@
# along with this program. If not, see .
#
# Contact information:
-# Web: www.state-machine.com
-# Email: info@state-machine.com
+# http://www.state-machine.com
+# mailto:info@state-machine.com
##############################################################################
# examples of invoking this Makefile:
# building configurations: Debug (default), Release, and Spy
@@ -87,7 +87,7 @@ RCINCLUDES = \
C_SRCS := \
bsp.c \
main.c \
- philo.c \
+ philo.c \
table.c
# C++ source files...
@@ -97,7 +97,7 @@ CPP_SRCS :=
RC_SRCS :=
LIB_DIRS :=
-LIBS :=
+LIBS := -lwsock32
# defines...
# QP_API_VERSION controls the QP API compatibility; 9999 means the latest API
@@ -142,15 +142,6 @@ CPPFLAGS = -ffunction-sections -fdata-sections \
else ifeq (spy, $(CONF)) # Spy configuration ................................
-# make sure that QTOOLS exists...
-ifeq ("$(wildcard $(QTOOLS))","")
-$(error QTOOLS not found. Please install Qtools and define QTOOLS env. variable)
-endif
-
-INCLUDES += -I$(QTOOLS)/qspy/include
-VPATH += $(QTOOLS)/qspy/source
-C_SRCS += qspy.c
-
BIN_DIR := spy
CFLAGS = -g -ffunction-sections -fdata-sections \
@@ -214,7 +205,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/dpp/bsp.c b/examples/win32/dpp/bsp.c
index 2faec340..1414f02a 100644
--- a/examples/win32/dpp/bsp.c
+++ b/examples/win32/dpp/bsp.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* Product: DPP example, Windows
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-19
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -46,7 +46,8 @@ static uint32_t l_rnd; /* random seed */
#ifdef Q_SPY
enum {
- PHILO_STAT = QS_USER
+ PHILO_STAT = QS_USER,
+ COMMAND_STAT
};
static uint8_t l_running;
static uint8_t const l_clock_tick = 0U;
@@ -77,12 +78,13 @@ void QF_onClockTick(void) {
}
}
/*..........................................................................*/
-void Q_onAssert(char const Q_ROM * const file, int line) {
- fprintf(stderr, "Assertion failed in %s, line %d", file, line);
+void Q_onAssert(char const Q_ROM * const module, int loc) {
+ QS_ASSERTION(module, loc, (uint32_t)10000U); /* report assertion to QS */
+ fprintf(stderr, "Assertion failed in %s, line %d", module, loc);
exit(-1);
}
/*..........................................................................*/
-void BSP_init(void) {
+void BSP_init(int argc, char *argv[]) {
printf("Dining Philosophers Problem example"
"\nQP %s\n"
@@ -92,9 +94,11 @@ void BSP_init(void) {
QP_versionStr);
BSP_randomSeed(1234U);
- Q_ALLEGE(QS_INIT((void *)0));
+
+ Q_ALLEGE(QS_INIT((argc > 1) ? argv[1] : ""));
QS_OBJ_DICTIONARY(&l_clock_tick); /* must be called *after* QF_init() */
QS_USR_DICTIONARY(PHILO_STAT);
+ QS_USR_DICTIONARY(COMMAND_STAT);
}
/*..........................................................................*/
void BSP_terminate(int16_t result) {
@@ -135,47 +139,133 @@ void BSP_randomSeed(uint32_t seed) {
#include
#define WIN32_LEAN_AND_MEAN
-#include /* Win32 API for multithreading */
+#include /* Win32 API for multithreading */
+#include /* for Windows network facilities */
-#include "qspy.h"
+/*
+* In this demo, the QS software tracing output is sent out of the application
+* through a TCP/IP socket. This requires the QSPY host application to
+* be started first to open a server socket (qspy -t ...) to wait for the
+* incoming TCP/IP connection from the DPP demo.
+*
+* In an embedded target, the QS software tracing output can be sent out
+* using any method available, such as a UART. This would require changing
+* the implementation of the functions in this section, but the rest of the
+* application code does not "know" (and should not care) how the QS ouptut
+* is actually performed. In other words, the rest of the application does NOT
+* need to change in any way to produce QS output.
+*/
+
+static SOCKET l_sock = INVALID_SOCKET;
/*..........................................................................*/
static DWORD WINAPI idleThread(LPVOID par) {/* signature for CreateThread() */
(void)par;
-
- SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE);
- l_running = (uint8_t)1;
- while (l_running) {
- uint16_t nBytes = 256;
+ while (l_sock != INVALID_SOCKET) {
+ uint16_t nBytes;
uint8_t const *block;
+
+ /* try to receive bytes from the QS socket... */
+ nBytes = QS_rxGetNfree();
+ if (nBytes > 0U) {
+ uint8_t buf[64];
+ int status;
+
+ if (nBytes > sizeof(buf)) {
+ nBytes = sizeof(buf);
+ }
+ status = recv(l_sock, (char *)buf, (int)nBytes, 0);
+ if (status != SOCKET_ERROR) {
+ uint16_t i;
+ nBytes = (uint16_t)status;
+ for (i = 0U; i < nBytes; ++i) {
+ QS_RX_PUT(buf[i]);
+ }
+ }
+ }
+ QS_rxParse(); /* parse all the received bytes */
+
+ nBytes = 1024U;
QF_CRIT_ENTRY(dummy);
block = QS_getBlock(&nBytes);
QF_CRIT_EXIT(dummy);
+
if (block != (uint8_t *)0) {
- QSPY_parse(block, nBytes);
+ send(l_sock, (char const *)block, nBytes, 0);
}
- Sleep(10); /* wait for a while */
+ Sleep(20); /* sleep for xx milliseconds */
}
- return 0; /* return success */
+ return (DWORD)0; /* return success */
}
/*..........................................................................*/
uint8_t QS_onStartup(void const *arg) {
- static uint8_t qsBuf[4*1024]; // 4K buffer for Quantum Spy
+ static uint8_t qsBuf[1024]; /* buffer for QS output */
+ static uint8_t qsRxBuf[100]; /* buffer for QS receive channel */
+ static WSADATA wsaData;
+ char hostName[64];
+ char const *src;
+ char *dst;
+ USHORT port = 6601; /* default QSPY server port */
+ ULONG ioctl_opt = 1;
+ struct sockaddr_in sockAddr;
+ struct hostent *server;
+
QS_initBuf(qsBuf, sizeof(qsBuf));
- (void)arg;
- QSPY_config(QP_VERSION, // version
- QS_OBJ_PTR_SIZE, // objPtrSize
- QS_FUN_PTR_SIZE, // funPtrSize
- QS_TIME_SIZE, // tstampSize
- Q_SIGNAL_SIZE, // sigSize,
- QF_EVENT_SIZ_SIZE, // evtSize
- QF_EQUEUE_CTR_SIZE, // queueCtrSize
- QF_MPOOL_CTR_SIZE, // poolCtrSize
- QF_MPOOL_SIZ_SIZE, // poolBlkSize
- QF_TIMEEVT_CTR_SIZE,// tevtCtrSize
- (void *)0, // matFile,
- (void *)0,
- (QSPY_CustParseFun)0); // customized parser function
+ QS_rxInitBuf(qsRxBuf, sizeof(qsRxBuf));
+
+ /* initialize Windows sockets */
+ if (WSAStartup(MAKEWORD(2,0), &wsaData) == SOCKET_ERROR) {
+ printf("Windows Sockets cannot be initialized.");
+ return (uint8_t)0;
+ }
+
+ src = (arg != (void const *)0)
+ ? (char const *)arg
+ : "localhost";
+ dst = hostName;
+ while ((*src != '\0') && (*src != ':') && (dst < &hostName[sizeof(hostName)])) {
+ *dst++ = *src++;
+ }
+ *dst = '\0';
+ if (*src == ':') {
+ port = (USHORT)strtoul(src + 1, NULL, 10);
+ }
+
+ l_sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); /* TCP socket */
+ if (l_sock == INVALID_SOCKET){
+ printf("Socket cannot be created; error 0x%08X\n",
+ WSAGetLastError());
+ return (uint8_t)0; /* failure */
+ }
+
+ server = gethostbyname(hostName);
+ if (server == NULL) {
+ printf("QSpy host name %s cannot be resolved; error 0x%08X\n",
+ hostName, WSAGetLastError());
+ return (uint8_t)0;
+ }
+
+ memset(&sockAddr, 0, sizeof(sockAddr));
+ sockAddr.sin_family = AF_INET;
+ memcpy(&sockAddr.sin_addr, server->h_addr, server->h_length);
+ sockAddr.sin_port = htons(port);
+ if (connect(l_sock, (struct sockaddr *)&sockAddr, sizeof(sockAddr))
+ == SOCKET_ERROR)
+ {
+ printf("Cannot connect to the QSPY server; error 0x%08X\n",
+ WSAGetLastError());
+ QS_EXIT();
+ return (uint8_t)0; /* failure */
+ }
+
+ /* Set the socket to non-blocking mode. */
+ if (ioctlsocket(l_sock, FIONBIO, &ioctl_opt) == SOCKET_ERROR) {
+ printf("Socket configuration failed.\n"
+ "Windows socket error 0x%08X.",
+ WSAGetLastError());
+ QS_EXIT();
+ return (uint8_t)0; /* failure */
+ }
/* set up the QS filters... */
QS_FILTER_ON(QS_QEP_STATE_ENTRY);
@@ -188,69 +278,12 @@ uint8_t QS_onStartup(void const *arg) {
QS_FILTER_ON(QS_QEP_DISPATCH);
QS_FILTER_ON(QS_QEP_UNHANDLED);
-// QS_FILTER_ON(QS_QF_ACTIVE_ADD);
-// QS_FILTER_ON(QS_QF_ACTIVE_REMOVE);
-// QS_FILTER_ON(QS_QF_ACTIVE_SUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_UNSUBSCRIBE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET);
-// QS_FILTER_ON(QS_QF_ACTIVE_GET_LAST);
-// QS_FILTER_ON(QS_QF_EQUEUE_INIT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_FIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_LIFO);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET);
-// QS_FILTER_ON(QS_QF_EQUEUE_GET_LAST);
-// QS_FILTER_ON(QS_QF_MPOOL_INIT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET);
-// QS_FILTER_ON(QS_QF_MPOOL_PUT);
-// QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QF_RESERVED8);
-// QS_FILTER_ON(QS_QF_NEW);
-// QS_FILTER_ON(QS_QF_GC_ATTEMPT);
-// QS_FILTER_ON(QS_QF_GC);
- QS_FILTER_ON(QS_QF_TICK);
-// QS_FILTER_ON(QS_QF_TIMEEVT_ARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_AUTO_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM_ATTEMPT);
-// QS_FILTER_ON(QS_QF_TIMEEVT_DISARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_REARM);
-// QS_FILTER_ON(QS_QF_TIMEEVT_POST);
-// QS_FILTER_ON(QS_QF_TIMEEVT_CTR);
-// QS_FILTER_ON(QS_QF_CRIT_ENTRY);
-// QS_FILTER_ON(QS_QF_CRIT_EXIT);
-// QS_FILTER_ON(QS_QF_ISR_ENTRY);
-// QS_FILTER_ON(QS_QF_ISR_EXIT);
-// QS_FILTER_ON(QS_QF_INT_DISABLE);
-// QS_FILTER_ON(QS_QF_INT_ENABLE);
-// QS_FILTER_ON(QS_QF_ACTIVE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_EQUEUE_POST_ATTEMPT);
-// QS_FILTER_ON(QS_QF_MPOOL_GET_ATTEMPT);
-// QS_FILTER_ON(QS_QF_RESERVED1);
-// QS_FILTER_ON(QS_QF_RESERVED0);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_FIFO);
+ QS_FILTER_ON(QS_QF_ACTIVE_POST_LIFO);
+ QS_FILTER_ON(QS_QF_PUBLISH);
-// QS_FILTER_ON(QS_QK_MUTEX_LOCK);
-// QS_FILTER_ON(QS_QK_MUTEX_UNLOCK);
-// QS_FILTER_ON(QS_QK_SCHEDULE);
-// QS_FILTER_ON(QS_QK_RESERVED1);
-// QS_FILTER_ON(QS_QK_RESERVED0);
-
-// QS_FILTER_ON(QS_QEP_TRAN_HIST);
-// QS_FILTER_ON(QS_QEP_TRAN_EP);
-// QS_FILTER_ON(QS_QEP_TRAN_XP);
-// QS_FILTER_ON(QS_QEP_RESERVED1);
-// QS_FILTER_ON(QS_QEP_RESERVED0);
-
- QS_FILTER_ON(QS_SIG_DICT);
- QS_FILTER_ON(QS_OBJ_DICT);
- QS_FILTER_ON(QS_FUN_DICT);
- QS_FILTER_ON(QS_USR_DICT);
- QS_FILTER_ON(QS_EMPTY);
- QS_FILTER_ON(QS_RESERVED3);
- QS_FILTER_ON(QS_RESERVED2);
- QS_FILTER_ON(QS_TEST_RUN);
- QS_FILTER_ON(QS_TEST_FAIL);
- QS_FILTER_ON(QS_ASSERT_FAIL);
+ QS_FILTER_ON(PHILO_STAT);
+ QS_FILTER_ON(COMMAND_STAT);
/* return the status of creating the idle thread */
return (CreateThread(NULL, 1024, &idleThread, (void *)0, 0, NULL)
@@ -258,26 +291,19 @@ uint8_t QS_onStartup(void const *arg) {
}
/*..........................................................................*/
void QS_onCleanup(void) {
-
- QSPY_stop();
+ if (l_sock != INVALID_SOCKET) {
+ closesocket(l_sock);
+ l_sock = INVALID_SOCKET;
+ }
+ WSACleanup();
}
/*..........................................................................*/
void QS_onFlush(void) {
- for (;;) {
- uint16_t nBytes = 1024U;
- uint8_t const *block;
-
- QF_CRIT_ENTRY(dummy);
- block = QS_getBlock(&nBytes);
- QF_CRIT_EXIT(dummy);
-
- if (block != (uint8_t const *)0) {
- QSPY_parse(block, nBytes);
- nBytes = 1024U;
- }
- else {
- break;
- }
+ uint16_t nBytes = 1000;
+ uint8_t const *block;
+ while ((block = QS_getBlock(&nBytes)) != (uint8_t *)0) {
+ send(l_sock, (char const *)block, nBytes, 0);
+ nBytes = 1000;
}
}
/*..........................................................................*/
@@ -285,9 +311,24 @@ QSTimeCtr QS_onGetTime(void) {
return (QSTimeCtr)clock();
}
/*..........................................................................*/
-void QSPY_onPrintLn(void) {
- fputs(QSPY_line, stdout);
- fputc('\n', stdout);
+/*! callback function to reset the target (to be implemented in the BSP) */
+void QS_onReset(void) {
+ //TBD
}
+/*..........................................................................*/
+/*! callback function to execute a uesr command (to be implemented in BSP) */
+void QS_onCommand(uint8_t cmdId, uint32_t param) {
+ (void)cmdId;
+ (void)param;
+ QS_BEGIN(COMMAND_STAT, (void *)0) /* application-specific record begin */
+ QS_U8(2, cmdId);
+ QS_U32(8, param);
+ QS_END()
+
+ if (cmdId == 10U) {
+ Q_ERROR();
+ }
+}
+
#endif /* Q_SPY */
/*--------------------------------------------------------------------------*/
diff --git a/examples/win32/dpp/bsp.h b/examples/win32/dpp/bsp.h
index d05ad067..55bd35ba 100644
--- a/examples/win32/dpp/bsp.h
+++ b/examples/win32/dpp/bsp.h
@@ -1,13 +1,13 @@
/*****************************************************************************
* Product: DPP example
-* Last Updated for Version: 5.4.2
-* Date of the Last Update: 2015-06-03
+* Last Updated for Version: 4.5.02
+* Date of the Last Update: Jul 04, 2012
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, LLC. state-machine.com.
+* Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -28,20 +28,21 @@
* along with this program. If not, see .
*
* Contact information:
-* Web : http://www.state-machine.com
-* Email: info@state-machine.com
+* Quantum Leaps Web sites: http://www.quantum-leaps.com
+* http://www.state-machine.com
+* e-mail: info@quantum-leaps.com
*****************************************************************************/
#ifndef bsp_h
#define bsp_h
-#define BSP_TICKS_PER_SEC 100U
+#define BSP_TICKS_PER_SEC 50U
-void BSP_init(void);
+void BSP_init(int argc, char *argv[]);
void BSP_displayPaused(uint8_t paused);
void BSP_displayPhilStat(uint8_t n, char_t const *stat);
void BSP_terminate(int16_t result);
-void BSP_randomSeed(uint32_t seed); /* random seed */
-uint32_t BSP_random(void); /* pseudo-random generator */
+void BSP_randomSeed(uint32_t seed); /* random seed */
+uint32_t BSP_random(void); /* pseudo-random generator */
-#endif /* bsp_h */
+#endif /* bsp_h */
diff --git a/examples/win32/dpp/dpp.vcxproj b/examples/win32/dpp/dpp.vcxproj
index f43ad6a2..28db311d 100644
--- a/examples/win32/dpp/dpp.vcxproj
+++ b/examples/win32/dpp/dpp.vcxproj
@@ -84,6 +84,9 @@
Console
MachineX86
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -111,6 +114,9 @@
true
MachineX86
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
@@ -134,12 +140,16 @@
Console
MachineX86
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
true
true
+
@@ -150,17 +160,15 @@
-
+
true
- true
-
+
true
true
-
+
true
- true
diff --git a/examples/win32/dpp/dpp.vcxproj.filters b/examples/win32/dpp/dpp.vcxproj.filters
new file mode 100644
index 00000000..f94ef6f6
--- /dev/null
+++ b/examples/win32/dpp/dpp.vcxproj.filters
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {76cb74d9-2f6d-42d1-98bb-e99763c51a65}
+
+
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
+
\ No newline at end of file
diff --git a/examples/win32/dpp/main.c b/examples/win32/dpp/main.c
index 24835a72..817891d3 100644
--- a/examples/win32/dpp/main.c
+++ b/examples/win32/dpp/main.c
@@ -1,5 +1,5 @@
/*****************************************************************************
-* Product: DPP example for Windows
+* Product: DPP example
* Last Updated for Version: 5.4.0
* Date of the Last Update: 2015-04-07
*
@@ -36,20 +36,18 @@
#include "bsp.h"
/*..........................................................................*/
-int main() {
- /* storage for event queues and event pools */
+int main(int argc, char *argv[]) {
static QEvt const *tableQueueSto[N_PHILO];
static QEvt const *philoQueueSto[N_PHILO][N_PHILO];
- static QF_MPOOL_EL(TableEvt) smlPoolSto[2*N_PHILO];
-
static QSubscrList subscrSto[MAX_PUB_SIG];
+ static QF_MPOOL_EL(TableEvt) smlPoolSto[2*N_PHILO]; /* small pool */
uint8_t n;
Philo_ctor(); /* instantiate all Philosopher active objects */
Table_ctor(); /* instantiate the Table active object */
QF_init(); /* initialize the framework and the underlying RT kernel */
- BSP_init(); /* initialize the Board Support Package */
+ BSP_init(argc, argv); /* initialize the Board Support Package */
/* object dictionaries... */
QS_OBJ_DICTIONARY(smlPoolSto);
@@ -68,21 +66,22 @@ int main() {
/* start the active objects... */
for (n = 0U; n < N_PHILO; ++n) {
- QACTIVE_START(AO_Philo[n], /* AO to start */
- (uint_fast8_t)(n + 1), /* QP priority of the AO */
- philoQueueSto[n], /* event queue storage */
- Q_DIM(philoQueueSto[n]), /* queue length [events] */
- (void *)0, /* stack storage (not used) */
- 0U, /* stack size [bytes] (default) */
- (QEvt *)0); /* initialization event */
+ QACTIVE_START(AO_Philo[n], /* AO to start */
+ (uint_fast8_t)(n + 1), /* QP priority of the AO */
+ philoQueueSto[n], /* event queue storage */
+ Q_DIM(philoQueueSto[n]), /* queue length [events] */
+ (void *)0, /* stack storage (not used) */
+ 0U, /* size of the stack [bytes] */
+ (QEvt *)0); /* initialization event */
}
- QACTIVE_START(AO_Table, /* AO to start */
- (uint_fast8_t)(N_PHILO + 1), /* QP priority of the AO */
- tableQueueSto, /* event queue storage */
- Q_DIM(tableQueueSto), /* queue length [events] */
- (void *)0, /* stack storage (not used) */
- 0U, /* stack size [bytes] (default) */
- (QEvt *)0); /* initialization event */
+ QACTIVE_START(AO_Table, /* AO to start */
+ (uint_fast8_t)(N_PHILO + 1), /* QP priority of the AO */
+ tableQueueSto, /* event queue storage */
+ Q_DIM(tableQueueSto), /* queue length [events] */
+ (void *)0, /* stack storage (not used) */
+ 0U, /* size of the stack [bytes] */
+ (QEvt *)0); /* initialization event */
return QF_run(); /* run the QF application */
}
+
diff --git a/examples/win32/history_qhsm/Makefile b/examples/win32/history_qhsm/Makefile
index ec4a955a..98df30ec 100644
--- a/examples/win32/history_qhsm/Makefile
+++ b/examples/win32/history_qhsm/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, History with QHsm console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/history_qhsm/history.c b/examples/win32/history_qhsm/history.c
index ad68258b..4e3c58f5 100644
--- a/examples/win32/history_qhsm/history.c
+++ b/examples/win32/history_qhsm/history.c
@@ -131,6 +131,11 @@ static QState ToastOven_heating(ToastOven * const me, QEvt const * const e) {
status_ = Q_HANDLED();
break;
}
+ /* ${SMs::ToastOven::SM::doorClosed::heating::initial} */
+ case Q_INIT_SIG: {
+ status_ = Q_TRAN(&ToastOven_toasting);
+ break;
+ }
default: {
status_ = Q_SUPER(&ToastOven_doorClosed);
break;
diff --git a/examples/win32/history_qhsm/history.qm b/examples/win32/history_qhsm/history.qm
index 256b9c56..e4fef5b8 100644
--- a/examples/win32/history_qhsm/history.qm
+++ b/examples/win32/history_qhsm/history.qm
@@ -32,12 +32,12 @@
-
+
-
+
@@ -50,6 +50,11 @@
printf("heater-On;");
printf("heater-Off;");
+
+
+
+
+
printf("toasting;");
diff --git a/examples/win32/history_qmsm/Makefile b/examples/win32/history_qmsm/Makefile
index 3118d11f..baaf35ff 100644
--- a/examples/win32/history_qmsm/Makefile
+++ b/examples/win32/history_qmsm/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, History with QMsm console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/history_qmsm/history.c b/examples/win32/history_qmsm/history.c
index 75f51a4e..bd8ad4f3 100644
--- a/examples/win32/history_qmsm/history.c
+++ b/examples/win32/history_qmsm/history.c
@@ -48,12 +48,13 @@ static QMState const ToastOven_doorClosed_s = {
static QState ToastOven_heating (ToastOven * const me, QEvt const * const e);
static QState ToastOven_heating_e(ToastOven * const me);
static QState ToastOven_heating_x(ToastOven * const me);
+static QState ToastOven_heating_i(ToastOven * const me);
static QMState const ToastOven_heating_s = {
&ToastOven_doorClosed_s, /* superstate */
Q_STATE_CAST(&ToastOven_heating),
Q_ACTION_CAST(&ToastOven_heating_e),
Q_ACTION_CAST(&ToastOven_heating_x),
- Q_ACTION_CAST(0) /* no intitial tran. */
+ Q_ACTION_CAST(&ToastOven_heating_i)
};
static QState ToastOven_toasting (ToastOven * const me, QEvt const * const e);
static QState ToastOven_toasting_e(ToastOven * const me);
@@ -263,6 +264,21 @@ static QState ToastOven_heating_x(ToastOven * const me) {
(void)me; /* avoid compiler warning in case 'me' is not used */
return QM_EXIT(&ToastOven_heating_s);
}
+/* ${SMs::ToastOven::SM::doorClosed::heating::initial} */
+static QState ToastOven_heating_i(ToastOven * const me) {
+ static struct {
+ QMState const *target;
+ QActionHandler act[2];
+ } const tatbl_ = { /* transition-action table */
+ &ToastOven_toasting_s, /* target state */
+ {
+ Q_ACTION_CAST(&ToastOven_toasting_e), /* entry */
+ Q_ACTION_CAST(0) /* zero terminator */
+ }
+ };
+ /* ${SMs::ToastOven::SM::doorClosed::heating::initial} */
+ return QM_TRAN_INIT(&tatbl_);
+}
/* ${SMs::ToastOven::SM::doorClosed::heating} */
static QState ToastOven_heating(ToastOven * const me, QEvt const * const e) {
QState status_;
diff --git a/examples/win32/history_qmsm/history.qm b/examples/win32/history_qmsm/history.qm
index 3e710bf5..d7b4af91 100644
--- a/examples/win32/history_qmsm/history.qm
+++ b/examples/win32/history_qmsm/history.qm
@@ -32,12 +32,12 @@
-
+
-
+
@@ -50,6 +50,11 @@
printf("heater-On;");
printf("heater-Off;");
+
+
+
+
+
printf("toasting;");
diff --git a/examples/win32/history_qmsm/history.sln b/examples/win32/history_qmsm/history.sln
new file mode 100644
index 00000000..e41a70fb
--- /dev/null
+++ b/examples/win32/history_qmsm/history.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2013 for Windows Desktop
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "history", "history.vcxproj", "{8CC465F7-872E-4D03-B93C-1B64858B4E11}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ QSpy|Win32 = QSpy|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Debug|Win32.Build.0 = Debug|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Release|Win32.ActiveCfg = Release|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Release|Win32.Build.0 = Release|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.QSpy|Win32.ActiveCfg = QSpy|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.QSpy|Win32.Build.0 = QSpy|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/examples/win32/qhsmtst/.qhsmtst b/examples/win32/qhsmtst/.qhsmtst
new file mode 100644
index 00000000..4552c3a2
--- /dev/null
+++ b/examples/win32/qhsmtst/.qhsmtst
@@ -0,0 +1,58 @@
+
+
+ - GPL
+
+
+ - 1
+ - 0
+ - 3
+
+
+
+ - 4129280
+ - 0
+
+
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+
+
+ - 0
+
+
+
diff --git a/examples/win32/qhsmtst/Makefile b/examples/win32/qhsmtst/Makefile
index 9800ffb7..0cb8a112 100644
--- a/examples/win32/qhsmtst/Makefile
+++ b/examples/win32/qhsmtst/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, QHsmTst console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/qhsmtst/qhsmtst.sln b/examples/win32/qhsmtst/qhsmtst.sln
new file mode 100644
index 00000000..e370c575
--- /dev/null
+++ b/examples/win32/qhsmtst/qhsmtst.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2013 for Windows Desktop
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qhsmtst", "qhsmtst.vcxproj", "{8CC465F7-872E-4D03-B93C-1B64858B4E11}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ QSpy|Win32 = QSpy|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Debug|Win32.Build.0 = Debug|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Release|Win32.ActiveCfg = Release|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.Release|Win32.Build.0 = Release|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.QSpy|Win32.ActiveCfg = QSpy|Win32
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}.QSpy|Win32.Build.0 = QSpy|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/examples/win32/qhsmtst/qhsmtst.vcxproj b/examples/win32/qhsmtst/qhsmtst.vcxproj
new file mode 100644
index 00000000..97c21ca1
--- /dev/null
+++ b/examples/win32/qhsmtst/qhsmtst.vcxproj
@@ -0,0 +1,174 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+ QSpy
+ Win32
+
+
+
+ {8CC465F7-872E-4D03-B93C-1B64858B4E11}
+ qhsmtst
+ Win32Proj
+
+
+
+ Application
+ NotSet
+ v120
+
+
+ Application
+ NotSet
+ true
+ v120
+
+
+ Application
+ NotSet
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.40219.1
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+
+ Disabled
+ .;../../../include;../../../ports/win32;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ false
+
+
+ Default
+ MultiThreaded
+ NotUsing
+ Level4
+ ProgramDatabase
+ 4127
+ Default
+
+
+ %(AdditionalDependencies)
+ %(AdditionalLibraryDirectories)
+ true
+ Console
+ MachineX86
+
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
+
+
+
+ MaxSpeed
+ true
+ .;../../../include;../../../ports/win32;%(AdditionalIncludeDirectories)
+ NDEBUG;snprintf=_snprintf;WIN32;_CONSOLE;%(PreprocessorDefinitions)
+ false
+
+
+ Default
+ MultiThreaded
+ true
+ NotUsing
+ Level4
+ ProgramDatabase
+ 4127
+
+
+ %(AdditionalDependencies)
+ %(AdditionalLibraryDirectories)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
+
+
+
+ Disabled
+ .;../../../include;../../../ports/win32;$(QTOOLS)/qspy/include;%(AdditionalIncludeDirectories)
+ Q_SPY;snprintf=_snprintf;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ false
+
+
+ Default
+ MultiThreaded
+ NotUsing
+ Level4
+ ProgramDatabase
+ 4127
+
+
+ %(AdditionalDependencies)
+ %(AdditionalLibraryDirectories)
+ true
+ Console
+ MachineX86
+
+
+ cmd /c "del $(OutDir)qstamp.obj"
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ true
+ true
+
+
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/win32/qhsmtst/qhsmtst.vcxproj.filters b/examples/win32/qhsmtst/qhsmtst.vcxproj.filters
new file mode 100644
index 00000000..f07cc67e
--- /dev/null
+++ b/examples/win32/qhsmtst/qhsmtst.vcxproj.filters
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {76cb74d9-2f6d-42d1-98bb-e99763c51a65}
+
+
+
+
+ QP
+
+
+ QP
+
+
+ QP
+
+
+
\ No newline at end of file
diff --git a/examples/win32/qmsmtst/Makefile b/examples/win32/qmsmtst/Makefile
index cedd0a9d..4f07aa2e 100644
--- a/examples/win32/qmsmtst/Makefile
+++ b/examples/win32/qmsmtst/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, QMsmTst console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/reminder/Makefile b/examples/win32/reminder/Makefile
index 361cf1a6..4221e4e6 100644
--- a/examples/win32/reminder/Makefile
+++ b/examples/win32/reminder/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Reminder Pattern console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/reminder2/Makefile b/examples/win32/reminder2/Makefile
index 3e25d59c..95b4e301 100644
--- a/examples/win32/reminder2/Makefile
+++ b/examples/win32/reminder2/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C, Reminder2 Pattern console, Win32, MinGW
-# Last updated for version 5.4.2
-# Last updated on 2015-06-05
+# Last updated for version 5.5.0
+# Last updated on 2015-08-14
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -212,7 +212,8 @@ $(TARGET_BIN): $(TARGET_EXE)
$(BIN) -O binary $< $@
$(TARGET_EXE) : $(C_OBJS_EXT) $(CPP_OBJS_EXT) $(RC_OBJS_EXT)
- $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(LIBS)
+ $(CC) $(CFLAGS) -c $(QPC)/include/qstamp.c -o $(BIN_DIR)/qstamp.o
+ $(LINK) $(LINKFLAGS) $(LIB_DIRS) -o $@ $^ $(BIN_DIR)/qstamp.o $(LIBS)
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
diff --git a/examples/win32/reminder2/reminder2.c b/examples/win32/reminder2/reminder2.c
index e0b2ec19..ca1a4035 100644
--- a/examples/win32/reminder2/reminder2.c
+++ b/examples/win32/reminder2/reminder2.c
@@ -103,14 +103,14 @@ QState Cruncher_processing(Cruncher * const me, QEvt const * const e) {
status = Q_HANDLED();
}
else {
- printf("pi=%16.14f\n", 4.0*me->sum);
+ printf("pi=%16.14f\n", 4.0*me->sum);
fflush(stdout);
status = Q_TRAN(&Cruncher_processing);
}
break;
}
case ECHO_SIG: {
- printf("Echo! pi=%16.14f\n", 4.0*me->sum);
+ printf("Echo! pi=%16.14f\n", 4.0*me->sum);
fflush(stdout);
status = Q_HANDLED();
break;
@@ -131,7 +131,7 @@ QState Cruncher_final(Cruncher * const me, QEvt const * const e) {
QState status;
switch (e->sig) {
case Q_ENTRY_SIG: {
- printf("final-ENTRY;\n");
+ printf("final-ENTRY;\n");
fflush(stdout);
QF_stop(); /* terminate the application */
status = Q_HANDLED();
@@ -157,9 +157,9 @@ int main(int argc, char *argv[]) {
printf("Reminder state pattern\nQP version: %s\n"
"Press 'e' to echo the current value...\n"
"Press ESC to quit...\n",
- QP_versionStr);
- fflush(stdout);
-
+ QP_versionStr);
+ fflush(stdout);
+
Cruncher_ctor(&l_cruncher);
BSP_init(argc, argv); /* initialize the BSP */
diff --git a/include/qassert.h b/include/qassert.h
index 04731ecb..64e970b0 100644
--- a/include/qassert.h
+++ b/include/qassert.h
@@ -200,8 +200,8 @@
*
* @param[in] module name of the file/module in which the assertion failed
* (constant ROM-based, zero-terminated C string)
-* @param[in] line line number or user-specified ID-number to identify
-* the location of the failing assertion within the file.
+* @param[in] loc location of the assertion within the module. This could
+* be a line number or a user-specified ID-number.
*
* @note This callback function should _not_ return, as continuation after
* an assertion failure does not make sense.
@@ -220,7 +220,7 @@
* #Q_ERROR, #Q_ALLEGE as well as #Q_ASSERT_ID, #Q_REQUIRE_ID, #Q_ENSURE_ID,
* #Q_ERROR_ID, and #Q_ALLEGE_ID.
*/
-void Q_onAssert(char_t const Q_ROM * const file, int_t line);
+void Q_onAssert(char_t const Q_ROM * const module, int_t location);
#ifdef __cplusplus
}
diff --git a/include/qep.h b/include/qep.h
index b49de44c..77000c8a 100644
--- a/include/qep.h
+++ b/include/qep.h
@@ -4,14 +4,14 @@
* @ingroup qep
* @cond
******************************************************************************
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-09-04
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -32,8 +32,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -45,16 +45,16 @@
* major version number, Y is a 1-digit minor version number, and Z is
* a 1-digit release number.
*/
-#define QP_VERSION 542
+#define QP_VERSION 550
/*! The current QP version number string of the form X.Y.Z, where X is
* a 1-digit major version number, Y is a 1-digit minor version number,
* and Z is a 1-digit release number.
*/
-#define QP_VERSION_STR "5.4.2"
+#define QP_VERSION_STR "5.5.0"
-/*! Tamperproof current QP release (5.4.2) and date (15-06-03) */
-#define QP_RELEASE 0xA63BCC31U
+/*! Tamperproof current QP release (5.5.0) and date (15-09-04) */
+#define QP_RELEASE 0xA60DDE59U
/****************************************************************************/
#ifndef Q_SIGNAL_SIZE
@@ -350,9 +350,13 @@ struct QMsmVtbl {
/*! Protected "constructor" of a ::QMsm */
void QMsm_ctor(QMsm * const me, QStateHandler initial);
-/*! Obtain the current active state from a MSM (read only). */
+/*! Obtain the current active state from a MSM (read only) */
#define QMsm_stateObj(me_) (Q_MSM_UPCAST(me_)->state.obj)
+/*! Obtain the current active child state of a given parent (read only) */
+QMState const *QMsm_childStateObj(QMsm const * const me,
+ QMState const * const parent);
+
/*! Polymorphically executes the top-most initial transition in a SM. */
/**
* @param[in,out] me_ pointer (see @ref oop)
@@ -426,12 +430,14 @@ void QHsm_ctor(QHsm * const me, QStateHandler initial);
*/
#define QHsm_state(me_) (Q_STATE_CAST(Q_MSM_UPCAST(me_)->state.fun))
-/*! Implementation of the top-most initial transition in QHsm.
-*/
+/*! Obtain the current active child state of a given parent (read only) */
+QStateHandler QHsm_childState(QHsm * const me,
+ QStateHandler const parent);
+
+/*! Implementation of the top-most initial transition in QHsm */
void QHsm_init_(QHsm * const me, QEvt const * const e);
-/*! Implementation of dispatching events to QHsm.
-*/
+/*! Implementation of dispatching events to QHsm */
void QHsm_dispatch_(QHsm * const me, QEvt const * const e);
/*! Tests if a given state is part of the current active state
diff --git a/include/qf.h b/include/qf.h
index a0d61ba6..2f75c8fd 100644
--- a/include/qf.h
+++ b/include/qf.h
@@ -4,8 +4,8 @@
* @ingroup qf
* @cond
******************************************************************************
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-03
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -525,6 +525,9 @@ void QF_psInit(QSubscrList * const subscrSto, enum_t const maxSignal);
void QF_poolInit(void * const poolSto, uint_fast32_t const poolSize,
uint_fast16_t const evtSize);
+/*! Obtain the block size of any registered event pools */
+uint_fast16_t QF_poolGetMaxBlockSize(void);
+
/*! Transfers control to QF to run the application. */
int_t QF_run(void);
@@ -650,10 +653,13 @@ uint_fast16_t QF_getPoolMin(uint_fast8_t const poolId);
* the given event queue. */
uint_fast16_t QF_getQueueMin(uint_fast8_t const prio);
-/*! Internal QP implementation of the dynamic event allocator. */
+/*! Internal QF implementation of the dynamic event allocator. */
QEvt *QF_newX_(uint_fast16_t const evtSize,
uint_fast16_t const margin, enum_t const sig);
+/*! Internal QF implementation of the event reference creator. */
+QEvt const *QF_newRef_(QEvt const * const e, QEvt const * const evtRef);
+
#ifdef Q_EVT_CTOR /* Shall the constructor for the QEvt class be provided? */
#define Q_NEW(evtT_, sig_, ...) \
@@ -673,7 +679,7 @@ QEvt *QF_newX_(uint_fast16_t const evtSize,
/*! Allocate a dynamic event. */
/**
* @description
- * The macro calls the internal QF function QF::newX_() with
+ * The macro calls the internal QF function QF_newX_() with
* margin == 0, which causes an assertion when the event cannot be
* successfully allocated.
*
@@ -699,7 +705,6 @@ QEvt *QF_newX_(uint_fast16_t const evtSize,
/*! Allocate a dynamic event (non-asserting version). */
/**
* @description
- * @description
* This macro allocates a new event and sets the pointer @p e_, while
* leaving at least @p margin_ of events still available in the pool
*
@@ -726,6 +731,48 @@ QEvt *QF_newX_(uint_fast16_t const evtSize,
#endif /* Q_EVT_CTOR */
+/*! Create a new reference of the current event `e` */
+/**
+* @description
+* The current event processed by an active object is available only for
+* the duration of the run-to-completion (RTC) step. After that step, the
+* current event is no longer available and the framework might recycle
+* (garbage-collect) the event. The macro Q_NEW_REF() explicitly creates
+* a new reference to the current event that can be stored and used beyond
+* the current RTC step, until the reference is explicitly recycled by
+* means of the macro Q_DELETE_REF().
+*
+* @param[in,out] evtRef_ event reference to create
+* @param[in] evtT_ event type (class name) of the event refrence
+*
+* @usage
+* The example **defer** in the directory `examples/win32/defer` illustrates
+* the use of Q_NEW_REF()
+*
+* @sa Q_DELETE_REF()
+*/
+#define Q_NEW_REF(evtRef_, evtT_) \
+ ((evtRef_) = (evtT_ const *)QF_newRef_(e, &(evtRef_)->super))
+
+/*! Delete the event reference */
+/**
+* @description
+* Every event reference created with the macro Q_NEW_REF() needs to be
+* eventually deleted by means of the macro Q_DELETE_REF() to avoid leaking
+* the event.
+*
+* @param[in,out] evtRef_ event reference to delete
+*
+* @usage
+* The example **defer** in the directory `examples/win32/defer` illustrates
+* the use of Q_DELETE_REF()
+*
+* @sa Q_NEW_REF()
+*/
+#define Q_DELETE_REF(evtRef_) do { \
+ QF_gc(&(evtRef_)->super); \
+ (evtRef_) = (void *)0; \
+} while (0)
/*! Recycle a dynamic event. */
void QF_gc(QEvt const * const e);
diff --git a/include/qpc.h b/include/qpc.h
index 62398ab3..e6389a05 100644
--- a/include/qpc.h
+++ b/include/qpc.h
@@ -3,14 +3,14 @@
* @brief QP/C public interface including backwards-compatibility layer
* @cond
******************************************************************************
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-07-28
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -31,8 +31,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -59,6 +59,16 @@ extern "C" {
#include "qs_dummy.h" /* QS/C dummy (inactive) interface */
#endif
+/*! Symbols for time-stamping the application build */
+/**
+* @description
+* The exernal symbols Q_APP_BUILD_DATE and Q_APP_BUILD_TIME are defined in
+* the module qstamp.c. This module needs to be re-compiled for every software
+* build.
+*/
+extern char_t const Q_ROM Q_APP_BUILD_DATE[12];
+extern char_t const Q_ROM Q_APP_BUILD_TIME[9];
+
/****************************************************************************/
#ifndef QP_API_VERSION
diff --git a/include/qpc.lnt b/include/qpc.lnt
index 43a828f0..7a13c121 100644
--- a/include/qpc.lnt
+++ b/include/qpc.lnt
@@ -1,7 +1,7 @@
//============================================================================
// Product: PC-Lint 9.x option file for linting QP/C applications
-// Last updated for version 5.4.1
-// Last updated on 2015-05-31
+// Last updated for version 5.5.0
+// Last updated on 2015-07-27
//
// Q u a n t u m L e a P s
// ---------------------------
@@ -186,6 +186,8 @@
-estring(961, // MISRA04-19.7(adv) function-like macro
Q_NEW,
Q_NEW_X,
+ Q_NEW_REF,
+ Q_DELETE_REF,
QF_INT_DISABLE,
QF_INT_ENABLE,
QF_CRIT_ENTRY,
@@ -260,6 +262,7 @@
-emacro(929, // MISRA04-11.4(adv) cast from pointer to pointer
Q_NEW,
Q_NEW_X,
+ Q_NEW_REF,
QACTIVE_POST,
QACTIVE_POST_LIFO)
-emacro(960, // MISRA04-17.4(req) pointer increment
@@ -272,10 +275,12 @@
QTimeEvt_postEvery)
-esym(960, // MISRA04-19.10(req) unparenthesized macro par
Q_NEW,
- Q_NEW_X)
+ Q_NEW_X,
+ Q_NEW_REF)
-estring(9022, // MISRA04-19.10(req) unparenthesized macro parameter
Q_NEW,
- Q_NEW_X)
+ Q_NEW_X,
+ Q_NEW_REF)
-esym(641, *Signals) // Converting enum '*Signals' to 'int'
-esym(754, sto_) // local structure member 'sto' not referenced
@@ -359,7 +364,8 @@
QS_FLUSH,
QS_STR_ROM,
QS_MEM,
- QS_SIG)
+ QS_SIG,
+ QS_RX_PUT)
-estring(961, // MISRA04-19.7(adv) function-like macro
QS_CRIT_ENTRY_,
QS_CRIT_EXIT_,
diff --git a/include/qs.h b/include/qs.h
index 97e2a917..e7a4f8c7 100644
--- a/include/qs.h
+++ b/include/qs.h
@@ -4,14 +4,14 @@
* @ingroup qs
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-05-08
+* Last updated for version 5.5.0
+* Last updated on 2015-08-31
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -32,8 +32,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -50,11 +50,21 @@
* @description
* This enumeration specifies the record types used in the QP components.
* You can specify your own record types starting from ::QS_USER offset.
-* Currently, the maximum of all records cannot exceed 256.
-* @sa QS_filterIn()/QS_FILTER_ON and QS_filterOut()/QS_FILTER_OFF
+* Currently, the maximum of all records cannot exceed 125.
+*
+* @note
+* The QS records labeled as "not maskable" are always enabled and cannot
+* be turend off with the QS_FILTER_OFF() macro.
+*
+* @note
+* The numerical values of the QS trace records used by the Target and
+* the host "back-end", such as the QSPY host application.
+*
+* @sa QS_FILTER_ON() and QS_FILTER_OFF() macros
*/
enum QSpyRecords {
- QS_QP_RESET, /*!< reset the QP (start of a new QS session) */
+ /* [0] QS session (not maskable) */
+ QS_EMPTY, /*!< QS record for cleanly starting a session */
/* [1] QEP records */
QS_QEP_STATE_ENTRY, /*!< a state was entered */
@@ -109,12 +119,12 @@ enum QSpyRecords {
QS_QF_RESERVED1,
QS_QF_RESERVED0,
- /* [50] QK records */
- QS_QK_MUTEX_LOCK, /*!< the QK mutex was locked */
- QS_QK_MUTEX_UNLOCK, /*!< the QK mutex was unlocked */
- QS_QK_SCHEDULE, /*!< the QK scheduled a new task to execute */
- QS_QK_RESERVED1,
- QS_QK_RESERVED0,
+ /* [50] QK/QV records */
+ QS_QK_MUTEX_LOCK, /*!< QK mutex was locked */
+ QS_QK_MUTEX_UNLOCK, /*!< QK mutex was unlocked */
+ QS_QVK_SCHEDULE, /*!< QK/QV scheduled a new task to execute */
+ QS_QVK_IDLE, /*!< QK/QV became idle */
+ QS_QK_RESUME, /*!< QK resumed previous task (not idle) */
/* [55] Additional QEP records */
QS_QEP_TRAN_HIST, /*!< a transition to history was taken */
@@ -123,24 +133,24 @@ enum QSpyRecords {
QS_QEP_RESERVED1,
QS_QEP_RESERVED0,
- /* [60] Miscellaneous QS records */
+ /* [60] Miscellaneous QS records (not maskable) */
QS_SIG_DICT, /*!< signal dictionary entry */
QS_OBJ_DICT, /*!< object dictionary entry */
QS_FUN_DICT, /*!< function dictionary entry */
QS_USR_DICT, /*!< user QS record dictionary entry */
- QS_EMPTY, /*!< QS record for cleanly starting a session */
- QS_RESERVED3,
- QS_RESERVED2,
- QS_TEST_RUN, /*!< a given test is being run */
- QS_TEST_FAIL, /*!< a test assertion failed */
+ QS_TARGET_INFO, /*!< reports the Target information */
+ QS_RESERVED0,
+ QS_RX_STATUS, /*!< reports QS data receive status */
+ QS_TEST_STATUS, /*!< reports test status */
+ QS_PEEK_DATA, /*!< reports the data from the PEEK query */
QS_ASSERT_FAIL, /*!< assertion failed in the code */
/* [70] Application-specific QS records */
- QS_USER /*!< the first record available for QS user */
+ QS_USER /*!< the first record available to QS users */
};
/*! Specification of all QS records for QS_FILTER_ON() and QS_FILTER_OFF() */
-#define QS_ALL_RECORDS ((uint_fast8_t)0xFF)
+#define QS_ALL_RECORDS ((uint_fast8_t)0xFF)
#ifndef QS_TIME_SIZE
@@ -256,15 +266,15 @@ void QS_mem(uint8_t const *blk, uint8_t size);
/*! Output signal dictionary record */
void QS_sig_dict(enum_t const sig, void const * const obj,
- char_t const Q_ROM * const name);
+ char_t const Q_ROM *name);
/*! Output object dictionary record */
void QS_obj_dict(void const * const obj,
- char_t const Q_ROM * const name);
+ char_t const Q_ROM *name);
/*! Output function dictionary record */
void QS_fun_dict(void (* const fun)(void),
- char_t const Q_ROM *const name);
+ char_t const Q_ROM *name);
/*! Output user dictionary record */
void QS_usr_dict(enum_t const rec,
@@ -352,7 +362,8 @@ QSTimeCtr QS_onGetTime(void);
* routine if #Q_SPY is defined, or do nothing if #Q_SPY is not defined.
* @sa QS_onStartup(), example of setting up a QS filter in QS_FILTER_ON
*/
-#define QS_INIT(arg_) (QS_onStartup(arg_) != (uint8_t)0)
+#define QS_INIT(arg_) ((QS_onStartup(arg_) != (uint8_t)0) \
+ ? (QS_onFlush(), (uint8_t)1) : (uint8_t)0)
/*! Cleanup the QS facility. */
/**
@@ -380,6 +391,9 @@ QSTimeCtr QS_onGetTime(void);
* This macro provides an indirection layer to call QS_filterOff() if #Q_SPY
* is defined, or do nothing if #Q_SPY is not defined.
*
+* @note
+* The QS records marked as "non-maskable" in the
+*
* @sa Example of using QS filters in #QS_FILTER_ON documentation
*/
#define QS_FILTER_OFF(rec_) (QS_filterOff((uint_fast8_t)(rec_)))
@@ -987,13 +1001,15 @@ enum {
* @description
* This trace record is intended to use from the Q_onAssert() callback.
*/
-#define QS_ASSERTION(module_, loc_) do { \
+#define QS_ASSERTION(module_, loc_, delay_) do { \
+ uint32_t volatile delay_ctr_; \
QS_BEGIN_NOCRIT_(QS_ASSERT_FAIL, (void *)0, (void *)0) \
QS_TIME_(); \
QS_U16_((uint16_t)(loc_)); \
QS_STR_ROM_(module_); \
QS_END_NOCRIT_() \
QS_onFlush(); \
+ for (delay_ctr_ = (delay_); delay_ctr_ > (uint32_t)0; --delay_ctr_) {} \
} while (0)
/*! Flush the QS trace data to the host */
@@ -1041,7 +1057,7 @@ enum {
#define QS_getVersion() (QP_versionStr)
/****************************************************************************/
-/* QS private data */
+/* QS private data (the transmit channel) */
typedef uint_fast16_t QSCtr; /*!< QS ring buffer counter and offset type */
/*! Private QS data to keep track of the filters and the trace buffer. */
@@ -1057,7 +1073,7 @@ typedef struct {
uint8_t *buf; /*!< pointer to the start of the ring buffer */
QSCtr end; /*!< offset of the end of the ring buffer */
QSCtr head; /*!< offset to where next byte will be inserted */
- QSCtr tail; /*!< offset of where next event will be extracted */
+ QSCtr tail; /*!< offset of where next byte will be extracted */
QSCtr used; /*!< number of bytes currently in the ring buffer */
uint8_t seq; /*!< the record sequence number */
uint8_t chksum; /*!< the checksum of the current record */
@@ -1067,6 +1083,76 @@ typedef struct {
extern QSPriv QS_priv_;
+
+/****************************************************************************/
+/* QS receive channel */
+
+/*! Quantum Spy Receive (RX) record types: */
+/**
+* @description
+* This enumeration specifies the record types for the QS receive channel.
+*/
+enum QSpyRxRecords {
+ QS_RX_INFO, /*!< query Target info (ver, config, tstamp) */
+ QS_RX_COMMAND, /*!< execute a user-defined command in the Target */
+ QS_RX_RESET, /*!< reset the Target */
+ QS_RX_TICK, /*!< call QF_tick() */
+ QS_RX_PEEK, /*!< peek Target memory */
+ QS_RX_POKE, /*!< poke Target memory */
+ QS_RX_RESERVED7, /*!< reserved for future use */
+ QS_RX_RESERVED6, /*!< reserved for future use */
+ QS_RX_RESERVED5, /*!< reserved for future use */
+ QS_RX_RESERVED4, /*!< reserved for future use */
+ QS_RX_GLB_FILTER, /*!< set global filters in the Target */
+ QS_RX_LOC_FILTER, /*!< set local filters in the Target */
+ QS_RX_AO_FILTER, /*!< set local AO filter in the Target */
+ QS_RX_RESERVED3, /*!< reserved for future use */
+ QS_RX_RESERVED2, /*!< reserved for future use */
+ QS_RX_RESERVED1, /*!< reserved for future use */
+ QS_RX_EVENT /*!< inject an event to the Target (post/publish) */
+};
+
+/*! Initialize the QS RX data buffer. */
+void QS_rxInitBuf(uint8_t sto[], uint16_t stoSize);
+
+/*! Parse all bytes present in the QS RX data buffer */
+void QS_rxParse(void);
+
+/*! Private QS-RX data to keep track of the lock-free buffer. */
+typedef struct {
+ uint8_t *buf; /*!< pointer to the start of the ring buffer */
+ QSCtr end; /*!< offset of the end of the ring buffer */
+ QSCtr head; /*!< offset to where next byte will be inserted */
+ QSCtr tail; /*!< offset of where next byte will be extracted */
+} QSrxPriv;
+
+extern QSrxPriv QS_rxPriv_;
+
+/*! put one byte into the QS RX lock-free buffer */
+#define QS_RX_PUT(b_) do { \
+ if (QS_rxPriv_.head != (QSCtr)0) { \
+ if ((QS_rxPriv_.head - QS_rxPriv_.tail) != (QSCtr)1) { \
+ QS_rxPriv_.buf[QS_rxPriv_.head] = (uint8_t)(b_); \
+ --QS_rxPriv_.head; \
+ } \
+ } \
+ else { \
+ if (QS_rxPriv_.tail != QS_rxPriv_.end) { \
+ QS_rxPriv_.buf[0] = (uint8_t)(b_); \
+ QS_rxPriv_.head = QS_rxPriv_.end; \
+ } \
+ } \
+} while (0)
+
+/*! Obtain the number of free bytes in the QS RX data buffer */
+uint16_t QS_rxGetNfree(void);
+
+/*! callback function to reset the target (to be implemented in the BSP) */
+void QS_onReset(void);
+
+/*! callback function to execute user commands (to be implemented in BSP) */
+void QS_onCommand(uint8_t cmdId, uint32_t param);
+
#endif /* qs_h */
diff --git a/include/qs_dummy.h b/include/qs_dummy.h
index 2c5c05d4..97923711 100644
--- a/include/qs_dummy.h
+++ b/include/qs_dummy.h
@@ -5,14 +5,14 @@
* @ingroup qs
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-03-24
+* Last updated for version 5.5.0
+* Last updated on 2015-08-06
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -33,8 +33,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -86,9 +86,7 @@
#define QS_OBJ_DICTIONARY(obj_) ((void)0)
#define QS_FUN_DICTIONARY(fun_) ((void)0)
#define QS_USR_DICTIONARY(rec_) ((void)0)
-#define QS_ASSERTION(module_, loc_) ((void)0)
-#define QS_TEST_ASSERTION(file_, loc_) ((void)0)
-#define QS_TEST(file_, test_) ((void)0)
+#define QS_ASSERTION(module_, loc_, delay_) ((void)0)
#define QS_FLUSH() ((void)0)
/****************************************************************************/
diff --git a/include/qstamp.c b/include/qstamp.c
new file mode 100644
index 00000000..aa9af175
--- /dev/null
+++ b/include/qstamp.c
@@ -0,0 +1,55 @@
+/**
+* @file
+* @brief Application build times-tamp
+* @cond
+******************************************************************************
+* Last updated for version 5.5.0
+* Last updated on 2015-07-28
+*
+* Q u a n t u m L e a P s
+* ---------------------------
+* innovating embedded systems
+*
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
+*
+* This program is open source software: you can redistribute it and/or
+* modify it under the terms of the GNU General Public License as published
+* by the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* Alternatively, this program may be distributed and modified under the
+* terms of Quantum Leaps commercial licenses, which expressly supersede
+* the GNU General Public License and are specifically designed for
+* licensees interested in retaining the proprietary status of their code.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see .
+*
+* Contact information:
+* http://www.state-machine.com
+* mailto:info@state-machine.com
+******************************************************************************
+* @endcond
+*/
+
+#include "qpc.h"
+
+/**
+* @note
+* This module needs to be re-compiled in every new software build. To achive
+* this, it is recommended to delete the object file (qstamp.o, or qstamp.obj)
+* in the build directory before each build. (Most development tools allow
+* you to specify a pre-build command, which is the ideal place to delete
+* the qstamp object file.)
+*/
+
+/* the calendar date of the last translation of the form: "Mmm dd yyyy" */
+char_t const Q_ROM Q_BUILD_DATE[12] = __DATE__;
+
+/* the time of the last translation of the form: "hh:mm:ss" */
+char_t const Q_ROM Q_BUILD_TIME[9] = __TIME__;
diff --git a/ports/freertos/arm-cm/gnu/qf_port.c b/ports/freertos/arm-cm/gnu/qf_port.c
index c9228b11..a92cfc37 100644
--- a/ports/freertos/arm-cm/gnu/qf_port.c
+++ b/ports/freertos/arm-cm/gnu/qf_port.c
@@ -4,8 +4,8 @@
* @ingroup ports
* @cond
******************************************************************************
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.4.3
+* Date of the Last Update: 2015-06-18
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -67,6 +67,15 @@ int_t QF_run(void) {
void QF_stop(void) {
QF_onCleanup(); /* cleanup callback */
}
+/*..........................................................................*/
+void QF_setTaskName(QMActive *act, char_t const *taskName) {
+ /* this function must be called before QACTIVE_START(),
+ * which implies that me->thread must not be used yet;
+ */
+ Q_REQUIRE(act->thread == (TaskHandle_t)0);
+ act->thread = (TaskHandle_t)taskName; /* store the name in me->thread */
+}
+
/*..........................................................................*/
static void task_function(void *pvParameters) { /* FreeRTOS signature */
QActive *act = (QActive *)pvParameters;
@@ -87,6 +96,10 @@ void QActive_start_(QActive * const me, uint_fast8_t prio,
QEvt const *ie)
{
portBASE_TYPE err;
+ /* task name provided by the user in QF_setTaskName() or default name */
+ char_t const *taskName = (me->thread != (TaskHandle_t)0)
+ ? (char_t const *)me->thread
+ : (char_t const *)"AO";
Q_REQUIRE((qSto != (QEvt const **)0) /* queue storage must be provided */
&& (qLen > (uint_fast16_t)0) /* queue size must be provided */
@@ -104,7 +117,7 @@ void QActive_start_(QActive * const me, uint_fast8_t prio,
/* create the FreeRTOS.org task for the AO */
err = xTaskCreate(&task_function, /* the task function */
- (const char *)"AO", /* the name of the task */
+ taskName , /* the name of the task */
(uint16_t)stkSize/sizeof(portSTACK_TYPE), /* stack size */
(void *)me, /* the 'pvParameters' parameter */
(UBaseType_t)(prio + tskIDLE_PRIORITY), /* FreeRTOS priority */
diff --git a/ports/freertos/arm-cm/gnu/qf_port.h b/ports/freertos/arm-cm/gnu/qf_port.h
index 39eef460..932d8bb5 100644
--- a/ports/freertos/arm-cm/gnu/qf_port.h
+++ b/ports/freertos/arm-cm/gnu/qf_port.h
@@ -4,8 +4,8 @@
* @ingroup ports
* @cond
******************************************************************************
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.4.3
+* Date of the Last Update: 2015-06-18
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -101,6 +101,9 @@ extern FreeRTOSExtras FreeRTOS_extras;
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName);
#endif
+/* set FreeRTOS taks name; must be be called before QACTIVE_START() */
+void QF_setTaskName(QMActive *act, char_t const *taskName);
+
/*****************************************************************************
* interface used only inside QF, but not in applications
*/
diff --git a/ports/freertos/arm-cm/iar/qf_port.c b/ports/freertos/arm-cm/iar/qf_port.c
index c9228b11..a92cfc37 100644
--- a/ports/freertos/arm-cm/iar/qf_port.c
+++ b/ports/freertos/arm-cm/iar/qf_port.c
@@ -4,8 +4,8 @@
* @ingroup ports
* @cond
******************************************************************************
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.4.3
+* Date of the Last Update: 2015-06-18
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -67,6 +67,15 @@ int_t QF_run(void) {
void QF_stop(void) {
QF_onCleanup(); /* cleanup callback */
}
+/*..........................................................................*/
+void QF_setTaskName(QMActive *act, char_t const *taskName) {
+ /* this function must be called before QACTIVE_START(),
+ * which implies that me->thread must not be used yet;
+ */
+ Q_REQUIRE(act->thread == (TaskHandle_t)0);
+ act->thread = (TaskHandle_t)taskName; /* store the name in me->thread */
+}
+
/*..........................................................................*/
static void task_function(void *pvParameters) { /* FreeRTOS signature */
QActive *act = (QActive *)pvParameters;
@@ -87,6 +96,10 @@ void QActive_start_(QActive * const me, uint_fast8_t prio,
QEvt const *ie)
{
portBASE_TYPE err;
+ /* task name provided by the user in QF_setTaskName() or default name */
+ char_t const *taskName = (me->thread != (TaskHandle_t)0)
+ ? (char_t const *)me->thread
+ : (char_t const *)"AO";
Q_REQUIRE((qSto != (QEvt const **)0) /* queue storage must be provided */
&& (qLen > (uint_fast16_t)0) /* queue size must be provided */
@@ -104,7 +117,7 @@ void QActive_start_(QActive * const me, uint_fast8_t prio,
/* create the FreeRTOS.org task for the AO */
err = xTaskCreate(&task_function, /* the task function */
- (const char *)"AO", /* the name of the task */
+ taskName , /* the name of the task */
(uint16_t)stkSize/sizeof(portSTACK_TYPE), /* stack size */
(void *)me, /* the 'pvParameters' parameter */
(UBaseType_t)(prio + tskIDLE_PRIORITY), /* FreeRTOS priority */
diff --git a/ports/freertos/arm-cm/iar/qf_port.h b/ports/freertos/arm-cm/iar/qf_port.h
index 4c41c860..58df864b 100644
--- a/ports/freertos/arm-cm/iar/qf_port.h
+++ b/ports/freertos/arm-cm/iar/qf_port.h
@@ -4,8 +4,8 @@
* @ingroup ports
* @cond
******************************************************************************
-* Last Updated for Version: 5.4.0
-* Date of the Last Update: 2015-04-08
+* Last Updated for Version: 5.4.3
+* Date of the Last Update: 2015-06-18
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -104,6 +104,9 @@ extern FreeRTOSExtras FreeRTOS_extras;
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName);
#endif
+/* set FreeRTOS taks name; must be be called before QACTIVE_START() */
+void QF_setTaskName(QMActive *act, char_t const *taskName);
+
/*****************************************************************************
* interface used only inside QF, but not in applications
*/
diff --git a/ports/lint/lin.bat b/ports/lint/lin.bat
index 39e2281b..ff447cf0 100644
--- a/ports/lint/lin.bat
+++ b/ports/lint/lin.bat
@@ -1,8 +1,8 @@
@echo off
:: ===========================================================================
:: Product: QP/C build script for PC-Lint(TM), Standard C compiler
-:: Last Updated for Version: 5.4.0
-:: Date of the Last Update: 2015-03-13
+:: Last Updated for Version: 5.5.0
+:: Date of the Last Update: 2015-07-27
::
:: Q u a n t u m L e a P s
:: ---------------------------
@@ -51,15 +51,15 @@ if NOT exist "%PC_LINT%" (
set LINTFLAGS=..\..\include\std.lnt options.lnt %1 %2 %3 %4
:: do the linting...
-%PC_LINT%\lint-nt -os(lint_qep.txt) %LINTFLAGS% -iqk ..\..\source\qep*.c
+%PC_LINT%\lint-nt -os(lint_qep.log) %LINTFLAGS% -iqk ..\..\source\qep*.c
-%PC_LINT%\lint-nt -os(lint_qf.txt) %LINTFLAGS% -iqk ..\..\source\qf*.c
+%PC_LINT%\lint-nt -os(lint_qf.log) %LINTFLAGS% -iqk ..\..\source\qf*.c
-%PC_LINT%\lint-nt -os(lint_qk.txt) %LINTFLAGS% -iqk ..\..\source\qk*.c
+%PC_LINT%\lint-nt -os(lint_qk.log) %LINTFLAGS% -iqk ..\..\source\qk*.c
-%PC_LINT%\lint-nt -os(lint_qv.txt) %LINTFLAGS% -iqv ..\..\source\qv*.c
+%PC_LINT%\lint-nt -os(lint_qv.log) %LINTFLAGS% -iqv ..\..\source\qv*.c
-%PC_LINT%\lint-nt -os(lint_qs.txt) %LINTFLAGS% -iqk -DQ_SPY ..\..\source\qs*.c
+%PC_LINT%\lint-nt -os(lint_qs.log) %LINTFLAGS% -iqk -DQ_SPY ..\..\source\qs*.c
:end
endlocal
diff --git a/ports/lint/lint_qep.txt b/ports/lint/lint_qep.txt
deleted file mode 100644
index 2447fe1f..00000000
--- a/ports/lint/lint_qep.txt
+++ /dev/null
@@ -1,502 +0,0 @@
-
---- Module: D:\qp\qpc\source\qep_hsm.c (C)
-
---- Module: D:\qp\qpc\source\qep_msm.c (C)
-
-/// Start of Pass 2 ///
-
---- Module: D:\qp\qpc\source\qep_hsm.c (C)
-
---- Module: D:\qp\qpc\source\qep_msm.c (C)
-
---- Global Wrap-up
-
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 212 1 Info 757: global declarator 'intEnable(void)' (line 212, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intEnable'
-"D:\qp\qpc\include\qf.h" 61 1 Info 756: global typedef 'QEvtSize' (line 61, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 247 1 Info 757: global declarator 'QS_mem(const uint8_t *, uint8_t)' (line 247, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_mem'
-"D:\qp\qpc\ports\lint\stdint.h" 31 1 Info 756: global typedef 'uint64_t' (line 31, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 26 1 Info 756: global typedef 'int64_t' (line 26, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 794 1 Info 757: global declarator 'QF_log2Lkup' (line 794, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 162 1 Info 757: global declarator 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMActive_ctor'
-"D:\qp\qpc\include\qs.h" 262 1 Info 757: global declarator 'QS_obj_dict(const void *, const char_t *)' (line 262, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_obj_dict'
-"D:\qp\qpc\include\qs.h" 303 1 Info 757: global declarator 'QS_onStartup(const void *)' (line 303, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
-"D:\qp\qpc\include\qs.h" 313 1 Info 757: global declarator 'QS_onCleanup(void)' (line 313, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
-"D:\qp\qpc\include\qs.h" 323 1 Info 757: global declarator 'QS_onFlush(void)' (line 323, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
-"D:\qp\qpc\include\qs.h" 343 1 Warning 526: Symbol 'QS_onGetTime(void)' (line 343, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 272 1 Warning 526: Symbol 'critEntry(void)' (line 272, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critEntry'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 273 1 Warning 526: Symbol 'critExit(crit_stat_t)' (line 273, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critExit'
-"D:\qp\qpc\ports\lint\stdint.h" 23 1 Info 756: global typedef 'int8_t' (line 23, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qs.h" 1068 1 Warning 526: Symbol 'QS_priv_' (line 1068, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_priv_'
-"D:\qp\qpc\include\qk.h" 83 1 Info 757: global declarator 'QK_intNest_' (line 83, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 92 1 Info 757: global declarator 'QK_init(void)' (line 92, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_init'
-"D:\qp\qpc\include\qf.h" 638 1 Info 757: global declarator 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 638, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_noTimeEvtsActiveX'
-"D:\qp\qpc\include\qf.h" 654 1 Info 757: global declarator 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 654, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newX_'
-"D:\qp\qpc\include\qf.h" 542 1 Info 757: global declarator 'QF_onStartup(void)' (line 542, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
-"D:\qp\qpc\include\qf.h" 558 1 Info 757: global declarator 'QF_onCleanup(void)' (line 558, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
-"D:\qp\qpc\include\qs.h" 197 1 Warning 526: Symbol 'QS_beginRec(uint_fast8_t)' (line 197, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_beginRec'
-"D:\qp\qpc\include\qf.h" 525 1 Info 757: global declarator 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 525, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolInit'
-"D:\qp\qpc\include\qf.h" 522 1 Info 757: global declarator 'QF_psInit(QSubscrList *, enum_t)' (line 522, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_psInit'
-"D:\qp\qpc\include\qf.h" 563 1 Info 757: global declarator 'QF_publish_(const QEvt *, const void *)' (line 563, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_publish_'
-"D:\qp\qpc\include\qf.h" 758 1 Info 757: global declarator 'QF_pwr2Lkup' (line 758, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_pwr2Lkup'
-"D:\qp\qpc\source\qep_msm.c" 51 1 Info 759: header declaration for symbol 'QP_versionStr' defined at (line 51, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 51 1 Info 765: external 'QP_versionStr' (line 51, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 51 1 Info 714: Symbol 'QP_versionStr' (line 51, file D:\qp\qpc\source\qep_msm.c) not referenced
-"D:\qp\qpc\include\qs.h" 239 1 Info 757: global declarator 'QS_str(const char_t *)' (line 239, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str'
-"D:\qp\qpc\include\qs.h" 258 1 Info 757: global declarator 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 258, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_sig_dict'
-"D:\qp\qpc\include\qs.h" 215 1 Info 757: global declarator 'QS_str_(const char_t *)' (line 215, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_'
-"D:\qp\qpc\include\qs.h" 220 1 Info 757: global declarator 'QS_str_ROM_(const char_t *)' (line 220, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM_'
-"D:\qp\qpc\include\qs.h" 244 1 Info 757: global declarator 'QS_str_ROM(const char_t *)' (line 244, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM'
-"D:\qp\qpc\include\qf.h" 641 1 Info 757: global declarator 'QF_add_(QMActive *)' (line 641, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_add_'
-"D:\qp\qpc\include\qf.h" 807 1 Info 757: global declarator 'QF_active_' (line 807, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_active_'
-"D:\qp\qpc\include\qf.h" 529 1 Info 757: global declarator 'QF_run(void)' (line 529, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_run'
-"D:\qp\qpc\include\qf.h" 644 1 Info 757: global declarator 'QF_remove_(const QMActive *)' (line 644, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_remove_'
-"D:\qp\qpc\include\qf.h" 734 1 Info 757: global declarator 'QF_bzero(void *, uint_fast16_t)' (line 734, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_bzero'
-"D:\qp\qpc\include\qk.h" 118 1 Info 757: global declarator 'QK_mutexLock(uint_fast8_t)' (line 118, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexLock'
-"D:\qp\qpc\include\qk.h" 121 1 Info 757: global declarator 'QK_mutexUnlock(QMutex)' (line 121, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexUnlock'
-"D:\qp\qpc\include\qs.h" 200 1 Warning 526: Symbol 'QS_endRec(void)' (line 200, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_endRec'
-"D:\qp\qpc\include\qs.h" 227 1 Info 757: global declarator 'QS_u16(uint8_t, uint16_t)' (line 227, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16'
-"D:\qp\qpc\include\qs.h" 209 1 Warning 526: Symbol 'QS_u16_(uint16_t)' (line 209, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16_'
-"D:\qp\qpc\include\qs.h" 230 1 Info 757: global declarator 'QS_u32(uint8_t, uint32_t)' (line 230, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32'
-"D:\qp\qpc\include\qs.h" 212 1 Warning 526: Symbol 'QS_u32_(uint32_t)' (line 212, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32_'
-"D:\qp\qpc\include\qs.h" 224 1 Info 757: global declarator 'QS_u8(uint8_t, uint8_t)' (line 224, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8'
-"D:\qp\qpc\include\qs.h" 203 1 Info 757: global declarator 'QS_u8_(uint8_t)' (line 203, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8_'
-"D:\qp\qpc\include\qs.h" 206 1 Info 757: global declarator 'QS_u8u8_(uint8_t, uint8_t)' (line 206, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8u8_'
-"D:\qp\qpc\include\qs.h" 270 1 Info 757: global declarator 'QS_usr_dict(enum_t, const char_t *)' (line 270, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_usr_dict'
-"D:\qp\qpc\include\qf.h" 230 1 Info 756: global typedef 'QActiveVtbl' (line 230, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 233 1 Info 757: global declarator 'QActive_ctor(QActive *, QStateHandler)' (line 233, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_ctor'
-"D:\qp\qpc\include\qf.h" 345 1 Info 757: global declarator 'QActive_postLIFO_(QMActive *, const QEvt *)' (line 345, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_postLIFO_'
-"D:\qp\qpc\include\qf.h" 374 1 Info 757: global declarator 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 374, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_defer'
-"D:\qp\qpc\include\qf.h" 381 1 Info 757: global declarator 'QActive_get_(QMActive *)' (line 381, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_get_'
-"D:\qp\qpc\include\qf.h" 265 1 Info 757: global declarator 'QActive_post_(QMActive *, const QEvt *, uint_fast16_t, const void *)' (line 265, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_post_'
-"D:\qp\qpc\include\qf.h" 378 1 Info 757: global declarator 'QActive_recall(QMActive *, struct QEQueue *)' (line 378, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_recall'
-"D:\qp\qpc\include\qf.h" 238 1 Info 757: global declarator 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 238, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_start_'
-"D:\qp\qpc\include\qf.h" 361 1 Info 757: global declarator 'QActive_stop(QMActive *)' (line 361, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_stop'
-"D:\qp\qpc\include\qf.h" 364 1 Info 757: global declarator 'QActive_subscribe(const QActive *, enum_t)' (line 364, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_subscribe'
-"D:\qp\qpc\include\qf.h" 367 1 Info 757: global declarator 'QActive_unsubscribe(const QActive *, enum_t)' (line 367, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribe'
-"D:\qp\qpc\include\qf.h" 370 1 Info 757: global declarator 'QActive_unsubscribeAll(const QActive *)' (line 370, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribeAll'
-"D:\qp\qpc\include\qf.h" 533 1 Info 757: global declarator 'QF_stop(void)' (line 533, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_stop'
-"D:\qp\qpc\source\qep_hsm.c" 131 1 Info 759: header declaration for symbol 'QHsm_ctor(QHsm *, QStateHandler)' defined at (line 131, file D:\qp\qpc\source\qep_hsm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_hsm.c" 131 1 Info 765: external 'QHsm_ctor(QHsm *, QStateHandler)' (line 131, file D:\qp\qpc\source\qep_hsm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_hsm.c" 131 1 Info 714: Symbol 'QHsm_ctor(QHsm *, QStateHandler)' (line 131, file D:\qp\qpc\source\qep_hsm.c) not referenced
-"D:\qp\qpc\source\qep_hsm.c" 257 1 Info 759: header declaration for symbol 'QHsm_dispatch_(QHsm *, const QEvt *)' defined at (line 257, file D:\qp\qpc\source\qep_hsm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_hsm.c" 257 1 Info 765: external 'QHsm_dispatch_(QHsm *, const QEvt *)' (line 257, file D:\qp\qpc\source\qep_hsm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_hsm.c" 152 1 Info 759: header declaration for symbol 'QHsm_init_(QHsm *, const QEvt *)' defined at (line 152, file D:\qp\qpc\source\qep_hsm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_hsm.c" 152 1 Info 765: external 'QHsm_init_(QHsm *, const QEvt *)' (line 152, file D:\qp\qpc\source\qep_hsm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_hsm.c" 563 1 Info 759: header declaration for symbol 'QHsm_isIn(QHsm *, QStateHandler)' defined at (line 563, file D:\qp\qpc\source\qep_hsm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_hsm.c" 563 1 Info 765: external 'QHsm_isIn(QHsm *, QStateHandler)' (line 563, file D:\qp\qpc\source\qep_hsm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_hsm.c" 563 1 Info 714: Symbol 'QHsm_isIn(QHsm *, QStateHandler)' (line 563, file D:\qp\qpc\source\qep_hsm.c) not referenced
-"D:\qp\qpc\source\qep_hsm.c" 238 1 Info 759: header declaration for symbol 'QHsm_top(const void *, const QEvt *)' defined at (line 238, file D:\qp\qpc\source\qep_hsm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_hsm.c" 238 1 Info 765: external 'QHsm_top(const void *, const QEvt *)' (line 238, file D:\qp\qpc\source\qep_hsm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qpset.h" 55 1 Info 756: global typedef 'QPSet8' (line 55, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 194 1 Info 757: global declarator 'QS_filterOff(uint_fast8_t)' (line 194, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOff'
-"D:\qp\qpc\include\qs.h" 233 1 Info 757: global declarator 'QS_f32(uint8_t, float32_t)' (line 233, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f32'
-"D:\qp\qpc\include\qs.h" 236 1 Info 757: global declarator 'QS_f64(uint8_t, float64_t)' (line 236, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f64'
-"D:\qp\qpc\include\qs.h" 191 1 Info 757: global declarator 'QS_filterOn(uint_fast8_t)' (line 191, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOn'
-"D:\qp\qpc\include\qs.h" 266 1 Info 757: global declarator 'QS_fun_dict(void (*)(void), const char_t *)' (line 266, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_fun_dict'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 123 1 Info 757: global declarator 'FPU_restore(void *)' (line 123, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_restore'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 122 1 Info 757: global declarator 'FPU_save(void *)' (line 122, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_save'
-"D:\qp\qpc\include\qf.h" 599 1 Info 757: global declarator 'QF_tickX_(uint_fast8_t, const void *)' (line 599, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_tickX_'
-"D:\qp\qpc\include\qf.h" 771 1 Info 757: global declarator 'QF_div8Lkup' (line 771, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_div8Lkup'
-"D:\qp\qpc\include\qk.h" 105 1 Info 757: global declarator 'QK_onIdle(void)' (line 105, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_onIdle'
-"D:\qp\qpc\include\qs.h" 275 1 Info 757: global declarator 'QS_getByte(void)' (line 275, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getByte'
-"D:\qp\qpc\include\qs.h" 281 1 Info 757: global declarator 'QS_getBlock(uint16_t *)' (line 281, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getBlock'
-"D:\qp\qpc\ports\lint\stdint.h" 36 1 Info 756: global typedef 'int_fast16_t' (line 36, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 38 1 Info 756: global typedef 'int_fast32_t' (line 38, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 476 1 Info 757: global declarator 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_armX'
-"D:\qp\qpc\include\qf.h" 472 1 Info 757: global declarator 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctorX'
-"D:\qp\qpc\include\qf.h" 480 1 Info 757: global declarator 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 480, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_rearm'
-"D:\qp\qpc\include\qf.h" 483 1 Info 757: global declarator 'QTimeEvt_disarm(struct QTimeEvt *)' (line 483, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_disarm'
-"D:\qp\qpc\include\qf.h" 486 1 Info 757: global declarator 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 486, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctr'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 124 1 Info 757: global declarator 'impure_ptr' (line 124, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 24 1 Info 756: global typedef 'int16_t' (line 24, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 184 1 Info 757: global declarator 'QEQueue_get(struct QEQueue *)' (line 184, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_get'
-"D:\qp\qpc\include\qequeue.h" 173 1 Info 757: global declarator 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 173, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_init'
-"D:\qp\qpc\include\qequeue.h" 177 1 Info 757: global declarator 'QEQueue_post(struct QEQueue *, const QEvt *, uint_fast16_t)' (line 177, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_post'
-"D:\qp\qpc\include\qequeue.h" 181 1 Info 757: global declarator 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 181, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_postLIFO'
-"D:\qp\qpc\include\qs.h" 188 1 Info 757: global declarator 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 188, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_initBuf'
-"D:\qp\qpc\include\qk.h" 69 1 Info 757: global declarator 'QK_readySet_' (line 69, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_readySet_'
-"D:\qp\qpc\include\qf.h" 731 1 Info 757: global declarator 'QF_gc(const QEvt *)' (line 731, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_gc'
-"D:\qp\qpc\include\qf.h" 647 1 Info 757: global declarator 'QF_getPoolMin(uint_fast8_t)' (line 647, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getPoolMin'
-"D:\qp\qpc\include\qf.h" 651 1 Info 757: global declarator 'QF_getQueueMin(uint_fast8_t)' (line 651, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getQueueMin'
-"D:\qp\qpc\include\qmpool.h" 154 1 Info 757: global declarator 'QMPool_get(QMPool *, uint_fast16_t)' (line 154, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_get'
-"D:\qp\qpc\include\qmpool.h" 150 1 Info 757: global declarator 'QMPool_init(QMPool *, void *, uint_fast32_t, uint_fast16_t)' (line 150, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_init'
-"D:\qp\qpc\include\qmpool.h" 157 1 Info 757: global declarator 'QMPool_put(QMPool *, void *)' (line 157, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_put'
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h, module D:\qp\qpc\source\qep_hsm.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
-"D:\qp\qpc\ports\lint\stdint.h" 25 1 Info 756: global typedef 'int32_t' (line 25, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qk.h" 77 1 Info 757: global declarator 'QK_schedPrio_(void)' (line 77, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_schedPrio_'
-"D:\qp\qpc\include\qk.h" 80 1 Info 757: global declarator 'QK_currPrio_' (line 80, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_currPrio_'
-"D:\qp\qpc\include\qk.h" 74 1 Info 757: global declarator 'QK_sched_(uint_fast8_t)' (line 74, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_sched_'
-"D:\qp\qpc\source\qep_msm.c" 100 1 Info 759: header declaration for symbol 'QMsm_ctor(QMsm *, QStateHandler)' defined at (line 100, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 100 1 Info 765: external 'QMsm_ctor(QMsm *, QStateHandler)' (line 100, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 100 1 Info 714: Symbol 'QMsm_ctor(QMsm *, QStateHandler)' (line 100, file D:\qp\qpc\source\qep_msm.c) not referenced
-"D:\qp\qpc\source\qep_msm.c" 171 1 Info 759: header declaration for symbol 'QMsm_dispatch_(QMsm *, const QEvt *)' defined at (line 171, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 171 1 Info 765: external 'QMsm_dispatch_(QMsm *, const QEvt *)' (line 171, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 334 1 Info 759: header declaration for symbol 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' defined at (line 334, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 334 1 Info 765: external 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' (line 334, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 120 1 Info 759: header declaration for symbol 'QMsm_init_(QMsm *, const QEvt *)' defined at (line 120, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 120 1 Info 765: external 'QMsm_init_(QMsm *, const QEvt *)' (line 120, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 517 1 Info 759: header declaration for symbol 'QMsm_isInState(QMsm *, const struct QMState *)' defined at (line 517, file D:\qp\qpc\source\qep_msm.c) could be moved from header to module
-"D:\qp\qpc\source\qep_msm.c" 517 1 Info 765: external 'QMsm_isInState(QMsm *, const struct QMState *)' (line 517, file D:\qp\qpc\source\qep_msm.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qep_msm.c" 517 1 Info 714: Symbol 'QMsm_isInState(QMsm *, const struct QMState *)' (line 517, file D:\qp\qpc\source\qep_msm.c) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 211 1 Info 757: global declarator 'intDisable(void)' (line 211, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intDisable'
-"D:\qp\qpc\include\qf.h" 519 1 Info 757: global declarator 'QF_init(void)' (line 519, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_init'
-"D:\qp\qpc\include\qf.h" 765 1 Info 757: global declarator 'QF_invPwr2Lkup' (line 765, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_invPwr2Lkup'
-"D:\qp\qpc\include\qep.h" 210 1 Info 755: global macro 'Q_MSM_UPCAST' (line 210, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 56 1 Info 755: global macro 'QK_EXT_SAVE' (line 56, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 68 1 Info 755: global macro 'QK_EXT_RESTORE' (line 68, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qep.h" 556 1 Info 755: global macro 'QM_SUPER' (line 556, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 562 1 Info 755: global macro 'QM_SUPER_SUB' (line 562, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 822 1 Info 755: global macro 'QS_MEM' (line 822, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 510 1 Info 755: global macro 'QM_TRAN' (line 510, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 525 1 Info 755: global macro 'QM_TRAN_HIST' (line 525, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 532 1 Info 755: global macro 'QM_TRAN_EP' (line 532, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 517 1 Info 755: global macro 'QM_TRAN_INIT' (line 517, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 540 1 Info 755: global macro 'QM_TRAN_XP' (line 540, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qk.h" 127 1 Info 755: global macro 'QK_getVersion' (line 127, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qf.h" 799 1 Info 755: global macro 'QF_LOG2LKUP' (line 799, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 490 1 Info 755: global macro 'QM_ENTRY' (line 490, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 496 1 Info 755: global macro 'QM_EXIT' (line 496, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 551 1 Info 755: global macro 'QM_UNHANDLED' (line 551, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 57 1 Info 755: global macro 'QP_RELEASE' (line 57, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 830 1 Info 755: global macro 'QS_OBJ' (line 830, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 946 1 Info 755: global macro 'QS_OBJ_DICTIONARY' (line 946, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 166 1 Info 755: global macro 'QF_MPOOL_EL' (line 166, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qassert.h" 256 1 Info 755: global macro 'Q_ENSURE' (line 256, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 267 1 Info 755: global macro 'Q_ENSURE_ID' (line 267, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qf.h" 697 1 Info 755: global macro 'Q_NEW' (line 697, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 725 1 Info 755: global macro 'Q_NEW_X' (line 725, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 599 1 Info 755: global macro 'Q_UNHANDLED' (line 599, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 101 1 Info 755: global macro 'QK_ISR_ENTRY' (line 101, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 120 1 Info 755: global macro 'QK_ISR_EXIT' (line 120, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qs.h" 143 1 Info 755: global macro 'QS_ALL_RECORDS' (line 143, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 997 1 Info 755: global macro 'QS_ASSERTION' (line 997, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 112 1 Info 755: global macro 'Q_ASSERT' (line 112, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 301 1 Info 755: global macro 'Q_ASSERT_COMPILE' (line 301, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 453 1 Info 755: global macro 'QEP_getVersion' (line 453, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 545 1 Info 755: global macro 'QM_HANDLED' (line 545, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 676 1 Info 755: global macro 'QS_2U8_' (line 676, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 613 1 Info 755: global macro 'QS_BEGIN' (line 613, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 526 1 Info 755: global macro 'QS_BEGIN_NOCRIT' (line 526, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 661 1 Info 755: global macro 'QS_BEGIN_NOCRIT_' (line 661, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qf.h" 588 1 Info 755: global macro 'QF_PUBLISH' (line 588, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 48 1 Info 755: global macro 'QP_VERSION' (line 48, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 865 1 Info 755: global macro 'QS_SIG' (line 865, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 814 1 Info 755: global macro 'QS_STR' (line 814, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 923 1 Info 755: global macro 'QS_SIG_DICTIONARY' (line 923, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 735 1 Info 755: global macro 'QS_STR_' (line 735, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 740 1 Info 755: global macro 'QS_STR_ROM_' (line 740, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 819 1 Info 755: global macro 'QS_STR_ROM' (line 819, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 570 1 Info 755: global macro 'Q_TRAN' (line 570, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 579 1 Info 755: global macro 'Q_TRAN_HIST' (line 579, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 1038 1 Info 755: global macro 'QF_QS_ACTION' (line 1038, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1014 1 Info 755: global macro 'QF_QS_CRIT_ENTRY' (line 1014, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1021 1 Info 755: global macro 'QF_QS_CRIT_EXIT' (line 1021, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1028 1 Info 755: global macro 'QF_QS_ISR_ENTRY' (line 1028, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1035 1 Info 755: global macro 'QF_QS_ISR_EXIT' (line 1035, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 171 1 Info 755: global macro 'Q_ERROR' (line 171, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 277 1 Info 755: global macro 'Q_INVARIANT' (line 277, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 288 1 Info 755: global macro 'Q_INVARIANT_ID' (line 288, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 237 1 Info 755: global macro 'Q_REQUIRE' (line 237, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qs.h" 620 1 Info 755: global macro 'QS_END' (line 620, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 530 1 Info 755: global macro 'QS_END_NOCRIT' (line 530, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 670 1 Info 755: global macro 'QS_END_NOCRIT_' (line 670, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 278 1 Info 755: global macro 'QS_EOD' (line 278, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 364 1 Info 755: global macro 'QS_EXIT' (line 364, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 783 1 Info 755: global macro 'QS_U16' (line 783, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 679 1 Info 755: global macro 'QS_U16_' (line 679, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 791 1 Info 755: global macro 'QS_U32' (line 791, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 682 1 Info 755: global macro 'QS_U32_' (line 682, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 775 1 Info 755: global macro 'QS_U8' (line 775, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 807 1 Info 755: global macro 'QS_U64' (line 807, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 811 1 Info 755: global macro 'QS_U32_HEX' (line 811, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 673 1 Info 755: global macro 'QS_U8_' (line 673, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 983 1 Info 755: global macro 'QS_USR_DICTIONARY' (line 983, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 588 1 Info 755: global macro 'Q_SUPER' (line 588, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 269 1 Info 755: global macro 'QF_CPU_SLEEP' (line 269, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\include\qf.h" 261 1 Info 755: global macro 'QACTIVE_START' (line 261, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 294 1 Info 755: global macro 'QACTIVE_POST' (line 294, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 328 1 Info 755: global macro 'QACTIVE_POST_X' (line 328, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 354 1 Info 755: global macro 'QACTIVE_POST_LIFO' (line 354, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 427 1 Info 755: global macro 'QHsm_state' (line 427, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qpset.h" 80 1 Info 755: global macro 'QPSet8_findMax' (line 80, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 165 1 Info 755: global macro 'QPSet64_findMax' (line 165, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 133 1 Info 755: global macro 'QPSet64_hasElement' (line 133, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 141 1 Info 755: global macro 'QPSet64_insert' (line 141, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 125 1 Info 755: global macro 'QPSet64_isEmpty' (line 125, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 128 1 Info 755: global macro 'QPSet64_notEmpty' (line 128, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 151 1 Info 755: global macro 'QPSet64_remove' (line 151, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 66 1 Info 755: global macro 'QPSet8_hasElement' (line 66, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 70 1 Info 755: global macro 'QPSet8_insert' (line 70, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 58 1 Info 755: global macro 'QPSet8_isEmpty' (line 58, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 61 1 Info 755: global macro 'QPSet8_notEmpty' (line 61, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 74 1 Info 755: global macro 'QPSet8_remove' (line 74, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 385 1 Info 755: global macro 'QS_FILTER_OFF' (line 385, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 795 1 Info 755: global macro 'QS_F32' (line 795, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 799 1 Info 755: global macro 'QS_F64' (line 799, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 434 1 Info 755: global macro 'QS_FILTER_AO_OBJ' (line 434, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 454 1 Info 755: global macro 'QS_FILTER_MP_OBJ' (line 454, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 474 1 Info 755: global macro 'QS_FILTER_EQ_OBJ' (line 474, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 512 1 Info 755: global macro 'QS_FILTER_AP_OBJ' (line 512, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 375 1 Info 755: global macro 'QS_FILTER_ON' (line 375, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 413 1 Info 755: global macro 'QS_FILTER_SM_OBJ' (line 413, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 495 1 Info 755: global macro 'QS_FILTER_TE_OBJ' (line 495, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 844 1 Info 755: global macro 'QS_FUN' (line 844, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1007 1 Info 755: global macro 'QS_FLUSH' (line 1007, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 968 1 Info 755: global macro 'QS_FUN_DICTIONARY' (line 968, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 80 1 Info 755: global macro 'Q_DEFINE_THIS_FILE' (line 80, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 593 1 Info 755: global macro 'Q_HANDLED' (line 593, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 625 1 Info 755: global macro 'QF_TICK_X' (line 625, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 635 1 Info 755: global macro 'QF_TICK' (line 635, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 1041 1 Info 755: global macro 'QS_getVersion' (line 1041, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 220 1 Info 755: global macro 'Q_EVT_CAST' (line 220, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 200 1 Info 755: global macro 'QEQueue_getNFree' (line 200, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 214 1 Info 755: global macro 'QEQueue_getNMin' (line 214, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 230 1 Info 755: global macro 'QEQueue_isEmpty' (line 230, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qs.h" 355 1 Info 755: global macro 'QS_INIT' (line 355, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 771 1 Info 755: global macro 'QS_I8' (line 771, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 779 1 Info 755: global macro 'QS_I16' (line 779, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 787 1 Info 755: global macro 'QS_I32' (line 787, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 803 1 Info 755: global macro 'QS_I64' (line 803, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qf.h" 811 1 Info 755: global macro 'QF_getVersion' (line 811, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qassert.h" 146 1 Info 755: global macro 'Q_ALLEGE' (line 146, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 161 1 Info 755: global macro 'Q_ALLEGE_ID' (line 161, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 354 1 Info 755: global macro 'QMsm_stateObj' (line 354, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 368 1 Info 755: global macro 'QMSM_INIT' (line 368, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 383 1 Info 755: global macro 'QMSM_DISPATCH' (line 383, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 234 1 Info 755: global macro 'Q_UINT2PTR_CAST' (line 234, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 22 1 Info 755: global macro '__bool_true_false_are_defined' (line 22, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 198 1 Info 755: global macro 'QF_INT_DISABLE' (line 198, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 209 1 Info 755: global macro 'QF_INT_ENABLE' (line 209, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\include\qs.h" 750 1 Info 758: global enum '(untagged)' (line 750, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 185 1 Info 768: global struct member 'QEvt::poolId_' (line 185, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 186 1 Info 768: global struct member 'QEvt::refCtr_' (line 186, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 344 1 Info 768: global struct member 'QMsmVtbl::init' (line 344, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 347 1 Info 768: global struct member 'QMsmVtbl::dispatch' (line 347, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 607 1 Info 769: global enumeration constant 'Q_USER_SIG' (line 607, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 130 1 Info 768: global struct member 'QEQueue' (line 130, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 143 1 Info 768: global struct member 'QEQueue::frontEvt' (line 143, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 146 1 Info 768: global struct member 'QEQueue::ring' (line 146, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 149 1 Info 768: global struct member 'QEQueue::end' (line 149, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 152 1 Info 768: global struct member 'QEQueue::head' (line 152, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 155 1 Info 768: global struct member 'QEQueue::tail' (line 155, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 158 1 Info 768: global struct member 'QEQueue::nFree' (line 158, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 167 1 Info 768: global struct member 'QEQueue::nMin' (line 167, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 120 1 Info 768: global struct member 'QMPool::free_head' (line 120, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 123 1 Info 768: global struct member 'QMPool::start' (line 123, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 126 1 Info 768: global struct member 'QMPool::end' (line 126, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 129 1 Info 768: global struct member 'QMPool::blockSize' (line 129, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 132 1 Info 768: global struct member 'QMPool::nTot' (line 132, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 135 1 Info 768: global struct member 'QMPool::nFree' (line 135, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 144 1 Info 768: global struct member 'QMPool::nMin' (line 144, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qpset.h" 54 1 Info 768: global struct member 'QPSet8::bits' (line 54, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 109 1 Info 768: global struct member 'QPSet64::bytes' (line 109, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 121 1 Info 768: global struct member 'QPSet64::bits' (line 121, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qf.h" 116 1 Info 768: global struct member 'QMActive::super' (line 116, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 130 1 Info 768: global struct member 'QMActive::eQueue' (line 130, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 142 1 Info 768: global struct member 'QMActive::osObject' (line 142, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 153 1 Info 768: global struct member 'QMActive::thread' (line 153, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 157 1 Info 768: global struct member 'QMActive::prio' (line 157, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 167 1 Info 768: global struct member 'QMActiveVtbl::super' (line 167, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 174 1 Info 768: global struct member 'QMActiveVtbl::start' (line 174, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 180 1 Info 768: global struct member 'QMActiveVtbl::post' (line 180, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 188 1 Info 768: global struct member 'QMActiveVtbl::postLIFO' (line 188, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 442 1 Info 768: global struct member 'QTimeEvt::super' (line 442, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 445 1 Info 768: global struct member 'QTimeEvt::next' (line 445, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 448 1 Info 768: global struct member 'QTimeEvt::act' (line 448, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 457 1 Info 768: global struct member 'QTimeEvt::ctr' (line 457, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 466 1 Info 768: global struct member 'QTimeEvt::interval' (line 466, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 513 1 Info 768: global struct member 'QSubscrList::bits' (line 513, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 57 1 Info 769: global enumeration constant 'QSpyRecords::QS_QP_RESET' (line 57, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 71, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 72, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 73, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 74, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 75, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 76, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 77, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 78, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 79 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 79, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 80 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 80, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 81, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 82, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 83, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 84, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 85, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 86, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 87, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 89, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 90, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 91, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 92, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 93, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 94, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 95, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 96, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 97, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 98, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 99, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 106, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 107, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 108, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 113, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 114, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_SCHEDULE' (line 115, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 127 1 Info 769: global enumeration constant 'QSpyRecords::QS_SIG_DICT' (line 127, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 128 1 Info 769: global enumeration constant 'QSpyRecords::QS_OBJ_DICT' (line 128, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 129 1 Info 769: global enumeration constant 'QSpyRecords::QS_FUN_DICT' (line 129, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 130, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 131, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 759 1 Info 769: global enumeration constant 'QS_STR_T' (line 759, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 760 1 Info 769: global enumeration constant 'QS_MEM_T' (line 760, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1051 1 Info 768: global struct member 'QSPriv::aoObjFilter' (line 1051, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1052 1 Info 768: global struct member 'QSPriv::mpObjFilter' (line 1052, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1053 1 Info 768: global struct member 'QSPriv::eqObjFilter' (line 1053, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1054 1 Info 768: global struct member 'QSPriv::teObjFilter' (line 1054, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1055 1 Info 768: global struct member 'QSPriv::apObjFilter' (line 1055, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1057 1 Info 768: global struct member 'QSPriv::buf' (line 1057, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1058 1 Info 768: global struct member 'QSPriv::end' (line 1058, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1059 1 Info 768: global struct member 'QSPriv::head' (line 1059, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1060 1 Info 768: global struct member 'QSPriv::tail' (line 1060, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1061 1 Info 768: global struct member 'QSPriv::used' (line 1061, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1062 1 Info 768: global struct member 'QSPriv::seq' (line 1062, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1063 1 Info 768: global struct member 'QSPriv::chksum' (line 1063, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1065 1 Info 768: global struct member 'QSPriv::critNest' (line 1065, file D:\qp\qpc\include\qs.h) not referenced
- Note 900: Successful completion, 473 messages produced
-
-Count Type Number Text
-
-9 Warning 526 Symbol '___' (___) not defined
-5 Info 714 Symbol '___' (___) not referenced
-126 Info 755 global macro '___' (___) not referenced
-10 Info 756 global typedef '___' (___) not referenced
-84 Info 757 global declarator '___' (___) not referenced
-1 Info 758 global ___ '___' (___) not referenced
-11 Info 759 header declaration for symbol '___' defined at (___) could be moved from header to module
-11 Info 765 external '___' (___) could be made static
-50 Info 768 global struct member '___' (___) not referenced
-76 Info 769 global enumeration constant '___' (___) not referenced
-1 Note 900 Successful completion, ___ messages produced
-90 Note 960 Violates MISRA 2004 Required Rule ___, ___
diff --git a/ports/lint/lint_qf.txt b/ports/lint/lint_qf.txt
deleted file mode 100644
index cabe9e2a..00000000
--- a/ports/lint/lint_qf.txt
+++ /dev/null
@@ -1,509 +0,0 @@
-
---- Module: D:\qp\qpc\source\qf_act.c (C)
-
---- Module: D:\qp\qpc\source\qf_actq.c (C)
-
---- Module: D:\qp\qpc\source\qf_defer.c (C)
-
---- Module: D:\qp\qpc\source\qf_dyn.c (C)
-
---- Module: D:\qp\qpc\source\qf_mem.c (C)
-
---- Module: D:\qp\qpc\source\qf_ps.c (C)
-
---- Module: D:\qp\qpc\source\qf_qact.c (C)
-
---- Module: D:\qp\qpc\source\qf_qeq.c (C)
-
---- Module: D:\qp\qpc\source\qf_qmact.c (C)
-
---- Module: D:\qp\qpc\source\qf_time.c (C)
-
-/// Start of Pass 2 ///
-
---- Module: D:\qp\qpc\source\qf_act.c (C)
-
---- Module: D:\qp\qpc\source\qf_actq.c (C)
-
---- Module: D:\qp\qpc\source\qf_defer.c (C)
-
---- Module: D:\qp\qpc\source\qf_dyn.c (C)
-
---- Module: D:\qp\qpc\source\qf_mem.c (C)
-
---- Module: D:\qp\qpc\source\qf_ps.c (C)
-
---- Module: D:\qp\qpc\source\qf_qact.c (C)
-
---- Module: D:\qp\qpc\source\qf_qeq.c (C)
-
---- Module: D:\qp\qpc\source\qf_qmact.c (C)
-
---- Module: D:\qp\qpc\source\qf_time.c (C)
-
---- Global Wrap-up
-
-"D:\qp\qpc\include\qf.h" 61 1 Info 756: global typedef 'QEvtSize' (line 61, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 247 1 Info 757: global declarator 'QS_mem(const uint8_t *, uint8_t)' (line 247, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_mem'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 212 1 Info 757: global declarator 'intEnable(void)' (line 212, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intEnable'
-"D:\qp\qpc\ports\lint\stdint.h" 31 1 Info 756: global typedef 'uint64_t' (line 31, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 26 1 Info 756: global typedef 'int64_t' (line 26, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\source\qf_qmact.c" 67 1 Info 759: header declaration for symbol 'QMActive_ctor(QMActive *, QStateHandler)' defined at (line 67, file D:\qp\qpc\source\qf_qmact.c) could be moved from header to module
-"D:\qp\qpc\source\qf_qmact.c" 67 1 Info 765: external 'QMActive_ctor(QMActive *, QStateHandler)' (line 67, file D:\qp\qpc\source\qf_qmact.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_qmact.c" 67 1 Info 714: Symbol 'QMActive_ctor(QMActive *, QStateHandler)' (line 67, file D:\qp\qpc\source\qf_qmact.c) not referenced
-"D:\qp\qpc\include\qs.h" 262 1 Info 757: global declarator 'QS_obj_dict(const void *, const char_t *)' (line 262, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_obj_dict'
-"D:\qp\qpc\include\qs.h" 303 1 Info 757: global declarator 'QS_onStartup(const void *)' (line 303, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
-"D:\qp\qpc\include\qs.h" 313 1 Info 757: global declarator 'QS_onCleanup(void)' (line 313, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
-"D:\qp\qpc\include\qs.h" 323 1 Info 757: global declarator 'QS_onFlush(void)' (line 323, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
-"D:\qp\qpc\include\qs.h" 343 1 Warning 526: Symbol 'QS_onGetTime(void)' (line 343, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 272 1 Warning 526: Symbol 'critEntry(void)' (line 272, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critEntry'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 273 1 Warning 526: Symbol 'critExit(crit_stat_t)' (line 273, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critExit'
-"D:\qp\qpc\ports\lint\stdint.h" 23 1 Info 756: global typedef 'int8_t' (line 23, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\source\qf_dyn.c" 55 1 Info 729: Symbol 'QF_maxPool_' (line 55, file D:\qp\qpc\source\qf_dyn.c) not explicitly initialized
-"D:\qp\qpc\source\qf_ps.c" 55 1 Info 759: header declaration for symbol 'QF_maxSignal_' defined at (line 55, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 55 1 Info 765: external 'QF_maxSignal_' (line 55, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qs.h" 1068 1 Warning 526: Symbol 'QS_priv_' (line 1068, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_priv_'
-"D:\qp\qpc\include\qk.h" 83 1 Warning 526: Symbol 'QK_intNest_' (line 83, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qf_act.c) not defined
-"D:\qp\qpc\include\qk.h" 92 1 Info 757: global declarator 'QK_init(void)' (line 92, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_init'
-"D:\qp\qpc\source\qf_time.c" 196 1 Info 759: header declaration for symbol 'QF_noTimeEvtsActiveX(uint_fast8_t)' defined at (line 196, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 196 1 Info 765: external 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 196, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 196 1 Info 714: Symbol 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 196, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_dyn.c" 150 1 Info 759: header declaration for symbol 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' defined at (line 150, file D:\qp\qpc\source\qf_dyn.c) could be moved from header to module
-"D:\qp\qpc\source\qf_dyn.c" 150 1 Info 765: external 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 150, file D:\qp\qpc\source\qf_dyn.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_dyn.c" 150 1 Info 714: Symbol 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 150, file D:\qp\qpc\source\qf_dyn.c) not referenced
-"D:\qp\qpc\include\qf.h" 542 1 Info 757: global declarator 'QF_onStartup(void)' (line 542, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
-"D:\qp\qpc\include\qf.h" 558 1 Info 757: global declarator 'QF_onCleanup(void)' (line 558, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
-"D:\qp\qpc\include\qs.h" 197 1 Warning 526: Symbol 'QS_beginRec(uint_fast8_t)' (line 197, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_beginRec'
-"D:\qp\qpc\source\qf_dyn.c" 112 1 Info 759: header declaration for symbol 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' defined at (line 112, file D:\qp\qpc\source\qf_dyn.c) could be moved from header to module
-"D:\qp\qpc\source\qf_dyn.c" 112 1 Info 765: external 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 112, file D:\qp\qpc\source\qf_dyn.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_dyn.c" 112 1 Info 714: Symbol 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 112, file D:\qp\qpc\source\qf_dyn.c) not referenced
-"D:\qp\qpc\source\qf_ps.c" 85 1 Info 759: header declaration for symbol 'QF_psInit(QSubscrList *, enum_t)' defined at (line 85, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 85 1 Info 765: external 'QF_psInit(QSubscrList *, enum_t)' (line 85, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_ps.c" 85 1 Info 714: Symbol 'QF_psInit(QSubscrList *, enum_t)' (line 85, file D:\qp\qpc\source\qf_ps.c) not referenced
-"D:\qp\qpc\source\qf_ps.c" 117 1 Info 759: header declaration for symbol 'QF_publish_(const QEvt *, const void *)' defined at (line 117, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 117 1 Info 765: external 'QF_publish_(const QEvt *, const void *)' (line 117, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_ps.c" 117 1 Info 714: Symbol 'QF_publish_(const QEvt *, const void *)' (line 117, file D:\qp\qpc\source\qf_ps.c) not referenced
-"D:\qp\qpc\include\qep.h" 450 1 Info 757: global declarator 'QP_versionStr' (line 450, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QP_versionStr'
-"D:\qp\qpc\include\qs.h" 239 1 Info 757: global declarator 'QS_str(const char_t *)' (line 239, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str'
-"D:\qp\qpc\include\qs.h" 258 1 Info 757: global declarator 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 258, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_sig_dict'
-"D:\qp\qpc\include\qs.h" 215 1 Info 757: global declarator 'QS_str_(const char_t *)' (line 215, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_'
-"D:\qp\qpc\include\qs.h" 220 1 Info 757: global declarator 'QS_str_ROM_(const char_t *)' (line 220, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM_'
-"D:\qp\qpc\include\qs.h" 244 1 Info 757: global declarator 'QS_str_ROM(const char_t *)' (line 244, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM'
-"D:\qp\qpc\source\qf_act.c" 69 1 Info 759: header declaration for symbol 'QF_add_(QMActive *)' defined at (line 69, file D:\qp\qpc\source\qf_act.c) could be moved from header to module
-"D:\qp\qpc\source\qf_act.c" 69 1 Info 765: external 'QF_add_(QMActive *)' (line 69, file D:\qp\qpc\source\qf_act.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_act.c" 69 1 Info 714: Symbol 'QF_add_(QMActive *)' (line 69, file D:\qp\qpc\source\qf_act.c) not referenced
-"D:\qp\qpc\include\qf.h" 529 1 Info 757: global declarator 'QF_run(void)' (line 529, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_run'
-"D:\qp\qpc\source\qf_act.c" 109 1 Info 759: header declaration for symbol 'QF_remove_(const QMActive *)' defined at (line 109, file D:\qp\qpc\source\qf_act.c) could be moved from header to module
-"D:\qp\qpc\source\qf_act.c" 109 1 Info 765: external 'QF_remove_(const QMActive *)' (line 109, file D:\qp\qpc\source\qf_act.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_act.c" 109 1 Info 714: Symbol 'QF_remove_(const QMActive *)' (line 109, file D:\qp\qpc\source\qf_act.c) not referenced
-"D:\qp\qpc\include\qk.h" 118 1 Info 757: global declarator 'QK_mutexLock(uint_fast8_t)' (line 118, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexLock'
-"D:\qp\qpc\include\qk.h" 121 1 Info 757: global declarator 'QK_mutexUnlock(QMutex)' (line 121, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexUnlock'
-"D:\qp\qpc\include\qs.h" 200 1 Warning 526: Symbol 'QS_endRec(void)' (line 200, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_endRec'
-"D:\qp\qpc\include\qs.h" 227 1 Info 757: global declarator 'QS_u16(uint8_t, uint16_t)' (line 227, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16'
-"D:\qp\qpc\include\qs.h" 209 1 Warning 526: Symbol 'QS_u16_(uint16_t)' (line 209, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16_'
-"D:\qp\qpc\include\qs.h" 230 1 Info 757: global declarator 'QS_u32(uint8_t, uint32_t)' (line 230, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32'
-"D:\qp\qpc\include\qs.h" 212 1 Warning 526: Symbol 'QS_u32_(uint32_t)' (line 212, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32_'
-"D:\qp\qpc\include\qs.h" 224 1 Info 757: global declarator 'QS_u8(uint8_t, uint8_t)' (line 224, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8'
-"D:\qp\qpc\include\qs.h" 203 1 Warning 526: Symbol 'QS_u8_(uint8_t)' (line 203, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8_'
-"D:\qp\qpc\include\qs.h" 206 1 Warning 526: Symbol 'QS_u8u8_(uint8_t, uint8_t)' (line 206, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8u8_'
-"D:\qp\qpc\include\qs.h" 270 1 Info 757: global declarator 'QS_usr_dict(enum_t, const char_t *)' (line 270, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_usr_dict'
-"D:\qp\qpc\source\qf_qact.c" 65 1 Info 759: header declaration for symbol 'QActive_ctor(QActive *, QStateHandler)' defined at (line 65, file D:\qp\qpc\source\qf_qact.c) could be moved from header to module
-"D:\qp\qpc\source\qf_qact.c" 65 1 Info 765: external 'QActive_ctor(QActive *, QStateHandler)' (line 65, file D:\qp\qpc\source\qf_qact.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_qact.c" 65 1 Info 714: Symbol 'QActive_ctor(QActive *, QStateHandler)' (line 65, file D:\qp\qpc\source\qf_qact.c) not referenced
-"D:\qp\qpc\source\qf_defer.c" 70 1 Info 759: header declaration for symbol 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' defined at (line 70, file D:\qp\qpc\source\qf_defer.c) could be moved from header to module
-"D:\qp\qpc\source\qf_defer.c" 70 1 Info 765: external 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 70, file D:\qp\qpc\source\qf_defer.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_defer.c" 70 1 Info 714: Symbol 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 70, file D:\qp\qpc\source\qf_defer.c) not referenced
-"D:\qp\qpc\source\qf_actq.c" 259 1 Info 759: header declaration for symbol 'QActive_get_(QMActive *)' defined at (line 259, file D:\qp\qpc\source\qf_actq.c) could be moved from header to module
-"D:\qp\qpc\source\qf_actq.c" 259 1 Info 765: external 'QActive_get_(QMActive *)' (line 259, file D:\qp\qpc\source\qf_actq.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_actq.c" 259 1 Info 714: Symbol 'QActive_get_(QMActive *)' (line 259, file D:\qp\qpc\source\qf_actq.c) not referenced
-"D:\qp\qpc\source\qf_defer.c" 97 1 Info 759: header declaration for symbol 'QActive_recall(QMActive *, struct QEQueue *)' defined at (line 97, file D:\qp\qpc\source\qf_defer.c) could be moved from header to module
-"D:\qp\qpc\source\qf_defer.c" 97 1 Info 765: external 'QActive_recall(QMActive *, struct QEQueue *)' (line 97, file D:\qp\qpc\source\qf_defer.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_defer.c" 97 1 Info 714: Symbol 'QActive_recall(QMActive *, struct QEQueue *)' (line 97, file D:\qp\qpc\source\qf_defer.c) not referenced
-"D:\qp\qpc\include\qf.h" 238 1 Warning 526: Symbol 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 238, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_start_'
-"D:\qp\qpc\include\qf.h" 361 1 Info 757: global declarator 'QActive_stop(QMActive *)' (line 361, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_stop'
-"D:\qp\qpc\source\qf_ps.c" 208 1 Info 759: header declaration for symbol 'QActive_subscribe(const QActive *, enum_t)' defined at (line 208, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 208 1 Info 765: external 'QActive_subscribe(const QActive *, enum_t)' (line 208, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_ps.c" 208 1 Info 714: Symbol 'QActive_subscribe(const QActive *, enum_t)' (line 208, file D:\qp\qpc\source\qf_ps.c) not referenced
-"D:\qp\qpc\source\qf_ps.c" 253 1 Info 759: header declaration for symbol 'QActive_unsubscribe(const QActive *, enum_t)' defined at (line 253, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 253 1 Info 765: external 'QActive_unsubscribe(const QActive *, enum_t)' (line 253, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_ps.c" 253 1 Info 714: Symbol 'QActive_unsubscribe(const QActive *, enum_t)' (line 253, file D:\qp\qpc\source\qf_ps.c) not referenced
-"D:\qp\qpc\source\qf_ps.c" 300 1 Info 759: header declaration for symbol 'QActive_unsubscribeAll(const QActive *)' defined at (line 300, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 300 1 Info 765: external 'QActive_unsubscribeAll(const QActive *)' (line 300, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_ps.c" 300 1 Info 714: Symbol 'QActive_unsubscribeAll(const QActive *)' (line 300, file D:\qp\qpc\source\qf_ps.c) not referenced
-"D:\qp\qpc\include\qf.h" 533 1 Info 757: global declarator 'QF_stop(void)' (line 533, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_stop'
-"D:\qp\qpc\source\qf_ps.c" 54 1 Info 759: header declaration for symbol 'QF_subscrList_' defined at (line 54, file D:\qp\qpc\source\qf_ps.c) could be moved from header to module
-"D:\qp\qpc\source\qf_ps.c" 54 1 Info 765: external 'QF_subscrList_' (line 54, file D:\qp\qpc\source\qf_ps.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qep.h" 420 1 Warning 526: Symbol 'QHsm_ctor(QHsm *, QStateHandler)' (line 420, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_ctor'
-"D:\qp\qpc\include\qep.h" 435 1 Warning 526: Symbol 'QHsm_dispatch_(QHsm *, const QEvt *)' (line 435, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 431 1 Warning 526: Symbol 'QHsm_init_(QHsm *, const QEvt *)' (line 431, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_init_'
-"D:\qp\qpc\include\qep.h" 440 1 Info 757: global declarator 'QHsm_isIn(QHsm *, QStateHandler)' (line 440, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_isIn'
-"D:\qp\qpc\include\qep.h" 445 1 Info 757: global declarator 'QHsm_top(const void *, const QEvt *)' (line 445, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_top'
-"D:\qp\qpc\include\qpset.h" 55 1 Info 756: global typedef 'QPSet8' (line 55, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 194 1 Info 757: global declarator 'QS_filterOff(uint_fast8_t)' (line 194, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOff'
-"D:\qp\qpc\include\qs.h" 233 1 Info 757: global declarator 'QS_f32(uint8_t, float32_t)' (line 233, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f32'
-"D:\qp\qpc\include\qs.h" 236 1 Info 757: global declarator 'QS_f64(uint8_t, float64_t)' (line 236, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f64'
-"D:\qp\qpc\include\qs.h" 191 1 Info 757: global declarator 'QS_filterOn(uint_fast8_t)' (line 191, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOn'
-"D:\qp\qpc\include\qs.h" 266 1 Info 757: global declarator 'QS_fun_dict(void (*)(void), const char_t *)' (line 266, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_fun_dict'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 123 1 Info 757: global declarator 'FPU_restore(void *)' (line 123, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_restore'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 122 1 Info 757: global declarator 'FPU_save(void *)' (line 122, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_save'
-"D:\qp\qpc\source\qf_time.c" 75 1 Info 759: header declaration for symbol 'QF_tickX_(uint_fast8_t, const void *)' defined at (line 75, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 75 1 Info 765: external 'QF_tickX_(uint_fast8_t, const void *)' (line 75, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 75 1 Info 714: Symbol 'QF_tickX_(uint_fast8_t, const void *)' (line 75, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_time.c" 53 1 Info 759: header declaration for symbol 'QF_timeEvtHead_' defined at (line 53, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 53 1 Info 765: external 'QF_timeEvtHead_' (line 53, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qk.h" 105 1 Info 757: global declarator 'QK_onIdle(void)' (line 105, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_onIdle'
-"D:\qp\qpc\include\qs.h" 275 1 Info 757: global declarator 'QS_getByte(void)' (line 275, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getByte'
-"D:\qp\qpc\include\qs.h" 281 1 Info 757: global declarator 'QS_getBlock(uint16_t *)' (line 281, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getBlock'
-"D:\qp\qpc\ports\lint\stdint.h" 36 1 Info 756: global typedef 'int_fast16_t' (line 36, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 38 1 Info 756: global typedef 'int_fast32_t' (line 38, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 34 1 Info 756: global typedef 'int_fast8_t' (line 34, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 124 1 Info 757: global declarator 'impure_ptr' (line 124, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\source\qf_time.c" 291 1 Info 759: header declaration for symbol 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' defined at (line 291, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 291 1 Info 765: external 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 291, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 291 1 Info 714: Symbol 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 291, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_time.c" 231 1 Info 759: header declaration for symbol 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' defined at (line 231, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 231 1 Info 765: external 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 231, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 231 1 Info 714: Symbol 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 231, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_time.c" 420 1 Info 759: header declaration for symbol 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' defined at (line 420, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 420 1 Info 765: external 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 420, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 420 1 Info 714: Symbol 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 420, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_time.c" 361 1 Info 759: header declaration for symbol 'QTimeEvt_disarm(struct QTimeEvt *)' defined at (line 361, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 361 1 Info 765: external 'QTimeEvt_disarm(struct QTimeEvt *)' (line 361, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 361 1 Info 714: Symbol 'QTimeEvt_disarm(struct QTimeEvt *)' (line 361, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\source\qf_time.c" 494 1 Info 759: header declaration for symbol 'QTimeEvt_ctr(const struct QTimeEvt *)' defined at (line 494, file D:\qp\qpc\source\qf_time.c) could be moved from header to module
-"D:\qp\qpc\source\qf_time.c" 494 1 Info 765: external 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 494, file D:\qp\qpc\source\qf_time.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_time.c" 494 1 Info 714: Symbol 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 494, file D:\qp\qpc\source\qf_time.c) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 24 1 Info 756: global typedef 'int16_t' (line 24, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\source\qf_qeq.c" 70 1 Info 759: header declaration for symbol 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' defined at (line 70, file D:\qp\qpc\source\qf_qeq.c) could be moved from header to module
-"D:\qp\qpc\source\qf_qeq.c" 70 1 Info 765: external 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 70, file D:\qp\qpc\source\qf_qeq.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_qeq.c" 70 1 Info 714: Symbol 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 70, file D:\qp\qpc\source\qf_qeq.c) not referenced
-"D:\qp\qpc\source\qf_qeq.c" 211 1 Info 759: header declaration for symbol 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' defined at (line 211, file D:\qp\qpc\source\qf_qeq.c) could be moved from header to module
-"D:\qp\qpc\source\qf_qeq.c" 211 1 Info 765: external 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 211, file D:\qp\qpc\source\qf_qeq.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_qeq.c" 211 1 Info 714: Symbol 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 211, file D:\qp\qpc\source\qf_qeq.c) not referenced
-"D:\qp\qpc\include\qs.h" 188 1 Info 757: global declarator 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 188, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_initBuf'
-"D:\qp\qpc\include\qk.h" 69 1 Warning 526: Symbol 'QK_readySet_' (line 69, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_readySet_'
-"D:\qp\qpc\source\qf_mem.c" 276 1 Info 759: header declaration for symbol 'QF_getPoolMin(uint_fast8_t)' defined at (line 276, file D:\qp\qpc\source\qf_mem.c) could be moved from header to module
-"D:\qp\qpc\source\qf_mem.c" 276 1 Info 765: external 'QF_getPoolMin(uint_fast8_t)' (line 276, file D:\qp\qpc\source\qf_mem.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_mem.c" 276 1 Info 714: Symbol 'QF_getPoolMin(uint_fast8_t)' (line 276, file D:\qp\qpc\source\qf_mem.c) not referenced
-"D:\qp\qpc\source\qf_actq.c" 326 1 Info 759: header declaration for symbol 'QF_getQueueMin(uint_fast8_t)' defined at (line 326, file D:\qp\qpc\source\qf_actq.c) could be moved from header to module
-"D:\qp\qpc\source\qf_actq.c" 326 1 Info 765: external 'QF_getQueueMin(uint_fast8_t)' (line 326, file D:\qp\qpc\source\qf_actq.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qf_actq.c" 326 1 Info 714: Symbol 'QF_getQueueMin(uint_fast8_t)' (line 326, file D:\qp\qpc\source\qf_actq.c) not referenced
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
-"D:\qp\qpc\ports\lint\stdint.h" 25 1 Info 756: global typedef 'int32_t' (line 25, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qk.h" 74 1 Warning 526: Symbol 'QK_sched_(uint_fast8_t)' (line 74, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_sched_'
-"D:\qp\qpc\include\qk.h" 77 1 Warning 526: Symbol 'QK_schedPrio_(void)' (line 77, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_schedPrio_'
-"D:\qp\qpc\include\qk.h" 80 1 Info 757: global declarator 'QK_currPrio_' (line 80, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_currPrio_'
-"D:\qp\qpc\include\qep.h" 351 1 Warning 526: Symbol 'QMsm_ctor(QMsm *, QStateHandler)' (line 351, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_ctor'
-"D:\qp\qpc\include\qep.h" 386 1 Warning 526: Symbol 'QMsm_dispatch_(QMsm *, const QEvt *)' (line 386, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 389 1 Info 757: global declarator 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' (line 389, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_execTatbl_'
-"D:\qp\qpc\include\qep.h" 371 1 Warning 526: Symbol 'QMsm_init_(QMsm *, const QEvt *)' (line 371, file D:\qp\qpc\include\qep.h, module D:\qp\qpc\source\qf_act.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_init_'
-"D:\qp\qpc\include\qep.h" 394 1 Info 757: global declarator 'QMsm_isInState(QMsm *, const struct QMState *)' (line 394, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_isInState'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 211 1 Info 757: global declarator 'intDisable(void)' (line 211, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intDisable'
-"D:\qp\qpc\include\qf.h" 519 1 Info 757: global declarator 'QF_init(void)' (line 519, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_init'
-"D:\qp\qpc\include\qep.h" 210 1 Info 755: global macro 'Q_MSM_UPCAST' (line 210, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 56 1 Info 755: global macro 'QK_EXT_SAVE' (line 56, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 68 1 Info 755: global macro 'QK_EXT_RESTORE' (line 68, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qep.h" 556 1 Info 755: global macro 'QM_SUPER' (line 556, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 562 1 Info 755: global macro 'QM_SUPER_SUB' (line 562, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\source\qf_pkg.h" 169 1 Info 755: global macro 'QS_MPS_' (line 169, file D:\qp\qpc\source\qf_pkg.h) not referenced
-"D:\qp\qpc\include\qs.h" 822 1 Info 755: global macro 'QS_MEM' (line 822, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 510 1 Info 755: global macro 'QM_TRAN' (line 510, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 525 1 Info 755: global macro 'QM_TRAN_HIST' (line 525, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 532 1 Info 755: global macro 'QM_TRAN_EP' (line 532, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 517 1 Info 755: global macro 'QM_TRAN_INIT' (line 517, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 540 1 Info 755: global macro 'QM_TRAN_XP' (line 540, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qk.h" 127 1 Info 755: global macro 'QK_getVersion' (line 127, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qep.h" 490 1 Info 755: global macro 'QM_ENTRY' (line 490, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 496 1 Info 755: global macro 'QM_EXIT' (line 496, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 551 1 Info 755: global macro 'QM_UNHANDLED' (line 551, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 57 1 Info 755: global macro 'QP_RELEASE' (line 57, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 830 1 Info 755: global macro 'QS_OBJ' (line 830, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 946 1 Info 755: global macro 'QS_OBJ_DICTIONARY' (line 946, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 166 1 Info 755: global macro 'QF_MPOOL_EL' (line 166, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qassert.h" 256 1 Info 755: global macro 'Q_ENSURE' (line 256, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 267 1 Info 755: global macro 'Q_ENSURE_ID' (line 267, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qf.h" 697 1 Info 755: global macro 'Q_NEW' (line 697, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 725 1 Info 755: global macro 'Q_NEW_X' (line 725, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 599 1 Info 755: global macro 'Q_UNHANDLED' (line 599, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 101 1 Info 755: global macro 'QK_ISR_ENTRY' (line 101, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 120 1 Info 755: global macro 'QK_ISR_EXIT' (line 120, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qs.h" 143 1 Info 755: global macro 'QS_ALL_RECORDS' (line 143, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 997 1 Info 755: global macro 'QS_ASSERTION' (line 997, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 265 1 Info 755: global macro 'Q_ACTION_CAST' (line 265, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qassert.h" 112 1 Info 755: global macro 'Q_ASSERT' (line 112, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 301 1 Info 755: global macro 'Q_ASSERT_COMPILE' (line 301, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 453 1 Info 755: global macro 'QEP_getVersion' (line 453, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 545 1 Info 755: global macro 'QM_HANDLED' (line 545, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 613 1 Info 755: global macro 'QS_BEGIN' (line 613, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 526 1 Info 755: global macro 'QS_BEGIN_NOCRIT' (line 526, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qf.h" 588 1 Info 755: global macro 'QF_PUBLISH' (line 588, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 48 1 Info 755: global macro 'QP_VERSION' (line 48, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 54 1 Info 755: global macro 'QP_VERSION_STR' (line 54, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 865 1 Info 755: global macro 'QS_SIG' (line 865, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 814 1 Info 755: global macro 'QS_STR' (line 814, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 923 1 Info 755: global macro 'QS_SIG_DICTIONARY' (line 923, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 735 1 Info 755: global macro 'QS_STR_' (line 735, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 740 1 Info 755: global macro 'QS_STR_ROM_' (line 740, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 819 1 Info 755: global macro 'QS_STR_ROM' (line 819, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 570 1 Info 755: global macro 'Q_TRAN' (line 570, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 579 1 Info 755: global macro 'Q_TRAN_HIST' (line 579, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 256 1 Info 755: global macro 'Q_STATE_CAST' (line 256, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 1038 1 Info 755: global macro 'QF_QS_ACTION' (line 1038, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1014 1 Info 755: global macro 'QF_QS_CRIT_ENTRY' (line 1014, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1021 1 Info 755: global macro 'QF_QS_CRIT_EXIT' (line 1021, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1028 1 Info 755: global macro 'QF_QS_ISR_ENTRY' (line 1028, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1035 1 Info 755: global macro 'QF_QS_ISR_EXIT' (line 1035, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 171 1 Info 755: global macro 'Q_ERROR' (line 171, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 187 1 Info 755: global macro 'Q_ERROR_ID' (line 187, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 277 1 Info 755: global macro 'Q_INVARIANT' (line 277, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 288 1 Info 755: global macro 'Q_INVARIANT_ID' (line 288, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 237 1 Info 755: global macro 'Q_REQUIRE' (line 237, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qs.h" 278 1 Info 755: global macro 'QS_EOD' (line 278, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 620 1 Info 755: global macro 'QS_END' (line 620, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 530 1 Info 755: global macro 'QS_END_NOCRIT' (line 530, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 364 1 Info 755: global macro 'QS_EXIT' (line 364, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 783 1 Info 755: global macro 'QS_U16' (line 783, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 679 1 Info 755: global macro 'QS_U16_' (line 679, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 791 1 Info 755: global macro 'QS_U32' (line 791, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 682 1 Info 755: global macro 'QS_U32_' (line 682, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 775 1 Info 755: global macro 'QS_U8' (line 775, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 807 1 Info 755: global macro 'QS_U64' (line 807, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 811 1 Info 755: global macro 'QS_U32_HEX' (line 811, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 983 1 Info 755: global macro 'QS_USR_DICTIONARY' (line 983, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 588 1 Info 755: global macro 'Q_SUPER' (line 588, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 269 1 Info 755: global macro 'QF_CPU_SLEEP' (line 269, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\include\qf.h" 261 1 Info 755: global macro 'QACTIVE_START' (line 261, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 328 1 Info 755: global macro 'QACTIVE_POST_X' (line 328, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 427 1 Info 755: global macro 'QHsm_state' (line 427, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qpset.h" 80 1 Info 755: global macro 'QPSet8_findMax' (line 80, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 165 1 Info 755: global macro 'QPSet64_findMax' (line 165, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 133 1 Info 755: global macro 'QPSet64_hasElement' (line 133, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 125 1 Info 755: global macro 'QPSet64_isEmpty' (line 125, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 128 1 Info 755: global macro 'QPSet64_notEmpty' (line 128, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 66 1 Info 755: global macro 'QPSet8_hasElement' (line 66, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 70 1 Info 755: global macro 'QPSet8_insert' (line 70, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 58 1 Info 755: global macro 'QPSet8_isEmpty' (line 58, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 61 1 Info 755: global macro 'QPSet8_notEmpty' (line 61, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 74 1 Info 755: global macro 'QPSet8_remove' (line 74, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 385 1 Info 755: global macro 'QS_FILTER_OFF' (line 385, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 795 1 Info 755: global macro 'QS_F32' (line 795, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 799 1 Info 755: global macro 'QS_F64' (line 799, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 434 1 Info 755: global macro 'QS_FILTER_AO_OBJ' (line 434, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 454 1 Info 755: global macro 'QS_FILTER_MP_OBJ' (line 454, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 474 1 Info 755: global macro 'QS_FILTER_EQ_OBJ' (line 474, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 512 1 Info 755: global macro 'QS_FILTER_AP_OBJ' (line 512, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 375 1 Info 755: global macro 'QS_FILTER_ON' (line 375, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 413 1 Info 755: global macro 'QS_FILTER_SM_OBJ' (line 413, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 495 1 Info 755: global macro 'QS_FILTER_TE_OBJ' (line 495, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 844 1 Info 755: global macro 'QS_FUN' (line 844, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1007 1 Info 755: global macro 'QS_FLUSH' (line 1007, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 721 1 Info 755: global macro 'QS_FUN_' (line 721, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 968 1 Info 755: global macro 'QS_FUN_DICTIONARY' (line 968, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 80 1 Info 755: global macro 'Q_DEFINE_THIS_FILE' (line 80, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 593 1 Info 755: global macro 'Q_HANDLED' (line 593, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 625 1 Info 755: global macro 'QF_TICK_X' (line 625, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 635 1 Info 755: global macro 'QF_TICK' (line 635, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 1041 1 Info 755: global macro 'QS_getVersion' (line 1041, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 220 1 Info 755: global macro 'Q_EVT_CAST' (line 220, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 200 1 Info 755: global macro 'QEQueue_getNFree' (line 200, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 214 1 Info 755: global macro 'QEQueue_getNMin' (line 214, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 230 1 Info 755: global macro 'QEQueue_isEmpty' (line 230, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qs.h" 355 1 Info 755: global macro 'QS_INIT' (line 355, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 771 1 Info 755: global macro 'QS_I8' (line 771, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 779 1 Info 755: global macro 'QS_I16' (line 779, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 787 1 Info 755: global macro 'QS_I32' (line 787, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 803 1 Info 755: global macro 'QS_I64' (line 803, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qf.h" 811 1 Info 755: global macro 'QF_getVersion' (line 811, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qassert.h" 146 1 Info 755: global macro 'Q_ALLEGE' (line 146, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 161 1 Info 755: global macro 'Q_ALLEGE_ID' (line 161, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 354 1 Info 755: global macro 'QMsm_stateObj' (line 354, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 368 1 Info 755: global macro 'QMSM_INIT' (line 368, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 383 1 Info 755: global macro 'QMSM_DISPATCH' (line 383, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 234 1 Info 755: global macro 'Q_UINT2PTR_CAST' (line 234, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 198 1 Info 755: global macro 'QF_INT_DISABLE' (line 198, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 209 1 Info 755: global macro 'QF_INT_ENABLE' (line 209, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 22 1 Info 755: global macro '__bool_true_false_are_defined' (line 22, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 460 1 Info 758: global enum '(untagged)' (line 460, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 750 1 Info 758: global enum '(untagged)' (line 750, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 280 1 Info 768: global struct member 'QMState::superstate' (line 280, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 281 1 Info 768: global struct member 'QMState::stateHandler' (line 281, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 282 1 Info 768: global struct member 'QMState::entryAction' (line 282, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 283 1 Info 768: global struct member 'QMState::exitAction' (line 283, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 284 1 Info 768: global struct member 'QMState::initAction' (line 284, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 289 1 Info 768: global struct member 'QMTranActTable::target' (line 289, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 290 1 Info 768: global struct member 'QMTranActTable::act' (line 290, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 300 1 Info 768: global struct member 'QMAttr::obj' (line 300, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 301 1 Info 768: global struct member 'QMAttr::tatbl' (line 301, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 302 1 Info 768: global struct member 'QMAttr::fun' (line 302, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 303 1 Info 768: global struct member 'QMAttr::act' (line 303, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 337 1 Info 768: global struct member 'QMsm::state' (line 337, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 338 1 Info 768: global struct member 'QMsm::temp' (line 338, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 344 1 Info 768: global struct member 'QMsmVtbl::init' (line 344, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 347 1 Info 768: global struct member 'QMsmVtbl::dispatch' (line 347, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 462 1 Info 769: global enumeration constant 'Q_RET_SUPER' (line 462, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 464 1 Info 769: global enumeration constant 'Q_RET_UNHANDLED' (line 464, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 467 1 Info 769: global enumeration constant 'Q_RET_HANDLED' (line 467, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 471 1 Info 769: global enumeration constant 'Q_RET_ENTRY' (line 471, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 472 1 Info 769: global enumeration constant 'Q_RET_EXIT' (line 472, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 478 1 Info 769: global enumeration constant 'Q_RET_TRAN' (line 478, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 479 1 Info 769: global enumeration constant 'Q_RET_TRAN_INIT' (line 479, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 130 1 Info 768: global struct member 'QEQueue' (line 130, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qpset.h" 54 1 Info 768: global struct member 'QPSet8::bits' (line 54, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qf.h" 142 1 Info 768: global struct member 'QMActive::osObject' (line 142, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 153 1 Info 768: global struct member 'QMActive::thread' (line 153, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 174 1 Info 768: global struct member 'QMActiveVtbl::start' (line 174, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 57 1 Info 769: global enumeration constant 'QSpyRecords::QS_QP_RESET' (line 57, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 60 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 60, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 61 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 61, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 62 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 62, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 63 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 63, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 64 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 64, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 65 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 65, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 66 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 66, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 67, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 68 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 68, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 113, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 114, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_SCHEDULE' (line 115, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 120, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 121 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 121, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 122 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 122, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 127 1 Info 769: global enumeration constant 'QSpyRecords::QS_SIG_DICT' (line 127, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 128 1 Info 769: global enumeration constant 'QSpyRecords::QS_OBJ_DICT' (line 128, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 129 1 Info 769: global enumeration constant 'QSpyRecords::QS_FUN_DICT' (line 129, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 130, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 131, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 759 1 Info 769: global enumeration constant 'QS_STR_T' (line 759, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 760 1 Info 769: global enumeration constant 'QS_MEM_T' (line 760, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1050 1 Info 768: global struct member 'QSPriv::smObjFilter' (line 1050, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1055 1 Info 768: global struct member 'QSPriv::apObjFilter' (line 1055, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1057 1 Info 768: global struct member 'QSPriv::buf' (line 1057, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1058 1 Info 768: global struct member 'QSPriv::end' (line 1058, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1059 1 Info 768: global struct member 'QSPriv::head' (line 1059, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1060 1 Info 768: global struct member 'QSPriv::tail' (line 1060, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1061 1 Info 768: global struct member 'QSPriv::used' (line 1061, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1062 1 Info 768: global struct member 'QSPriv::seq' (line 1062, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1063 1 Info 768: global struct member 'QSPriv::chksum' (line 1063, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1065 1 Info 768: global struct member 'QSPriv::critNest' (line 1065, file D:\qp\qpc\include\qs.h) not referenced
- Note 900: Successful completion, 447 messages produced
-
-Count Type Number Text
-
-22 Warning 526 Symbol '___' (___) not defined
-25 Info 714 Symbol '___' (___) not referenced
-1 Info 729 Symbol '___' (___) not explicitly initialized
-123 Info 755 global macro '___' (___) not referenced
-10 Info 756 global typedef '___' (___) not referenced
-43 Info 757 global declarator '___' (___) not referenced
-2 Info 758 global ___ '___' (___) not referenced
-28 Info 759 header declaration for symbol '___' defined at (___) could be moved from header to module
-28 Info 765 external '___' (___) could be made static
-30 Info 768 global struct member '___' (___) not referenced
-72 Info 769 global enumeration constant '___' (___) not referenced
-1 Note 900 Successful completion, ___ messages produced
-63 Note 960 Violates MISRA 2004 Required Rule ___, ___
diff --git a/ports/lint/lint_qk.txt b/ports/lint/lint_qk.txt
deleted file mode 100644
index bffa9977..00000000
--- a/ports/lint/lint_qk.txt
+++ /dev/null
@@ -1,551 +0,0 @@
-
---- Module: D:\qp\qpc\source\qk.c (C)
-
---- Module: D:\qp\qpc\source\qk_mutex.c (C)
-
-/// Start of Pass 2 ///
-
---- Module: D:\qp\qpc\source\qk.c (C)
-
---- Module: D:\qp\qpc\source\qk_mutex.c (C)
-
---- Global Wrap-up
-
-"D:\qp\qpc\include\qf.h" 61 1 Info 756: global typedef 'QEvtSize' (line 61, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 247 1 Info 757: global declarator 'QS_mem(const uint8_t *, uint8_t)' (line 247, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_mem'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 212 1 Warning 526: Symbol 'intEnable(void)' (line 212, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intEnable'
-"D:\qp\qpc\ports\lint\stdint.h" 31 1 Info 756: global typedef 'uint64_t' (line 31, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 26 1 Info 756: global typedef 'int64_t' (line 26, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 794 1 Warning 526: Symbol 'QF_log2Lkup' (line 794, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
-"D:\qp\qpc\include\qf.h" 162 1 Info 757: global declarator 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMActive_ctor'
-"D:\qp\qpc\include\qs.h" 262 1 Info 757: global declarator 'QS_obj_dict(const void *, const char_t *)' (line 262, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_obj_dict'
-"D:\qp\qpc\include\qs.h" 303 1 Info 757: global declarator 'QS_onStartup(const void *)' (line 303, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
-"D:\qp\qpc\include\qs.h" 313 1 Info 757: global declarator 'QS_onCleanup(void)' (line 313, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
-"D:\qp\qpc\include\qs.h" 323 1 Warning 526: Symbol 'QS_onFlush(void)' (line 323, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
-"D:\qp\qpc\include\qs.h" 343 1 Warning 526: Symbol 'QS_onGetTime(void)' (line 343, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 272 1 Warning 526: Symbol 'critEntry(void)' (line 272, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critEntry'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 273 1 Warning 526: Symbol 'critExit(crit_stat_t)' (line 273, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critExit'
-"D:\qp\qpc\ports\lint\stdint.h" 23 1 Info 756: global typedef 'int8_t' (line 23, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qs.h" 1068 1 Warning 526: Symbol 'QS_priv_' (line 1068, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_priv_'
-"D:\qp\qpc\source\qk.c" 74 1 Warning 526: Symbol 'QF_maxPool_' (line 74, file D:\qp\qpc\source\qk.c) not defined
-"D:\qp\qpc\source\qk.c" 60 1 Info 759: header declaration for symbol 'QK_intNest_' defined at (line 60, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 60 1 Info 765: external 'QK_intNest_' (line 60, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 60 1 Info 714: Symbol 'QK_intNest_' (line 60, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\include\qk.h" 92 1 Warning 526: Symbol 'QK_init(void)' (line 92, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_init'
-"D:\qp\qpc\include\qf.h" 638 1 Info 757: global declarator 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 638, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_noTimeEvtsActiveX'
-"D:\qp\qpc\include\qf.h" 654 1 Info 757: global declarator 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 654, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newX_'
-"D:\qp\qpc\include\qf.h" 542 1 Warning 526: Symbol 'QF_onStartup(void)' (line 542, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
-"D:\qp\qpc\include\qf.h" 558 1 Warning 526: Symbol 'QF_onCleanup(void)' (line 558, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
-"D:\qp\qpc\include\qs.h" 197 1 Warning 526: Symbol 'QS_beginRec(uint_fast8_t)' (line 197, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_beginRec'
-"D:\qp\qpc\include\qf.h" 525 1 Info 757: global declarator 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 525, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolInit'
-"D:\qp\qpc\include\qf.h" 522 1 Info 757: global declarator 'QF_psInit(QSubscrList *, enum_t)' (line 522, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_psInit'
-"D:\qp\qpc\include\qf.h" 563 1 Info 757: global declarator 'QF_publish_(const QEvt *, const void *)' (line 563, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_publish_'
-"D:\qp\qpc\include\qf.h" 758 1 Info 757: global declarator 'QF_pwr2Lkup' (line 758, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_pwr2Lkup'
-"D:\qp\qpc\include\qep.h" 450 1 Info 757: global declarator 'QP_versionStr' (line 450, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QP_versionStr'
-"D:\qp\qpc\include\qs.h" 239 1 Info 757: global declarator 'QS_str(const char_t *)' (line 239, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str'
-"D:\qp\qpc\include\qs.h" 258 1 Info 757: global declarator 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 258, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_sig_dict'
-"D:\qp\qpc\include\qs.h" 215 1 Info 757: global declarator 'QS_str_(const char_t *)' (line 215, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_'
-"D:\qp\qpc\include\qs.h" 220 1 Info 757: global declarator 'QS_str_ROM_(const char_t *)' (line 220, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM_'
-"D:\qp\qpc\include\qs.h" 244 1 Info 757: global declarator 'QS_str_ROM(const char_t *)' (line 244, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM'
-"D:\qp\qpc\include\qf.h" 641 1 Warning 526: Symbol 'QF_add_(QMActive *)' (line 641, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_add_'
-"D:\qp\qpc\include\qf.h" 807 1 Warning 526: Symbol 'QF_active_' (line 807, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_active_'
-"D:\qp\qpc\source\qk.c" 147 1 Info 759: header declaration for symbol 'QF_run(void)' defined at (line 147, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 147 1 Info 765: external 'QF_run(void)' (line 147, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 147 1 Info 714: Symbol 'QF_run(void)' (line 147, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\include\qf.h" 644 1 Warning 526: Symbol 'QF_remove_(const QMActive *)' (line 644, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_remove_'
-"D:\qp\qpc\include\qf.h" 734 1 Warning 526: Symbol 'QF_bzero(void *, uint_fast16_t)' (line 734, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_bzero'
-"D:\qp\qpc\source\qk_mutex.c" 72 1 Info 759: header declaration for symbol 'QK_mutexLock(uint_fast8_t)' defined at (line 72, file D:\qp\qpc\source\qk_mutex.c) could be moved from header to module
-"D:\qp\qpc\source\qk_mutex.c" 72 1 Info 765: external 'QK_mutexLock(uint_fast8_t)' (line 72, file D:\qp\qpc\source\qk_mutex.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk_mutex.c" 72 1 Info 714: Symbol 'QK_mutexLock(uint_fast8_t)' (line 72, file D:\qp\qpc\source\qk_mutex.c) not referenced
-"D:\qp\qpc\source\qk_mutex.c" 106 1 Info 759: header declaration for symbol 'QK_mutexUnlock(QMutex)' defined at (line 106, file D:\qp\qpc\source\qk_mutex.c) could be moved from header to module
-"D:\qp\qpc\source\qk_mutex.c" 106 1 Info 765: external 'QK_mutexUnlock(QMutex)' (line 106, file D:\qp\qpc\source\qk_mutex.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk_mutex.c" 106 1 Info 714: Symbol 'QK_mutexUnlock(QMutex)' (line 106, file D:\qp\qpc\source\qk_mutex.c) not referenced
-"D:\qp\qpc\include\qs.h" 200 1 Warning 526: Symbol 'QS_endRec(void)' (line 200, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_endRec'
-"D:\qp\qpc\include\qs.h" 227 1 Info 757: global declarator 'QS_u16(uint8_t, uint16_t)' (line 227, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16'
-"D:\qp\qpc\include\qs.h" 209 1 Info 757: global declarator 'QS_u16_(uint16_t)' (line 209, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16_'
-"D:\qp\qpc\include\qs.h" 230 1 Info 757: global declarator 'QS_u32(uint8_t, uint32_t)' (line 230, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32'
-"D:\qp\qpc\include\qs.h" 212 1 Warning 526: Symbol 'QS_u32_(uint32_t)' (line 212, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32_'
-"D:\qp\qpc\include\qs.h" 224 1 Info 757: global declarator 'QS_u8(uint8_t, uint8_t)' (line 224, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8'
-"D:\qp\qpc\include\qs.h" 203 1 Warning 526: Symbol 'QS_u8_(uint8_t)' (line 203, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8_'
-"D:\qp\qpc\include\qs.h" 206 1 Info 757: global declarator 'QS_u8u8_(uint8_t, uint8_t)' (line 206, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8u8_'
-"D:\qp\qpc\include\qs.h" 270 1 Info 757: global declarator 'QS_usr_dict(enum_t, const char_t *)' (line 270, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_usr_dict'
-"D:\qp\qpc\include\qf.h" 230 1 Info 756: global typedef 'QActiveVtbl' (line 230, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 233 1 Info 757: global declarator 'QActive_ctor(QActive *, QStateHandler)' (line 233, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_ctor'
-"D:\qp\qpc\include\qf.h" 345 1 Info 757: global declarator 'QActive_postLIFO_(QMActive *, const QEvt *)' (line 345, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_postLIFO_'
-"D:\qp\qpc\include\qf.h" 374 1 Info 757: global declarator 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 374, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_defer'
-"D:\qp\qpc\include\qf.h" 381 1 Warning 526: Symbol 'QActive_get_(QMActive *)' (line 381, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_get_'
-"D:\qp\qpc\include\qf.h" 265 1 Info 757: global declarator 'QActive_post_(QMActive *, const QEvt *, uint_fast16_t, const void *)' (line 265, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_post_'
-"D:\qp\qpc\include\qf.h" 378 1 Info 757: global declarator 'QActive_recall(QMActive *, struct QEQueue *)' (line 378, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_recall'
-"D:\qp\qpc\source\qk.c" 186 1 Info 759: header declaration for symbol 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' defined at (line 186, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 186 1 Info 765: external 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 186, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 186 1 Info 714: Symbol 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 186, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\source\qk.c" 222 1 Info 759: header declaration for symbol 'QActive_stop(QMActive *)' defined at (line 222, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 222 1 Info 765: external 'QActive_stop(QMActive *)' (line 222, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 222 1 Info 714: Symbol 'QActive_stop(QMActive *)' (line 222, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\include\qf.h" 364 1 Info 757: global declarator 'QActive_subscribe(const QActive *, enum_t)' (line 364, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_subscribe'
-"D:\qp\qpc\include\qf.h" 367 1 Info 757: global declarator 'QActive_unsubscribe(const QActive *, enum_t)' (line 367, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribe'
-"D:\qp\qpc\include\qf.h" 370 1 Info 757: global declarator 'QActive_unsubscribeAll(const QActive *)' (line 370, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribeAll'
-"D:\qp\qpc\source\qk.c" 111 1 Info 759: header declaration for symbol 'QF_stop(void)' defined at (line 111, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 111 1 Info 765: external 'QF_stop(void)' (line 111, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 111 1 Info 714: Symbol 'QF_stop(void)' (line 111, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\include\qep.h" 420 1 Info 757: global declarator 'QHsm_ctor(QHsm *, QStateHandler)' (line 420, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_ctor'
-"D:\qp\qpc\include\qep.h" 435 1 Info 757: global declarator 'QHsm_dispatch_(QHsm *, const QEvt *)' (line 435, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 431 1 Info 757: global declarator 'QHsm_init_(QHsm *, const QEvt *)' (line 431, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_init_'
-"D:\qp\qpc\include\qep.h" 440 1 Info 757: global declarator 'QHsm_isIn(QHsm *, QStateHandler)' (line 440, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_isIn'
-"D:\qp\qpc\include\qep.h" 445 1 Info 757: global declarator 'QHsm_top(const void *, const QEvt *)' (line 445, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_top'
-"D:\qp\qpc\include\qpset.h" 55 1 Info 756: global typedef 'QPSet8' (line 55, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 194 1 Info 757: global declarator 'QS_filterOff(uint_fast8_t)' (line 194, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOff'
-"D:\qp\qpc\include\qs.h" 233 1 Info 757: global declarator 'QS_f32(uint8_t, float32_t)' (line 233, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f32'
-"D:\qp\qpc\include\qs.h" 236 1 Info 757: global declarator 'QS_f64(uint8_t, float64_t)' (line 236, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f64'
-"D:\qp\qpc\include\qs.h" 191 1 Info 757: global declarator 'QS_filterOn(uint_fast8_t)' (line 191, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOn'
-"D:\qp\qpc\include\qs.h" 266 1 Info 757: global declarator 'QS_fun_dict(void (*)(void), const char_t *)' (line 266, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_fun_dict'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 123 1 Info 757: global declarator 'FPU_restore(void *)' (line 123, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_restore'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 122 1 Info 757: global declarator 'FPU_save(void *)' (line 122, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_save'
-"D:\qp\qpc\include\qf.h" 771 1 Info 757: global declarator 'QF_div8Lkup' (line 771, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_div8Lkup'
-"D:\qp\qpc\include\qf.h" 599 1 Info 757: global declarator 'QF_tickX_(uint_fast8_t, const void *)' (line 599, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_tickX_'
-"D:\qp\qpc\source\qk.c" 75 1 Warning 526: Symbol 'QF_timeEvtHead_' (line 75, file D:\qp\qpc\source\qk.c) not defined
-"D:\qp\qpc\include\qk.h" 105 1 Warning 526: Symbol 'QK_onIdle(void)' (line 105, file D:\qp\qpc\include\qk.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_onIdle'
-"D:\qp\qpc\include\qs.h" 275 1 Info 757: global declarator 'QS_getByte(void)' (line 275, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getByte'
-"D:\qp\qpc\include\qs.h" 281 1 Info 757: global declarator 'QS_getBlock(uint16_t *)' (line 281, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getBlock'
-"D:\qp\qpc\ports\lint\stdint.h" 36 1 Info 756: global typedef 'int_fast16_t' (line 36, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 38 1 Info 756: global typedef 'int_fast32_t' (line 38, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 34 1 Info 756: global typedef 'int_fast8_t' (line 34, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 124 1 Warning 526: Symbol 'impure_ptr' (line 124, file D:\qp\qpc\ports\lint\qk\qk_port.h, module D:\qp\qpc\source\qk.c) not defined
-"D:\qp\qpc\include\qf.h" 476 1 Info 757: global declarator 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_armX'
-"D:\qp\qpc\include\qf.h" 472 1 Info 757: global declarator 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctorX'
-"D:\qp\qpc\include\qf.h" 480 1 Info 757: global declarator 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 480, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_rearm'
-"D:\qp\qpc\include\qf.h" 483 1 Info 757: global declarator 'QTimeEvt_disarm(struct QTimeEvt *)' (line 483, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_disarm'
-"D:\qp\qpc\include\qf.h" 486 1 Info 757: global declarator 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 486, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctr'
-"D:\qp\qpc\ports\lint\stdint.h" 24 1 Info 756: global typedef 'int16_t' (line 24, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 184 1 Info 757: global declarator 'QEQueue_get(struct QEQueue *)' (line 184, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_get'
-"D:\qp\qpc\include\qequeue.h" 173 1 Warning 526: Symbol 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 173, file D:\qp\qpc\include\qequeue.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_init'
-"D:\qp\qpc\include\qequeue.h" 177 1 Info 757: global declarator 'QEQueue_post(struct QEQueue *, const QEvt *, uint_fast16_t)' (line 177, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_post'
-"D:\qp\qpc\include\qequeue.h" 181 1 Info 757: global declarator 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 181, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_postLIFO'
-"D:\qp\qpc\include\qs.h" 188 1 Info 757: global declarator 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 188, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_initBuf'
-"D:\qp\qpc\source\qk.c" 56 1 Info 759: header declaration for symbol 'QK_readySet_' defined at (line 56, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 56 1 Info 765: external 'QK_readySet_' (line 56, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qf.h" 731 1 Warning 526: Symbol 'QF_gc(const QEvt *)' (line 731, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_gc'
-"D:\qp\qpc\include\qf.h" 647 1 Info 757: global declarator 'QF_getPoolMin(uint_fast8_t)' (line 647, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getPoolMin'
-"D:\qp\qpc\include\qf.h" 651 1 Info 757: global declarator 'QF_getQueueMin(uint_fast8_t)' (line 651, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getQueueMin'
-"D:\qp\qpc\include\qmpool.h" 154 1 Info 757: global declarator 'QMPool_get(QMPool *, uint_fast16_t)' (line 154, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_get'
-"D:\qp\qpc\include\qmpool.h" 150 1 Info 757: global declarator 'QMPool_init(QMPool *, void *, uint_fast32_t, uint_fast16_t)' (line 150, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_init'
-"D:\qp\qpc\include\qmpool.h" 157 1 Info 757: global declarator 'QMPool_put(QMPool *, void *)' (line 157, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_put'
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
-"D:\qp\qpc\ports\lint\stdint.h" 25 1 Info 756: global typedef 'int32_t' (line 25, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\source\qk.c" 59 1 Info 759: header declaration for symbol 'QK_currPrio_' defined at (line 59, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 59 1 Info 765: external 'QK_currPrio_' (line 59, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qep.h" 351 1 Info 757: global declarator 'QMsm_ctor(QMsm *, QStateHandler)' (line 351, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_ctor'
-"D:\qp\qpc\include\qep.h" 386 1 Info 757: global declarator 'QMsm_dispatch_(QMsm *, const QEvt *)' (line 386, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 389 1 Info 757: global declarator 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' (line 389, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_execTatbl_'
-"D:\qp\qpc\include\qep.h" 371 1 Info 757: global declarator 'QMsm_init_(QMsm *, const QEvt *)' (line 371, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_init_'
-"D:\qp\qpc\include\qep.h" 394 1 Info 757: global declarator 'QMsm_isInState(QMsm *, const struct QMState *)' (line 394, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_isInState'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 211 1 Warning 526: Symbol 'intDisable(void)' (line 211, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qk.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intDisable'
-"D:\qp\qpc\source\qk.c" 73 1 Info 759: header declaration for symbol 'QF_init(void)' defined at (line 73, file D:\qp\qpc\source\qk.c) could be moved from header to module
-"D:\qp\qpc\source\qk.c" 73 1 Info 765: external 'QF_init(void)' (line 73, file D:\qp\qpc\source\qk.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qk.c" 73 1 Info 714: Symbol 'QF_init(void)' (line 73, file D:\qp\qpc\source\qk.c) not referenced
-"D:\qp\qpc\include\qf.h" 765 1 Info 757: global declarator 'QF_invPwr2Lkup' (line 765, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_invPwr2Lkup'
-"D:\qp\qpc\ports\lint\stdbool.h" 17 1 Info 755: global macro 'true' (line 17, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 210 1 Info 755: global macro 'Q_MSM_UPCAST' (line 210, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 56 1 Info 755: global macro 'QK_EXT_SAVE' (line 56, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 68 1 Info 755: global macro 'QK_EXT_RESTORE' (line 68, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qep.h" 556 1 Info 755: global macro 'QM_SUPER' (line 556, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 562 1 Info 755: global macro 'QM_SUPER_SUB' (line 562, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 822 1 Info 755: global macro 'QS_MEM' (line 822, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 510 1 Info 755: global macro 'QM_TRAN' (line 510, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 525 1 Info 755: global macro 'QM_TRAN_HIST' (line 525, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 532 1 Info 755: global macro 'QM_TRAN_EP' (line 532, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 517 1 Info 755: global macro 'QM_TRAN_INIT' (line 517, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 540 1 Info 755: global macro 'QM_TRAN_XP' (line 540, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qk.h" 127 1 Info 755: global macro 'QK_getVersion' (line 127, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qf.h" 799 1 Info 755: global macro 'QF_LOG2LKUP' (line 799, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 490 1 Info 755: global macro 'QM_ENTRY' (line 490, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 496 1 Info 755: global macro 'QM_EXIT' (line 496, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 551 1 Info 755: global macro 'QM_UNHANDLED' (line 551, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 57 1 Info 755: global macro 'QP_RELEASE' (line 57, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 830 1 Info 755: global macro 'QS_OBJ' (line 830, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 703 1 Info 755: global macro 'QS_OBJ_' (line 703, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 946 1 Info 755: global macro 'QS_OBJ_DICTIONARY' (line 946, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 166 1 Info 755: global macro 'QF_MPOOL_EL' (line 166, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qassert.h" 256 1 Info 755: global macro 'Q_ENSURE' (line 256, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 267 1 Info 755: global macro 'Q_ENSURE_ID' (line 267, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qf.h" 697 1 Info 755: global macro 'Q_NEW' (line 697, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 725 1 Info 755: global macro 'Q_NEW_X' (line 725, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 599 1 Info 755: global macro 'Q_UNHANDLED' (line 599, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 101 1 Info 755: global macro 'QK_ISR_ENTRY' (line 101, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 120 1 Info 755: global macro 'QK_ISR_EXIT' (line 120, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qs.h" 143 1 Info 755: global macro 'QS_ALL_RECORDS' (line 143, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 997 1 Info 755: global macro 'QS_ASSERTION' (line 997, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 265 1 Info 755: global macro 'Q_ACTION_CAST' (line 265, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qassert.h" 112 1 Info 755: global macro 'Q_ASSERT' (line 112, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 301 1 Info 755: global macro 'Q_ASSERT_COMPILE' (line 301, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 453 1 Info 755: global macro 'QEP_getVersion' (line 453, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 545 1 Info 755: global macro 'QM_HANDLED' (line 545, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 676 1 Info 755: global macro 'QS_2U8_' (line 676, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 613 1 Info 755: global macro 'QS_BEGIN' (line 613, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 637 1 Info 755: global macro 'QS_BEGIN_' (line 637, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 526 1 Info 755: global macro 'QS_BEGIN_NOCRIT' (line 526, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 18 1 Info 755: global macro 'false' (line 18, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qf.h" 588 1 Info 755: global macro 'QF_PUBLISH' (line 588, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 48 1 Info 755: global macro 'QP_VERSION' (line 48, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 54 1 Info 755: global macro 'QP_VERSION_STR' (line 54, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 587 1 Info 755: global macro 'QS_CRIT_ENTRY_' (line 587, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 589 1 Info 755: global macro 'QS_CRIT_EXIT_' (line 589, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 586 1 Info 755: global macro 'QS_CRIT_STAT_' (line 586, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 865 1 Info 755: global macro 'QS_SIG' (line 865, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 692 1 Info 755: global macro 'QS_SIG_' (line 692, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 814 1 Info 755: global macro 'QS_STR' (line 814, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 923 1 Info 755: global macro 'QS_SIG_DICTIONARY' (line 923, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 735 1 Info 755: global macro 'QS_STR_' (line 735, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 740 1 Info 755: global macro 'QS_STR_ROM_' (line 740, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 819 1 Info 755: global macro 'QS_STR_ROM' (line 819, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 570 1 Info 755: global macro 'Q_TRAN' (line 570, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 579 1 Info 755: global macro 'Q_TRAN_HIST' (line 579, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 256 1 Info 755: global macro 'Q_STATE_CAST' (line 256, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 1038 1 Info 755: global macro 'QF_QS_ACTION' (line 1038, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1014 1 Info 755: global macro 'QF_QS_CRIT_ENTRY' (line 1014, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1021 1 Info 755: global macro 'QF_QS_CRIT_EXIT' (line 1021, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1028 1 Info 755: global macro 'QF_QS_ISR_ENTRY' (line 1028, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1035 1 Info 755: global macro 'QF_QS_ISR_EXIT' (line 1035, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 171 1 Info 755: global macro 'Q_ERROR' (line 171, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 187 1 Info 755: global macro 'Q_ERROR_ID' (line 187, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 277 1 Info 755: global macro 'Q_INVARIANT' (line 277, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 288 1 Info 755: global macro 'Q_INVARIANT_ID' (line 288, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 237 1 Info 755: global macro 'Q_REQUIRE' (line 237, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qs.h" 620 1 Info 755: global macro 'QS_END' (line 620, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 647 1 Info 755: global macro 'QS_END_' (line 647, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 530 1 Info 755: global macro 'QS_END_NOCRIT' (line 530, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 278 1 Info 755: global macro 'QS_EOD' (line 278, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 364 1 Info 755: global macro 'QS_EXIT' (line 364, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 783 1 Info 755: global macro 'QS_U16' (line 783, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 679 1 Info 755: global macro 'QS_U16_' (line 679, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 791 1 Info 755: global macro 'QS_U32' (line 791, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 682 1 Info 755: global macro 'QS_U32_' (line 682, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 775 1 Info 755: global macro 'QS_U8' (line 775, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 807 1 Info 755: global macro 'QS_U64' (line 807, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 811 1 Info 755: global macro 'QS_U32_HEX' (line 811, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 983 1 Info 755: global macro 'QS_USR_DICTIONARY' (line 983, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 588 1 Info 755: global macro 'Q_SUPER' (line 588, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 269 1 Info 755: global macro 'QF_CPU_SLEEP' (line 269, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\include\qk.h" 171 1 Info 755: global macro 'QACTIVE_EQUEUE_SIGNAL_' (line 171, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 174 1 Info 755: global macro 'QACTIVE_EQUEUE_ONEMPTY_' (line 174, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 147 1 Info 755: global macro 'QACTIVE_EQUEUE_WAIT_' (line 147, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qf.h" 261 1 Info 755: global macro 'QACTIVE_START' (line 261, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 294 1 Info 755: global macro 'QACTIVE_POST' (line 294, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 328 1 Info 755: global macro 'QACTIVE_POST_X' (line 328, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 354 1 Info 755: global macro 'QACTIVE_POST_LIFO' (line 354, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 427 1 Info 755: global macro 'QHsm_state' (line 427, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qpset.h" 80 1 Info 755: global macro 'QPSet8_findMax' (line 80, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 133 1 Info 755: global macro 'QPSet64_hasElement' (line 133, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 141 1 Info 755: global macro 'QPSet64_insert' (line 141, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 125 1 Info 755: global macro 'QPSet64_isEmpty' (line 125, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 128 1 Info 755: global macro 'QPSet64_notEmpty' (line 128, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 151 1 Info 755: global macro 'QPSet64_remove' (line 151, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 66 1 Info 755: global macro 'QPSet8_hasElement' (line 66, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 70 1 Info 755: global macro 'QPSet8_insert' (line 70, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 58 1 Info 755: global macro 'QPSet8_isEmpty' (line 58, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 61 1 Info 755: global macro 'QPSet8_notEmpty' (line 61, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 74 1 Info 755: global macro 'QPSet8_remove' (line 74, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 385 1 Info 755: global macro 'QS_FILTER_OFF' (line 385, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 795 1 Info 755: global macro 'QS_F32' (line 795, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 799 1 Info 755: global macro 'QS_F64' (line 799, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 434 1 Info 755: global macro 'QS_FILTER_AO_OBJ' (line 434, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 454 1 Info 755: global macro 'QS_FILTER_MP_OBJ' (line 454, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 474 1 Info 755: global macro 'QS_FILTER_EQ_OBJ' (line 474, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 512 1 Info 755: global macro 'QS_FILTER_AP_OBJ' (line 512, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 375 1 Info 755: global macro 'QS_FILTER_ON' (line 375, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 413 1 Info 755: global macro 'QS_FILTER_SM_OBJ' (line 413, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 495 1 Info 755: global macro 'QS_FILTER_TE_OBJ' (line 495, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 844 1 Info 755: global macro 'QS_FUN' (line 844, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 721 1 Info 755: global macro 'QS_FUN_' (line 721, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 968 1 Info 755: global macro 'QS_FUN_DICTIONARY' (line 968, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 80 1 Info 755: global macro 'Q_DEFINE_THIS_FILE' (line 80, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 593 1 Info 755: global macro 'Q_HANDLED' (line 593, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 625 1 Info 755: global macro 'QF_TICK_X' (line 625, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 635 1 Info 755: global macro 'QF_TICK' (line 635, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 1041 1 Info 755: global macro 'QS_getVersion' (line 1041, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qk.h" 178 1 Info 755: global macro 'QF_EPOOL_TYPE_' (line 178, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 181 1 Info 755: global macro 'QF_EPOOL_EVENT_SIZE_' (line 181, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 182 1 Info 755: global macro 'QF_EPOOL_GET_' (line 182, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 180 1 Info 755: global macro 'QF_EPOOL_INIT_' (line 180, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 183 1 Info 755: global macro 'QF_EPOOL_PUT_' (line 183, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qep.h" 220 1 Info 755: global macro 'Q_EVT_CAST' (line 220, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 200 1 Info 755: global macro 'QEQueue_getNFree' (line 200, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 214 1 Info 755: global macro 'QEQueue_getNMin' (line 214, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 230 1 Info 755: global macro 'QEQueue_isEmpty' (line 230, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qs.h" 355 1 Info 755: global macro 'QS_INIT' (line 355, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 771 1 Info 755: global macro 'QS_I8' (line 771, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 779 1 Info 755: global macro 'QS_I16' (line 779, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 787 1 Info 755: global macro 'QS_I32' (line 787, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 803 1 Info 755: global macro 'QS_I64' (line 803, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 223 1 Info 755: global macro 'Q_DIM' (line 223, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 811 1 Info 755: global macro 'QF_getVersion' (line 811, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qassert.h" 146 1 Info 755: global macro 'Q_ALLEGE' (line 146, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 161 1 Info 755: global macro 'Q_ALLEGE_ID' (line 161, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 354 1 Info 755: global macro 'QMsm_stateObj' (line 354, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 234 1 Info 755: global macro 'Q_UINT2PTR_CAST' (line 234, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 22 1 Info 755: global macro '__bool_true_false_are_defined' (line 22, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 460 1 Info 758: global enum '(untagged)' (line 460, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 603 1 Info 758: global enum '(untagged)' (line 603, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 750 1 Info 758: global enum '(untagged)' (line 750, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 184 1 Info 768: global struct member 'QEvt::sig' (line 184, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 185 1 Info 768: global struct member 'QEvt::poolId_' (line 185, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 186 1 Info 768: global struct member 'QEvt::refCtr_' (line 186, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 280 1 Info 768: global struct member 'QMState::superstate' (line 280, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 281 1 Info 768: global struct member 'QMState::stateHandler' (line 281, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 282 1 Info 768: global struct member 'QMState::entryAction' (line 282, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 283 1 Info 768: global struct member 'QMState::exitAction' (line 283, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 284 1 Info 768: global struct member 'QMState::initAction' (line 284, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 289 1 Info 768: global struct member 'QMTranActTable::target' (line 289, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 290 1 Info 768: global struct member 'QMTranActTable::act' (line 290, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 300 1 Info 768: global struct member 'QMAttr::obj' (line 300, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 301 1 Info 768: global struct member 'QMAttr::tatbl' (line 301, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 302 1 Info 768: global struct member 'QMAttr::fun' (line 302, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 303 1 Info 768: global struct member 'QMAttr::act' (line 303, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 337 1 Info 768: global struct member 'QMsm::state' (line 337, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 338 1 Info 768: global struct member 'QMsm::temp' (line 338, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 462 1 Info 769: global enumeration constant 'Q_RET_SUPER' (line 462, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 464 1 Info 769: global enumeration constant 'Q_RET_UNHANDLED' (line 464, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 467 1 Info 769: global enumeration constant 'Q_RET_HANDLED' (line 467, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 471 1 Info 769: global enumeration constant 'Q_RET_ENTRY' (line 471, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 472 1 Info 769: global enumeration constant 'Q_RET_EXIT' (line 472, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 478 1 Info 769: global enumeration constant 'Q_RET_TRAN' (line 478, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 479 1 Info 769: global enumeration constant 'Q_RET_TRAN_INIT' (line 479, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 607 1 Info 769: global enumeration constant 'Q_USER_SIG' (line 607, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 130 1 Info 768: global struct member 'QEQueue' (line 130, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 143 1 Info 768: global struct member 'QEQueue::frontEvt' (line 143, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 146 1 Info 768: global struct member 'QEQueue::ring' (line 146, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 149 1 Info 768: global struct member 'QEQueue::end' (line 149, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 152 1 Info 768: global struct member 'QEQueue::head' (line 152, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 155 1 Info 768: global struct member 'QEQueue::tail' (line 155, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 158 1 Info 768: global struct member 'QEQueue::nFree' (line 158, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 167 1 Info 768: global struct member 'QEQueue::nMin' (line 167, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 120 1 Info 768: global struct member 'QMPool::free_head' (line 120, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 123 1 Info 768: global struct member 'QMPool::start' (line 123, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 126 1 Info 768: global struct member 'QMPool::end' (line 126, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 129 1 Info 768: global struct member 'QMPool::blockSize' (line 129, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 132 1 Info 768: global struct member 'QMPool::nTot' (line 132, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 135 1 Info 768: global struct member 'QMPool::nFree' (line 135, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 144 1 Info 768: global struct member 'QMPool::nMin' (line 144, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qpset.h" 54 1 Info 768: global struct member 'QPSet8::bits' (line 54, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qf.h" 167 1 Info 768: global struct member 'QMActiveVtbl::super' (line 167, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 174 1 Info 768: global struct member 'QMActiveVtbl::start' (line 174, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 180 1 Info 768: global struct member 'QMActiveVtbl::post' (line 180, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 188 1 Info 768: global struct member 'QMActiveVtbl::postLIFO' (line 188, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 442 1 Info 768: global struct member 'QTimeEvt::super' (line 442, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 445 1 Info 768: global struct member 'QTimeEvt::next' (line 445, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 448 1 Info 768: global struct member 'QTimeEvt::act' (line 448, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 457 1 Info 768: global struct member 'QTimeEvt::ctr' (line 457, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 466 1 Info 768: global struct member 'QTimeEvt::interval' (line 466, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 513 1 Info 768: global struct member 'QSubscrList::bits' (line 513, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 57 1 Info 769: global enumeration constant 'QSpyRecords::QS_QP_RESET' (line 57, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 60 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 60, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 61 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 61, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 62 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 62, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 63 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 63, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 64 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 64, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 65 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 65, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 66 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 66, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 67, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 68 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 68, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 71, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 72, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 73, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 74, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 75, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 76, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 77, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 78, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 79 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 79, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 80 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 80, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 81, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 82, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 83, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 84, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 85, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 86, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 87, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 89, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 90, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 91, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 92, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 93, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 94, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 95, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 96, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 97, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 98, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 99, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 106, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 107, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 108, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 120, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 121 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 121, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 122 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 122, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 127 1 Info 769: global enumeration constant 'QSpyRecords::QS_SIG_DICT' (line 127, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 128 1 Info 769: global enumeration constant 'QSpyRecords::QS_OBJ_DICT' (line 128, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 129 1 Info 769: global enumeration constant 'QSpyRecords::QS_FUN_DICT' (line 129, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 130, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 131, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 759 1 Info 769: global enumeration constant 'QS_STR_T' (line 759, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 760 1 Info 769: global enumeration constant 'QS_MEM_T' (line 760, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1050 1 Info 768: global struct member 'QSPriv::smObjFilter' (line 1050, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1052 1 Info 768: global struct member 'QSPriv::mpObjFilter' (line 1052, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1053 1 Info 768: global struct member 'QSPriv::eqObjFilter' (line 1053, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1054 1 Info 768: global struct member 'QSPriv::teObjFilter' (line 1054, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1055 1 Info 768: global struct member 'QSPriv::apObjFilter' (line 1055, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1057 1 Info 768: global struct member 'QSPriv::buf' (line 1057, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1058 1 Info 768: global struct member 'QSPriv::end' (line 1058, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1059 1 Info 768: global struct member 'QSPriv::head' (line 1059, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1060 1 Info 768: global struct member 'QSPriv::tail' (line 1060, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1061 1 Info 768: global struct member 'QSPriv::used' (line 1061, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1062 1 Info 768: global struct member 'QSPriv::seq' (line 1062, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1063 1 Info 768: global struct member 'QSPriv::chksum' (line 1063, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1065 1 Info 768: global struct member 'QSPriv::critNest' (line 1065, file D:\qp\qpc\include\qs.h) not referenced
- Note 900: Successful completion, 522 messages produced
-
-Count Type Number Text
-
-27 Warning 526 Symbol '___' (___) not defined
-8 Info 714 Symbol '___' (___) not referenced
-140 Info 755 global macro '___' (___) not referenced
-11 Info 756 global typedef '___' (___) not referenced
-67 Info 757 global declarator '___' (___) not referenced
-3 Info 758 global ___ '___' (___) not referenced
-10 Info 759 header declaration for symbol '___' defined at (___) could be moved from header to module
-10 Info 765 external '___' (___) could be made static
-55 Info 768 global struct member '___' (___) not referenced
-101 Info 769 global enumeration constant '___' (___) not referenced
-1 Note 900 Successful completion, ___ messages produced
-90 Note 960 Violates MISRA 2004 Required Rule ___, ___
diff --git a/ports/lint/lint_qs.txt b/ports/lint/lint_qs.txt
deleted file mode 100644
index 622a5bc8..00000000
--- a/ports/lint/lint_qs.txt
+++ /dev/null
@@ -1,554 +0,0 @@
-
---- Module: D:\qp\qpc\source\qs.c (C)
-
---- Module: D:\qp\qpc\source\qs_64bit.c (C)
-
---- Module: D:\qp\qpc\source\qs_fp.c (C)
-
-/// Start of Pass 2 ///
-
---- Module: D:\qp\qpc\source\qs.c (C)
-
---- Module: D:\qp\qpc\source\qs_64bit.c (C)
-
---- Module: D:\qp\qpc\source\qs_fp.c (C)
-
---- Global Wrap-up
-
-"D:\qp\qpc\include\qf.h" 61 1 Info 756: global typedef 'QEvtSize' (line 61, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\source\qs.c" 603 1 Info 759: header declaration for symbol 'QS_mem(const uint8_t *, uint8_t)' defined at (line 603, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 603 1 Info 765: external 'QS_mem(const uint8_t *, uint8_t)' (line 603, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 603 1 Info 714: Symbol 'QS_mem(const uint8_t *, uint8_t)' (line 603, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 212 1 Info 757: global declarator 'intEnable(void)' (line 212, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intEnable'
-"D:\qp\qpc\ports\lint\stdint.h" 31 1 Info 756: global typedef 'uint64_t' (line 31, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 26 1 Info 756: global typedef 'int64_t' (line 26, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 794 1 Info 757: global declarator 'QF_log2Lkup' (line 794, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 162 1 Info 757: global declarator 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMActive_ctor'
-"D:\qp\qpc\source\qs.c" 554 1 Info 759: header declaration for symbol 'QS_obj_dict(const void *, const char_t *)' defined at (line 554, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 554 1 Info 765: external 'QS_obj_dict(const void *, const char_t *)' (line 554, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 554 1 Info 714: Symbol 'QS_obj_dict(const void *, const char_t *)' (line 554, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\include\qs.h" 303 1 Info 757: global declarator 'QS_onStartup(const void *)' (line 303, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
-"D:\qp\qpc\include\qs.h" 313 1 Info 757: global declarator 'QS_onCleanup(void)' (line 313, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
-"D:\qp\qpc\include\qs.h" 323 1 Warning 526: Symbol 'QS_onFlush(void)' (line 323, file D:\qp\qpc\include\qs.h, module D:\qp\qpc\source\qs.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
-"D:\qp\qpc\include\qs.h" 343 1 Info 757: global declarator 'QS_onGetTime(void)' (line 343, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 272 1 Warning 526: Symbol 'critEntry(void)' (line 272, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qs.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critEntry'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 273 1 Warning 526: Symbol 'critExit(crit_stat_t)' (line 273, file D:\qp\qpc\ports\lint\qk\qf_port.h, module D:\qp\qpc\source\qs.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critExit'
-"D:\qp\qpc\ports\lint\stdint.h" 23 1 Info 756: global typedef 'int8_t' (line 23, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qk.h" 83 1 Info 757: global declarator 'QK_intNest_' (line 83, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qk.h" 92 1 Info 757: global declarator 'QK_init(void)' (line 92, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_init'
-"D:\qp\qpc\include\qf.h" 638 1 Info 757: global declarator 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 638, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_noTimeEvtsActiveX'
-"D:\qp\qpc\include\qf.h" 654 1 Info 757: global declarator 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 654, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newX_'
-"D:\qp\qpc\include\qf.h" 542 1 Info 757: global declarator 'QF_onStartup(void)' (line 542, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
-"D:\qp\qpc\include\qf.h" 558 1 Info 757: global declarator 'QF_onCleanup(void)' (line 558, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
-"D:\qp\qpc\source\qs.c" 179 1 Info 759: header declaration for symbol 'QS_beginRec(uint_fast8_t)' defined at (line 179, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 179 1 Info 765: external 'QS_beginRec(uint_fast8_t)' (line 179, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\include\qf.h" 525 1 Info 757: global declarator 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 525, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolInit'
-"D:\qp\qpc\include\qf.h" 522 1 Info 757: global declarator 'QF_psInit(QSubscrList *, enum_t)' (line 522, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_psInit'
-"D:\qp\qpc\include\qf.h" 563 1 Info 757: global declarator 'QF_publish_(const QEvt *, const void *)' (line 563, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_publish_'
-"D:\qp\qpc\include\qf.h" 758 1 Info 757: global declarator 'QF_pwr2Lkup' (line 758, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_pwr2Lkup'
-"D:\qp\qpc\include\qep.h" 450 1 Info 757: global declarator 'QP_versionStr' (line 450, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QP_versionStr'
-"D:\qp\qpc\source\qs.c" 632 1 Info 759: header declaration for symbol 'QS_str(const char_t *)' defined at (line 632, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 632 1 Info 765: external 'QS_str(const char_t *)' (line 632, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 632 1 Info 714: Symbol 'QS_str(const char_t *)' (line 632, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 537 1 Info 759: header declaration for symbol 'QS_sig_dict(enum_t, const void *, const char_t *)' defined at (line 537, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 537 1 Info 765: external 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 537, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 537 1 Info 714: Symbol 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 537, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 396 1 Info 759: header declaration for symbol 'QS_str_(const char_t *)' defined at (line 396, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 396 1 Info 765: external 'QS_str_(const char_t *)' (line 396, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 396 1 Info 714: Symbol 'QS_str_(const char_t *)' (line 396, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 424 1 Info 759: header declaration for symbol 'QS_str_ROM_(const char_t *)' defined at (line 424, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 424 1 Info 765: external 'QS_str_ROM_(const char_t *)' (line 424, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 661 1 Info 759: header declaration for symbol 'QS_str_ROM(const char_t *)' defined at (line 661, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 661 1 Info 765: external 'QS_str_ROM(const char_t *)' (line 661, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 661 1 Info 714: Symbol 'QS_str_ROM(const char_t *)' (line 661, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\include\qf.h" 641 1 Info 757: global declarator 'QF_add_(QMActive *)' (line 641, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_add_'
-"D:\qp\qpc\include\qf.h" 807 1 Info 757: global declarator 'QF_active_' (line 807, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_active_'
-"D:\qp\qpc\include\qf.h" 529 1 Info 757: global declarator 'QF_run(void)' (line 529, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_run'
-"D:\qp\qpc\include\qf.h" 644 1 Info 757: global declarator 'QF_remove_(const QMActive *)' (line 644, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_remove_'
-"D:\qp\qpc\include\qf.h" 734 1 Warning 526: Symbol 'QF_bzero(void *, uint_fast16_t)' (line 734, file D:\qp\qpc\include\qf.h, module D:\qp\qpc\source\qs.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_bzero'
-"D:\qp\qpc\include\qk.h" 118 1 Info 757: global declarator 'QK_mutexLock(uint_fast8_t)' (line 118, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexLock'
-"D:\qp\qpc\include\qk.h" 121 1 Info 757: global declarator 'QK_mutexUnlock(QMutex)' (line 121, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_mutexUnlock'
-"D:\qp\qpc\source\qs.c" 206 1 Info 759: header declaration for symbol 'QS_endRec(void)' defined at (line 206, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 206 1 Info 765: external 'QS_endRec(void)' (line 206, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 262 1 Info 759: header declaration for symbol 'QS_u16(uint8_t, uint16_t)' defined at (line 262, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 262 1 Info 765: external 'QS_u16(uint8_t, uint16_t)' (line 262, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 262 1 Info 714: Symbol 'QS_u16(uint8_t, uint16_t)' (line 262, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 350 1 Info 759: header declaration for symbol 'QS_u16_(uint16_t)' defined at (line 350, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 350 1 Info 765: external 'QS_u16_(uint16_t)' (line 350, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 288 1 Info 759: header declaration for symbol 'QS_u32(uint8_t, uint32_t)' defined at (line 288, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 288 1 Info 765: external 'QS_u32(uint8_t, uint32_t)' (line 288, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 288 1 Info 714: Symbol 'QS_u32(uint8_t, uint32_t)' (line 288, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 373 1 Info 759: header declaration for symbol 'QS_u32_(uint32_t)' defined at (line 373, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 373 1 Info 765: external 'QS_u32_(uint32_t)' (line 373, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 241 1 Info 759: header declaration for symbol 'QS_u8(uint8_t, uint8_t)' defined at (line 241, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 241 1 Info 765: external 'QS_u8(uint8_t, uint8_t)' (line 241, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 241 1 Info 714: Symbol 'QS_u8(uint8_t, uint8_t)' (line 241, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 314 1 Info 759: header declaration for symbol 'QS_u8_(uint8_t)' defined at (line 314, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 314 1 Info 765: external 'QS_u8_(uint8_t)' (line 314, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 331 1 Info 759: header declaration for symbol 'QS_u8u8_(uint8_t, uint8_t)' defined at (line 331, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 331 1 Info 765: external 'QS_u8u8_(uint8_t, uint8_t)' (line 331, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 331 1 Info 714: Symbol 'QS_u8u8_(uint8_t, uint8_t)' (line 331, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 586 1 Info 759: header declaration for symbol 'QS_usr_dict(enum_t, const char_t *)' defined at (line 586, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 586 1 Info 765: external 'QS_usr_dict(enum_t, const char_t *)' (line 586, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 586 1 Info 714: Symbol 'QS_usr_dict(enum_t, const char_t *)' (line 586, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\include\qf.h" 230 1 Info 756: global typedef 'QActiveVtbl' (line 230, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 233 1 Info 757: global declarator 'QActive_ctor(QActive *, QStateHandler)' (line 233, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_ctor'
-"D:\qp\qpc\include\qf.h" 345 1 Info 757: global declarator 'QActive_postLIFO_(QMActive *, const QEvt *)' (line 345, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_postLIFO_'
-"D:\qp\qpc\include\qf.h" 374 1 Info 757: global declarator 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 374, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_defer'
-"D:\qp\qpc\include\qf.h" 381 1 Info 757: global declarator 'QActive_get_(QMActive *)' (line 381, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_get_'
-"D:\qp\qpc\include\qf.h" 265 1 Info 757: global declarator 'QActive_post_(QMActive *, const QEvt *, uint_fast16_t, const void *)' (line 265, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_post_'
-"D:\qp\qpc\include\qf.h" 378 1 Info 757: global declarator 'QActive_recall(QMActive *, struct QEQueue *)' (line 378, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_recall'
-"D:\qp\qpc\include\qf.h" 238 1 Info 757: global declarator 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 238, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_start_'
-"D:\qp\qpc\include\qf.h" 361 1 Info 757: global declarator 'QActive_stop(QMActive *)' (line 361, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_stop'
-"D:\qp\qpc\include\qf.h" 364 1 Info 757: global declarator 'QActive_subscribe(const QActive *, enum_t)' (line 364, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_subscribe'
-"D:\qp\qpc\include\qf.h" 367 1 Info 757: global declarator 'QActive_unsubscribe(const QActive *, enum_t)' (line 367, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribe'
-"D:\qp\qpc\include\qf.h" 370 1 Info 757: global declarator 'QActive_unsubscribeAll(const QActive *)' (line 370, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribeAll'
-"D:\qp\qpc\include\qf.h" 533 1 Info 757: global declarator 'QF_stop(void)' (line 533, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_stop'
-"D:\qp\qpc\include\qep.h" 420 1 Info 757: global declarator 'QHsm_ctor(QHsm *, QStateHandler)' (line 420, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_ctor'
-"D:\qp\qpc\include\qep.h" 435 1 Info 757: global declarator 'QHsm_dispatch_(QHsm *, const QEvt *)' (line 435, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 431 1 Info 757: global declarator 'QHsm_init_(QHsm *, const QEvt *)' (line 431, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_init_'
-"D:\qp\qpc\include\qep.h" 440 1 Info 757: global declarator 'QHsm_isIn(QHsm *, QStateHandler)' (line 440, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_isIn'
-"D:\qp\qpc\include\qep.h" 445 1 Info 757: global declarator 'QHsm_top(const void *, const QEvt *)' (line 445, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_top'
-"D:\qp\qpc\include\qpset.h" 55 1 Info 756: global typedef 'QPSet8' (line 55, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\source\qs.c" 133 1 Info 759: header declaration for symbol 'QS_filterOff(uint_fast8_t)' defined at (line 133, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 133 1 Info 765: external 'QS_filterOff(uint_fast8_t)' (line 133, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 133 1 Info 714: Symbol 'QS_filterOff(uint_fast8_t)' (line 133, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs_fp.c" 48 1 Info 759: header declaration for symbol 'QS_f32(uint8_t, float32_t)' defined at (line 48, file D:\qp\qpc\source\qs_fp.c) could be moved from header to module
-"D:\qp\qpc\source\qs_fp.c" 48 1 Info 765: external 'QS_f32(uint8_t, float32_t)' (line 48, file D:\qp\qpc\source\qs_fp.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs_fp.c" 48 1 Info 714: Symbol 'QS_f32(uint8_t, float32_t)' (line 48, file D:\qp\qpc\source\qs_fp.c) not referenced
-"D:\qp\qpc\source\qs_fp.c" 81 1 Info 759: header declaration for symbol 'QS_f64(uint8_t, float64_t)' defined at (line 81, file D:\qp\qpc\source\qs_fp.c) could be moved from header to module
-"D:\qp\qpc\source\qs_fp.c" 81 1 Info 765: external 'QS_f64(uint8_t, float64_t)' (line 81, file D:\qp\qpc\source\qs_fp.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs_fp.c" 81 1 Info 714: Symbol 'QS_f64(uint8_t, float64_t)' (line 81, file D:\qp\qpc\source\qs_fp.c) not referenced
-"D:\qp\qpc\source\qs.c" 102 1 Info 759: header declaration for symbol 'QS_filterOn(uint_fast8_t)' defined at (line 102, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 102 1 Info 765: external 'QS_filterOn(uint_fast8_t)' (line 102, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 102 1 Info 714: Symbol 'QS_filterOn(uint_fast8_t)' (line 102, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 570 1 Info 759: header declaration for symbol 'QS_fun_dict(void (*)(void), const char_t *)' defined at (line 570, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 570 1 Info 765: external 'QS_fun_dict(void (*)(void), const char_t *)' (line 570, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 570 1 Info 714: Symbol 'QS_fun_dict(void (*)(void), const char_t *)' (line 570, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 123 1 Info 757: global declarator 'FPU_restore(void *)' (line 123, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_restore'
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 122 1 Info 757: global declarator 'FPU_save(void *)' (line 122, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'FPU_save'
-"D:\qp\qpc\include\qf.h" 599 1 Info 757: global declarator 'QF_tickX_(uint_fast8_t, const void *)' (line 599, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_tickX_'
-"D:\qp\qpc\include\qf.h" 771 1 Info 757: global declarator 'QF_div8Lkup' (line 771, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_div8Lkup'
-"D:\qp\qpc\include\qk.h" 105 1 Info 757: global declarator 'QK_onIdle(void)' (line 105, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_onIdle'
-"D:\qp\qpc\source\qs.c" 458 1 Info 759: header declaration for symbol 'QS_getByte(void)' defined at (line 458, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 458 1 Info 765: external 'QS_getByte(void)' (line 458, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 458 1 Info 714: Symbol 'QS_getByte(void)' (line 458, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\source\qs.c" 500 1 Info 759: header declaration for symbol 'QS_getBlock(uint16_t *)' defined at (line 500, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 500 1 Info 765: external 'QS_getBlock(uint16_t *)' (line 500, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 500 1 Info 714: Symbol 'QS_getBlock(uint16_t *)' (line 500, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 36 1 Info 756: global typedef 'int_fast16_t' (line 36, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 38 1 Info 756: global typedef 'int_fast32_t' (line 38, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 124 1 Info 757: global declarator 'impure_ptr' (line 124, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qf.h" 476 1 Info 757: global declarator 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_armX'
-"D:\qp\qpc\include\qf.h" 472 1 Info 757: global declarator 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctorX'
-"D:\qp\qpc\include\qf.h" 480 1 Info 757: global declarator 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 480, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_rearm'
-"D:\qp\qpc\include\qf.h" 483 1 Info 757: global declarator 'QTimeEvt_disarm(struct QTimeEvt *)' (line 483, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_disarm'
-"D:\qp\qpc\include\qf.h" 486 1 Info 757: global declarator 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 486, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctr'
-"D:\qp\qpc\ports\lint\stdint.h" 24 1 Info 756: global typedef 'int16_t' (line 24, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 184 1 Info 757: global declarator 'QEQueue_get(struct QEQueue *)' (line 184, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_get'
-"D:\qp\qpc\include\qequeue.h" 173 1 Info 757: global declarator 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 173, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_init'
-"D:\qp\qpc\include\qequeue.h" 177 1 Info 757: global declarator 'QEQueue_post(struct QEQueue *, const QEvt *, uint_fast16_t)' (line 177, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_post'
-"D:\qp\qpc\include\qequeue.h" 181 1 Info 757: global declarator 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 181, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_postLIFO'
-"D:\qp\qpc\source\qs.c" 69 1 Info 759: header declaration for symbol 'QS_initBuf(uint8_t *, uint_fast16_t)' defined at (line 69, file D:\qp\qpc\source\qs.c) could be moved from header to module
-"D:\qp\qpc\source\qs.c" 69 1 Info 765: external 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 69, file D:\qp\qpc\source\qs.c) could be made static [MISRA 2004 Rule 8.10, required]
-"D:\qp\qpc\source\qs.c" 69 1 Info 714: Symbol 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 69, file D:\qp\qpc\source\qs.c) not referenced
-"D:\qp\qpc\include\qk.h" 69 1 Info 757: global declarator 'QK_readySet_' (line 69, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_readySet_'
-"D:\qp\qpc\include\qf.h" 731 1 Info 757: global declarator 'QF_gc(const QEvt *)' (line 731, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_gc'
-"D:\qp\qpc\include\qf.h" 647 1 Info 757: global declarator 'QF_getPoolMin(uint_fast8_t)' (line 647, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getPoolMin'
-"D:\qp\qpc\include\qf.h" 651 1 Info 757: global declarator 'QF_getQueueMin(uint_fast8_t)' (line 651, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getQueueMin'
-"D:\qp\qpc\include\qmpool.h" 154 1 Info 757: global declarator 'QMPool_get(QMPool *, uint_fast16_t)' (line 154, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_get'
-"D:\qp\qpc\include\qmpool.h" 150 1 Info 757: global declarator 'QMPool_init(QMPool *, void *, uint_fast32_t, uint_fast16_t)' (line 150, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_init'
-"D:\qp\qpc\include\qmpool.h" 157 1 Info 757: global declarator 'QMPool_put(QMPool *, void *)' (line 157, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_put'
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h, module D:\qp\qpc\source\qs.c) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
-"D:\qp\qpc\ports\lint\stdint.h" 25 1 Info 756: global typedef 'int32_t' (line 25, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qk.h" 74 1 Info 757: global declarator 'QK_sched_(uint_fast8_t)' (line 74, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_sched_'
-"D:\qp\qpc\include\qk.h" 77 1 Info 757: global declarator 'QK_schedPrio_(void)' (line 77, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_schedPrio_'
-"D:\qp\qpc\include\qk.h" 80 1 Info 757: global declarator 'QK_currPrio_' (line 80, file D:\qp\qpc\include\qk.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QK_currPrio_'
-"D:\qp\qpc\include\qep.h" 351 1 Info 757: global declarator 'QMsm_ctor(QMsm *, QStateHandler)' (line 351, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_ctor'
-"D:\qp\qpc\include\qep.h" 386 1 Info 757: global declarator 'QMsm_dispatch_(QMsm *, const QEvt *)' (line 386, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 389 1 Info 757: global declarator 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' (line 389, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_execTatbl_'
-"D:\qp\qpc\include\qep.h" 371 1 Info 757: global declarator 'QMsm_init_(QMsm *, const QEvt *)' (line 371, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_init_'
-"D:\qp\qpc\include\qep.h" 394 1 Info 757: global declarator 'QMsm_isInState(QMsm *, const struct QMState *)' (line 394, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_isInState'
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 211 1 Info 757: global declarator 'intDisable(void)' (line 211, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intDisable'
-"D:\qp\qpc\include\qf.h" 519 1 Info 757: global declarator 'QF_init(void)' (line 519, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_init'
-"D:\qp\qpc\include\qf.h" 765 1 Info 757: global declarator 'QF_invPwr2Lkup' (line 765, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_invPwr2Lkup'
-"D:\qp\qpc\ports\lint\stdbool.h" 17 1 Info 755: global macro 'true' (line 17, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 210 1 Info 755: global macro 'Q_MSM_UPCAST' (line 210, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 56 1 Info 755: global macro 'QK_EXT_SAVE' (line 56, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 68 1 Info 755: global macro 'QK_EXT_RESTORE' (line 68, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qep.h" 556 1 Info 755: global macro 'QM_SUPER' (line 556, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 562 1 Info 755: global macro 'QM_SUPER_SUB' (line 562, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 822 1 Info 755: global macro 'QS_MEM' (line 822, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 510 1 Info 755: global macro 'QM_TRAN' (line 510, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 525 1 Info 755: global macro 'QM_TRAN_HIST' (line 525, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 532 1 Info 755: global macro 'QM_TRAN_EP' (line 532, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 517 1 Info 755: global macro 'QM_TRAN_INIT' (line 517, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 540 1 Info 755: global macro 'QM_TRAN_XP' (line 540, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qk.h" 127 1 Info 755: global macro 'QK_getVersion' (line 127, file D:\qp\qpc\include\qk.h) not referenced
-"D:\qp\qpc\include\qf.h" 799 1 Info 755: global macro 'QF_LOG2LKUP' (line 799, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 490 1 Info 755: global macro 'QM_ENTRY' (line 490, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 496 1 Info 755: global macro 'QM_EXIT' (line 496, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 551 1 Info 755: global macro 'QM_UNHANDLED' (line 551, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 57 1 Info 755: global macro 'QP_RELEASE' (line 57, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 830 1 Info 755: global macro 'QS_OBJ' (line 830, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 946 1 Info 755: global macro 'QS_OBJ_DICTIONARY' (line 946, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 166 1 Info 755: global macro 'QF_MPOOL_EL' (line 166, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qassert.h" 256 1 Info 755: global macro 'Q_ENSURE' (line 256, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 267 1 Info 755: global macro 'Q_ENSURE_ID' (line 267, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qf.h" 697 1 Info 755: global macro 'Q_NEW' (line 697, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 725 1 Info 755: global macro 'Q_NEW_X' (line 725, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 599 1 Info 755: global macro 'Q_UNHANDLED' (line 599, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 101 1 Info 755: global macro 'QK_ISR_ENTRY' (line 101, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qk_port.h" 120 1 Info 755: global macro 'QK_ISR_EXIT' (line 120, file D:\qp\qpc\ports\lint\qk\qk_port.h) not referenced
-"D:\qp\qpc\include\qs.h" 997 1 Info 755: global macro 'QS_ASSERTION' (line 997, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 265 1 Info 755: global macro 'Q_ACTION_CAST' (line 265, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qassert.h" 112 1 Info 755: global macro 'Q_ASSERT' (line 112, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 301 1 Info 755: global macro 'Q_ASSERT_COMPILE' (line 301, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 453 1 Info 755: global macro 'QEP_getVersion' (line 453, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 545 1 Info 755: global macro 'QM_HANDLED' (line 545, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 676 1 Info 755: global macro 'QS_2U8_' (line 676, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 613 1 Info 755: global macro 'QS_BEGIN' (line 613, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 637 1 Info 755: global macro 'QS_BEGIN_' (line 637, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 526 1 Info 755: global macro 'QS_BEGIN_NOCRIT' (line 526, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 661 1 Info 755: global macro 'QS_BEGIN_NOCRIT_' (line 661, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 18 1 Info 755: global macro 'false' (line 18, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qf.h" 588 1 Info 755: global macro 'QF_PUBLISH' (line 588, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 48 1 Info 755: global macro 'QP_VERSION' (line 48, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 54 1 Info 755: global macro 'QP_VERSION_STR' (line 54, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 865 1 Info 755: global macro 'QS_SIG' (line 865, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 814 1 Info 755: global macro 'QS_STR' (line 814, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 923 1 Info 755: global macro 'QS_SIG_DICTIONARY' (line 923, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 735 1 Info 755: global macro 'QS_STR_' (line 735, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 819 1 Info 755: global macro 'QS_STR_ROM' (line 819, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 570 1 Info 755: global macro 'Q_TRAN' (line 570, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 579 1 Info 755: global macro 'Q_TRAN_HIST' (line 579, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 172 1 Info 755: global macro 'QS_TIME_' (line 172, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1038 1 Info 755: global macro 'QF_QS_ACTION' (line 1038, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1014 1 Info 755: global macro 'QF_QS_CRIT_ENTRY' (line 1014, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1021 1 Info 755: global macro 'QF_QS_CRIT_EXIT' (line 1021, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1028 1 Info 755: global macro 'QF_QS_ISR_ENTRY' (line 1028, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1035 1 Info 755: global macro 'QF_QS_ISR_EXIT' (line 1035, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 256 1 Info 755: global macro 'Q_STATE_CAST' (line 256, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qassert.h" 171 1 Info 755: global macro 'Q_ERROR' (line 171, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 187 1 Info 755: global macro 'Q_ERROR_ID' (line 187, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 277 1 Info 755: global macro 'Q_INVARIANT' (line 277, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 288 1 Info 755: global macro 'Q_INVARIANT_ID' (line 288, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 237 1 Info 755: global macro 'Q_REQUIRE' (line 237, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qs.h" 620 1 Info 755: global macro 'QS_END' (line 620, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 647 1 Info 755: global macro 'QS_END_' (line 647, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 530 1 Info 755: global macro 'QS_END_NOCRIT' (line 530, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 670 1 Info 755: global macro 'QS_END_NOCRIT_' (line 670, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 364 1 Info 755: global macro 'QS_EXIT' (line 364, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 783 1 Info 755: global macro 'QS_U16' (line 783, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 679 1 Info 755: global macro 'QS_U16_' (line 679, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 791 1 Info 755: global macro 'QS_U32' (line 791, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 682 1 Info 755: global macro 'QS_U32_' (line 682, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 775 1 Info 755: global macro 'QS_U8' (line 775, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 807 1 Info 755: global macro 'QS_U64' (line 807, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 811 1 Info 755: global macro 'QS_U32_HEX' (line 811, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 983 1 Info 755: global macro 'QS_USR_DICTIONARY' (line 983, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 588 1 Info 755: global macro 'Q_SUPER' (line 588, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 269 1 Info 755: global macro 'QF_CPU_SLEEP' (line 269, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\include\qf.h" 261 1 Info 755: global macro 'QACTIVE_START' (line 261, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 294 1 Info 755: global macro 'QACTIVE_POST' (line 294, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 328 1 Info 755: global macro 'QACTIVE_POST_X' (line 328, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 354 1 Info 755: global macro 'QACTIVE_POST_LIFO' (line 354, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 427 1 Info 755: global macro 'QHsm_state' (line 427, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qpset.h" 80 1 Info 755: global macro 'QPSet8_findMax' (line 80, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 165 1 Info 755: global macro 'QPSet64_findMax' (line 165, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 133 1 Info 755: global macro 'QPSet64_hasElement' (line 133, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 141 1 Info 755: global macro 'QPSet64_insert' (line 141, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 125 1 Info 755: global macro 'QPSet64_isEmpty' (line 125, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 128 1 Info 755: global macro 'QPSet64_notEmpty' (line 128, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 151 1 Info 755: global macro 'QPSet64_remove' (line 151, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 66 1 Info 755: global macro 'QPSet8_hasElement' (line 66, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 70 1 Info 755: global macro 'QPSet8_insert' (line 70, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 58 1 Info 755: global macro 'QPSet8_isEmpty' (line 58, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 61 1 Info 755: global macro 'QPSet8_notEmpty' (line 61, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 74 1 Info 755: global macro 'QPSet8_remove' (line 74, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 385 1 Info 755: global macro 'QS_FILTER_OFF' (line 385, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 795 1 Info 755: global macro 'QS_F32' (line 795, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 799 1 Info 755: global macro 'QS_F64' (line 799, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 434 1 Info 755: global macro 'QS_FILTER_AO_OBJ' (line 434, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 454 1 Info 755: global macro 'QS_FILTER_MP_OBJ' (line 454, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 474 1 Info 755: global macro 'QS_FILTER_EQ_OBJ' (line 474, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 512 1 Info 755: global macro 'QS_FILTER_AP_OBJ' (line 512, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 375 1 Info 755: global macro 'QS_FILTER_ON' (line 375, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 413 1 Info 755: global macro 'QS_FILTER_SM_OBJ' (line 413, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 495 1 Info 755: global macro 'QS_FILTER_TE_OBJ' (line 495, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 844 1 Info 755: global macro 'QS_FUN' (line 844, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1007 1 Info 755: global macro 'QS_FLUSH' (line 1007, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 968 1 Info 755: global macro 'QS_FUN_DICTIONARY' (line 968, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 80 1 Info 755: global macro 'Q_DEFINE_THIS_FILE' (line 80, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 593 1 Info 755: global macro 'Q_HANDLED' (line 593, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 625 1 Info 755: global macro 'QF_TICK_X' (line 625, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 635 1 Info 755: global macro 'QF_TICK' (line 635, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 1041 1 Info 755: global macro 'QS_getVersion' (line 1041, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 220 1 Info 755: global macro 'Q_EVT_CAST' (line 220, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 200 1 Info 755: global macro 'QEQueue_getNFree' (line 200, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 214 1 Info 755: global macro 'QEQueue_getNMin' (line 214, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 230 1 Info 755: global macro 'QEQueue_isEmpty' (line 230, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qs.h" 771 1 Info 755: global macro 'QS_I8' (line 771, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 779 1 Info 755: global macro 'QS_I16' (line 779, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 787 1 Info 755: global macro 'QS_I32' (line 787, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 803 1 Info 755: global macro 'QS_I64' (line 803, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 355 1 Info 755: global macro 'QS_INIT' (line 355, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 223 1 Info 755: global macro 'Q_DIM' (line 223, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 811 1 Info 755: global macro 'QF_getVersion' (line 811, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qassert.h" 146 1 Info 755: global macro 'Q_ALLEGE' (line 146, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 161 1 Info 755: global macro 'Q_ALLEGE_ID' (line 161, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 354 1 Info 755: global macro 'QMsm_stateObj' (line 354, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 368 1 Info 755: global macro 'QMSM_INIT' (line 368, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 383 1 Info 755: global macro 'QMSM_DISPATCH' (line 383, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 234 1 Info 755: global macro 'Q_UINT2PTR_CAST' (line 234, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 198 1 Info 755: global macro 'QF_INT_DISABLE' (line 198, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\qk\qf_port.h" 209 1 Info 755: global macro 'QF_INT_ENABLE' (line 209, file D:\qp\qpc\ports\lint\qk\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 22 1 Info 755: global macro '__bool_true_false_are_defined' (line 22, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 460 1 Info 758: global enum '(untagged)' (line 460, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 603 1 Info 758: global enum '(untagged)' (line 603, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 184 1 Info 768: global struct member 'QEvt::sig' (line 184, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 185 1 Info 768: global struct member 'QEvt::poolId_' (line 185, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 186 1 Info 768: global struct member 'QEvt::refCtr_' (line 186, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 280 1 Info 768: global struct member 'QMState::superstate' (line 280, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 281 1 Info 768: global struct member 'QMState::stateHandler' (line 281, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 282 1 Info 768: global struct member 'QMState::entryAction' (line 282, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 283 1 Info 768: global struct member 'QMState::exitAction' (line 283, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 284 1 Info 768: global struct member 'QMState::initAction' (line 284, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 289 1 Info 768: global struct member 'QMTranActTable::target' (line 289, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 290 1 Info 768: global struct member 'QMTranActTable::act' (line 290, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 300 1 Info 768: global struct member 'QMAttr::obj' (line 300, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 301 1 Info 768: global struct member 'QMAttr::tatbl' (line 301, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 302 1 Info 768: global struct member 'QMAttr::fun' (line 302, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 303 1 Info 768: global struct member 'QMAttr::act' (line 303, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 336 1 Info 768: global struct member 'QMsm::vptr' (line 336, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 337 1 Info 768: global struct member 'QMsm::state' (line 337, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 338 1 Info 768: global struct member 'QMsm::temp' (line 338, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 344 1 Info 768: global struct member 'QMsmVtbl::init' (line 344, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 347 1 Info 768: global struct member 'QMsmVtbl::dispatch' (line 347, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 462 1 Info 769: global enumeration constant 'Q_RET_SUPER' (line 462, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 464 1 Info 769: global enumeration constant 'Q_RET_UNHANDLED' (line 464, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 467 1 Info 769: global enumeration constant 'Q_RET_HANDLED' (line 467, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 471 1 Info 769: global enumeration constant 'Q_RET_ENTRY' (line 471, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 472 1 Info 769: global enumeration constant 'Q_RET_EXIT' (line 472, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 478 1 Info 769: global enumeration constant 'Q_RET_TRAN' (line 478, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 479 1 Info 769: global enumeration constant 'Q_RET_TRAN_INIT' (line 479, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 607 1 Info 769: global enumeration constant 'Q_USER_SIG' (line 607, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 130 1 Info 768: global struct member 'QEQueue' (line 130, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 143 1 Info 768: global struct member 'QEQueue::frontEvt' (line 143, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 146 1 Info 768: global struct member 'QEQueue::ring' (line 146, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 149 1 Info 768: global struct member 'QEQueue::end' (line 149, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 152 1 Info 768: global struct member 'QEQueue::head' (line 152, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 155 1 Info 768: global struct member 'QEQueue::tail' (line 155, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 158 1 Info 768: global struct member 'QEQueue::nFree' (line 158, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 167 1 Info 768: global struct member 'QEQueue::nMin' (line 167, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 120 1 Info 768: global struct member 'QMPool::free_head' (line 120, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 123 1 Info 768: global struct member 'QMPool::start' (line 123, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 126 1 Info 768: global struct member 'QMPool::end' (line 126, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 129 1 Info 768: global struct member 'QMPool::blockSize' (line 129, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 132 1 Info 768: global struct member 'QMPool::nTot' (line 132, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 135 1 Info 768: global struct member 'QMPool::nFree' (line 135, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 144 1 Info 768: global struct member 'QMPool::nMin' (line 144, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qpset.h" 54 1 Info 768: global struct member 'QPSet8::bits' (line 54, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 109 1 Info 768: global struct member 'QPSet64::bytes' (line 109, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 121 1 Info 768: global struct member 'QPSet64::bits' (line 121, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qf.h" 116 1 Info 768: global struct member 'QMActive::super' (line 116, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 130 1 Info 768: global struct member 'QMActive::eQueue' (line 130, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 142 1 Info 768: global struct member 'QMActive::osObject' (line 142, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 153 1 Info 768: global struct member 'QMActive::thread' (line 153, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 157 1 Info 768: global struct member 'QMActive::prio' (line 157, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 167 1 Info 768: global struct member 'QMActiveVtbl::super' (line 167, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 174 1 Info 768: global struct member 'QMActiveVtbl::start' (line 174, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 180 1 Info 768: global struct member 'QMActiveVtbl::post' (line 180, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 188 1 Info 768: global struct member 'QMActiveVtbl::postLIFO' (line 188, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 442 1 Info 768: global struct member 'QTimeEvt::super' (line 442, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 445 1 Info 768: global struct member 'QTimeEvt::next' (line 445, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 448 1 Info 768: global struct member 'QTimeEvt::act' (line 448, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 457 1 Info 768: global struct member 'QTimeEvt::ctr' (line 457, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 466 1 Info 768: global struct member 'QTimeEvt::interval' (line 466, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 513 1 Info 768: global struct member 'QSubscrList::bits' (line 513, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 60 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 60, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 61 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 61, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 62 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 62, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 63 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 63, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 64 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 64, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 65 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 65, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 66 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 66, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 67, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 68 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 68, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 71, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 72, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 73, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 74, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 75, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 76, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 77, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 78, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 79 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 79, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 80 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 80, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 81, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 82, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 83, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 84, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 85, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 86, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 87, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 89, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 90, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 91, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 92, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 93, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 94, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 95, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 96, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 97, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 98, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 99, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 106, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 107, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 108, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 113, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 114, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_SCHEDULE' (line 115, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 120, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 121 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 121, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 122 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 122, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1050 1 Info 768: global struct member 'QSPriv::smObjFilter' (line 1050, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1051 1 Info 768: global struct member 'QSPriv::aoObjFilter' (line 1051, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1052 1 Info 768: global struct member 'QSPriv::mpObjFilter' (line 1052, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1053 1 Info 768: global struct member 'QSPriv::eqObjFilter' (line 1053, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1054 1 Info 768: global struct member 'QSPriv::teObjFilter' (line 1054, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1055 1 Info 768: global struct member 'QSPriv::apObjFilter' (line 1055, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1065 1 Info 768: global struct member 'QSPriv::critNest' (line 1065, file D:\qp\qpc\include\qs.h) not referenced
- Note 900: Successful completion, 521 messages produced
-
-Count Type Number Text
-
-5 Warning 526 Symbol '___' (___) not defined
-19 Info 714 Symbol '___' (___) not referenced
-132 Info 755 global macro '___' (___) not referenced
-10 Info 756 global typedef '___' (___) not referenced
-73 Info 757 global declarator '___' (___) not referenced
-2 Info 758 global ___ '___' (___) not referenced
-25 Info 759 header declaration for symbol '___' defined at (___) could be moved from header to module
-25 Info 765 external '___' (___) could be made static
-59 Info 768 global struct member '___' (___) not referenced
-96 Info 769 global enumeration constant '___' (___) not referenced
-1 Note 900 Successful completion, ___ messages produced
-75 Note 960 Violates MISRA 2004 Required Rule ___, ___
diff --git a/ports/lint/lint_qv.txt b/ports/lint/lint_qv.txt
deleted file mode 100644
index d089b955..00000000
--- a/ports/lint/lint_qv.txt
+++ /dev/null
@@ -1,522 +0,0 @@
-
---- Module: D:\qp\qpc\source\qv.c (C)
-
-/// Start of Pass 2 ///
-
---- Module: D:\qp\qpc\source\qv.c (C)
-
---- Global Wrap-up
-
-"D:\qp\qpc\include\qf.h" 61 1 Info 756: global typedef 'QEvtSize' (line 61, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 247 1 Info 757: global declarator 'QS_mem(const uint8_t *, uint8_t)' (line 247, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_mem'
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 212 1 Warning 526: Symbol 'intEnable(void)' (line 212, file D:\qp\qpc\ports\lint\qv\qf_port.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intEnable'
-"D:\qp\qpc\ports\lint\stdint.h" 31 1 Info 756: global typedef 'uint64_t' (line 31, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 26 1 Info 756: global typedef 'int64_t' (line 26, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 794 1 Warning 526: Symbol 'QF_log2Lkup' (line 794, file D:\qp\qpc\include\qf.h) not defined
-"D:\qp\qpc\include\qf.h" 162 1 Info 757: global declarator 'QMActive_ctor(QMActive *, QStateHandler)' (line 162, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMActive_ctor'
-"D:\qp\qpc\include\qs.h" 262 1 Info 757: global declarator 'QS_obj_dict(const void *, const char_t *)' (line 262, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_obj_dict'
-"D:\qp\qpc\include\qs.h" 303 1 Info 757: global declarator 'QS_onStartup(const void *)' (line 303, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onStartup'
-"D:\qp\qpc\include\qs.h" 313 1 Info 757: global declarator 'QS_onCleanup(void)' (line 313, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onCleanup'
-"D:\qp\qpc\include\qs.h" 323 1 Warning 526: Symbol 'QS_onFlush(void)' (line 323, file D:\qp\qpc\include\qs.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onFlush'
-"D:\qp\qpc\include\qs.h" 343 1 Info 757: global declarator 'QS_onGetTime(void)' (line 343, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_onGetTime'
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 272 1 Info 757: global declarator 'critEntry(void)' (line 272, file D:\qp\qpc\ports\lint\qv\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critEntry'
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 273 1 Info 757: global declarator 'critExit(crit_stat_t)' (line 273, file D:\qp\qpc\ports\lint\qv\qf_port.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'critExit'
-"D:\qp\qpc\ports\lint\stdint.h" 23 1 Info 756: global typedef 'int8_t' (line 23, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qs.h" 1068 1 Info 757: global declarator 'QS_priv_' (line 1068, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_priv_'
-"D:\qp\qpc\source\qv.c" 77 1 Warning 526: Symbol 'QF_maxPool_' (line 77, file D:\qp\qpc\source\qv.c) not defined
-"D:\qp\qpc\include\qf.h" 638 1 Info 757: global declarator 'QF_noTimeEvtsActiveX(uint_fast8_t)' (line 638, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_noTimeEvtsActiveX'
-"D:\qp\qpc\include\qf.h" 654 1 Info 757: global declarator 'QF_newX_(uint_fast16_t, uint_fast16_t, enum_t)' (line 654, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_newX_'
-"D:\qp\qpc\include\qf.h" 542 1 Warning 526: Symbol 'QF_onStartup(void)' (line 542, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onStartup'
-"D:\qp\qpc\include\qf.h" 558 1 Warning 526: Symbol 'QF_onCleanup(void)' (line 558, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_onCleanup'
-"D:\qp\qpc\include\qv.h" 77 1 Warning 526: Symbol 'QV_onIdle(void)' (line 77, file D:\qp\qpc\include\qv.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QV_onIdle'
-"D:\qp\qpc\include\qs.h" 197 1 Info 757: global declarator 'QS_beginRec(uint_fast8_t)' (line 197, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_beginRec'
-"D:\qp\qpc\include\qf.h" 525 1 Info 757: global declarator 'QF_poolInit(void *, uint_fast32_t, uint_fast16_t)' (line 525, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_poolInit'
-"D:\qp\qpc\include\qf.h" 522 1 Info 757: global declarator 'QF_psInit(QSubscrList *, enum_t)' (line 522, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_psInit'
-"D:\qp\qpc\include\qf.h" 563 1 Info 757: global declarator 'QF_publish_(const QEvt *, const void *)' (line 563, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_publish_'
-"D:\qp\qpc\include\qf.h" 758 1 Info 757: global declarator 'QF_pwr2Lkup' (line 758, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_pwr2Lkup'
-"D:\qp\qpc\include\qep.h" 450 1 Info 757: global declarator 'QP_versionStr' (line 450, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QP_versionStr'
-"D:\qp\qpc\include\qs.h" 239 1 Info 757: global declarator 'QS_str(const char_t *)' (line 239, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str'
-"D:\qp\qpc\include\qs.h" 258 1 Info 757: global declarator 'QS_sig_dict(enum_t, const void *, const char_t *)' (line 258, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_sig_dict'
-"D:\qp\qpc\include\qs.h" 215 1 Info 757: global declarator 'QS_str_(const char_t *)' (line 215, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_'
-"D:\qp\qpc\include\qs.h" 220 1 Info 757: global declarator 'QS_str_ROM_(const char_t *)' (line 220, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM_'
-"D:\qp\qpc\include\qs.h" 244 1 Info 757: global declarator 'QS_str_ROM(const char_t *)' (line 244, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_str_ROM'
-"D:\qp\qpc\include\qf.h" 807 1 Warning 526: Symbol 'QF_active_' (line 807, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_active_'
-"D:\qp\qpc\include\qf.h" 641 1 Warning 526: Symbol 'QF_add_(QMActive *)' (line 641, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_add_'
-"D:\qp\qpc\include\qf.h" 644 1 Warning 526: Symbol 'QF_remove_(const QMActive *)' (line 644, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_remove_'
-"D:\qp\qpc\include\qf.h" 734 1 Warning 526: Symbol 'QF_bzero(void *, uint_fast16_t)' (line 734, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_bzero'
-"D:\qp\qpc\source\qv.c" 123 1 Info 714: Symbol 'QF_run(void)' (line 123, file D:\qp\qpc\source\qv.c) not referenced
-"D:\qp\qpc\include\qs.h" 200 1 Info 757: global declarator 'QS_endRec(void)' (line 200, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_endRec'
-"D:\qp\qpc\include\qs.h" 227 1 Info 757: global declarator 'QS_u16(uint8_t, uint16_t)' (line 227, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16'
-"D:\qp\qpc\include\qs.h" 209 1 Info 757: global declarator 'QS_u16_(uint16_t)' (line 209, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u16_'
-"D:\qp\qpc\include\qs.h" 230 1 Info 757: global declarator 'QS_u32(uint8_t, uint32_t)' (line 230, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32'
-"D:\qp\qpc\include\qs.h" 212 1 Info 757: global declarator 'QS_u32_(uint32_t)' (line 212, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u32_'
-"D:\qp\qpc\include\qs.h" 224 1 Info 757: global declarator 'QS_u8(uint8_t, uint8_t)' (line 224, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8'
-"D:\qp\qpc\include\qs.h" 203 1 Info 757: global declarator 'QS_u8_(uint8_t)' (line 203, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8_'
-"D:\qp\qpc\include\qs.h" 206 1 Info 757: global declarator 'QS_u8u8_(uint8_t, uint8_t)' (line 206, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_u8u8_'
-"D:\qp\qpc\include\qs.h" 270 1 Info 757: global declarator 'QS_usr_dict(enum_t, const char_t *)' (line 270, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_usr_dict'
-"D:\qp\qpc\include\qf.h" 230 1 Info 756: global typedef 'QActiveVtbl' (line 230, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 233 1 Info 757: global declarator 'QActive_ctor(QActive *, QStateHandler)' (line 233, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_ctor'
-"D:\qp\qpc\include\qf.h" 345 1 Info 757: global declarator 'QActive_postLIFO_(QMActive *, const QEvt *)' (line 345, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_postLIFO_'
-"D:\qp\qpc\include\qf.h" 374 1 Info 757: global declarator 'QActive_defer(QMActive *, struct QEQueue *, const QEvt *)' (line 374, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_defer'
-"D:\qp\qpc\include\qf.h" 381 1 Warning 526: Symbol 'QActive_get_(QMActive *)' (line 381, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_get_'
-"D:\qp\qpc\include\qf.h" 265 1 Info 757: global declarator 'QActive_post_(QMActive *, const QEvt *, uint_fast16_t, const void *)' (line 265, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_post_'
-"D:\qp\qpc\include\qf.h" 378 1 Info 757: global declarator 'QActive_recall(QMActive *, struct QEQueue *)' (line 378, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_recall'
-"D:\qp\qpc\source\qv.c" 195 1 Info 714: Symbol 'QActive_start_(QMActive *, uint_fast8_t, const QEvt **, uint_fast16_t, void *, uint_fast16_t, const QEvt *)' (line 195, file D:\qp\qpc\source\qv.c) not referenced
-"D:\qp\qpc\source\qv.c" 229 1 Info 714: Symbol 'QActive_stop(QMActive *)' (line 229, file D:\qp\qpc\source\qv.c) not referenced
-"D:\qp\qpc\include\qf.h" 364 1 Info 757: global declarator 'QActive_subscribe(const QActive *, enum_t)' (line 364, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_subscribe'
-"D:\qp\qpc\include\qf.h" 367 1 Info 757: global declarator 'QActive_unsubscribe(const QActive *, enum_t)' (line 367, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribe'
-"D:\qp\qpc\include\qf.h" 370 1 Info 757: global declarator 'QActive_unsubscribeAll(const QActive *)' (line 370, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QActive_unsubscribeAll'
-"D:\qp\qpc\source\qv.c" 102 1 Info 714: Symbol 'QF_stop(void)' (line 102, file D:\qp\qpc\source\qv.c) not referenced
-"D:\qp\qpc\include\qep.h" 420 1 Info 757: global declarator 'QHsm_ctor(QHsm *, QStateHandler)' (line 420, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_ctor'
-"D:\qp\qpc\include\qep.h" 435 1 Info 757: global declarator 'QHsm_dispatch_(QHsm *, const QEvt *)' (line 435, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 431 1 Info 757: global declarator 'QHsm_init_(QHsm *, const QEvt *)' (line 431, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_init_'
-"D:\qp\qpc\include\qep.h" 440 1 Info 757: global declarator 'QHsm_isIn(QHsm *, QStateHandler)' (line 440, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_isIn'
-"D:\qp\qpc\include\qep.h" 445 1 Info 757: global declarator 'QHsm_top(const void *, const QEvt *)' (line 445, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QHsm_top'
-"D:\qp\qpc\include\qpset.h" 55 1 Info 756: global typedef 'QPSet8' (line 55, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 194 1 Info 757: global declarator 'QS_filterOff(uint_fast8_t)' (line 194, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOff'
-"D:\qp\qpc\include\qs.h" 233 1 Info 757: global declarator 'QS_f32(uint8_t, float32_t)' (line 233, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f32'
-"D:\qp\qpc\include\qs.h" 236 1 Info 757: global declarator 'QS_f64(uint8_t, float64_t)' (line 236, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_f64'
-"D:\qp\qpc\include\qs.h" 191 1 Info 757: global declarator 'QS_filterOn(uint_fast8_t)' (line 191, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_filterOn'
-"D:\qp\qpc\include\qs.h" 266 1 Info 757: global declarator 'QS_fun_dict(void (*)(void), const char_t *)' (line 266, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_fun_dict'
-"D:\qp\qpc\include\qf.h" 771 1 Info 757: global declarator 'QF_div8Lkup' (line 771, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_div8Lkup'
-"D:\qp\qpc\include\qf.h" 599 1 Info 757: global declarator 'QF_tickX_(uint_fast8_t, const void *)' (line 599, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_tickX_'
-"D:\qp\qpc\include\qs.h" 275 1 Info 757: global declarator 'QS_getByte(void)' (line 275, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getByte'
-"D:\qp\qpc\include\qs.h" 281 1 Info 757: global declarator 'QS_getBlock(uint16_t *)' (line 281, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_getBlock'
-"D:\qp\qpc\source\qv.c" 78 1 Warning 526: Symbol 'QF_timeEvtHead_' (line 78, file D:\qp\qpc\source\qv.c) not defined
-"D:\qp\qpc\ports\lint\stdint.h" 36 1 Info 756: global typedef 'int_fast16_t' (line 36, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 38 1 Info 756: global typedef 'int_fast32_t' (line 38, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\ports\lint\stdint.h" 34 1 Info 756: global typedef 'int_fast8_t' (line 34, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qf.h" 476 1 Info 757: global declarator 'QTimeEvt_armX(struct QTimeEvt *, QTimeEvtCtr, QTimeEvtCtr)' (line 476, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_armX'
-"D:\qp\qpc\include\qf.h" 472 1 Info 757: global declarator 'QTimeEvt_ctorX(struct QTimeEvt *, QMActive *, enum_t, uint_fast8_t)' (line 472, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctorX'
-"D:\qp\qpc\include\qf.h" 480 1 Info 757: global declarator 'QTimeEvt_rearm(struct QTimeEvt *, QTimeEvtCtr)' (line 480, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_rearm'
-"D:\qp\qpc\include\qf.h" 483 1 Info 757: global declarator 'QTimeEvt_disarm(struct QTimeEvt *)' (line 483, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_disarm'
-"D:\qp\qpc\include\qf.h" 486 1 Info 757: global declarator 'QTimeEvt_ctr(const struct QTimeEvt *)' (line 486, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QTimeEvt_ctr'
-"D:\qp\qpc\ports\lint\stdint.h" 24 1 Info 756: global typedef 'int16_t' (line 24, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 184 1 Info 757: global declarator 'QEQueue_get(struct QEQueue *)' (line 184, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_get'
-"D:\qp\qpc\include\qequeue.h" 173 1 Warning 526: Symbol 'QEQueue_init(struct QEQueue *, const QEvt **, uint_fast16_t)' (line 173, file D:\qp\qpc\include\qequeue.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_init'
-"D:\qp\qpc\include\qequeue.h" 177 1 Info 757: global declarator 'QEQueue_post(struct QEQueue *, const QEvt *, uint_fast16_t)' (line 177, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_post'
-"D:\qp\qpc\include\qequeue.h" 181 1 Info 757: global declarator 'QEQueue_postLIFO(struct QEQueue *, const QEvt *)' (line 181, file D:\qp\qpc\include\qequeue.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QEQueue_postLIFO'
-"D:\qp\qpc\include\qs.h" 188 1 Info 757: global declarator 'QS_initBuf(uint8_t *, uint_fast16_t)' (line 188, file D:\qp\qpc\include\qs.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QS_initBuf'
-"D:\qp\qpc\include\qf.h" 731 1 Warning 526: Symbol 'QF_gc(const QEvt *)' (line 731, file D:\qp\qpc\include\qf.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_gc'
-"D:\qp\qpc\include\qf.h" 647 1 Info 757: global declarator 'QF_getPoolMin(uint_fast8_t)' (line 647, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getPoolMin'
-"D:\qp\qpc\include\qf.h" 651 1 Info 757: global declarator 'QF_getQueueMin(uint_fast8_t)' (line 651, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_getQueueMin'
-"D:\qp\qpc\include\qmpool.h" 154 1 Info 757: global declarator 'QMPool_get(QMPool *, uint_fast16_t)' (line 154, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_get'
-"D:\qp\qpc\include\qmpool.h" 150 1 Info 757: global declarator 'QMPool_init(QMPool *, void *, uint_fast32_t, uint_fast16_t)' (line 150, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_init'
-"D:\qp\qpc\include\qmpool.h" 157 1 Info 757: global declarator 'QMPool_put(QMPool *, void *)' (line 157, file D:\qp\qpc\include\qmpool.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMPool_put'
-"D:\qp\qpc\include\qassert.h" 223 1 Warning 526: Symbol 'Q_onAssert(const char_t *, int_t)' (line 223, file D:\qp\qpc\include\qassert.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'Q_onAssert'
-"D:\qp\qpc\ports\lint\stdint.h" 25 1 Info 756: global typedef 'int32_t' (line 25, file D:\qp\qpc\ports\lint\stdint.h) not referenced
-"D:\qp\qpc\include\qep.h" 351 1 Info 757: global declarator 'QMsm_ctor(QMsm *, QStateHandler)' (line 351, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_ctor'
-"D:\qp\qpc\include\qep.h" 386 1 Info 757: global declarator 'QMsm_dispatch_(QMsm *, const QEvt *)' (line 386, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_dispatch_'
-"D:\qp\qpc\include\qep.h" 389 1 Info 757: global declarator 'QMsm_execTatbl_(QMsm *, const QMTranActTable *)' (line 389, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_execTatbl_'
-"D:\qp\qpc\include\qep.h" 371 1 Info 757: global declarator 'QMsm_init_(QMsm *, const QEvt *)' (line 371, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_init_'
-"D:\qp\qpc\include\qep.h" 394 1 Info 757: global declarator 'QMsm_isInState(QMsm *, const struct QMState *)' (line 394, file D:\qp\qpc\include\qep.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QMsm_isInState'
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 211 1 Warning 526: Symbol 'intDisable(void)' (line 211, file D:\qp\qpc\ports\lint\qv\qf_port.h) not defined
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'intDisable'
-"D:\qp\qpc\source\qv.c" 76 1 Info 714: Symbol 'QF_init(void)' (line 76, file D:\qp\qpc\source\qv.c) not referenced
-"D:\qp\qpc\include\qf.h" 765 1 Info 757: global declarator 'QF_invPwr2Lkup' (line 765, file D:\qp\qpc\include\qf.h) not referenced
- Note 960: Violates MISRA 2004 Required Rule 8.9, undefined symbol: 'QF_invPwr2Lkup'
-"D:\qp\qpc\ports\lint\stdbool.h" 17 1 Info 755: global macro 'true' (line 17, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 210 1 Info 755: global macro 'Q_MSM_UPCAST' (line 210, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 556 1 Info 755: global macro 'QM_SUPER' (line 556, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 562 1 Info 755: global macro 'QM_SUPER_SUB' (line 562, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 822 1 Info 755: global macro 'QS_MEM' (line 822, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 510 1 Info 755: global macro 'QM_TRAN' (line 510, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 525 1 Info 755: global macro 'QM_TRAN_HIST' (line 525, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 532 1 Info 755: global macro 'QM_TRAN_EP' (line 532, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 517 1 Info 755: global macro 'QM_TRAN_INIT' (line 517, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 540 1 Info 755: global macro 'QM_TRAN_XP' (line 540, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 799 1 Info 755: global macro 'QF_LOG2LKUP' (line 799, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 490 1 Info 755: global macro 'QM_ENTRY' (line 490, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 496 1 Info 755: global macro 'QM_EXIT' (line 496, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 551 1 Info 755: global macro 'QM_UNHANDLED' (line 551, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 57 1 Info 755: global macro 'QP_RELEASE' (line 57, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 830 1 Info 755: global macro 'QS_OBJ' (line 830, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 703 1 Info 755: global macro 'QS_OBJ_' (line 703, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 946 1 Info 755: global macro 'QS_OBJ_DICTIONARY' (line 946, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 166 1 Info 755: global macro 'QF_MPOOL_EL' (line 166, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qassert.h" 256 1 Info 755: global macro 'Q_ENSURE' (line 256, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 267 1 Info 755: global macro 'Q_ENSURE_ID' (line 267, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qf.h" 697 1 Info 755: global macro 'Q_NEW' (line 697, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 725 1 Info 755: global macro 'Q_NEW_X' (line 725, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 599 1 Info 755: global macro 'Q_UNHANDLED' (line 599, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 143 1 Info 755: global macro 'QS_ALL_RECORDS' (line 143, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 997 1 Info 755: global macro 'QS_ASSERTION' (line 997, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 265 1 Info 755: global macro 'Q_ACTION_CAST' (line 265, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qassert.h" 112 1 Info 755: global macro 'Q_ASSERT' (line 112, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 301 1 Info 755: global macro 'Q_ASSERT_COMPILE' (line 301, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 453 1 Info 755: global macro 'QEP_getVersion' (line 453, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 545 1 Info 755: global macro 'QM_HANDLED' (line 545, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 676 1 Info 755: global macro 'QS_2U8_' (line 676, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 613 1 Info 755: global macro 'QS_BEGIN' (line 613, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 637 1 Info 755: global macro 'QS_BEGIN_' (line 637, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 526 1 Info 755: global macro 'QS_BEGIN_NOCRIT' (line 526, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 661 1 Info 755: global macro 'QS_BEGIN_NOCRIT_' (line 661, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 18 1 Info 755: global macro 'false' (line 18, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qf.h" 588 1 Info 755: global macro 'QF_PUBLISH' (line 588, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qep.h" 48 1 Info 755: global macro 'QP_VERSION' (line 48, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 54 1 Info 755: global macro 'QP_VERSION_STR' (line 54, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 587 1 Info 755: global macro 'QS_CRIT_ENTRY_' (line 587, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 589 1 Info 755: global macro 'QS_CRIT_EXIT_' (line 589, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 586 1 Info 755: global macro 'QS_CRIT_STAT_' (line 586, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 865 1 Info 755: global macro 'QS_SIG' (line 865, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 692 1 Info 755: global macro 'QS_SIG_' (line 692, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 814 1 Info 755: global macro 'QS_STR' (line 814, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 923 1 Info 755: global macro 'QS_SIG_DICTIONARY' (line 923, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 735 1 Info 755: global macro 'QS_STR_' (line 735, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 740 1 Info 755: global macro 'QS_STR_ROM_' (line 740, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 819 1 Info 755: global macro 'QS_STR_ROM' (line 819, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 570 1 Info 755: global macro 'Q_TRAN' (line 570, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 579 1 Info 755: global macro 'Q_TRAN_HIST' (line 579, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 256 1 Info 755: global macro 'Q_STATE_CAST' (line 256, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 172 1 Info 755: global macro 'QS_TIME_' (line 172, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1038 1 Info 755: global macro 'QF_QS_ACTION' (line 1038, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1014 1 Info 755: global macro 'QF_QS_CRIT_ENTRY' (line 1014, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1021 1 Info 755: global macro 'QF_QS_CRIT_EXIT' (line 1021, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1028 1 Info 755: global macro 'QF_QS_ISR_ENTRY' (line 1028, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1035 1 Info 755: global macro 'QF_QS_ISR_EXIT' (line 1035, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 171 1 Info 755: global macro 'Q_ERROR' (line 171, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 187 1 Info 755: global macro 'Q_ERROR_ID' (line 187, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 277 1 Info 755: global macro 'Q_INVARIANT' (line 277, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 288 1 Info 755: global macro 'Q_INVARIANT_ID' (line 288, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 237 1 Info 755: global macro 'Q_REQUIRE' (line 237, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qs.h" 620 1 Info 755: global macro 'QS_END' (line 620, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 647 1 Info 755: global macro 'QS_END_' (line 647, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 530 1 Info 755: global macro 'QS_END_NOCRIT' (line 530, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 670 1 Info 755: global macro 'QS_END_NOCRIT_' (line 670, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 278 1 Info 755: global macro 'QS_EOD' (line 278, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 364 1 Info 755: global macro 'QS_EXIT' (line 364, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 783 1 Info 755: global macro 'QS_U16' (line 783, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 679 1 Info 755: global macro 'QS_U16_' (line 679, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 791 1 Info 755: global macro 'QS_U32' (line 791, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 682 1 Info 755: global macro 'QS_U32_' (line 682, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 775 1 Info 755: global macro 'QS_U8' (line 775, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 807 1 Info 755: global macro 'QS_U64' (line 807, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 811 1 Info 755: global macro 'QS_U32_HEX' (line 811, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 673 1 Info 755: global macro 'QS_U8_' (line 673, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 983 1 Info 755: global macro 'QS_USR_DICTIONARY' (line 983, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 588 1 Info 755: global macro 'Q_SUPER' (line 588, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 269 1 Info 755: global macro 'QF_CPU_SLEEP' (line 269, file D:\qp\qpc\ports\lint\qv\qf_port.h) not referenced
-"D:\qp\qpc\include\qv.h" 98 1 Info 755: global macro 'QACTIVE_EQUEUE_SIGNAL_' (line 98, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 100 1 Info 755: global macro 'QACTIVE_EQUEUE_ONEMPTY_' (line 100, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 89 1 Info 755: global macro 'QACTIVE_EQUEUE_WAIT_' (line 89, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qf.h" 261 1 Info 755: global macro 'QACTIVE_START' (line 261, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 294 1 Info 755: global macro 'QACTIVE_POST' (line 294, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 328 1 Info 755: global macro 'QACTIVE_POST_X' (line 328, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 354 1 Info 755: global macro 'QACTIVE_POST_LIFO' (line 354, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 236 1 Info 755: global macro 'QF_CRIT_ENTRY' (line 236, file D:\qp\qpc\ports\lint\qv\qf_port.h) not referenced
-"D:\qp\qpc\ports\lint\qv\qf_port.h" 252 1 Info 755: global macro 'QF_CRIT_EXIT' (line 252, file D:\qp\qpc\ports\lint\qv\qf_port.h) not referenced
-"D:\qp\qpc\include\qep.h" 427 1 Info 755: global macro 'QHsm_state' (line 427, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qpset.h" 80 1 Info 755: global macro 'QPSet8_findMax' (line 80, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 133 1 Info 755: global macro 'QPSet64_hasElement' (line 133, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 141 1 Info 755: global macro 'QPSet64_insert' (line 141, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 125 1 Info 755: global macro 'QPSet64_isEmpty' (line 125, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 151 1 Info 755: global macro 'QPSet64_remove' (line 151, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 66 1 Info 755: global macro 'QPSet8_hasElement' (line 66, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 70 1 Info 755: global macro 'QPSet8_insert' (line 70, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 58 1 Info 755: global macro 'QPSet8_isEmpty' (line 58, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 61 1 Info 755: global macro 'QPSet8_notEmpty' (line 61, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qpset.h" 74 1 Info 755: global macro 'QPSet8_remove' (line 74, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qs.h" 385 1 Info 755: global macro 'QS_FILTER_OFF' (line 385, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 795 1 Info 755: global macro 'QS_F32' (line 795, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 799 1 Info 755: global macro 'QS_F64' (line 799, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 434 1 Info 755: global macro 'QS_FILTER_AO_OBJ' (line 434, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 454 1 Info 755: global macro 'QS_FILTER_MP_OBJ' (line 454, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 474 1 Info 755: global macro 'QS_FILTER_EQ_OBJ' (line 474, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 512 1 Info 755: global macro 'QS_FILTER_AP_OBJ' (line 512, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 375 1 Info 755: global macro 'QS_FILTER_ON' (line 375, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 413 1 Info 755: global macro 'QS_FILTER_SM_OBJ' (line 413, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 495 1 Info 755: global macro 'QS_FILTER_TE_OBJ' (line 495, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 844 1 Info 755: global macro 'QS_FUN' (line 844, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 721 1 Info 755: global macro 'QS_FUN_' (line 721, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 968 1 Info 755: global macro 'QS_FUN_DICTIONARY' (line 968, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qassert.h" 80 1 Info 755: global macro 'Q_DEFINE_THIS_FILE' (line 80, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 593 1 Info 755: global macro 'Q_HANDLED' (line 593, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 625 1 Info 755: global macro 'QF_TICK_X' (line 625, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 635 1 Info 755: global macro 'QF_TICK' (line 635, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 1041 1 Info 755: global macro 'QS_getVersion' (line 1041, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qv.h" 104 1 Info 755: global macro 'QF_EPOOL_TYPE_' (line 104, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 107 1 Info 755: global macro 'QF_EPOOL_EVENT_SIZE_' (line 107, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 108 1 Info 755: global macro 'QF_EPOOL_GET_' (line 108, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 106 1 Info 755: global macro 'QF_EPOOL_INIT_' (line 106, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qv.h" 109 1 Info 755: global macro 'QF_EPOOL_PUT_' (line 109, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qep.h" 220 1 Info 755: global macro 'Q_EVT_CAST' (line 220, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 200 1 Info 755: global macro 'QEQueue_getNFree' (line 200, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 214 1 Info 755: global macro 'QEQueue_getNMin' (line 214, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 230 1 Info 755: global macro 'QEQueue_isEmpty' (line 230, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qs.h" 355 1 Info 755: global macro 'QS_INIT' (line 355, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 771 1 Info 755: global macro 'QS_I8' (line 771, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 779 1 Info 755: global macro 'QS_I16' (line 779, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 787 1 Info 755: global macro 'QS_I32' (line 787, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 803 1 Info 755: global macro 'QS_I64' (line 803, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 223 1 Info 755: global macro 'Q_DIM' (line 223, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qf.h" 811 1 Info 755: global macro 'QF_getVersion' (line 811, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qv.h" 81 1 Info 755: global macro 'QV_getVersion' (line 81, file D:\qp\qpc\include\qv.h) not referenced
-"D:\qp\qpc\include\qassert.h" 146 1 Info 755: global macro 'Q_ALLEGE' (line 146, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qassert.h" 161 1 Info 755: global macro 'Q_ALLEGE_ID' (line 161, file D:\qp\qpc\include\qassert.h) not referenced
-"D:\qp\qpc\include\qep.h" 354 1 Info 755: global macro 'QMsm_stateObj' (line 354, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 234 1 Info 755: global macro 'Q_UINT2PTR_CAST' (line 234, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\ports\lint\stdbool.h" 22 1 Info 755: global macro '__bool_true_false_are_defined' (line 22, file D:\qp\qpc\ports\lint\stdbool.h) not referenced
-"D:\qp\qpc\include\qep.h" 460 1 Info 758: global enum '(untagged)' (line 460, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 603 1 Info 758: global enum '(untagged)' (line 603, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qs.h" 56 1 Info 758: global enum 'QSpyRecords' (line 56, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 750 1 Info 758: global enum '(untagged)' (line 750, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qep.h" 184 1 Info 768: global struct member 'QEvt::sig' (line 184, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 185 1 Info 768: global struct member 'QEvt::poolId_' (line 185, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 186 1 Info 768: global struct member 'QEvt::refCtr_' (line 186, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 280 1 Info 768: global struct member 'QMState::superstate' (line 280, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 281 1 Info 768: global struct member 'QMState::stateHandler' (line 281, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 282 1 Info 768: global struct member 'QMState::entryAction' (line 282, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 283 1 Info 768: global struct member 'QMState::exitAction' (line 283, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 284 1 Info 768: global struct member 'QMState::initAction' (line 284, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 289 1 Info 768: global struct member 'QMTranActTable::target' (line 289, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 290 1 Info 768: global struct member 'QMTranActTable::act' (line 290, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 300 1 Info 768: global struct member 'QMAttr::obj' (line 300, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 301 1 Info 768: global struct member 'QMAttr::tatbl' (line 301, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 302 1 Info 768: global struct member 'QMAttr::fun' (line 302, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 303 1 Info 768: global struct member 'QMAttr::act' (line 303, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 337 1 Info 768: global struct member 'QMsm::state' (line 337, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 338 1 Info 768: global struct member 'QMsm::temp' (line 338, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 462 1 Info 769: global enumeration constant 'Q_RET_SUPER' (line 462, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 463 1 Info 769: global enumeration constant 'Q_RET_SUPER_SUB' (line 463, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 464 1 Info 769: global enumeration constant 'Q_RET_UNHANDLED' (line 464, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 467 1 Info 769: global enumeration constant 'Q_RET_HANDLED' (line 467, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 468 1 Info 769: global enumeration constant 'Q_RET_IGNORED' (line 468, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 471 1 Info 769: global enumeration constant 'Q_RET_ENTRY' (line 471, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 472 1 Info 769: global enumeration constant 'Q_RET_EXIT' (line 472, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 475 1 Info 769: global enumeration constant 'Q_RET_NULL' (line 475, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 478 1 Info 769: global enumeration constant 'Q_RET_TRAN' (line 478, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 479 1 Info 769: global enumeration constant 'Q_RET_TRAN_INIT' (line 479, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 480 1 Info 769: global enumeration constant 'Q_RET_TRAN_HIST' (line 480, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 481 1 Info 769: global enumeration constant 'Q_RET_TRAN_EP' (line 481, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 482 1 Info 769: global enumeration constant 'Q_RET_TRAN_XP' (line 482, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 604 1 Info 769: global enumeration constant 'Q_ENTRY_SIG' (line 604, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 605 1 Info 769: global enumeration constant 'Q_EXIT_SIG' (line 605, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 606 1 Info 769: global enumeration constant 'Q_INIT_SIG' (line 606, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qep.h" 607 1 Info 769: global enumeration constant 'Q_USER_SIG' (line 607, file D:\qp\qpc\include\qep.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 130 1 Info 768: global struct member 'QEQueue' (line 130, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 143 1 Info 768: global struct member 'QEQueue::frontEvt' (line 143, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 146 1 Info 768: global struct member 'QEQueue::ring' (line 146, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 149 1 Info 768: global struct member 'QEQueue::end' (line 149, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 152 1 Info 768: global struct member 'QEQueue::head' (line 152, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 155 1 Info 768: global struct member 'QEQueue::tail' (line 155, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 158 1 Info 768: global struct member 'QEQueue::nFree' (line 158, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qequeue.h" 167 1 Info 768: global struct member 'QEQueue::nMin' (line 167, file D:\qp\qpc\include\qequeue.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 120 1 Info 768: global struct member 'QMPool::free_head' (line 120, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 123 1 Info 768: global struct member 'QMPool::start' (line 123, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 126 1 Info 768: global struct member 'QMPool::end' (line 126, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 129 1 Info 768: global struct member 'QMPool::blockSize' (line 129, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 132 1 Info 768: global struct member 'QMPool::nTot' (line 132, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 135 1 Info 768: global struct member 'QMPool::nFree' (line 135, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qmpool.h" 144 1 Info 768: global struct member 'QMPool::nMin' (line 144, file D:\qp\qpc\include\qmpool.h) not referenced
-"D:\qp\qpc\include\qpset.h" 54 1 Info 768: global struct member 'QPSet8::bits' (line 54, file D:\qp\qpc\include\qpset.h) not referenced
-"D:\qp\qpc\include\qf.h" 167 1 Info 768: global struct member 'QMActiveVtbl::super' (line 167, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 174 1 Info 768: global struct member 'QMActiveVtbl::start' (line 174, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 180 1 Info 768: global struct member 'QMActiveVtbl::post' (line 180, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 188 1 Info 768: global struct member 'QMActiveVtbl::postLIFO' (line 188, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 442 1 Info 768: global struct member 'QTimeEvt::super' (line 442, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 445 1 Info 768: global struct member 'QTimeEvt::next' (line 445, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 448 1 Info 768: global struct member 'QTimeEvt::act' (line 448, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 457 1 Info 768: global struct member 'QTimeEvt::ctr' (line 457, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 466 1 Info 768: global struct member 'QTimeEvt::interval' (line 466, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qf.h" 513 1 Info 768: global struct member 'QSubscrList::bits' (line 513, file D:\qp\qpc\include\qf.h) not referenced
-"D:\qp\qpc\include\qs.h" 57 1 Info 769: global enumeration constant 'QSpyRecords::QS_QP_RESET' (line 57, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 60 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_ENTRY' (line 60, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 61 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_EXIT' (line 61, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 62 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_STATE_INIT' (line 62, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 63 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INIT_TRAN' (line 63, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 64 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_INTERN_TRAN' (line 64, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 65 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN' (line 65, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 66 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_IGNORED' (line 66, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 67 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_DISPATCH' (line 67, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 68 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_UNHANDLED' (line 68, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 71 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_ADD' (line 71, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 72 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_REMOVE' (line 72, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 73 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_SUBSCRIBE' (line 73, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 74 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_UNSUBSCRIBE' (line 74, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 75 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_FIFO' (line 75, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 76 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_LIFO' (line 76, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 77 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET' (line 77, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 78 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_GET_LAST' (line 78, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 79 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_INIT' (line 79, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 80 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_FIFO' (line 80, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 81 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_LIFO' (line 81, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 82 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET' (line 82, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 83 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_GET_LAST' (line 83, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 84 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_INIT' (line 84, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 85 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET' (line 85, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 86 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_PUT' (line 86, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 87 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_PUBLISH' (line 87, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 88 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED8' (line 88, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 89 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_NEW' (line 89, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 90 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC_ATTEMPT' (line 90, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 91 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_GC' (line 91, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 92 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TICK' (line 92, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 93 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_ARM' (line 93, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 94 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_AUTO_DISARM' (line 94, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 95 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM_ATTEMPT' (line 95, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 96 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_DISARM' (line 96, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 97 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_REARM' (line 97, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 98 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_POST' (line 98, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 99 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_TIMEEVT_CTR' (line 99, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 100 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_ENTRY' (line 100, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 101 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_CRIT_EXIT' (line 101, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 102 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_ENTRY' (line 102, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 103 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ISR_EXIT' (line 103, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 104 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_DISABLE' (line 104, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 105 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_INT_ENABLE' (line 105, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 106 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_ACTIVE_POST_ATTEMPT' (line 106, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 107 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_EQUEUE_POST_ATTEMPT' (line 107, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 108 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_MPOOL_GET_ATTEMPT' (line 108, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 109 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED1' (line 109, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 110 1 Info 769: global enumeration constant 'QSpyRecords::QS_QF_RESERVED0' (line 110, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 113 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_LOCK' (line 113, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 114 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_MUTEX_UNLOCK' (line 114, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 115 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_SCHEDULE' (line 115, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 116 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED1' (line 116, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 117 1 Info 769: global enumeration constant 'QSpyRecords::QS_QK_RESERVED0' (line 117, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 120 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_HIST' (line 120, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 121 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_EP' (line 121, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 122 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_TRAN_XP' (line 122, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 123 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED1' (line 123, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 124 1 Info 769: global enumeration constant 'QSpyRecords::QS_QEP_RESERVED0' (line 124, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 127 1 Info 769: global enumeration constant 'QSpyRecords::QS_SIG_DICT' (line 127, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 128 1 Info 769: global enumeration constant 'QSpyRecords::QS_OBJ_DICT' (line 128, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 129 1 Info 769: global enumeration constant 'QSpyRecords::QS_FUN_DICT' (line 129, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 130 1 Info 769: global enumeration constant 'QSpyRecords::QS_USR_DICT' (line 130, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 131 1 Info 769: global enumeration constant 'QSpyRecords::QS_EMPTY' (line 131, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 132 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED3' (line 132, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 133 1 Info 769: global enumeration constant 'QSpyRecords::QS_RESERVED2' (line 133, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 134 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_RUN' (line 134, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 135 1 Info 769: global enumeration constant 'QSpyRecords::QS_TEST_FAIL' (line 135, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 136 1 Info 769: global enumeration constant 'QSpyRecords::QS_ASSERT_FAIL' (line 136, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 139 1 Info 769: global enumeration constant 'QSpyRecords::QS_USER' (line 139, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 751 1 Info 769: global enumeration constant 'QS_I8_T' (line 751, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 752 1 Info 769: global enumeration constant 'QS_U8_T' (line 752, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 753 1 Info 769: global enumeration constant 'QS_I16_T' (line 753, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 754 1 Info 769: global enumeration constant 'QS_U16_T' (line 754, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 755 1 Info 769: global enumeration constant 'QS_I32_T' (line 755, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 756 1 Info 769: global enumeration constant 'QS_U32_T' (line 756, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 757 1 Info 769: global enumeration constant 'QS_F32_T' (line 757, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 758 1 Info 769: global enumeration constant 'QS_F64_T' (line 758, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 759 1 Info 769: global enumeration constant 'QS_STR_T' (line 759, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 760 1 Info 769: global enumeration constant 'QS_MEM_T' (line 760, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 761 1 Info 769: global enumeration constant 'QS_SIG_T' (line 761, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 762 1 Info 769: global enumeration constant 'QS_OBJ_T' (line 762, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 763 1 Info 769: global enumeration constant 'QS_FUN_T' (line 763, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 764 1 Info 769: global enumeration constant 'QS_I64_T' (line 764, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 765 1 Info 769: global enumeration constant 'QS_U64_T' (line 765, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 766 1 Info 769: global enumeration constant 'QS_U32_HEX_T' (line 766, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1049 1 Info 768: global struct member 'QSPriv::glbFilter' (line 1049, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1050 1 Info 768: global struct member 'QSPriv::smObjFilter' (line 1050, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1051 1 Info 768: global struct member 'QSPriv::aoObjFilter' (line 1051, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1052 1 Info 768: global struct member 'QSPriv::mpObjFilter' (line 1052, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1053 1 Info 768: global struct member 'QSPriv::eqObjFilter' (line 1053, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1054 1 Info 768: global struct member 'QSPriv::teObjFilter' (line 1054, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1055 1 Info 768: global struct member 'QSPriv::apObjFilter' (line 1055, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1057 1 Info 768: global struct member 'QSPriv::buf' (line 1057, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1058 1 Info 768: global struct member 'QSPriv::end' (line 1058, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1059 1 Info 768: global struct member 'QSPriv::head' (line 1059, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1060 1 Info 768: global struct member 'QSPriv::tail' (line 1060, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1061 1 Info 768: global struct member 'QSPriv::used' (line 1061, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1062 1 Info 768: global struct member 'QSPriv::seq' (line 1062, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1063 1 Info 768: global struct member 'QSPriv::chksum' (line 1063, file D:\qp\qpc\include\qs.h) not referenced
-"D:\qp\qpc\include\qs.h" 1065 1 Info 768: global struct member 'QSPriv::critNest' (line 1065, file D:\qp\qpc\include\qs.h) not referenced
- Note 900: Successful completion, 499 messages produced
-
-Count Type Number Text
-
-17 Warning 526 Symbol '___' (___) not defined
-5 Info 714 Symbol '___' (___) not referenced
-141 Info 755 global macro '___' (___) not referenced
-11 Info 756 global typedef '___' (___) not referenced
-73 Info 757 global declarator '___' (___) not referenced
-4 Info 758 global ___ '___' (___) not referenced
-57 Info 768 global struct member '___' (___) not referenced
-104 Info 769 global enumeration constant '___' (___) not referenced
-1 Note 900 Successful completion, ___ messages produced
-87 Note 960 Violates MISRA 2004 Required Rule ___, ___
diff --git a/ports/lint/options.lnt b/ports/lint/options.lnt
index 233654ab..d0c18d87 100644
--- a/ports/lint/options.lnt
+++ b/ports/lint/options.lnt
@@ -1,7 +1,7 @@
//////////////////////////////////////////////////////////////////////////////
// Product: PC-Lint 9.x option file for linting QP/C
-// Last updated for version 5.4.1
-// Last updated on 2015-05-31
+// Last updated for version 5.5.0
+// Last updated on 2015-08-29
//
// Q u a n t u m L e a P s
// ---------------------------
@@ -131,18 +131,22 @@ qpc.lnt // QP/C options
// QS -- the following options are needed only when Q_SPY is defined
-emacro(960, // MISR04-17.4(req), pointer arithmetic
QS_PTR_AT_,
+ QS_RX_AT_,
QS_PTR_INC_)
-efunc(960, // MISRA04-18.4(req) declaration of union
QS_f32,
QS_f64)
-estring(960, // MISRA04-8.7(req) could use block scope
- QS_seq_)
+ QS_seq_,
+ QS_priv_)
-estring(961, // MISRA04-19.7(adv) function-like macro
QS_INSERT_BYTE,
QS_INSERT_ESC_BYTE,
QS_INSERT_CHKSUM_BYTE,
QS_PTR_AT_,
- QS_PTR_INC_)
+ QS_PTR_INC_,
+ QS_RX_AT_,
+ QS_RX_TRAN_)
-emacro(506, // MISRA04-13.7(req) & 14.1(req)
QS_BEGIN_,
QS_BEGIN_NOCRIT_)
@@ -180,6 +184,9 @@ qpc.lnt // QP/C options
QS_END_NOCRIT_)
-emacro(778, // zero in operation '&'
QS_BEGIN_NOCRIT_)
+-estring(960, // MISRA04-18.4(req) declaration of union type
+ QSRxExtState)
+
// Warning 537 "Repeated include file" is generated only for QEP source code
// This warning is redundant, because all QP header files are protected
diff --git a/ports/posix/Makefile b/ports/posix/Makefile
index 1be5fa1a..f1f482d8 100644
--- a/ports/posix/Makefile
+++ b/ports/posix/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C port to POSIX, GNU toolset
-# Last Updated for Version: 5.4.0
-# Date of the Last Update: 2015-04-07
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-04
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -64,7 +64,6 @@ VPATH = \
$(QPC)/source \
$(QP_PORT_DIR)
-
# list of all include directories needed by this project
INCLUDES = \
-I$(QPC)/include \
@@ -75,9 +74,6 @@ INCLUDES = \
# files
#
-# assembler source files
-ASM_SRCS :=
-
# C source files
C_SRCS := \
qep_hsm.c \
@@ -96,6 +92,7 @@ C_SRCS := \
C_QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c \
qs_64bit.c
@@ -127,40 +124,35 @@ LIBFLAGS := rs
ifeq (rel, $(CONF)) # Release configuration ............................
-BIN_DIR = rel
+BIN_DIR := rel
-# gcc options
-CFLAGS = -c -O2 -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -Wall -pthread
+CFLAGS = -ffunction-sections -fdata-sections \
+ -Os -Wall -W $(INCLUDES) $(DEFINES) -pthread -DNDEBUG
else ifeq (spy, $(CONF)) # Spy configuration ................................
-BIN_DIR = spy
+BIN_DIR := spy
-# gcc options
-CFLAGS = -c -g -O -ffunction-sections -fdata-sections $(INCLUDES) \
- $(DEFINES) -Wall -pthread -DQ_SPY
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread -DQ_SPY
# add the QS sources...
C_SRCS += $(C_QS_SRCS)
-else # default Debug configuration .......................
+else # default Debug configuration ..........................................
-BIN_DIR = dbg
+BIN_DIR := dbg
-# gcc options
-CFLAGS = -c -g -O -ffunction-sections -fdata-sections \
- $(INCLUDES) $(DEFINES) -Wall -pthread
+CFLAGS = -g -ffunction-sections -fdata-sections \
+ -O -Wall -W $(INCLUDES) $(DEFINES) -pthread
-endif
+endif # .....................................................................
-ASM_OBJS := $(patsubst %.s,%.o, $(notdir $(ASM_SRCS)))
-C_OBJS := $(patsubst %.c,%.o, $(notdir $(C_SRCS)))
-CPP_OBJS := $(patsubst %.cpp,%.o,$(notdir $(CPP_SRCS)))
+C_OBJS := $(patsubst %.c, %.o, $(C_SRCS))
+CPP_OBJS := $(patsubst %.cpp, %.o, $(CPP_SRCS))
TARGET_LIB := $(BIN_DIR)/lib$(PROJECT).a
-ASM_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(ASM_OBJS))
C_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(C_OBJS))
C_DEPS_EXT := $(patsubst %.o, %.d, $(C_OBJS_EXT))
CPP_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(CPP_OBJS))
@@ -187,9 +179,6 @@ $(BIN_DIR)/%.d : %.c
$(BIN_DIR)/%.d : %.cpp
$(CPP) -MM -MT $(@:.d=.o) $(CPPFLAGS) $< > $@
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
$(BIN_DIR)/%.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -217,10 +206,9 @@ show:
@echo PROJECT = $(PROJECT)
@echo CONF = $(CONF)
@echo TARGET_LIB = $(TARGET_LIB)
- @echo ASM_SRCS = $(ASM_SRCS)
@echo C_SRCS = $(C_SRCS)
@echo CPP_SRCS = $(CPP_SRCS)
- @echo ASM_OBJS_EXT = $(ASM_OBJS_EXT)
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
diff --git a/ports/win32-qv/Makefile b/ports/win32-qv/Makefile
index 23a9742f..9cf63324 100644
--- a/ports/win32-qv/Makefile
+++ b/ports/win32-qv/Makefile
@@ -1,7 +1,7 @@
##############################################################################
-# Product: Makefile for QP/C port to Win32-QV, MinGW toolset
-# Last Updated for Version: 5.4.2
-# Date of the Last Update: 2015-06-03
+# Product: Makefile for QP/C port to Win32 API, MinGW toolset
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-04
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -79,9 +79,6 @@ INCLUDES = \
# files
#
-# assembler source files
-ASM_SRCS :=
-
# C source files
C_SRCS := \
qep_hsm.c \
@@ -101,6 +98,7 @@ C_SRCS := \
C_QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c \
qs_64bit.c
@@ -144,6 +142,9 @@ BIN_DIR = rel
CFLAGS = -c -ffunction-sections -fdata-sections \
-Os $(INCLUDES) $(DEFINES) -Wall -W
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -Os $(INCLUDES) $(DEFINES) -Wall -W
+
else ifeq (spy, $(CONF)) # Spy configuration ................................
BIN_DIR = spy
@@ -152,6 +153,9 @@ BIN_DIR = spy
CFLAGS = -c -g -ffunction-sections -fdata-sections \
-O $(INCLUDES) $(DEFINES) -Wall -W -DQ_SPY
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -O $(INCLUDES) $(DEFINES) -Wall -W -DQ_SPY
+
# add the QS sources...
C_SRCS += $(C_QS_SRCS)
@@ -163,15 +167,16 @@ BIN_DIR = dbg
CFLAGS = -c -g -ffunction-sections -fdata-sections \
-O $(INCLUDES) $(DEFINES) -Wall -W
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -O $(INCLUDES) $(DEFINES) -Wall -W
+
endif
-ASM_OBJS := $(patsubst %.s,%.o, $(notdir $(ASM_SRCS)))
C_OBJS := $(patsubst %.c,%.o, $(notdir $(C_SRCS)))
CPP_OBJS := $(patsubst %.cpp,%.o,$(notdir $(CPP_SRCS)))
TARGET_LIB := $(BIN_DIR)/lib$(PROJECT).a
-ASM_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(ASM_OBJS))
C_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(C_OBJS))
CPP_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(CPP_OBJS))
@@ -190,9 +195,6 @@ all: $(TARGET_LIB)
$(TARGET_LIB) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
$(LIB) $(LIBFLAGS) $@ $^
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
$(BIN_DIR)/%.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -213,10 +215,9 @@ show:
@echo PROJECT = $(PROJECT)
@echo CONF = $(CONF)
@echo TARGET_LIB = $(TARGET_LIB)
- @echo ASM_SRCS = $(ASM_SRCS)
@echo C_SRCS = $(C_SRCS)
@echo CPP_SRCS = $(CPP_SRCS)
- @echo ASM_OBJS_EXT = $(ASM_OBJS_EXT)
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
diff --git a/ports/win32-qv/qp.vcxproj b/ports/win32-qv/qp.vcxproj
index 570c77e9..1b2b2eeb 100644
--- a/ports/win32-qv/qp.vcxproj
+++ b/ports/win32-qv/qp.vcxproj
@@ -168,6 +168,11 @@
true
true
+
+ true
+ false
+ true
+
diff --git a/ports/win32-qv/qp.vcxproj.filters b/ports/win32-qv/qp.vcxproj.filters
index 871f253a..fde169bd 100644
--- a/ports/win32-qv/qp.vcxproj.filters
+++ b/ports/win32-qv/qp.vcxproj.filters
@@ -66,6 +66,9 @@
QS
+
+ QS
+
diff --git a/ports/win32/Makefile b/ports/win32/Makefile
index 7e468251..9cf63324 100644
--- a/ports/win32/Makefile
+++ b/ports/win32/Makefile
@@ -1,7 +1,7 @@
##############################################################################
# Product: Makefile for QP/C port to Win32 API, MinGW toolset
-# Last Updated for Version: 5.4.2
-# Date of the Last Update: 2015-06-03
+# Last Updated for Version: 5.5.0
+# Date of the Last Update: 2015-08-04
#
# Q u a n t u m L e a P s
# ---------------------------
@@ -79,9 +79,6 @@ INCLUDES = \
# files
#
-# assembler source files
-ASM_SRCS :=
-
# C source files
C_SRCS := \
qep_hsm.c \
@@ -101,6 +98,7 @@ C_SRCS := \
C_QS_SRCS := \
qs.c \
+ qs_rx.c \
qs_fp.c \
qs_64bit.c
@@ -144,6 +142,9 @@ BIN_DIR = rel
CFLAGS = -c -ffunction-sections -fdata-sections \
-Os $(INCLUDES) $(DEFINES) -Wall -W
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -Os $(INCLUDES) $(DEFINES) -Wall -W
+
else ifeq (spy, $(CONF)) # Spy configuration ................................
BIN_DIR = spy
@@ -152,6 +153,9 @@ BIN_DIR = spy
CFLAGS = -c -g -ffunction-sections -fdata-sections \
-O $(INCLUDES) $(DEFINES) -Wall -W -DQ_SPY
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -O $(INCLUDES) $(DEFINES) -Wall -W -DQ_SPY
+
# add the QS sources...
C_SRCS += $(C_QS_SRCS)
@@ -163,15 +167,16 @@ BIN_DIR = dbg
CFLAGS = -c -g -ffunction-sections -fdata-sections \
-O $(INCLUDES) $(DEFINES) -Wall -W
+CPPFLAGS = -c -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections \
+ -O $(INCLUDES) $(DEFINES) -Wall -W
+
endif
-ASM_OBJS := $(patsubst %.s,%.o, $(notdir $(ASM_SRCS)))
C_OBJS := $(patsubst %.c,%.o, $(notdir $(C_SRCS)))
CPP_OBJS := $(patsubst %.cpp,%.o,$(notdir $(CPP_SRCS)))
TARGET_LIB := $(BIN_DIR)/lib$(PROJECT).a
-ASM_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(ASM_OBJS))
C_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(C_OBJS))
CPP_OBJS_EXT := $(addprefix $(BIN_DIR)/, $(CPP_OBJS))
@@ -190,9 +195,6 @@ all: $(TARGET_LIB)
$(TARGET_LIB) : $(ASM_OBJS_EXT) $(C_OBJS_EXT) $(CPP_OBJS_EXT)
$(LIB) $(LIBFLAGS) $@ $^
-$(BIN_DIR)/%.o : %.s
- $(AS) $(ASFLAGS) $< -o $@
-
$(BIN_DIR)/%.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -213,10 +215,9 @@ show:
@echo PROJECT = $(PROJECT)
@echo CONF = $(CONF)
@echo TARGET_LIB = $(TARGET_LIB)
- @echo ASM_SRCS = $(ASM_SRCS)
@echo C_SRCS = $(C_SRCS)
@echo CPP_SRCS = $(CPP_SRCS)
- @echo ASM_OBJS_EXT = $(ASM_OBJS_EXT)
@echo C_OBJS_EXT = $(C_OBJS_EXT)
@echo C_DEPS_EXT = $(C_DEPS_EXT)
+ @echo CPP_OBJS_EXT = $(CPP_OBJS_EXT)
@echo CPP_DEPS_EXT = $(CPP_DEPS_EXT)
diff --git a/ports/win32/qp.vcxproj b/ports/win32/qp.vcxproj
index 570c77e9..1b2b2eeb 100644
--- a/ports/win32/qp.vcxproj
+++ b/ports/win32/qp.vcxproj
@@ -168,6 +168,11 @@
true
true
+
+ true
+ false
+ true
+
diff --git a/ports/win32/qp.vcxproj.filters b/ports/win32/qp.vcxproj.filters
index 871f253a..fde169bd 100644
--- a/ports/win32/qp.vcxproj.filters
+++ b/ports/win32/qp.vcxproj.filters
@@ -66,6 +66,9 @@
QS
+
+ QS
+
diff --git a/source/qep_hsm.c b/source/qep_hsm.c
index 15cd3ecb..d48f6ae9 100644
--- a/source/qep_hsm.c
+++ b/source/qep_hsm.c
@@ -4,14 +4,14 @@
* @ingroup qep
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2014-04-17
+* Last updated for version 5.5.0
+* Last updated on 2015-09-04
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -32,8 +32,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -576,8 +576,54 @@ bool QHsm_isIn(QHsm * const me, QStateHandler const state) {
else {
r = QEP_TRIG_(me->temp.fun, QEP_EMPTY_SIG_);
}
- } while (r != (QState)Q_RET_IGNORED); /* QHsm_top state not reached */
+ } while (r != (QState)Q_RET_IGNORED); /* QHsm_top() state not reached */
me->temp.fun = me->state.fun; /* restore the stable state configuration */
return inState; /* return the status */
}
+
+/****************************************************************************/
+/**
+* @description
+* Finds the child state of the given @c parent, such that this child state
+* is an ancestor of the currently active state. The main purpose of this
+* function is to support **shallow history** transitions in state machines
+* derived from QHsm.
+*
+* @param[in] me pointer (see @ref oop)
+* @param[in] parent pointer to the state-handler function
+*
+* @returns the child of a given @c parent state, which is an ancestor of
+* the currently active state
+*
+* @note this function is designed to be called during state transitions,
+* so it does not necessarily start in a stable state configuration.
+* However, the function establishes stable state configuration upon exit.
+*/
+QStateHandler QHsm_childState(QHsm * const me,
+ QStateHandler const parent)
+{
+ QStateHandler child = me->state.fun; /* start with the current state */
+ bool isConfirmed = false; /* start with the child not confirmed */
+ QState r;
+
+ /* establish stable state configuration */
+ me->temp.fun = me->state.fun;
+ do {
+ /* is this the parent of the current child? */
+ if (me->temp.fun == parent) {
+ isConfirmed = true; /* child is confirmed */
+ r = (QState)Q_RET_IGNORED; /* break out of the loop */
+ }
+ else {
+ child = me->temp.fun;
+ r = QEP_TRIG_(me->temp.fun, QEP_EMPTY_SIG_);
+ }
+ } while (r != (QState)Q_RET_IGNORED); /* QHsm_top() state not reached */
+ me->temp.fun = me->state.fun; /* establish stable state configuration */
+
+ /** @post the child must be confirmed */
+ Q_ENSURE_ID(710, isConfirmed != false);
+
+ return child; /* return the child */
+}
diff --git a/source/qep_msm.c b/source/qep_msm.c
index 8c98039b..8378ff1f 100644
--- a/source/qep_msm.c
+++ b/source/qep_msm.c
@@ -4,14 +4,14 @@
* @ingroup qep
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-05-08
+* Last updated for version 5.5.0
+* Last updated on 2015-09-04
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -32,8 +32,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: http://www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -526,3 +526,43 @@ bool QMsm_isInState(QMsm * const me, QMState const * const state) {
}
return inState;
}
+
+/****************************************************************************/
+/**
+* @description
+* Finds the child state of the given @c parent, such that this child state
+* is an ancestor of the currently active state. The main purpose of this
+* function is to support **shallow history** transitions in state machines
+* derived from QMsm.
+*
+* @param[in] me pointer (see @ref oop)
+* @param[in] parent pointer to the state-handler object
+*
+* @returns the child of a given @c parent state, which is an ancestor of
+* the currently active state
+*/
+QMState const *QMsm_childStateObj(QMsm const * const me,
+ QMState const * const parent)
+{
+ QMState const *child = me->state.obj;
+ bool isConfirmed = false; /* start with the child not confirmed */
+ QMState const *s;
+
+ for (s = me->state.obj->superstate;
+ s != (QMState const *)0;
+ s = s->superstate)
+ {
+ if (s == parent) {
+ isConfirmed = true; /* child is confirmed */
+ break;
+ }
+ else {
+ child = s;
+ }
+ }
+
+ /** @post the child must be confirmed */
+ Q_ENSURE_ID(810, isConfirmed != false);
+
+ return child; /* return the child */
+}
diff --git a/source/qf_dyn.c b/source/qf_dyn.c
index 5a5dbbb6..63cb40a8 100644
--- a/source/qf_dyn.c
+++ b/source/qf_dyn.c
@@ -4,8 +4,8 @@
* @ingroup qf
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-04-25
+* Last updated for version 5.5.0
+* Last updated on 2015-08-03
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -248,3 +248,36 @@ void QF_gc(QEvt const * const e) {
}
}
+/****************************************************************************/
+/**
+* @description
+* Creates and returns a new reference to the current event e
+*
+* @param[in] e pointer to the current event
+* @param[in] evtRef the event reference
+*
+* @returns the newly created reference to the event `e`
+*
+* @note The application code should not call this function directly.
+* The only allowed use is thorough the macro Q_NEW_REF().
+*/
+QEvt const *QF_newRef_(QEvt const * const e, QEvt const * const evtRef) {
+ /* the provided event reference must not be in use */
+ Q_REQUIRE_ID(500, evtRef == (QEvt const *)0);
+
+ /* is the current event dynamic? */
+ if (e->poolId_ != (uint8_t)0) {
+ QF_EVT_REF_CTR_INC_(e); /* increments the ref counter */
+ }
+
+ return e;
+}
+
+/****************************************************************************/
+/**
+* @description
+* Obtain the block size of any registered event pools
+*/
+uint_fast16_t QF_poolGetMaxBlockSize(void) {
+ return QF_EPOOL_EVENT_SIZE_(QF_pool_[QF_maxPool_ - (uint_fast8_t)1]);
+}
diff --git a/source/qf_mem.c b/source/qf_mem.c
index d1de802c..66d66bae 100644
--- a/source/qf_mem.c
+++ b/source/qf_mem.c
@@ -4,8 +4,8 @@
* @brief Memory management services
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-04-25
+* Last updated for version 5.5.0
+* Last updated on 2015-08-20
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -77,6 +77,10 @@ Q_DEFINE_THIS_MODULE("qf_mem")
* when interrupts are not allowed yet.
*
* @note Many QF ports use memory pools to implement the event pools.
+*
+* @usage
+* The following example illustrates how to invoke QMPool_init():
+* @include qmp_init.c
*/
void QMPool_init(QMPool * const me, void * const poolSto,
uint_fast32_t poolSize, uint_fast16_t blockSize)
@@ -117,7 +121,7 @@ void QMPool_init(QMPool * const me, void * const poolSto,
while (poolSize >= (uint_fast32_t)blockSize) {
fb->next = &QF_PTR_AT_(fb, nblocks);/*point next link to next block */
fb = fb->next; /* advance to the next block */
- poolSize -= (uint_fast32_t)blockSize; /* reduce the available pool size */
+ poolSize -= (uint_fast32_t)blockSize; /* reduce available pool size */
++me->nTot; /* increment the number of blocks so far */
}
@@ -148,6 +152,10 @@ void QMPool_init(QMPool * const me, void * const poolSto,
* @note This function can be called from any task level or ISR level.
*
* @sa QMPool_get()
+*
+* @usage
+* The following example illustrates how to use QMPool_put():
+* @include qmp_use.c
*/
void QMPool_put(QMPool * const me, void *b) {
QF_CRIT_STAT_
@@ -194,6 +202,10 @@ void QMPool_put(QMPool * const me, void *b) {
* from which it has been allocated.
*
* @sa QMPool_put()
+*
+* @usage
+* The following example illustrates how to use QMPool_get():
+* @include qmp_use.c
*/
void *QMPool_get(QMPool * const me, uint_fast16_t const margin) {
QFreeBlock *fb;
diff --git a/source/qk.c b/source/qk.c
index 1026183e..763af0c7 100644
--- a/source/qk.c
+++ b/source/qk.c
@@ -4,8 +4,8 @@
* @ingroup qk
* @cond
******************************************************************************
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-31
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -279,9 +279,10 @@ void QK_sched_(uint_fast8_t p) {
uint_fast8_t pin = QK_currPrio_; /* save the initial priority */
QMActive *a;
-#ifdef QK_TLS /* thread-local storage used? */
+ /* QS tracing or thread-local storage? */
+#if (defined Q_SPY) || (defined QK_TLS)
uint_fast8_t pprev = pin;
-#endif /* QK_TLS */
+#endif /* Q_SPY || QK_TLS */
/* loop until have ready-to-run AOs of higher priority than the initial */
do {
@@ -290,23 +291,25 @@ void QK_sched_(uint_fast8_t p) {
QK_currPrio_ = p; /* this becomes the current task priority */
-#ifdef QK_TLS /* thread-local storage used? */
- /* changing threads? */
- if (p != pprev) {
- QK_TLS(a); /* switch new thread-local storage */
- pprev = p;
- }
-#endif /* QK_TLS */
-
- QS_BEGIN_NOCRIT_(QS_QK_SCHEDULE, QS_priv_.aoObjFilter, a)
+ QS_BEGIN_NOCRIT_(QS_QVK_SCHEDULE, QS_priv_.aoObjFilter, a)
QS_TIME_(); /* timestamp */
- QS_U8_((uint8_t)p); /* the priority of the AO */
- QS_U8_((uint8_t)pin); /* the preempted priority */
+ QS_2U8_((uint8_t)p, /* priority of the scheduled AO */
+ (uint8_t)pprev); /* previous priority */
QS_END_NOCRIT_()
+ /* QS tracing or thread-local storage? */
+#if (defined Q_SPY) || (defined QK_TLS)
+ if (p != pprev) { /* changing priorities? */
+ pprev = p; /* update previous priority */
+#ifdef QK_TLS /* thread-local storage used? */
+ QK_TLS(a); /* switch new thread-local storage */
+#endif /* QK_TLS */
+ }
+#endif /* Q_SPY || QK_TLS */
+
QF_INT_ENABLE(); /* unconditionally enable interrupts */
- /* perform the run-to-completion (RTS) step...
+ /* perform the run-to-completion (RTC) step...
* 1. retrieve the event from the AO's event queue, which by this
* time must be non-empty and QActive_get_() asserts it.
* 2. dispatch the event to the AO's state machine.
@@ -344,11 +347,26 @@ void QK_sched_(uint_fast8_t p) {
QK_currPrio_ = pin; /* restore the initial priority */
-#ifdef QK_TLS /* thread-local storage used? */
- /* aren't we preempting the idle loop? (only idle loop has prio==0) */
- if (pin != (uint_fast8_t)0) {
+ /* QS tracing or thread-local storage? */
+#if (defined Q_SPY) || (defined QK_TLS)
+ if (pin != (uint_fast8_t)0) { /* resuming an active object? */
a = QF_active_[pin]; /* the pointer to the preempted AO */
+
+#ifdef QK_TLS /* thread-local storage used? */
QK_TLS(a); /* restore the original TLS */
- }
#endif /* QK_TLS */
+
+ QS_BEGIN_NOCRIT_(QS_QK_RESUME, QS_priv_.aoObjFilter, a)
+ QS_TIME_(); /* timestamp */
+ QS_2U8_((uint8_t)pin, /* priority of the resumed AO */
+ (uint8_t)pprev); /* previous priority */
+ QS_END_NOCRIT_()
+ }
+ else { /* resuming priority==0 --> idle */
+ QS_BEGIN_NOCRIT_(QS_QVK_IDLE, (void *)0, (void *)0)
+ QS_TIME_(); /* timestamp */
+ QS_U8_((uint8_t)pprev); /* previous priority */
+ QS_END_NOCRIT_()
+ }
+#endif /* Q_SPY || QK_TLS */
}
diff --git a/source/qs.c b/source/qs.c
index 161d5492..a31584a4 100644
--- a/source/qs.c
+++ b/source/qs.c
@@ -4,8 +4,8 @@
* @ingroup qs
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-04-23
+* Last updated for version 5.5.0
+* Last updated on 2015-08-29
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -43,6 +43,11 @@
Q_DEFINE_THIS_MODULE("qs")
+
+/****************************************************************************/
+extern char_t const Q_ROM Q_BUILD_DATE[12];
+extern char_t const Q_ROM Q_BUILD_TIME[9];
+
/****************************************************************************/
QSPriv QS_priv_; /* QS private data */
@@ -67,23 +72,39 @@ QSPriv QS_priv_; /* QS private data */
* any data loss.
*/
void QS_initBuf(uint8_t sto[], uint_fast16_t stoSize) {
- uint8_t *buf = &sto[0];
-
- /* must be at least 8 bytes */
+ /* the provided buffer must be at least 8 bytes long */
Q_REQUIRE_ID(100, stoSize > (uint_fast16_t)8);
- /* The QS_initBuf() function clears the internal QS variables, so that
- * the tracing can start correctly even if the startup code fails
- * to clear the uninitialized data (as is required by the C Standard).
+ /* This function initializes all the internal QS variables, so that the
+ * tracing can start correctly even if the startup code fails to clear
+ * any uninitialized data (as is required by the C Standard).
*/
- QF_bzero(&QS_priv_, (uint_fast16_t)sizeof(QS_priv_));
- QS_priv_.buf = buf;
- QS_priv_.end = (QSCtr)stoSize;
+ QS_filterOff(QS_ALL_RECORDS); /* disable all maskable filters */
+ QS_priv_.smObjFilter = (void *)0;
+ QS_priv_.aoObjFilter = (void *)0;
+ QS_priv_.mpObjFilter = (void *)0;
+ QS_priv_.eqObjFilter = (void *)0;
+ QS_priv_.teObjFilter = (void *)0;
+ QS_priv_.apObjFilter = (void *)0;
+
+ QS_priv_.buf = &sto[0];
+ QS_priv_.end = (QSCtr)stoSize;
+ QS_priv_.head = (QSCtr)0;
+ QS_priv_.tail = (QSCtr)0;
+ QS_priv_.used = (QSCtr)0;
+ QS_priv_.seq = (uint8_t)0;
+ QS_priv_.chksum = (uint8_t)0;
+ QS_priv_.critNest = (uint_fast8_t)0;
+
+ /* produce an empty record to "flush" the QS trace buffer */
QS_beginRec((uint_fast8_t)QS_EMPTY);
QS_endRec();
- QS_beginRec((uint_fast8_t)QS_QP_RESET);
- QS_endRec();
+
+ /* produce the reset record to inform QSPY of a new session */
+ QS_target_info_((uint8_t)0xFF); /* send Reset and Target info */
+
+ /* wait with flushing after successfull initialization (see QS_INIT()) */
}
/****************************************************************************/
@@ -109,7 +130,7 @@ void QS_filterOn(uint_fast8_t rec) {
QS_priv_.glbFilter[i] = (uint8_t)0xFFU; /* set all bits */
}
/* never turn the last 3 records on (0x7D, 0x7E, 0x7F) */
- QS_priv_.glbFilter[sizeof(QS_priv_.glbFilter) - 1U] = (uint8_t)0x1F;
+ QS_priv_.glbFilter[sizeof(QS_priv_.glbFilter) - 1U] = (uint8_t)0x1FU;
}
else {
/* record numbers can't exceed QS_ESC, so they don't need escaping */
@@ -127,40 +148,29 @@ void QS_filterOn(uint_fast8_t rec) {
* This function should be called indirectly through the macro QS_FILTER_OFF.
*
* @note Filtering records based on the record-type is only the first layer of
-* filtering. The second layer is based on the object-type. Both filter
-* layers must be enabled for the QS record to be inserted into the QS buffer.
+* filtering (global filter). The second layer is based on the object-type
+* (local filter). Both filter layers must be enabled for the QS record to be
+* inserted into the QS buffer.
*/
void QS_filterOff(uint_fast8_t rec) {
+ uint8_t tmp;
+
if (rec == QS_ALL_RECORDS) {
- uint8_t *glbFilter = &QS_priv_.glbFilter[0];
+ /* first clear all global filters */
+ for (tmp = (uint8_t)((uint8_t)sizeof(QS_priv_.glbFilter) - (uint8_t)1);
+ tmp > (uint8_t)0;
+ --tmp)
+ {
+ QS_priv_.glbFilter[tmp] = (uint8_t)0;
+ }
- /* the following unrolled loop is designed to stop collecting trace
- * very fast in order to prevent overwriting the interesting data.
- * The code assumes that the dimension of QS_priv_.glbFilter[] is 16.
- */
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
-
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
-
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
-
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0; QS_PTR_INC_(glbFilter);
- *glbFilter = (uint8_t)0;
+ /* next leave the specific filters enabled */
+ QS_priv_.glbFilter[0] = (uint8_t)0x01;
+ QS_priv_.glbFilter[7] = (uint8_t)0xF0;
+ QS_priv_.glbFilter[8] = (uint8_t)0x3F;
}
else {
- uint8_t tmp;
- /* record numbers can't exceed QS_ESC, so they don't need escaping */
+ /* record IDs can't exceed QS_ESC, so they don't need escaping */
Q_ASSERT_ID(310, rec < (uint_fast8_t)QS_ESC);
tmp = (uint8_t)(1U << (rec & (uint_fast8_t)0x07));
tmp ^= (uint8_t)0xFFU; /* invert all bits */
@@ -232,6 +242,119 @@ void QS_endRec(void) {
}
}
+/****************************************************************************/
+void QS_target_info_(uint8_t isReset) {
+ uint8_t b;
+
+ QS_beginRec((uint_fast8_t)QS_TARGET_INFO);
+ QS_U8_(isReset);
+
+ QS_U16_(QP_VERSION); /* two-byte version number */
+
+ /* send the object sizes... */
+ QS_U8_((uint8_t)Q_SIGNAL_SIZE
+ | (uint8_t)((uint8_t)QF_EVENT_SIZ_SIZE << 4));
+
+#ifdef QF_EQUEUE_CTR_SIZE
+ QS_U8_((uint8_t)QF_EQUEUE_CTR_SIZE
+ | (uint8_t)((uint8_t)QF_TIMEEVT_CTR_SIZE << 4));
+#else
+ QS_U8_((uint8_t)((uint8_t)QF_TIMEEVT_CTR_SIZE << 4));
+#endif /* QF_EQUEUE_CTR_SIZE */
+
+#ifdef QF_MPOOL_CTR_SIZE
+ QS_U8_((uint8_t)QF_MPOOL_SIZ_SIZE
+ | (uint8_t)((uint8_t)QF_MPOOL_CTR_SIZE << 4));
+#else
+ QS_U8_((uint8_t)0);
+#endif /* QF_MPOOL_CTR_SIZE */
+
+ QS_U8_((uint8_t)QS_OBJ_PTR_SIZE
+ | (uint8_t)((uint8_t)QS_FUN_PTR_SIZE << 4));
+ QS_U8_((uint8_t)QS_TIME_SIZE);
+
+ /* send the limits... */
+ QS_U8_((uint8_t)QF_MAX_ACTIVE);
+ QS_U8_((uint8_t)QF_MAX_EPOOL
+ | (uint8_t)((uint8_t)QF_MAX_TICK_RATE << 4));
+
+ /* send the build time in three bytes (sec, min, hour)... */
+ QS_U8_((uint8_t)((uint8_t)10*((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[6])
+ - (uint8_t)'0'))
+ + ((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[7]) - (uint8_t)'0'));
+ QS_U8_((uint8_t)((uint8_t)10*((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[3])
+ - (uint8_t)'0'))
+ + ((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[4]) - (uint8_t)'0'));
+ if ((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[0]) == (uint8_t)' ') {
+ QS_U8_((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[1]) - (uint8_t)'0');
+ }
+ else {
+ QS_U8_((uint8_t)((uint8_t)10*((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[0])
+ - (uint8_t)'0'))
+ + ((uint8_t)Q_ROM_BYTE(Q_BUILD_TIME[1]) - (uint8_t)'0'));
+ }
+
+ /* send the build date in three bytes (day, month, year) ... */
+ if ((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[4]) == (uint8_t)' ') {
+ QS_U8_((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[5]) - (uint8_t)'0');
+ }
+ else {
+ QS_U8_((uint8_t)((uint8_t)10*((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[4])
+ - (uint8_t)'0'))
+ + ((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[5]) - (uint8_t)'0'));
+ }
+ /* convert the 3-letter month to a number 1-12 ... */
+ switch ((int_t)Q_ROM_BYTE(Q_BUILD_DATE[0])
+ + (int_t)Q_ROM_BYTE(Q_BUILD_DATE[1])
+ + (int_t)Q_ROM_BYTE(Q_BUILD_DATE[2]))
+ {
+ case (int_t)'J' + (int_t)'a' + (int_t)'n':
+ b = (uint8_t)1;
+ break;
+ case (int_t)'F' + (int_t)'e' + (int_t)'b':
+ b = (uint8_t)2;
+ break;
+ case (int_t)'M' + (int_t)'a' + (int_t)'r':
+ b = (uint8_t)3;
+ break;
+ case (int_t)'A' + (int_t)'p' + (int_t)'r':
+ b = (uint8_t)4;
+ break;
+ case (int_t)'M' + (int_t)'a' + (int_t)'y':
+ b = (uint8_t)5;
+ break;
+ case (int_t)'J' + (int_t)'u' + (int_t)'n':
+ b = (uint8_t)6;
+ break;
+ case (int_t)'J' + (int_t)'u' + (int_t)'l':
+ b = (uint8_t)7;
+ break;
+ case (int_t)'A' + (int_t)'u' + (int_t)'g':
+ b = (uint8_t)8;
+ break;
+ case (int_t)'S' + (int_t)'e' + (int_t)'p':
+ b = (uint8_t)9;
+ break;
+ case (int_t)'O' + (int_t)'c' + (int_t)'t':
+ b = (uint8_t)10;
+ break;
+ case (int_t)'N' + (int_t)'o' + (int_t)'v':
+ b = (uint8_t)11;
+ break;
+ case (int_t)'D' + (int_t)'e' + (int_t)'c':
+ b = (uint8_t)12;
+ break;
+ default:
+ b = (uint8_t)0;
+ break;
+ }
+ QS_U8_(b); /* store the month */
+ QS_U8_((uint8_t)((uint8_t)10*((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[ 9])
+ - (uint8_t)'0'))
+ + ((uint8_t)Q_ROM_BYTE(Q_BUILD_DATE[10]) - (uint8_t)'0'));
+ QS_endRec();
+}
+
/****************************************************************************/
/**
* @description
@@ -535,9 +658,13 @@ uint8_t const *QS_getBlock(uint16_t *pNbytes) {
/** @note This function is only to be used through macro QS_SIG_DICTIONARY()
*/
void QS_sig_dict(enum_t const sig, void const * const obj,
- char_t const Q_ROM * const name)
+ char_t const Q_ROM *name)
{
QS_CRIT_STAT_
+
+ if (*name == (char_t)'&') {
+ QS_PTR_INC_(name);
+ }
QS_CRIT_ENTRY_();
QS_beginRec((uint_fast8_t)QS_SIG_DICT);
QS_SIG_((QSignal)sig);
@@ -552,9 +679,13 @@ void QS_sig_dict(enum_t const sig, void const * const obj,
/** @note This function is only to be used through macro QS_OBJ_DICTIONARY()
*/
void QS_obj_dict(void const * const obj,
- char_t const Q_ROM * const name)
+ char_t const Q_ROM *name)
{
QS_CRIT_STAT_
+
+ if (*name == (char_t)'&') {
+ QS_PTR_INC_(name);
+ }
QS_CRIT_ENTRY_();
QS_beginRec((uint_fast8_t)QS_OBJ_DICT);
QS_OBJ_(obj);
@@ -568,9 +699,13 @@ void QS_obj_dict(void const * const obj,
/** @note This function is only to be used through macro QS_FUN_DICTIONARY()
*/
void QS_fun_dict(void (* const fun)(void),
- char_t const Q_ROM * const name)
+ char_t const Q_ROM *name)
{
QS_CRIT_STAT_
+
+ if (*name == (char_t)'&') {
+ QS_PTR_INC_(name);
+ }
QS_CRIT_ENTRY_();
QS_beginRec((uint_fast8_t)QS_FUN_DICT);
QS_FUN_(fun);
@@ -587,6 +722,7 @@ void QS_usr_dict(enum_t const rec,
char_t const Q_ROM * const name)
{
QS_CRIT_STAT_
+
QS_CRIT_ENTRY_();
QS_beginRec((uint_fast8_t)QS_USR_DICT);
QS_U8_((uint8_t)rec);
diff --git a/source/qs_pkg.h b/source/qs_pkg.h
index 9c7e6bdd..4a5f68bb 100644
--- a/source/qs_pkg.h
+++ b/source/qs_pkg.h
@@ -4,14 +4,14 @@
* @brief Internal (package scope) QS/C interface.
* @cond
******************************************************************************
-* Last updated for version 5.4.0
-* Last updated on 2015-03-13
+* Last updated for version 5.5.0
+* Last updated on 2015-08-11
*
* Q u a n t u m L e a P s
* ---------------------------
* innovating embedded systems
*
-* Copyright (C) Quantum Leaps, www.state-machine.com.
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
*
* This program is open source software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
@@ -32,8 +32,8 @@
* along with this program. If not, see .
*
* Contact information:
-* Web: www.state-machine.com
-* Email: info@state-machine.com
+* http://www.state-machine.com
+* mailto:info@state-machine.com
******************************************************************************
* @endcond
*/
@@ -85,6 +85,9 @@
/*! Escape character of the QS output protocol */
#define QS_ESC ((uint8_t)0x7D)
+/*! The expected checksum value over an uncorrupted QS record */
+#define QS_GOOD_CHKSUM ((uint8_t)0xFF)
+
/*! Escape modifier of the QS output protocol */
/**
* @description
@@ -113,5 +116,8 @@
#define Q_ROM_BYTE(rom_var_) (rom_var_)
#endif
+/*! send the Target info (object sizes, build time-stamp, QP version) */
+void QS_target_info_(uint8_t isReset);
+
#endif /* qs_pkg_h */
diff --git a/source/qs_rx.c b/source/qs_rx.c
new file mode 100644
index 00000000..3a232cbc
--- /dev/null
+++ b/source/qs_rx.c
@@ -0,0 +1,730 @@
+/**
+* @file
+* @brief QS/C receive channel services
+* @ingroup qs
+* @cond
+******************************************************************************
+* Last updated for version 5.5.0
+* Last updated on 2015-08-28
+*
+* Q u a n t u m L e a P s
+* ---------------------------
+* innovating embedded systems
+*
+* Copyright (C) Quantum Leaps, LLC. All rights reserved.
+*
+* This program is open source software: you can redistribute it and/or
+* modify it under the terms of the GNU General Public License as published
+* by the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* Alternatively, this program may be distributed and modified under the
+* terms of Quantum Leaps commercial licenses, which expressly supersede
+* the GNU General Public License and are specifically designed for
+* licensees interested in retaining the proprietary status of their code.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see .
+*
+* Contact information:
+* http://www.state-machine.com
+* mailto:info@state-machine.com
+******************************************************************************
+* @endcond
+*/
+#include "qs_port.h" /* QS port */
+#include "qs_pkg.h" /* QS package-scope interface */
+#include "qassert.h" /* QP embedded systems-friendly assertions */
+
+Q_DEFINE_THIS_MODULE("qs_rx")
+
+/****************************************************************************/
+QSrxPriv QS_rxPriv_; /* QS-RX private data */
+
+/****************************************************************************/
+#if (QS_OBJ_PTR_SIZE == 1)
+ typedef uint8_t QSAddr;
+#elif (QS_OBJ_PTR_SIZE == 2)
+ typedef uint16_t QSAddr;
+#elif (QS_OBJ_PTR_SIZE == 4)
+ typedef uint32_t QSAddr;
+#elif (QS_OBJ_PTR_SIZE == 8)
+ typedef uint64_t QSAddr;
+#endif
+
+/* extended-state variables used for parsing various QS-RX Records... */
+typedef struct {
+ uint32_t param;
+ uint8_t idx;
+ uint8_t cmdId;
+} CmdVar;
+
+typedef struct {
+ uint8_t rate;
+} TickVar;
+
+typedef struct {
+ QSAddr addr;
+ uint8_t idx;
+ uint8_t len;
+} PeekVar;
+
+typedef struct {
+ uint8_t data[8];
+ QSAddr addr;
+ uint8_t idx;
+ uint8_t len;
+} PokeVar;
+
+typedef struct {
+ uint8_t data[16];
+ uint8_t idx;
+} GFltVar;
+
+typedef struct {
+ QSAddr addr;
+ uint8_t idx;
+ uint8_t fltId;
+} LFltVar;
+
+typedef struct {
+ uint8_t prio;
+} AFltVar;
+
+typedef struct {
+ QEvt *e;
+ uint8_t *p;
+ QSignal sig;
+ uint16_t len;
+ uint8_t prio;
+ uint8_t idx;
+} EvtVar;
+
+static struct {
+ union QSRxExtState {
+ CmdVar cmd;
+ TickVar tick;
+ PeekVar peek;
+ PokeVar poke;
+ GFltVar gFlt;
+ LFltVar lFlt;
+ AFltVar aFlt;
+ EvtVar evt;
+ } var; /* extended-state variables for the current state */
+ uint8_t state;
+ uint8_t esc;
+ uint8_t seq;
+ uint8_t chksum;
+} l_rx;
+
+enum {
+ WAIT4_SEQ,
+ WAIT4_REC,
+ WAIT4_INFO_FRAME,
+ WAIT4_CMD_ID,
+ WAIT4_CMD_PARAM,
+ WAIT4_CMD_FRAME,
+ WAIT4_RESET_FRAME,
+ WAIT4_TICK_RATE,
+ WAIT4_TICK_FRAME,
+ WAIT4_PEEK_ADDR,
+ WAIT4_PEEK_LEN,
+ WAIT4_PEEK_FRAME,
+ WAIT4_POKE_ADDR,
+ WAIT4_POKE_LEN,
+ WAIT4_POKE_DATA,
+ WAIT4_POKE_FRAME,
+ WAIT4_GLB_FILTER_LEN,
+ WAIT4_GLB_FILTER_DATA,
+ WAIT4_GLB_FILTER_FRAME,
+ WAIT4_LOC_FILTER_ID,
+ WAIT4_LOC_FILTER_ADDR,
+ WAIT4_LOC_FILTER_FRAME,
+ WAIT4_AO_FILTER_PRIO,
+ WAIT4_AO_FILTER_FRAME,
+ WAIT4_EVT_PRIO,
+ WAIT4_EVT_SIG,
+ WAIT4_EVT_LEN,
+ WAIT4_EVT_PAR,
+ WAIT4_EVT_FRAME,
+ ERROR
+};
+
+static void QS_rxParseData_(uint8_t b);
+static void QS_rxHandleGoodFrame_(void);
+static void QS_rxHandleBadFrame_(void);
+static void QS_rxReportSuccess_(enum QSpyRxRecords recId);
+static void QS_rxReportError_(uint8_t stateId);
+static bool QS_rxAddr_(uint8_t b, QSAddr *addr, uint8_t *idx);
+
+/*! Internal QS-RX macro to access the QS ring buffer */
+/**
+* @description
+* The QS-RX buffer is allocated by the user and is accessed through the
+* pointer QS_rxPriv_.buf, which violates the MISRA-C 2004 Rule 17.4(req),
+* pointer arithmetic other than array indexing. Encapsulating this violation
+* in a macro allows to selectively suppress this specific deviation.
+*/
+#define QS_RX_AT_(i_) (QS_rxPriv_.buf + (i_))
+
+/*! Internal QS-RX macro to encapsulate transition in the QS-RX FSM */
+#define QS_RX_TRAN_(target_) (l_rx.state = (uint8_t)(target_))
+
+static uint8_t const l_QS_RX = (uint8_t)0; /* QS source ID */
+
+/****************************************************************************/
+/**
+* @description
+* This function should be called from QS_onStartup() to provide QS-RX with
+* the receive data buffer. The first parameter @p sto[] is the address of
+* the memory block, and the second parameter @p stoSize is the size of
+* this block in bytes. The size of the QS RX buffer cannot exceed 64KB.
+*
+* @note QS-RX can work with quite small data buffers, but you will start
+* losing data if the buffer is not drained fast enough in the idle task.
+*
+* @note If the data input rate exceeds the QS-RX processing rate, the data
+* will be lost, but the QS protocol will notice that:
+* (1) that the checksum in the incomplete QS records will fail; and
+* (2) the sequence counter in QS records will show discontinuities.
+*
+* The QS-RX channel will report any data errors by sending the
+* QS_RX_DATA_ERROR trace record.
+*/
+void QS_rxInitBuf(uint8_t sto[], uint16_t stoSize) {
+ static char_t const Q_ROM s_rxObjDic[] = "QS_RX";
+ QS_CRIT_STAT_
+
+ QS_rxPriv_.buf = &sto[0];
+ QS_rxPriv_.end = (QSCtr)stoSize - (QSCtr)1;
+ QS_rxPriv_.head = (QSCtr)0;
+ QS_rxPriv_.tail = (QSCtr)0;
+
+ QS_RX_TRAN_(WAIT4_SEQ);
+ l_rx.esc = (uint8_t)0U;
+ l_rx.seq = (uint8_t)0;
+ l_rx.chksum = (uint8_t)0;
+
+ QS_CRIT_ENTRY_();
+ QS_beginRec((uint_fast8_t)QS_OBJ_DICT);
+ QS_OBJ_(&l_QS_RX);
+ QS_STR_ROM_(s_rxObjDic);
+ QS_endRec();
+ QS_CRIT_EXIT_();
+}
+
+/****************************************************************************/
+/**
+* @description
+* This function is intended to be called from the ISR that reads the QS-RX
+* bytes from the QSPY host application. The function returns the conservative
+* number of free bytes currently available in the buffer, assuming that
+* the head pointer is not being moved concurrently. The tail pointer might
+* be moving, meaning that bytes can be concurrently removed from the buffer.
+*/
+uint16_t QS_rxGetNfree(void) {
+ uint16_t nFree;
+ if (QS_rxPriv_.head == QS_rxPriv_.tail) {
+ nFree = (uint16_t)QS_rxPriv_.end;
+ }
+ else if (QS_rxPriv_.head < QS_rxPriv_.tail) {
+ nFree = (uint16_t)(QS_rxPriv_.tail - QS_rxPriv_.head);
+ }
+ else {
+ nFree = (uint16_t)((QS_rxPriv_.tail + QS_rxPriv_.end)
+ - QS_rxPriv_.head);
+ }
+ return nFree;
+}
+
+/****************************************************************************/
+void QS_rxParse(void) {
+ while (QS_rxPriv_.head != QS_rxPriv_.tail) { /* QS-RX buffer not empty? */
+ uint8_t b = *QS_RX_AT_(QS_rxPriv_.tail);
+
+ if (QS_rxPriv_.tail != (QSCtr)0) {
+ --QS_rxPriv_.tail;
+ }
+ else {
+ QS_rxPriv_.tail = QS_rxPriv_.end;
+ }
+
+ if (l_rx.esc) { /* escaped byte arrived? */
+ l_rx.esc = (uint8_t)0;
+ b ^= QS_ESC_XOR;
+
+ l_rx.chksum += b;
+ QS_rxParseData_(b);
+ }
+ else if (b == QS_ESC) {
+ l_rx.esc = (uint8_t)1;
+ }
+ else if (b == QS_FRAME) {
+ if (l_rx.chksum == QS_GOOD_CHKSUM) {
+ QS_rxHandleGoodFrame_();
+ }
+ else { /* bad checksum */
+ QS_rxReportError_((uint8_t)0x00);
+ QS_rxHandleBadFrame_();
+ }
+
+ /* get ready for the next frame */
+ l_rx.esc = (uint8_t)0;
+ l_rx.chksum = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_SEQ);
+ }
+ else {
+ l_rx.chksum += b;
+ QS_rxParseData_(b);
+ }
+ }
+}
+
+/****************************************************************************/
+static void QS_rxParseData_(uint8_t b) {
+ switch (l_rx.state) {
+ case WAIT4_SEQ: {
+ ++l_rx.seq;
+ if (l_rx.seq != b) { /* not the expected sequence? */
+ QS_rxReportError_((uint8_t)(1U << 5));
+ l_rx.seq = b; /* update the sequence */
+ }
+ QS_RX_TRAN_(WAIT4_REC);
+ break;
+ }
+ case WAIT4_REC: {
+ switch (b) {
+ case QS_RX_INFO:
+ QS_RX_TRAN_(WAIT4_INFO_FRAME);
+ break;
+ case QS_RX_COMMAND:
+ QS_RX_TRAN_(WAIT4_CMD_ID);
+ break;
+ case QS_RX_RESET:
+ QS_RX_TRAN_(WAIT4_RESET_FRAME);
+ break;
+ case QS_RX_TICK:
+ QS_RX_TRAN_(WAIT4_TICK_RATE);
+ break;
+ case QS_RX_PEEK:
+ l_rx.var.peek.addr = (QSAddr)0;
+ l_rx.var.peek.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_PEEK_ADDR);
+ break;
+ case QS_RX_POKE:
+ l_rx.var.poke.addr = (QSAddr)0;
+ l_rx.var.poke.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_POKE_ADDR);
+ break;
+ case QS_RX_GLB_FILTER:
+ QS_RX_TRAN_(WAIT4_GLB_FILTER_LEN);
+ break;
+ case QS_RX_LOC_FILTER:
+ QS_RX_TRAN_(WAIT4_LOC_FILTER_ID);
+ break;
+ case QS_RX_AO_FILTER:
+ QS_RX_TRAN_(WAIT4_AO_FILTER_PRIO);
+ break;
+ case QS_RX_EVENT:
+ QS_RX_TRAN_(WAIT4_EVT_PRIO);
+ break;
+ default:
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ break;
+ }
+ break;
+ }
+ case WAIT4_INFO_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_CMD_ID: {
+ l_rx.var.cmd.cmdId = b;
+ l_rx.var.cmd.idx = (uint8_t)0;
+ l_rx.var.cmd.param = (uint32_t)0;
+ QS_RX_TRAN_(WAIT4_CMD_PARAM);
+ break;
+ }
+ case WAIT4_CMD_PARAM: {
+ l_rx.var.cmd.param |= ((uint32_t)b << l_rx.var.cmd.idx);
+ l_rx.var.cmd.idx += (uint8_t)8;
+ if (l_rx.var.cmd.idx == (uint8_t)(8*4)) {
+ QS_RX_TRAN_(WAIT4_CMD_FRAME);
+ }
+ break;
+ }
+ case WAIT4_CMD_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_RESET_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_TICK_RATE: {
+ l_rx.var.tick.rate = b;
+ QS_RX_TRAN_(WAIT4_TICK_FRAME);
+ break;
+ }
+ case WAIT4_TICK_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_PEEK_ADDR: {
+ if (QS_rxAddr_(b, &l_rx.var.peek.addr, &l_rx.var.peek.idx)) {
+ QS_RX_TRAN_(WAIT4_PEEK_LEN);
+ }
+ break;
+ }
+ case WAIT4_PEEK_LEN: {
+ l_rx.var.peek.len = b;
+ QS_RX_TRAN_(WAIT4_PEEK_FRAME);
+ break;
+ }
+ case WAIT4_PEEK_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_POKE_ADDR: {
+ if (QS_rxAddr_(b, &l_rx.var.poke.addr, &l_rx.var.poke.idx)) {
+ QS_RX_TRAN_(WAIT4_POKE_LEN);
+ }
+ break;
+ }
+ case WAIT4_POKE_LEN: {
+ if (b <= (uint8_t)sizeof(l_rx.var.poke.data)) {
+ l_rx.var.poke.len = b;
+ l_rx.var.poke.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_POKE_DATA);
+ }
+ else {
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ }
+ break;
+ }
+ case WAIT4_POKE_DATA: {
+ l_rx.var.poke.data[l_rx.var.poke.idx] = b;
+ ++l_rx.var.poke.idx;
+ if (l_rx.var.poke.idx == l_rx.var.poke.len) {
+ QS_RX_TRAN_(WAIT4_POKE_FRAME);
+ }
+ break;
+ }
+ case WAIT4_POKE_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_GLB_FILTER_LEN: {
+ if (b == (uint8_t)sizeof(l_rx.var.gFlt.data)) {
+ l_rx.var.gFlt.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_GLB_FILTER_DATA);
+ }
+ else {
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ }
+ break;
+ }
+ case WAIT4_GLB_FILTER_DATA: {
+ l_rx.var.gFlt.data[l_rx.var.gFlt.idx] = b;
+ ++l_rx.var.gFlt.idx;
+ if (l_rx.var.gFlt.idx == (uint8_t)sizeof(l_rx.var.gFlt.data)) {
+ QS_RX_TRAN_(WAIT4_GLB_FILTER_FRAME);
+ }
+ break;
+ }
+ case WAIT4_GLB_FILTER_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_LOC_FILTER_ID: {
+ if (b < (uint8_t)6) {
+ l_rx.var.lFlt.fltId = b;
+ l_rx.var.lFlt.addr = (QSAddr)0;
+ l_rx.var.lFlt.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_LOC_FILTER_ADDR);
+ }
+ else {
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ }
+ break;
+ }
+ case WAIT4_LOC_FILTER_ADDR: {
+ if (QS_rxAddr_(b, &l_rx.var.lFlt.addr, &l_rx.var.lFlt.idx)) {
+ QS_RX_TRAN_(WAIT4_LOC_FILTER_FRAME);
+ }
+ break;
+ }
+ case WAIT4_LOC_FILTER_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_AO_FILTER_PRIO: {
+ l_rx.var.aFlt.prio = b;
+ QS_RX_TRAN_(WAIT4_AO_FILTER_FRAME);
+ break;
+ }
+ case WAIT4_AO_FILTER_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case WAIT4_EVT_PRIO: {
+ l_rx.var.evt.prio = b;
+ l_rx.var.evt.sig = (QSignal)0;
+ l_rx.var.evt.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_EVT_SIG);
+ break;
+ }
+ case WAIT4_EVT_SIG: {
+ l_rx.var.evt.sig |= (QSignal)((uint32_t)b << l_rx.var.evt.idx);
+ l_rx.var.evt.idx += (uint8_t)8;
+ if (l_rx.var.evt.idx == (uint8_t)(8*Q_SIGNAL_SIZE)) {
+ l_rx.var.evt.len = (uint16_t)0;
+ l_rx.var.evt.idx = (uint8_t)0;
+ QS_RX_TRAN_(WAIT4_EVT_LEN);
+ }
+ break;
+ }
+ case WAIT4_EVT_LEN: {
+ l_rx.var.evt.len |= (uint16_t)((uint32_t)b << l_rx.var.evt.idx);
+ l_rx.var.evt.idx += (uint8_t)8;
+ if (l_rx.var.evt.idx == (uint8_t)(8*2)) {
+ if ((l_rx.var.evt.len + (uint16_t)sizeof(QEvt)) <=
+ (uint16_t)QF_poolGetMaxBlockSize())
+ {
+ l_rx.var.evt.e = QF_newX_(
+ ((uint_fast16_t)l_rx.var.evt.len
+ + (uint_fast16_t)sizeof(QEvt)),
+ (uint_fast16_t)1, /* margin */
+ (enum_t)l_rx.var.evt.sig);
+ if (l_rx.var.evt.e != (QEvt *)0) { /* event allocated? */
+ l_rx.var.evt.p = (uint8_t *)l_rx.var.evt.e;
+ l_rx.var.evt.p += sizeof(QEvt);
+ if (l_rx.var.evt.len > (uint16_t)0) {
+ QS_RX_TRAN_(WAIT4_EVT_PAR);
+ }
+ else {
+ QS_RX_TRAN_(WAIT4_EVT_FRAME);
+ }
+ }
+ else {
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ }
+ }
+ else {
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ }
+ }
+ break;
+ }
+ case WAIT4_EVT_PAR: { /* event parameters */
+ *l_rx.var.evt.p++ = b;
+ --l_rx.var.evt.len;
+ if (l_rx.var.evt.len == (uint16_t)0) {
+ QS_RX_TRAN_(WAIT4_EVT_FRAME);
+ }
+ break;
+ }
+ case WAIT4_EVT_FRAME: {
+ /* keep ignoring the data until a frame is collected */
+ break;
+ }
+ case ERROR: {
+ /* keep ignoring the data until a good frame is collected */
+ break;
+ }
+ default: { /* unexpected or unimplemented state */
+ QS_rxReportError_((uint8_t)(1U << 5));
+ QS_RX_TRAN_(ERROR);
+ break;
+ }
+ }
+}
+
+/****************************************************************************/
+static void QS_rxHandleGoodFrame_(void) {
+ QS_CRIT_STAT_
+ uint8_t i;
+ uint8_t *buf;
+
+ switch (l_rx.state) {
+ case WAIT4_INFO_FRAME: {
+ /* no need to report success, because a QS record is produced */
+ QS_CRIT_ENTRY_();
+ QS_target_info_((uint8_t)0x00); /* send only Target info */
+ QS_CRIT_EXIT_();
+ break;
+ }
+ case WAIT4_RESET_FRAME: {
+ /* no need to report success, because the target resets */
+ QS_onReset(); /* reset the Target */
+ break;
+ }
+ case WAIT4_CMD_FRAME: {
+ QS_rxReportSuccess_(QS_RX_COMMAND);
+ QS_onCommand(l_rx.var.cmd.cmdId, l_rx.var.cmd.param);
+ break;
+ }
+ case WAIT4_TICK_FRAME: {
+ QS_rxReportSuccess_(QS_RX_TICK);
+ QF_TICK_X((uint_fast8_t)l_rx.var.tick.rate, &l_QS_RX);
+ break;
+ }
+ case WAIT4_PEEK_FRAME: {
+ /* no need to report success, because a QS record is produced */
+ QS_BEGIN_(QS_PEEK_DATA, (void *)0, (void *)0)
+ QS_TIME_(); /* timestamp */
+ QS_OBJ_(l_rx.var.peek.addr); /* address */
+ QS_U8_(l_rx.var.peek.len); /* data length */
+ buf = (uint8_t *)l_rx.var.peek.addr;
+ for (i = (uint8_t)0; i < l_rx.var.peek.len; ++i) {
+ QS_U8_(*QS_PTR_AT_(i)); /* data bytes */
+ }
+ QS_END_()
+ break;
+ }
+ case WAIT4_POKE_FRAME: {
+ QS_rxReportSuccess_(QS_RX_POKE);
+ buf = (uint8_t *)l_rx.var.poke.addr;
+ QS_CRIT_ENTRY_(); /* poke the data within a critical section */
+ for (i = (uint8_t)0; i < l_rx.var.poke.len; ++i) {
+ *QS_PTR_AT_(i) = l_rx.var.poke.data[i];
+ }
+ QS_CRIT_EXIT_();
+ break;
+ }
+ case WAIT4_GLB_FILTER_FRAME: {
+ QS_rxReportSuccess_(QS_RX_GLB_FILTER);
+
+ /* never disable the non-maskable records */
+ l_rx.var.gFlt.data[0] |= (uint8_t)0x01;
+ l_rx.var.gFlt.data[7] |= (uint8_t)0xF0;
+ l_rx.var.gFlt.data[8] |= (uint8_t)0x3F;
+
+ /* never turn the last 3 records on (0x7D, 0x7E, 0x7F) */
+ l_rx.var.gFlt.data[15] &= (uint8_t)0xE0;
+
+ for (i=(uint8_t)0; i < (uint8_t)sizeof(QS_priv_.glbFilter); ++i) {
+ QS_priv_.glbFilter[i] = l_rx.var.gFlt.data[i];
+ }
+ break;
+ }
+ case WAIT4_LOC_FILTER_FRAME: {
+ i = (uint8_t)1;
+ switch (l_rx.var.lFlt.fltId) {
+ case 0:
+ QS_priv_.smObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ case 1:
+ QS_priv_.aoObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ case 2:
+ QS_priv_.mpObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ case 3:
+ QS_priv_.eqObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ case 4:
+ QS_priv_.teObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ case 5:
+ QS_priv_.apObjFilter = (void *)l_rx.var.lFlt.addr;
+ break;
+ default:
+ QS_rxReportError_((uint8_t)(2U << 5));
+ i = (uint8_t)0;
+ break;
+ }
+ if (i != (uint8_t)0) {
+ QS_rxReportSuccess_(QS_RX_LOC_FILTER);
+ }
+ break;
+ }
+ case WAIT4_AO_FILTER_FRAME: {
+ if (l_rx.var.aFlt.prio <= (uint8_t)QF_MAX_ACTIVE) {
+ QS_rxReportSuccess_(QS_RX_AO_FILTER);
+ QS_priv_.aoObjFilter = QF_active_[l_rx.var.aFlt.prio];
+ QS_priv_.smObjFilter = QF_active_[l_rx.var.aFlt.prio];
+ }
+ else {
+ QS_rxReportError_((uint8_t)(2U << 5));
+ }
+ break;
+ }
+ case WAIT4_EVT_FRAME: {
+ if (l_rx.var.evt.prio == (uint8_t)0) {
+ QS_rxReportSuccess_(QS_RX_EVENT);
+ QF_PUBLISH(l_rx.var.evt.e, &l_QS_RX);
+ }
+ else if (l_rx.var.evt.prio < (uint8_t)QF_MAX_ACTIVE) {
+ QS_rxReportSuccess_(QS_RX_EVENT);
+ (void)QACTIVE_POST_X(QF_active_[l_rx.var.evt.prio],
+ l_rx.var.evt.e,
+ (uint_fast16_t)1, /* margin */
+ &l_QS_RX);
+ }
+ else {
+ QS_rxReportError_((uint8_t)(2U << 5));
+ QF_gc(l_rx.var.evt.e);
+ }
+ break;
+ }
+ case ERROR: {
+ /* keep ignoring all bytes until new frame */
+ break;
+ }
+ default: {
+ QS_rxReportError_((uint8_t)(2U << 5));
+ break;
+ }
+ }
+}
+
+/****************************************************************************/
+static void QS_rxHandleBadFrame_(void) {
+ switch (l_rx.state) {
+ case WAIT4_EVT_FRAME: {
+ Q_ASSERT_ID(910, l_rx.var.evt.e != (QEvt *)0);
+ QF_gc(l_rx.var.evt.e);
+ break;
+ }
+ default: {
+ break;
+ }
+ }
+}
+
+/****************************************************************************/
+static void QS_rxReportSuccess_(enum QSpyRxRecords recId) {
+ QS_CRIT_STAT_
+ QS_BEGIN_(QS_RX_STATUS, (void *)0, (void *)0)
+ QS_TIME_(); /* timestamp */
+ QS_U8_(recId); /* record ID */
+ QS_END_()
+}
+
+/****************************************************************************/
+static void QS_rxReportError_(uint8_t stateId) {
+ QS_CRIT_STAT_
+ QS_BEGIN_(QS_RX_STATUS, (void *)0, (void *)0)
+ QS_TIME_(); /* timestamp */
+ QS_U8_((uint8_t)0x80 | stateId | l_rx.state); /* error number */
+ QS_END_()
+}
+
+/****************************************************************************/
+static bool QS_rxAddr_(uint8_t b, QSAddr *addr, uint8_t *idx) {
+ *addr |= ((uint32_t)b << *idx);
+ *idx += (uint8_t)8;
+ return (*idx == (uint8_t)(8*QS_OBJ_PTR_SIZE)) ? true : false;
+}
diff --git a/source/qv.c b/source/qv.c
index 2978a20a..d7e14245 100644
--- a/source/qv.c
+++ b/source/qv.c
@@ -5,8 +5,8 @@
* @ingroup qv
* @cond
******************************************************************************
-* Last updated for version 5.4.2
-* Last updated on 2015-06-03
+* Last updated for version 5.5.0
+* Last updated on 2015-08-31
*
* Q u a n t u m L e a P s
* ---------------------------
@@ -121,6 +121,9 @@ void QF_stop(void) {
* for the given application. All QF ports must implement QF_run().
*/
int_t QF_run(void) {
+#ifdef Q_SPY
+ uint_fast8_t pprev = (uint_fast8_t)0; /* previously used priority */
+#endif
QF_onStartup(); /* application-specific startup callback */
@@ -141,9 +144,20 @@ int_t QF_run(void) {
QPSet64_findMax(&QV_readySet_, p);
#endif
a = QF_active_[p];
+
+#ifdef Q_SPY
+ QS_BEGIN_NOCRIT_(QS_QVK_SCHEDULE, QS_priv_.aoObjFilter, a)
+ QS_TIME_(); /* timestamp */
+ QS_2U8_((uint8_t)p, /* priority of the scheduled AO */
+ (uint8_t)pprev); /* previous priority */
+ QS_END_NOCRIT_()
+
+ pprev = p; /* update previous priority */
+#endif /* Q_SPY */
+
QF_INT_ENABLE();
- /* perform the run-to-completion (RTS) step...
+ /* perform the run-to-completion (RTC) step...
* 1. retrieve the event from the AO's event queue, which by this
* time must be non-empty and The "Vanialla" kernel asserts it.
* 2. dispatch the event to the AO's state machine.
@@ -153,7 +167,18 @@ int_t QF_run(void) {
QMSM_DISPATCH(&a->super, e);
QF_gc(e);
}
- else {
+ else { /* no AO ready to run --> idle */
+#ifdef Q_SPY
+ if (pprev != (uint_fast8_t)0) {
+ QS_BEGIN_NOCRIT_(QS_QVK_IDLE, (void *)0, (void *)0)
+ QS_TIME_(); /* timestamp */
+ QS_U8_((uint8_t)pprev); /* previous priority */
+ QS_END_NOCRIT_()
+
+ pprev = (uint_fast8_t)0; /* update previous priority */
+ }
+#endif /* Q_SPY */
+
/* QV_onIdle() must be called with interrupts DISABLED because
* the determination of the idle condition (no events in the
* queues) can change at any time by an interrupt posting events
diff --git a/version-5.4.2 b/version-5.4.2
deleted file mode 100644
index f2233096..00000000
--- a/version-5.4.2
+++ /dev/null
@@ -1,2 +0,0 @@
-QP/C 5.4.2
-2015-06-03
diff --git a/version-5.5.0 b/version-5.5.0
new file mode 100644
index 00000000..d38566d8
--- /dev/null
+++ b/version-5.5.0
@@ -0,0 +1,2 @@
+QP/C 5.5.0
+2015-09-04