From 6c01385ebadee5dec21c9bf76d6845ae38074faa Mon Sep 17 00:00:00 2001
From: MMS
Date: Tue, 30 Jan 2024 20:48:12 -0500
Subject: [PATCH] 7.3.3
codespell, examples
---
3rd_party | 2 +-
LICENSES/LicenseRef-QL-commercial.txt | 18 +-
LICENSES/QP-RasPi_GPL_Exception.txt | 2 +-
README.md | 4 +-
examples/arm-cm/README.md | 4 +-
.../arm-cm/blinky_ek-tm4c123gxl/README.md | 4 +-
examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c | 2 +-
.../blinky_ek-tm4c123gxl/qk/gnu/.ccsproject | 17 -
.../blinky_ek-tm4c123gxl/qk/gnu/.cproject | 277 ----------
.../blinky_ek-tm4c123gxl/qk/gnu/.project | 114 ----
.../blinky_ek-tm4c123gxl/qk/gnu/Makefile | 4 +-
.../blinky_ek-tm4c123gxl/qk/gnu/README.txt | 2 +-
examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c | 2 +-
.../blinky_ek-tm4c123gxl/qv/gnu/.ccsproject | 17 -
.../blinky_ek-tm4c123gxl/qv/gnu/.cproject | 277 ----------
.../blinky_ek-tm4c123gxl/qv/gnu/.project | 114 ----
.../blinky_ek-tm4c123gxl/qv/gnu/Makefile | 4 +-
.../blinky_ek-tm4c123gxl/qv/gnu/README.txt | 2 +-
.../arm-cm/blinky_nucleo-c031c6/README.md | 80 +++
.../blinky_nucleo-c031c6/qk/gnu/Makefile | 4 +-
.../blinky_nucleo-c031c6/qk/gnu/README.txt | 2 +-
.../blinky_nucleo-c031c6/qv/gnu/Makefile | 4 +-
.../blinky_nucleo-c031c6/qv/gnu/README.txt | 92 ++++
.../arm-cm/dpp_efm32-slstk3401a/README.md | 2 +-
examples/arm-cm/dpp_efm32-slstk3401a/dpp.qm | 2 +-
examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.c | 2 +-
.../dpp_efm32-slstk3401a/qk/gnu/Makefile | 4 +-
.../dpp_efm32-slstk3401a/qk/gnu/README.txt | 2 +-
examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.c | 2 +-
.../dpp_efm32-slstk3401a/qv/gnu/Makefile | 4 +-
.../dpp_efm32-slstk3401a/qv/gnu/README.txt | 2 +-
.../arm-cm/dpp_efm32-slstk3401a/qxk/bsp.c | 2 +-
.../dpp_efm32-slstk3401a/qxk/gnu/Makefile | 4 +-
.../dpp_efm32-slstk3401a/qxk/gnu/README.txt | 2 +-
examples/arm-cm/dpp_ek-tm4c123gxl/README.md | 2 +-
examples/arm-cm/dpp_ek-tm4c123gxl/dpp.qm | 2 +-
.../dpp_ek-tm4c123gxl/lint-plus/README.txt | 2 +-
.../dpp_ek-tm4c123gxl/qk/gnu/.ccsproject | 10 -
.../arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.cproject | 316 ++++++-----
.../arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.project | 16 +-
.../arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile | 26 +-
.../dpp_ek-tm4c123gxl/qk/gnu/README.txt | 16 +-
examples/arm-cm/dpp_ek-tm4c123gxl/qp_config.h | 2 +-
.../dpp_ek-tm4c123gxl/qv/gnu/.ccsproject | 10 -
.../arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.cproject | 395 +++++++-------
.../arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.project | 30 +-
.../arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile | 4 +-
.../dpp_ek-tm4c123gxl/qv/gnu/README.txt | 16 +-
.../dpp_ek-tm4c123gxl/qxk/gnu/.ccsproject | 10 -
.../dpp_ek-tm4c123gxl/qxk/gnu/.cproject | 320 ++++++-----
.../arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.project | 25 +-
.../arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile | 4 +-
.../dpp_ek-tm4c123gxl/qxk/gnu/Makefile-UNSAFE | 4 +-
.../dpp_ek-tm4c123gxl/qxk/gnu/README.txt | 16 +-
.../arm-cm/dpp_ek-tm4c123gxl_mpu/dpp_mpu.qm | 2 +-
.../dpp_ek-tm4c123gxl_mpu/qk/gnu/Makefile | 4 +-
.../dpp_ek-tm4c123gxl_mpu/qv/gnu/Makefile | 4 +-
.../dpp_ek-tm4c123gxl_mpu/qxk/gnu/Makefile | 4 +-
examples/arm-cm/dpp_mbed-lpc1768/dpp.qm | 2 +-
examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c | 4 +-
.../arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile | 4 +-
examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c | 2 +-
.../arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile | 4 +-
examples/arm-cm/dpp_mbed-lpc1768/qxk/bsp.c | 2 +-
.../arm-cm/dpp_mbed-lpc1768/qxk/gnu/Makefile | 4 +-
examples/arm-cm/dpp_nucleo-c031c6/dpp.qm | 2 +-
.../dpp_nucleo-c031c6/qk/armclang/README.txt | 2 +-
examples/arm-cm/dpp_nucleo-c031c6/qk/bsp.c | 26 +-
.../arm-cm/dpp_nucleo-c031c6/qk/gnu/Makefile | 4 +-
.../dpp_nucleo-c031c6/qk/gnu/README.txt | 2 +-
examples/arm-cm/dpp_nucleo-c031c6/qv/bsp.c | 13 +-
.../dpp_nucleo-c031c6/qv/gnu-pack/Makefile | 4 +-
.../qv/gnu-pack/RTE/RTEF/qp_config.h | 2 +-
...ig.h.base@7.3.0 => qp_config.h.base@7.3.2} | 0
.../qv/gnu-pack/RTE/_dpp-dbg/RTE_Components.h | 6 +
.../qv/gnu-pack/RTE/_dpp-rel/RTE_Components.h | 21 -
.../qv/gnu-pack/RTE/_dpp-spy/RTE_Components.h | 21 -
.../qv/gnu-pack/dpp-qv.uvoptx | 2 +-
.../qv/gnu-pack/dpp-qv.uvprojx | 22 +-
.../arm-cm/dpp_nucleo-c031c6/qv/gnu/Makefile | 4 +-
.../qxk/arm-pack/RTE/RTEF/qp_config.h | 22 +-
...ig.h.base@7.3.0 => qp_config.h.base@7.3.2} | 14 +-
.../arm-pack/RTE/_dpp-dbg/RTE_Components.h | 6 +-
.../arm-pack/RTE/_dpp-rel/RTE_Components.h | 6 +-
.../arm-pack/RTE/_dpp-spy/RTE_Components.h | 8 +-
.../qxk/arm-pack/dpp-qxk.uvoptx | 4 +-
.../qxk/arm-pack/dpp-qxk.uvprojx | 28 +-
examples/arm-cm/dpp_nucleo-c031c6/qxk/bsp.c | 55 +-
.../arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-c031c6/qxk/gnu/README.txt | 2 +-
.../arm-cm/dpp_nucleo-c031c6_mpu/dpp_mpu.qm | 2 +-
.../qk/armclang/README.txt | 2 +-
.../arm-cm/dpp_nucleo-c031c6_mpu/qk/bsp.c | 2 +-
.../dpp_nucleo-c031c6_mpu/qk/gnu/Makefile | 4 +-
.../arm-cm/dpp_nucleo-c031c6_mpu/qv/bsp.c | 2 +-
.../dpp_nucleo-c031c6_mpu/qv/gnu/Makefile | 4 +-
.../qxk/armclang/dpp-qxk.uvoptx | 4 +-
.../qxk/armclang/dpp-qxk.uvprojx | 4 +-
.../arm-cm/dpp_nucleo-c031c6_mpu/qxk/bsp.c | 2 +-
.../dpp_nucleo-c031c6_mpu/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-c031c6_mpu/qxk/gnu/README.txt | 2 +-
examples/arm-cm/dpp_nucleo-h743zi/dpp.qm | 2 +-
examples/arm-cm/dpp_nucleo-h743zi/qk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-h743zi/qk/gnu/Makefile | 4 +-
.../dpp_nucleo-h743zi/qk/gnu/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-h743zi/qv/bsp.c | 4 +-
.../arm-cm/dpp_nucleo-h743zi/qv/gnu/Makefile | 4 +-
.../dpp_nucleo-h743zi/qv/gnu/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-h743zi/qxk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-h743zi/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-h743zi/qxk/gnu/README.txt | 4 +-
.../dpp_nucleo-h743zi/stm32h7xx_hal_msp.c | 8 +-
examples/arm-cm/dpp_nucleo-l053r8/dpp.qm | 2 +-
.../dpp_nucleo-l053r8/qk/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile | 4 +-
.../dpp_nucleo-l053r8/qk/gnu/README.txt | 4 +-
.../dpp_nucleo-l053r8/qv/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile | 4 +-
.../dpp_nucleo-l053r8/qv/gnu/README.txt | 4 +-
.../dpp_nucleo-l053r8/qxk/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l053r8/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-l053r8/qxk/gnu/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l152re/dpp.qm | 2 +-
.../dpp_nucleo-l152re/qk/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile | 4 +-
.../dpp_nucleo-l152re/qk/gnu/README.txt | 4 +-
.../dpp_nucleo-l152re/qv/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile | 4 +-
.../dpp_nucleo-l152re/qv/gnu/README.txt | 4 +-
.../dpp_nucleo-l152re/qxk/armclang/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l152re/qxk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l152re/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-l152re/qxk/gnu/README.txt | 4 +-
examples/arm-cm/dpp_nucleo-l552ze/dpp.qm | 2 +-
examples/arm-cm/dpp_nucleo-l552ze/qk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l552ze/qk/gnu/Makefile | 4 +-
examples/arm-cm/dpp_nucleo-l552ze/qv/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l552ze/qv/gnu/Makefile | 4 +-
examples/arm-cm/dpp_nucleo-l552ze/qxk/bsp.c | 2 +-
.../arm-cm/dpp_nucleo-l552ze/qxk/gnu/Makefile | 4 +-
.../dpp_nucleo-l552ze/stm32l5xx_hal_msp.c | 6 +-
examples/arm-cm/dpp_stm32f4-discovery/dpp.qm | 2 +-
.../qk/armclang/README.txt | 2 +-
.../arm-cm/dpp_stm32f4-discovery/qk/bsp.c | 2 +-
.../dpp_stm32f4-discovery/qk/gnu/Makefile | 4 +-
.../dpp_stm32f4-discovery/qk/gnu/README.txt | 2 +-
.../dpp_stm32f4-discovery/qk/gnu/flash.bat | 2 +-
.../qv/armclang/README.txt | 2 +-
.../arm-cm/dpp_stm32f4-discovery/qv/bsp.c | 2 +-
.../dpp_stm32f4-discovery/qv/gnu/Makefile | 4 +-
.../dpp_stm32f4-discovery/qv/gnu/README.txt | 2 +-
.../dpp_stm32f4-discovery/qv/gnu/flash.bat | 2 +-
.../qxk/armclang/README.txt | 2 +-
.../arm-cm/dpp_stm32f4-discovery/qxk/bsp.c | 2 +-
.../dpp_stm32f4-discovery/qxk/gnu/Makefile | 4 +-
.../dpp_stm32f4-discovery/qxk/gnu/README.txt | 2 +-
.../dpp_stm32f4-discovery/qxk/gnu/flash.bat | 2 +-
.../arm-cm/game_efm32-slstk3401a/README.md | 4 +-
examples/arm-cm/game_efm32-slstk3401a/game.qm | 10 +-
examples/arm-cm/game_efm32-slstk3401a/mine1.c | 2 +-
examples/arm-cm/game_efm32-slstk3401a/mine2.c | 2 +-
.../arm-cm/game_efm32-slstk3401a/qk/bsp.c | 36 +-
.../game_efm32-slstk3401a/qk/gnu/Makefile | 4 +-
.../game_efm32-slstk3401a/qk/gnu/README.txt | 2 +-
.../arm-cm/game_efm32-slstk3401a/qv/bsp.c | 36 +-
.../game_efm32-slstk3401a/qv/gnu/Makefile | 4 +-
.../game_efm32-slstk3401a/qv/gnu/README.txt | 2 +-
examples/arm-cm/game_efm32-slstk3401a/ship.c | 4 +-
.../arm-cm/game_efm32-slstk3401a/tunnel.c | 2 +-
.../low-power_ek-tm4c123gxl/qk/gnu/Makefile | 4 +-
.../low-power_ek-tm4c123gxl/qk/gnu/README.txt | 2 +-
.../low-power_ek-tm4c123gxl/qv/gnu/Makefile | 4 +-
.../low-power_ek-tm4c123gxl/qv/gnu/README.txt | 2 +-
.../low-power_ek-tm4c123gxl/qxk/gnu/Makefile | 4 +-
.../qxk/gnu/README.txt | 2 +-
.../arm-cm/real-time_nucleo-l053r8/README.md | 4 +-
.../blinky_launchxl2-tms57012/README.md | 62 ++-
.../launchxl2-tms57012.png | Bin 0 -> 136290 bytes
.../arm-cr/blinky_launchxl2-tms57012/qk/bsp.c | 2 +-
.../blinky_launchxl2-tms57012/qk/ti/.cproject | 143 ++---
.../blinky_launchxl2-tms57012/qk/ti/.project | 1 -
.../arm-cr/blinky_launchxl2-tms57012/qv/bsp.c | 2 +-
.../arm-cr/dpp_launchxl2-tms57012/README.md | 89 ++-
examples/arm-cr/dpp_launchxl2-tms57012/dpp.qm | 2 +-
.../launchxl2-tms57012.png | Bin 0 -> 136290 bytes
.../dpp_launchxl2-tms57012/qk/Readme.txt | 6 +-
.../arm-cr/dpp_launchxl2-tms57012/qk/bsp.c | 2 +-
.../dpp_launchxl2-tms57012/qk/ti/.cproject | 102 ++--
.../dpp_launchxl2-tms57012/qk/ti/.project | 1 -
.../dpp_launchxl2-tms57012/qspy-output.png | Bin 0 -> 30404 bytes
.../arm-cr/dpp_launchxl2-tms57012/qv/bsp.c | 2 +-
examples/embos/arm-cm/dpp_nucleo-h743zi/bsp.c | 4 +-
.../embos/arm-cm/dpp_nucleo-h743zi/dpp.qm | 2 +-
.../arm-cm/dpp_nucleo-h743zi/gnu/Makefile | 4 +-
.../dpp_nucleo-h743zi/stm32h7xx_hal_msp.c | 8 +-
examples/esp-idf/dpp-esp32devkitc/main/dpp.h | 2 +-
examples/esp-idf/dpp-esp32devkitc/main/dpp.qm | 2 +-
.../freertos/arm-cm/dpp_ek-tm4c123gxl/bsp.c | 2 +-
.../freertos/arm-cm/dpp_ek-tm4c123gxl/dpp.qm | 2 +-
.../arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile | 6 +-
.../arm-cm/dpp_ek-tm4c123gxl/gnu/README.txt | 2 +-
.../freertos/arm-cm/dpp_nucleo-h743zi/bsp.c | 4 +-
.../freertos/arm-cm/dpp_nucleo-h743zi/dpp.qm | 2 +-
.../arm-cm/dpp_nucleo-h743zi/gnu/Makefile | 6 +-
.../arm-cm/dpp_nucleo-h743zi/gnu/README.txt | 2 +-
.../dpp_nucleo-h743zi/stm32h7xx_hal_msp.c | 8 +-
.../lwip/arm-cm/lwip_ek-lm3s6965/README.txt | 2 +-
examples/lwip/arm-cm/lwip_ek-lm3s6965/dpp.h | 4 +-
examples/lwip/arm-cm/lwip_ek-lm3s6965/lwip.c | 6 +-
.../lwip/arm-cm/lwip_ek-lm3s6965/qk/bsp.c | 6 +-
.../arm-cm/lwip_ek-lm3s6965/qk/gnu/Makefile | 4 +-
.../lwip/arm-cm/lwip_ek-lm3s6965/qv/bsp.c | 8 +-
.../arm-cm/lwip_ek-lm3s6965/qv/gnu/Makefile | 4 +-
.../arm-cm/lwip_ek-lm3s6965/website/index.htm | 2 +-
.../lwip_ek-lm3s6965/website/udp_demo.htm | 2 +-
.../msp430/blinky_msp-exp430f5529lp/qk/bsp.c | 2 +-
.../msp430/blinky_msp-exp430f5529lp/qv/bsp.c | 4 +-
examples/msp430/blinky_msp-exp430g2/README.md | 2 +-
examples/msp430/blinky_msp-exp430g2/qv/bsp.c | 2 +-
examples/msp430/dpp_msp-exp430f5529lp/dpp.qm | 2 +-
.../msp430/dpp_msp-exp430f5529lp/qk/bsp.c | 4 +-
.../msp430/dpp_msp-exp430f5529lp/qv/bsp.c | 6 +-
examples/pic32/dpp_microstick2-pic32/dpp.qm | 2 +-
.../dpp_microstick2-pic32/qk/xc32/Makefile | 2 +-
.../dpp_microstick2-pic32/qv/xc32/Makefile | 2 +-
examples/posix-win32/calc/calc.qm | 4 +-
examples/posix-win32/calc2/calc2.qm | 4 +-
examples/posix-win32/calc_sub/calc_sub.qm | 4 +-
.../posix-win32/calc_sub/lint-plus/README.txt | 2 +-
.../calc_sub/lint-plus/options.lnt | 2 +-
examples/posix-win32/dpp-posix/Makefile | 2 +-
examples/posix-win32/dpp-posix/dpp.qm | 2 +-
examples/posix-win32/dpp/dpp.qm | 2 +-
examples/posix-win32/dpp/qview/dpp.py | 4 +-
examples/posix-win32/dpp/qview/dpp1.py | 4 +-
examples/posix-win32/dpp_comp/dpp-comp.qm | 4 +-
examples/posix-win32/reminder2/reminder2.qm | 4 +-
examples/qutest/blinky/test/make_efm32 | 2 +-
.../qutest/blinky/test/make_nucleo-h743zi | 4 +-
.../qutest/blinky/test/make_nucleo-l053r8 | 4 +-
examples/qutest/blinky/test/make_tm4c123 | 2 +-
examples/qutest/dpp-comp/src/dpp-comp.qm | 4 +-
examples/qutest/dpp-comp/test_dpp/make_efm32 | 2 +-
.../dpp-comp/test_dpp/make_nucleo-l053r8 | 4 +-
.../qutest/dpp-comp/test_dpp/make_tm4c123 | 2 +-
.../qutest/dpp-comp/test_table/make_tm4c123 | 2 +-
examples/qutest/dpp/src/dpp.qm | 2 +-
examples/qutest/dpp/test_dpp/make_efm32 | 2 +-
.../qutest/dpp/test_dpp/make_nucleo-l053r8 | 4 +-
examples/qutest/dpp/test_dpp/make_tm4c123 | 2 +-
examples/qutest/dpp/test_philo/make_tm4c123 | 2 +-
examples/qutest/dpp/test_table/make_efm32 | 2 +-
examples/qutest/dpp/test_table/make_tm4c123 | 2 +-
examples/qutest/evt_par/test/make_tm4c123 | 2 +-
examples/qutest/qhsmtst/test/make_efm32 | 2 +-
.../qutest/qhsmtst/test/make_nucleo-l053r8 | 4 +-
examples/qutest/qhsmtst/test/make_tm4c123 | 2 +-
examples/qutest/qmsmtst/test/make_efm32 | 2 +-
.../qutest/qmsmtst/test/make_nucleo-l053r8 | 4 +-
examples/qutest/qmsmtst/test/make_tm4c123 | 2 +-
examples/qutest/self_test/test/make_efm32 | 2 +-
.../qutest/self_test/test/make_nucleo-l053r8 | 4 +-
examples/qutest/self_test/test/make_tm4c123 | 2 +-
examples/qutest/start_seq/test/test_fixture.c | 2 +-
.../qutest/start_seq/test/test_start_seq.py | 4 +-
examples/qutest/unity_basic/test/make_efm32 | 2 +-
examples/qutest/unity_basic/test/make_tm4c123 | 2 +-
.../qutest/unity_basic/test_unity/Makefile | 2 +-
examples/qutest/unity_ledbar/printf/Makefile | 2 +-
examples/qutest/unity_ledbar/printf/spy_Led.c | 2 +-
.../qutest/unity_ledbar/qutest/make_efm32 | 2 +-
.../unity_ledbar/qutest/make_nucleo-l053r8 | 4 +-
.../qutest/unity_ledbar/qutest/make_tm4c123 | 2 +-
examples/qutest/unity_ledbar/qutest/spy_led.c | 2 +-
examples/qutest/unity_ledbar/src/Led.h | 2 +-
examples/qutest/unity_ledbar/test/Makefile | 2 +-
examples/qutest/unity_ledbar/trace/spy_Led.c | 2 +-
.../unity_ledbar2/qutest/make_nucleo-l053r8 | 4 +-
.../qutest/unity_ledbar2/qutest/spy_led.c | 2 +-
examples/qutest/unity_ledbar2/src/Led.h | 2 +-
examples/qutest/unity_ledbar2/test/Makefile | 2 +-
examples/qutest/unity_mock/src/Led.h | 2 +-
examples/qutest/unity_mock/test/make_efm32 | 2 +-
examples/qutest/unity_mock/test/make_tm4c123 | 2 +-
examples/qutest/unity_mock/test/spy_Led.c | 2 +-
.../qutest/unity_mock/test_unity/Makefile | 2 +-
.../qutest/unity_strlen/qutest/make_efm32 | 2 +-
.../unity_strlen/qutest/make_nucleo-l053r8 | 4 +-
.../qutest/unity_strlen/qutest/make_tm4c123 | 2 +-
examples/qutest/unity_strlen/test/Makefile | 2 +-
examples/qwin-gui/dpp-gui/bsp.c | 4 +-
examples/qwin-gui/dpp-gui/dpp.qm | 2 +-
examples/qwin-gui/game-gui/bsp.c | 34 +-
examples/qwin-gui/game-gui/game.qm | 10 +-
examples/qwin-gui/game-gui/make.bat | 2 +-
examples/qwin-gui/game-gui/mine1.c | 2 +-
examples/qwin-gui/game-gui/mine2.c | 2 +-
examples/qwin-gui/game-gui/ship.c | 4 +-
examples/qwin-gui/game-gui/tunnel.c | 2 +-
.../threadx/arm-cm/dpp_ek-tm4c123gxl/bsp.c | 2 +-
.../threadx/arm-cm/dpp_ek-tm4c123gxl/dpp.qm | 2 +-
.../arm-cm/dpp_stm32f429-discovery/bsp.c | 4 +-
.../arm-cm/dpp_stm32f429-discovery/dpp.qm | 2 +-
.../uc-os2/arm-cm/dpp_ek-tm4c123gxl/dpp.qm | 2 +-
.../arm-cm/dpp_ek-tm4c123gxl/gnu/Makefile | 4 +-
.../arm-cm/dpp_ek-tm4c123gxl/gnu/README.txt | 2 +-
examples/zephyr/blinky/README.md | 2 +-
examples/zephyr/dpp/src/dpp.qm | 2 +-
include/qequeue.h | 8 +-
include/qk.h | 10 +-
include/qmpool.h | 6 +-
include/qp.h | 48 +-
include/qp_pkg.h | 2 +-
include/qpc.h | 10 +-
include/qs.h | 26 +-
include/qs_dummy.h | 10 +-
include/qs_pkg.h | 6 +-
include/qsafe.h | 2 +-
include/qstamp.h | 2 +-
include/qv.h | 10 +-
include/qxk.h | 10 +-
ports/arm-cm/qk/armclang/qk_port.c | 10 +-
ports/arm-cm/qk/config/qp_config.h | 2 +-
ports/arm-cm/qk/gnu/qk_port.c | 15 +-
ports/arm-cm/qk/iar/qk_port.c | 10 +-
ports/arm-cm/qutest/qp_port.h | 8 +-
ports/arm-cm/qv/armclang/qv_port.c | 10 +-
ports/arm-cm/qv/config/qp_config.h | 2 +-
ports/arm-cm/qv/gnu/qv_port.c | 10 +-
ports/arm-cm/qv/iar/qv_port.c | 10 +-
ports/arm-cm/qxk/armclang/qxk_port.c | 12 +-
ports/arm-cm/qxk/config/qp_config.h | 2 +-
ports/arm-cm/qxk/gnu/qxk_port.c | 17 +-
ports/arm-cm/qxk/iar/qxk_port.c | 12 +-
ports/arm-cr/qk/config/qp_config.h | 2 +-
ports/arm-cr/qv/config/qp_config.h | 2 +-
ports/config/qp_config.h | 2 +-
ports/embos/qf_port.c | 16 +-
ports/embos/qp_port.h | 8 +-
ports/esp-idf/README.md | 2 +-
ports/esp-idf/qf_port.c | 58 +-
ports/esp-idf/qp_port.h | 14 +-
ports/freertos/qf_port.c | 58 +-
ports/freertos/qp_port.h | 12 +-
ports/lint-plus/qpc.lnt | 2 +-
ports/lint-plus/std.lnt | 1 -
ports/msp430/qutest/qp_port.h | 8 +-
ports/pic32/qutest/xc32/qp_port.h | 6 +-
ports/posix-qutest/README.md | 5 -
ports/posix-qutest/qp_port.h | 8 +-
ports/posix-qv/qf_port.c | 2 +-
ports/posix-qv/qp_port.h | 10 +-
ports/posix/qp_port.h | 10 +-
ports/qube/qp_port.h | 8 +-
ports/threadx/qf_port.c | 12 +-
ports/threadx/qp_port.h | 8 +-
ports/uc-os2/qf_port.c | 16 +-
ports/uc-os2/qp_port.h | 8 +-
ports/win32-qutest/qp_port.h | 8 +-
ports/win32-qv/qp_port.h | 8 +-
ports/win32/qp_port.h | 8 +-
qpc.md5 | 148 ++---
qpc.qm | 512 +++++++++---------
src/qf/qep_hsm.c | 62 +--
src/qf/qep_msm.c | 72 +--
src/qf/qf_act.c | 2 +-
src/qf/qf_actq.c | 26 +-
src/qf/qf_defer.c | 8 +-
src/qf/qf_dyn.c | 84 +--
src/qf/qf_mem.c | 16 +-
src/qf/qf_ps.c | 12 +-
src/qf/qf_qact.c | 2 +-
src/qf/qf_qeq.c | 38 +-
src/qf/qf_qmact.c | 2 +-
src/qf/qf_time.c | 16 +-
src/qk/qk.c | 6 +-
src/qs/qs.c | 20 +-
src/qs/qs_64bit.c | 2 +-
src/qs/qs_fp.c | 4 +-
src/qs/qs_rx.c | 6 +-
src/qs/qstamp.c | 2 +-
src/qs/qutest.c | 28 +-
src/qv/qv.c | 2 +-
src/qxk/qxk.c | 6 +-
src/qxk/qxk_mutex.c | 4 +-
src/qxk/qxk_sema.c | 4 +-
src/qxk/qxk_xthr.c | 6 +-
test/qf/qequeue/qp_port.h | 8 +-
test/qf/qequeue/test.c | 4 +-
test/qk/test_sched/efm32pg1b.mak | 4 +-
test/qk/test_sched/nucleo-c031c6.mak | 4 +-
test/qk/test_sched/nucleo-h743zi.mak | 4 +-
test/qk/test_sched/nucleo-l053r8.mak | 4 +-
test/qk/test_sched/test_mpu.py | 2 +-
test/qs/qs_rx/qp_port.h | 8 +-
test/qs/qs_rx/test.c | 4 +-
test/qxk/test_sched/efm32pg1b.mak | 4 +-
test/qxk/test_sched/nucleo-c031c6.mak | 4 +-
test/qxk/test_sched/nucleo-h743zi.mak | 4 +-
test/qxk/test_sched/nucleo-l053r8.mak | 4 +-
test/qxk/test_sched/test_mpu.py | 2 +-
zephyr/qf_port.c | 16 +-
zephyr/qp_port.h | 8 +-
408 files changed, 2512 insertions(+), 2996 deletions(-)
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.ccsproject
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.cproject
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.project
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.ccsproject
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.cproject
delete mode 100644 examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.project
create mode 100644 examples/arm-cm/blinky_nucleo-c031c6/README.md
create mode 100644 examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/README.txt
rename examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/{qp_config.h.base@7.3.0 => qp_config.h.base@7.3.2} (100%)
delete mode 100644 examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-rel/RTE_Components.h
delete mode 100644 examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-spy/RTE_Components.h
rename examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/{qp_config.h.base@7.3.0 => qp_config.h.base@7.3.2} (95%)
create mode 100644 examples/arm-cr/blinky_launchxl2-tms57012/launchxl2-tms57012.png
create mode 100644 examples/arm-cr/dpp_launchxl2-tms57012/launchxl2-tms57012.png
create mode 100644 examples/arm-cr/dpp_launchxl2-tms57012/qspy-output.png
delete mode 100644 ports/posix-qutest/README.md
diff --git a/3rd_party b/3rd_party
index b2df302a..2b7bb752 160000
--- a/3rd_party
+++ b/3rd_party
@@ -1 +1 @@
-Subproject commit b2df302a9ba285da0aea71e3def72f006ebf36c4
+Subproject commit 2b7bb752b7f137dc12138e8461c65994c899e831
diff --git a/LICENSES/LicenseRef-QL-commercial.txt b/LICENSES/LicenseRef-QL-commercial.txt
index b08f3ad0..259ff1db 100644
--- a/LICENSES/LicenseRef-QL-commercial.txt
+++ b/LICENSES/LicenseRef-QL-commercial.txt
@@ -2,7 +2,7 @@ Quantum Leaps Commercial Licenses
Copyright (C) 2005 Quantum Leaps, LLC
-Quantum Leaps commercial licenses are traditinal closed-source, paid-for
+Quantum Leaps commercial licenses are traditional closed-source, paid-for
licenses designed for licensees interested in retaining the proprietary
status of their code.
@@ -17,17 +17,17 @@ Quantum Leaps commercial licensing options are described below:
Single Product License
----------------------
-Single Product License allows a given company (“Licensee”) to embed the
+Single Product License allows a given company ("Licensee") to embed the
specified type(s) of the QP Real-Time Embedded Framework(s) into one end-
product of the Licensee (Single Product). Licensee can distribute/sell an
unlimited number of units of the Single Product (royalty-free licensing),
for the life of the Single Product. A different Single Product license is
required for each different end product (i.e. model) even if the end-product
is in the same family as a previously licensed end product. This license
-is specific to the Licensee and the name and model of the Signle Product,
+is specific to the Licensee and the name and model of the Single Product,
which needs to be defined in the license. The general rule we apply is:
-If you consider it a separate product…so do we!
+If you consider it a separate product... so do we!
Volume discounts are offered if several Single Products are licensed at once
with one license agreement.
@@ -35,7 +35,7 @@ with one license agreement.
Product Line License
--------------------
-Product Line License allows a given company (“Licensee”) to embed the
+Product Line License allows a given company ("Licensee") to embed the
specified type(s) of the QP Real-Time Embedded Framework(s) into any number
of end-products within a family of related products (Product Line). Licensee
can distribute/sell an unlimited number of units of each of those products
@@ -46,7 +46,7 @@ similar functions within the same Product Line.
Any-Product License
-------------------
-Any-Product License allows a given company (“Licensee”) to embed the
+Any-Product License allows a given company ("Licensee") to embed the
specified type(s) of the QP Real-Time Embedded Framework(s) into any end-
product of that company. The Licensee can distribute/sell an unlimited number
of the products containing the licensed QP framework type(s) (royalty-free
@@ -55,7 +55,7 @@ licensing).
Site License
------------
-Site-License allows a given company (“Licensee”) to embed the specified
+Site-License allows a given company ("Licensee") to embed the specified
type(s) of the QP Real-Time Embedded Framework(s) into any end-customer
product, as long as the products are designed at a given physical location
(Site), which must be defined in the license. This license gives the
@@ -66,7 +66,7 @@ software for other companies.
OEM License
-----------
-OEM License allows a given company (“Licensee”) to embed the specified
+OEM License allows a given company ("Licensee") to embed the specified
type(s) of the QP Real-Time Embedded Framework(s) in any product of that
company (Original Equipment Manufacturer) and gives limited sublicensing
rights to system integrators, subsystem vendors, subcontractors, and other
@@ -77,7 +77,7 @@ licensing needs of a given Licensee.
Education License
-----------------
Education License allows a given accredited educational institution
-(“Licensee”) to use and embed the specified type(s) of the QP Real-Time
+("Licensee") to use and embed the specified type(s) of the QP Real-Time
Embedded Framework(s) in any project completed at that educational
institution. To be eligible for this license, the institution must be
focused mainly on teaching students. The Education Licenses are free
diff --git a/LICENSES/QP-RasPi_GPL_Exception.txt b/LICENSES/QP-RasPi_GPL_Exception.txt
index 2b54e5d4..998744ea 100644
--- a/LICENSES/QP-RasPi_GPL_Exception.txt
+++ b/LICENSES/QP-RasPi_GPL_Exception.txt
@@ -39,7 +39,7 @@ executable form suitable for execution by Raspberry Pi.
As a special Exception, the copyright holder of QP Frameworks gives you
permission to propagate a work of Target Code formed by combining the QP
Frameworks with your own source code without the requirement to expose
-your propriatory source code, provided that all Target Code will execute
+your proprietary source code, provided that all Target Code will execute
on a genuine Raspberry Pi computer(s).
2. No Weakening of GPL
diff --git a/README.md b/README.md
index 586144c4..0ae412f2 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
View QP/C Revision History at: https://www.state-machine.com/qpc/history.html
> **NOTE:** If you're interested in the latest QP/C version from GitHub,
-it is recommened that you clone this repo like that:
+it is recommended that you clone this repo like that:
```
git clone https://github.com/QuantumLeaps/qpc --recurse-submodules --depth 1
@@ -104,7 +104,7 @@ you don't use any open source license and you do not violate your policy.
# QP/C Documentation
-The online HTML documention for the **latest** version of QP/C is located
+The online HTML documentation for the **latest** version of QP/C is located
at: https://www.state-machine.com/qpc
The offline HTML documentation for **this** particular version of QP/C
diff --git a/examples/arm-cm/README.md b/examples/arm-cm/README.md
index c5f3f478..cfb91ccd 100644
--- a/examples/arm-cm/README.md
+++ b/examples/arm-cm/README.md
@@ -41,11 +41,11 @@ This is how you might go about an MCU that is not directly supported in the `qpc
- choose the compiler you'd like to use. For example, assuming that you like GNU-ARM, you are interested in the gnu subdirectory
-- build the chosen example project. Again, it **doesn't matter** at this stage that it is not exacly your final hardware. Your objective is testing your QP installation and the compiler installation. You are also getting familiar with QP. These goals are worth but a few minutes of your time.
+- build the chosen example project. Again, it **doesn't matter** at this stage that it is not exactly your final hardware. Your objective is testing your QP installation and the compiler installation. You are also getting familiar with QP. These goals are worth but a few minutes of your time.
- at this point, it is highly recommend that you just buy one of the supported ARM Cortex-M boards, which are carefully chosen to be very inexpensive. With your own board, you'd be able to run and debug the QP application at your desk, which is priceless because as you surely remember: *In embedded systems NOTING works until EVERYTHING works*.
-- only *after* you get started with a working example, you can try to modify it for your own board. This typically requiers only changes to the BSP (Board Support Package), which is provided in the `bsp.c` file.
+- only *after* you get started with a working example, you can try to modify it for your own board. This typically requires only changes to the BSP (Board Support Package), which is provided in the `bsp.c` file.
# Code Organization
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/README.md b/examples/arm-cm/blinky_ek-tm4c123gxl/README.md
index 731ed6c3..0674b3b2 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/README.md
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/README.md
@@ -31,7 +31,6 @@ examples\arm-cm\blinky_ek-tm4c123gxl
|
+---qk // preemptive QK kernel
| +---gnu // GNU-ARM toolchain
-| | \---targetConfigs
| | Makefile // Makefile for GNU-ARM
| +---armclang // ARM/KEIL toolchain with Compiler 6 (ARM/CLANG)
| | blinky-qk.uvprojx // uVision project
@@ -40,7 +39,6 @@ examples\arm-cm\blinky_ek-tm4c123gxl
|
\---qv // cooperative QK kernel
| +---gnu // GNU-ARM toolchain
-| | \---targetConfigs
| | Makefile // Makefile for GNU-ARM
| +---armclang // ARM/KEIL toolchain with Compiler 6 (ARM/CLANG)
| | blinky-qv.uvprojx // uVision project
@@ -48,7 +46,7 @@ examples\arm-cm\blinky_ek-tm4c123gxl
| blinky-qv.eww // IAR EW-ARM workspace
```
-# Builing the example
+# Building the example
### GNU/ARM
- open terminal window
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
index a2b19429..73cccc32 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/bsp.c
@@ -234,7 +234,7 @@ void QK_onIdle(void) {
//
// NOTE2:
// The User LED is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.ccsproject b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.ccsproject
deleted file mode 100644
index 0c19207c..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.ccsproject
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.cproject b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.cproject
deleted file mode 100644
index 2b78bfa0..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.cproject
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.project b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.project
deleted file mode 100644
index b828bdee..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/.project
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
- blinky-qk
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- com.ti.ccstudio.core.ccsNature
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
-
- QK
- 2
- PARENT-5-PROJECT_LOC/src/qk
-
-
- QP
- 2
- PARENT-5-PROJECT_LOC/src/qf
-
-
- QP_port
- 2
- PARENT-5-PROJECT_LOC/ports/arm-cm/qk/gnu
-
-
- QS
- 2
- PARENT-5-PROJECT_LOC/src/qs
-
-
- TM4C123GH6PM.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/TM4C123GH6PM.h
-
-
- blinky.c
- 1
- PARENT-2-PROJECT_LOC/blinky.c
-
-
- blinky.h
- 1
- PARENT-2-PROJECT_LOC/blinky.h
-
-
- bsp.c
- 1
- PARENT-1-PROJECT_LOC/bsp.c
-
-
- bsp.h
- 1
- PARENT-2-PROJECT_LOC/bsp.h
-
-
- gpio.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gpio.h
-
-
- main.c
- 1
- PARENT-2-PROJECT_LOC/main.c
-
-
- qstamp.c
- 1
- PARENT-5-PROJECT_LOC/src/qs/qstamp.c
-
-
- rom.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/rom.h
-
-
- startup_TM4C123GH6PM.c
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
-
-
- sysctl.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/sysctl.h
-
-
- system_TM4C123GH6PM.c
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/system_TM4C123GH6PM.c
-
-
- system_TM4C123GH6PM.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/system_TM4C123GH6PM.h
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
index c3ada1b2..8e56700c 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := blinky-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M4F
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/README.txt b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/README.txt
index 3ba6f924..18bf7307 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/README.txt
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
index 8927d853..30cbcae7 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/bsp.c
@@ -237,7 +237,7 @@ void QV_onIdle(void) { // CATION: called with interrupts DISABLED, NOTE2
//
// NOTE3:
// One of the LEDs is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.ccsproject b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.ccsproject
deleted file mode 100644
index 0c19207c..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.ccsproject
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.cproject b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.cproject
deleted file mode 100644
index 82eb559c..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.cproject
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.project b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.project
deleted file mode 100644
index 4a77cd23..00000000
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/.project
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
- blinky-qv
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- com.ti.ccstudio.core.ccsNature
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
-
- QP
- 2
- PARENT-5-PROJECT_LOC/src/qf
-
-
- QP_port
- 2
- PARENT-5-PROJECT_LOC/ports/arm-cm/qv/gnu
-
-
- QS
- 2
- PARENT-5-PROJECT_LOC/src/qs
-
-
- QV
- 2
- PARENT-5-PROJECT_LOC/src/qv
-
-
- TM4C123GH6PM.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/TM4C123GH6PM.h
-
-
- blinky.c
- 1
- PARENT-2-PROJECT_LOC/blinky.c
-
-
- blinky.h
- 1
- PARENT-2-PROJECT_LOC/blinky.h
-
-
- bsp.c
- 1
- PARENT-1-PROJECT_LOC/bsp.c
-
-
- bsp.h
- 1
- PARENT-2-PROJECT_LOC/bsp.h
-
-
- gpio.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gpio.h
-
-
- main.c
- 1
- PARENT-2-PROJECT_LOC/main.c
-
-
- qstamp.c
- 1
- PARENT-5-PROJECT_LOC/src/qs/qstamp.c
-
-
- rom.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/rom.h
-
-
- startup_TM4C123GH6PM.c
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
-
-
- sysctl.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/sysctl.h
-
-
- system_TM4C123GH6PM.c
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/system_TM4C123GH6PM.c
-
-
- system_TM4C123GH6PM.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/system_TM4C123GH6PM.h
-
-
-
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
index 7cbc2aa2..148a8619 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := blinky-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M4F
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/README.txt b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/README.txt
index 3ba6f924..18bf7307 100644
--- a/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/README.txt
+++ b/examples/arm-cm/blinky_ek-tm4c123gxl/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/blinky_nucleo-c031c6/README.md b/examples/arm-cm/blinky_nucleo-c031c6/README.md
new file mode 100644
index 00000000..334ec392
--- /dev/null
+++ b/examples/arm-cm/blinky_nucleo-c031c6/README.md
@@ -0,0 +1,80 @@
+> **NOTE**
+This file is best viewed in a **markdown viewer**, such as the one built into GitHub. Markdown viewers are also available as plug-ins to popular Internet browsers.
+
+# Blinky on NUCLEO-C031C6
+This example demonstrates the [Blinky application](https://www.state-machine.com/qpc/tut_blinky.html) on the STM32 NUCLEO-C031C6 board (ARM Cortex-M0+).
+
+
+
+STM32 NUCLEO-C031C6
+
+
+## Features Demonstrated
+- cooperative QV kernel
+ + with ARM-KEIL toolchain
+ + with GNU-ARM toolchain
+ + with IAR-ARM toolchain
+- preemptive run-to-completion QK kernel
+ + with ARM-KEIL toolchain
+ + with GNU-ARM toolchain
+ + with IAR-ARM toolchain
+
+## Build Configurations
+- Debug
+- Release
+- Spy - NOT supported for the simple Blinky example
+
+# Code Organization
+```
+examples\arm-cm\blinky_nucleo-c031c6
+|
++---qk // preemptive QK kernel
+| +---gnu // GNU-ARM toolchain
+| | Makefile // Makefile for GNU-ARM
+| +---armclang // ARM/KEIL toolchain with Compiler 6 (ARM/CLANG)
+| | blinky-qk.uvprojx // uVision project
+| \---iar // IAR EWARM
+| blinky-qk.eww // IAR EW-ARM workspace
+|
+\---qv // cooperative QK kernel
+| +---gnu // GNU-ARM toolchain
+| | Makefile // Makefile for GNU-ARM
+| +---armclang // ARM/KEIL toolchain with Compiler 6 (ARM/CLANG)
+| | blinky-qv.uvprojx // uVision project
+| \---iar // IAR EWARM
+| blinky-qv.eww // IAR EW-ARM workspace
+```
+
+# Building the example
+
+### GNU/ARM
+- open terminal window
+- change to the desired directory (either `examples\arm-cm\blinky_nucleo-c031c6\qk\gnu`
+or `examples\arm-cm\blinky_nucleo-c031c6\qv\gnu`)
+- to build the default Debug configuration, type:
+
+```
+make
+```
+
+> **NOTE**
+The `make` utility for Windows is provided in the QTools collection for Windows.
+
+- to build the Release configuration, type:
+
+```
+make CONF=rel
+```
+
+
+### ARM/KEIL MDK
+- Open the provided KEIL uVision project (either `blinky-qk.uvprojx` or `blinky-qv.uvprojx`)
+in Keil uVision IDE. Build/Debug/Download to the board from the IDE.
+- Change the build configuration in the "Project Target" drop-down menu.
+
+
+### IAR EWARM
+- Open the provided IAR EWARM workspace (either `blinky-qk.eww` or `blinky-qv.eww`)
+in IAR EWARM IDE. Build/Debug/Download to the board from the IDE.
+- Change the build configuration in the "Project Configuration" drop-down menu.
+
diff --git a/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/Makefile b/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/Makefile
index 378bb30c..cdf786b6 100644
--- a/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/Makefile
+++ b/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := blinky-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/README.txt b/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/README.txt
index d3fb3164..c3e5015c 100644
--- a/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/README.txt
+++ b/examples/arm-cm/blinky_nucleo-c031c6/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/Makefile b/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/Makefile
index ca1a4332..5a1d5680 100644
--- a/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/Makefile
+++ b/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := blinky-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -174,7 +174,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/README.txt b/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/README.txt
new file mode 100644
index 00000000..c3e5015c
--- /dev/null
+++ b/examples/arm-cm/blinky_nucleo-c031c6/qv/gnu/README.txt
@@ -0,0 +1,92 @@
+About this Example
+==================
+This example can be built in two different ways:
+- from the command prompt with the provided Makefile.
+- from the Atollic TRUEStudio-ST32 with the provided project.
+
+
+The Makefile
+============
+The provided Makefile should be easy to adapt for your own projects.
+It contains three build configurations: Debug (default), Release, and
+Spy.
+
+Also, the Makefile has been specifically designed to work as an external
+Makefile with the Eclipse CDT.
+
+The various build configurations are built as follows:
+
+make
+make CONF=rel
+make CONF=spy
+
+make clean
+make CONF=rel clean
+make CONF=spy clean
+
+***
+NOTE:
+The installation folder of the GNU-ARM toolset on YOUR machine needs
+to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
+As described in the comment for this symbol, the GNU-ARM toolset is taken
+from: http://gnutoolchains.com/arm-eabi
+
+It is highly recommended to use the same GNU-ARM distribution, especially
+for ARM Cortex-M projects, due to the support for the hardware FPU
+(float-abi=hard).
+***
+
+
+Selecting QK Exception
+======================
+The QK kernel needs a dedicated exception to return to the thread
+context after preemption. The default is to use the NMI exception
+for that purpose. However, in case NMI is needed for some other
+purpose, the QK port allows you to select a any, otherwise unused
+IRQ for that purpose. To choose a given IRQ, you need to define
+the macros QK_USE_IRQ_NUM and QK_USE_IRQ_HANDLER. These macros can
+be provided on the command-line to the compiler.
+
+For example, (see the vector table), you can define the QK IRQ
+as follows:
+
+QK_USE_IRQ_HANDLER=Reserved31_IRQHandler
+QK_USE_IRQ_NUM=31
+
+
+Adjusting Stack and Heap Sizes
+==============================
+The stack and heap sizes are determined in this project by the GCC linker
+script (.ld file), which provides a template of the recommended GCC linker
+script for QP applications.
+
+
+Startup Code
+============
+The startup code for the STM32C0xx MCU used in this project is
+located in the "3rd_party" folder in the following location:
+
+3rd_party\nucleo-c031c6\gnu\startup_stm32c031xx.c
+
+The file startup_stm32c031xx.c provides a template of the recommended
+startup for QP applications and should be easily customizable for other
+ARM Cortex-M microcontrollers.
+
+The startup file typically does not need to be modified or adapted for
+applications. It calls the assert_failed() function, which must be
+defined in the application to customize it for the application-specific
+error-handling policy.
+
+
+Adjusting the CPU Clock Speed
+=============================
+The current setting is to run at 12MHz from the MSI (internal oscillator),
+but the CPU clock speed can be modified.
+
+***
+NOTE:
+The NUCLEO boards have a wide range of possible clock selections, depending
+on the solder bridge configuration. Please see Chapter 5.7 "OSC clock" in
+the STM32 NUCLEO Boards User Manual (ST document UM1724) for more information.
+***
+
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/README.md b/examples/arm-cm/dpp_efm32-slstk3401a/README.md
index 6ad849a4..c31c9d69 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/README.md
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/README.md
@@ -67,7 +67,7 @@ examples\arm-cm\dpp_efm32-slstk3401a
|
```
-# Builing the example
+# Building the example
### GNU/ARM
- open terminal window
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/dpp.qm b/examples/arm-cm/dpp_efm32-slstk3401a/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/dpp.qm
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.c b/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.c
index 33925932..67a153d7 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.c
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qk/bsp.c
@@ -484,7 +484,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/Makefile b/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/Makefile
index 6532d3ff..b5ed4064 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -183,7 +183,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/README.txt b/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/README.txt
index 854a894d..e016d814 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.c b/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.c
index 9d464c2d..b3977226 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.c
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qv/bsp.c
@@ -478,7 +478,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/Makefile b/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/Makefile
index cfd5fe9e..dc96c749 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -183,7 +183,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/README.txt b/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/README.txt
index 35b38dda..c44c609e 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.c b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.c
index 3072eb52..d04d90e9 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.c
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/bsp.c
@@ -501,7 +501,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/Makefile b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/Makefile
index bb7d1d25..fa0c4a1b 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -188,7 +188,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/README.txt b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/README.txt
index 6bafe355..db2fad56 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/README.md b/examples/arm-cm/dpp_ek-tm4c123gxl/README.md
index a2a6a4a6..9990369b 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/README.md
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/README.md
@@ -67,7 +67,7 @@ examples\arm-cm\dpp_ek-tm4c123gxl
|
```
-# Builing the example
+# Building the example
### GNU/ARM
- open terminal window
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/dpp.qm b/examples/arm-cm/dpp_ek-tm4c123gxl/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/dpp.qm
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/lint-plus/README.txt b/examples/arm-cm/dpp_ek-tm4c123gxl/lint-plus/README.txt
index d4bb2bbf..4ed3fcad 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/lint-plus/README.txt
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/lint-plus/README.txt
@@ -7,7 +7,7 @@ To "lint" the application, invoke the batch "lin.bat" without parameters.
Optionally, you can supply the parameter -dQ_SPY to include the QS
instrumentation in the "linting" process.
-The output from the "linting" is saved in the fle "lin_out.log".
+The output from the "linting" is saved in the file "lin_out.log".
***
NOTE: You need to adjust the symbol PCLP at the top of the lin.bat
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.ccsproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.ccsproject
index 0c19207c..1adbafc4 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.ccsproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.ccsproject
@@ -1,17 +1,7 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.cproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.cproject
index 69187d2a..c2e16ff5 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.cproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.cproject
@@ -15,32 +15,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -274,4 +313,5 @@
-
+
+
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.project b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.project
index 678a1806..19339227 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.project
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/.project
@@ -73,7 +73,7 @@
main.c1
- PARENT-1-PROJECT_LOC/main.c
+ PARENT-2-PROJECT_LOC/main.cphilo.c
@@ -81,25 +81,15 @@
PARENT-2-PROJECT_LOC/philo.c
- qstamp.c
+ qp_config.h1
- PARENT-5-PROJECT_LOC/src/qs/qstamp.c
-
-
- rom.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/rom.h
+ PARENT-2-PROJECT_LOC/qp_config.hstartup_TM4C123GH6PM.c1PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
-
- sysctl.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/sysctl.h
-
system_TM4C123GH6PM.c1
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
index aa3c97ea..ebcc1f6d 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/Makefile
@@ -1,13 +1,13 @@
##############################################################################
# Product: Makefile for QP/C on EK-TM4C123GXL, QK kernel, GNU-ARM
-# Last Updated for Version: 7.3.0
-# Date of the Last Update: 2023-09-02
+# Last Updated for Version: 7.3.3
+# Date of the Last Update: 2024-01-29
#
# Q u a n t u m L e a P s
# ------------------------
# Modern Embedded Software
#
-# Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
+# Copyright (C) 2005 Quantum Leaps, LLC.
#
# 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
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -141,8 +141,8 @@ DEFINES := -DQP_CONFIG
# FLOAT_ABI: [ | soft | softfp | hard]
#
ARM_CPU := -mcpu=cortex-m4
-ARM_FPU := -mfpu=vfp
-FLOAT_ABI := -mfloat-abi=softfp
+ARM_FPU := -mfpu=fpv4-sp-d16
+FLOAT_ABI := -mfloat-abi=hard
#-----------------------------------------------------------------------------
# GNU-ARM toolset (NOTE: You need to adjust to your machine)
@@ -163,6 +163,7 @@ AS := $(GNU_ARM)/bin/arm-none-eabi-as
LINK := $(GNU_ARM)/bin/arm-none-eabi-gcc
BIN := $(GNU_ARM)/bin/arm-none-eabi-objcopy
+
##############################################################################
# Typically you should not need to change anything below this line
@@ -176,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
@@ -231,6 +232,7 @@ LINKFLAGS = -T$(LD_SCRIPT) $(ARM_CPU) $(ARM_FPU) $(FLOAT_ABI) -mthumb \
-specs=nosys.specs -specs=nano.specs \
-Wl,-Map,$(BIN_DIR)/$(OUTPUT).map,--cref,--gc-sections $(LIB_DIRS)
+
ASM_OBJS := $(patsubst %.s,%.o, $(notdir $(ASM_SRCS)))
C_OBJS := $(patsubst %.c,%.o, $(notdir $(C_SRCS)))
CPP_OBJS := $(patsubst %.cpp,%.o,$(notdir $(CPP_SRCS)))
@@ -252,14 +254,8 @@ endif
# rules
#
-.PHONY : run norun flash
-
-ifeq ($(MAKECMDGOALS),norun)
-all : $(TARGET_BIN)
-norun : all
-else
-all : $(TARGET_BIN) run
-endif
+all: $(TARGET_BIN)
+#all: $(TARGET_ELF)
$(TARGET_BIN): $(TARGET_ELF)
$(BIN) -O binary $< $@
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/README.txt b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/README.txt
index 3ba6f924..ab8e99e8 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qk/gnu/README.txt
@@ -11,9 +11,6 @@ The provided Makefile should be easy to adapt for your own projects.
It contains three build configurations: Debug (default), Release, and
Spy.
-Also, the Makefile has been specifically designed to work as an external
-Makefile with the Eclipse CDT.
-
The various build configurations are built as follows:
make
@@ -31,11 +28,22 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
+The CCS Project
+===============
+This directory contains also the CCS project which can be imported to the
+CCS (Code Composer Studio) IDE based on Eclipse. To import the project,
+use the section "General -> Existing Project into Workspace" and select this
+directory as the "root directory". For example, the "Select root directory"
+might be: C:\qp-dev\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\qxk\gnu
+
+Once you press "Browse", the project (dpp-qk, dpp-qv, or dpp-qxk) should
+become visible. Click on "Select All" and then "Finish".
+
Adjusting Stack and Heap Sizes
==============================
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qp_config.h b/examples/arm-cm/dpp_ek-tm4c123gxl/qp_config.h
index 38ea5113..edd4854f 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qp_config.h
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qp_config.h
@@ -113,7 +113,7 @@
// Maximum # event pools (QF_MAX_EPOOL)
// <0=>0 no event pools
-// <1=>1 <2=>2 <3=>3 (deafult) <4=>4 <5=>5
+// <1=>1 <2=>2 <3=>3 (default) <4=>4 <5=>5
// <6=>6 <7=>7 <8=>8 <9=>9 <10=>10 <11=>11
// <12=>12 <13=>13 <14=>14 <15=>15
// Maximum # Event Pools <1..15>
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.ccsproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.ccsproject
index 0c19207c..1adbafc4 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.ccsproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.ccsproject
@@ -1,17 +1,7 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.cproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.cproject
index 99f99049..a4055f29 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.cproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.cproject
@@ -15,72 +15,81 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.project b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.project
index 54ab2706..dec8cb77 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.project
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/.project
@@ -1,6 +1,6 @@
- dpp-qv
+ dpp-qv
@@ -25,6 +25,11 @@
org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+ QV
+ 2
+ PARENT-5-PROJECT_LOC/src/qv
+
QP2
@@ -33,18 +38,13 @@
QP_port2
- PARENT-5-PROJECT_LOC/ports/arm-cm/qv/gnu
+ PARENT-5-PROJECT_LOC/ports/arm-cm/qv/gnuQS2PARENT-5-PROJECT_LOC/src/qs
-
- QV
- 2
- PARENT-5-PROJECT_LOC/src/qv
-
TM4C123GH6PM.h1
@@ -73,7 +73,7 @@
main.c1
- PARENT-1-PROJECT_LOC/main.c
+ PARENT-2-PROJECT_LOC/main.cphilo.c
@@ -81,25 +81,15 @@
PARENT-2-PROJECT_LOC/philo.c
- qstamp.c
+ qp_config.h1
- PARENT-5-PROJECT_LOC/src/qs/qstamp.c
-
-
- rom.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/rom.h
+ PARENT-2-PROJECT_LOC/qp_config.hstartup_TM4C123GH6PM.c1PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
-
- sysctl.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/sysctl.h
-
system_TM4C123GH6PM.c1
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
index 15d7c6be..99586d18 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/README.txt b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/README.txt
index 3ba6f924..ab8e99e8 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qv/gnu/README.txt
@@ -11,9 +11,6 @@ The provided Makefile should be easy to adapt for your own projects.
It contains three build configurations: Debug (default), Release, and
Spy.
-Also, the Makefile has been specifically designed to work as an external
-Makefile with the Eclipse CDT.
-
The various build configurations are built as follows:
make
@@ -31,11 +28,22 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
+The CCS Project
+===============
+This directory contains also the CCS project which can be imported to the
+CCS (Code Composer Studio) IDE based on Eclipse. To import the project,
+use the section "General -> Existing Project into Workspace" and select this
+directory as the "root directory". For example, the "Select root directory"
+might be: C:\qp-dev\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\qxk\gnu
+
+Once you press "Browse", the project (dpp-qk, dpp-qv, or dpp-qxk) should
+become visible. Click on "Select All" and then "Finish".
+
Adjusting Stack and Heap Sizes
==============================
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.ccsproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.ccsproject
index 0c19207c..1adbafc4 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.ccsproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.ccsproject
@@ -1,17 +1,7 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.cproject b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.cproject
index 05053a3a..26a2237d 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.cproject
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.cproject
@@ -15,155 +15,81 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -274,4 +313,5 @@
+
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.project b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.project
index 42070f85..6ae838ee 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.project
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/.project
@@ -73,7 +73,7 @@
main.c1
- PARENT-1-PROJECT_LOC/main.c
+ PARENT-2-PROJECT_LOC/main.cphilo.c
@@ -81,25 +81,15 @@
PARENT-2-PROJECT_LOC/philo.c
- qstamp.c
+ qp_config.h1
- PARENT-5-PROJECT_LOC/src/qs/qstamp.c
-
-
- rom.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/rom.h
+ PARENT-2-PROJECT_LOC/qp_config.hstartup_TM4C123GH6PM.c1PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
-
- sysctl.h
- 1
- PARENT-5-PROJECT_LOC/3rd_party/ek-tm4c123gxl/sysctl.h
-
system_TM4C123GH6PM.c1
@@ -116,9 +106,14 @@
PARENT-2-PROJECT_LOC/table.c
- test.c
+ xthread1.c1
- PARENT-1-PROJECT_LOC/test.c
+ PARENT-1-PROJECT_LOC/xthread1.c
+
+
+ xthread2.c
+ 1
+ PARENT-1-PROJECT_LOC/xthread2.c
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile
index 8cfeef08..e7193d7a 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -181,7 +181,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile-UNSAFE b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile-UNSAFE
index 04cdbaa2..3e4ebf38 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile-UNSAFE
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/Makefile-UNSAFE
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -182,7 +182,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/README.txt b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/README.txt
index 3ba6f924..ab8e99e8 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl/qxk/gnu/README.txt
@@ -11,9 +11,6 @@ The provided Makefile should be easy to adapt for your own projects.
It contains three build configurations: Debug (default), Release, and
Spy.
-Also, the Makefile has been specifically designed to work as an external
-Makefile with the Eclipse CDT.
-
The various build configurations are built as follows:
make
@@ -31,11 +28,22 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
+The CCS Project
+===============
+This directory contains also the CCS project which can be imported to the
+CCS (Code Composer Studio) IDE based on Eclipse. To import the project,
+use the section "General -> Existing Project into Workspace" and select this
+directory as the "root directory". For example, the "Select root directory"
+might be: C:\qp-dev\qpc\examples\arm-cm\dpp_ek-tm4c123gxl\qxk\gnu
+
+Once you press "Browse", the project (dpp-qk, dpp-qv, or dpp-qxk) should
+become visible. Click on "Select All" and then "Finish".
+
Adjusting Stack and Heap Sizes
==============================
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/dpp_mpu.qm b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/dpp_mpu.qm
index 1b2c85ad..b47f94d0 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/dpp_mpu.qm
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/dpp_mpu.qm
@@ -319,7 +319,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qk/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qk/gnu/Makefile
index b1138c00..288c66d1 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qv/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qv/gnu/Makefile
index ab3dcdd6..95b72996 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qxk/gnu/Makefile b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qxk/gnu/Makefile
index 20fda4e2..26043659 100644
--- a/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_ek-tm4c123gxl_mpu/qxk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -182,7 +182,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/dpp.qm b/examples/arm-cm/dpp_mbed-lpc1768/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/dpp.qm
+++ b/examples/arm-cm/dpp_mbed-lpc1768/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
index a6d92f7a..ba73eca7 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/bsp.c
@@ -458,7 +458,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -608,7 +608,7 @@ static void UART0_setBaudrate(uint32_t baud) {
//
// NOTE2:
// The User LED is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile b/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
index 4fc31b5b..52dcb2fd 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
index 9c965479..aa61b9f3 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/bsp.c
@@ -452,7 +452,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile b/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
index a40ee04e..be2c3d10 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qxk/bsp.c b/examples/arm-cm/dpp_mbed-lpc1768/qxk/bsp.c
index 249f6940..4a4dbcb1 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qxk/bsp.c
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qxk/bsp.c
@@ -473,7 +473,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_mbed-lpc1768/qxk/gnu/Makefile b/examples/arm-cm/dpp_mbed-lpc1768/qxk/gnu/Makefile
index 9b7a0f18..01a8f7c8 100644
--- a/examples/arm-cm/dpp_mbed-lpc1768/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_mbed-lpc1768/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -184,7 +184,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/dpp.qm b/examples/arm-cm/dpp_nucleo-c031c6/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/dpp.qm
+++ b/examples/arm-cm/dpp_nucleo-c031c6/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-c031c6/qk/armclang/README.txt
index 946a6967..93065fc2 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qk/armclang/README.txt
@@ -23,7 +23,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size.
+numerical value of the heap size.
Selecting QK Exception
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qk/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6/qk/bsp.c
index 6efbf26c..a369610d 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qk/bsp.c
@@ -1,6 +1,6 @@
//============================================================================
// Product: DPP example, NUCLEO-C031C6 board, QK kernel
-// Last updated for version 7.3.2
+// Last updated for version 7.3.3
// Last updated on 2023-12-13
//
// Q u a n t u m L e a P s
@@ -47,6 +47,7 @@ Q_DEFINE_THIS_FILE // define the name of this file for assertions
// Button pins available on the board (just one user Button B1 on PC.13)
#define B1_PIN 13U
+// Local-scope objects -----------------------------------------------------
static uint32_t l_rndSeed;
#ifdef Q_SPY
@@ -56,6 +57,7 @@ static uint32_t l_rndSeed;
// QSpy source IDs
static QSpyId const l_SysTick_Handler = { 0U };
+ static QSpyId const l_EXTI0_1_IRQHandler = { 0U };
enum AppRecords { // application-specific trace records
PHILO_STAT = QS_USER,
@@ -87,6 +89,7 @@ Q_NORETURN Q_onError(char const * const module, int_t const id) {
NVIC_SystemReset();
}
//............................................................................
+// assertion failure handler for the STM32 library, including the startup code
void assert_failed(char const * const module, int_t const id); // prototype
void assert_failed(char const * const module, int_t const id) {
Q_onError(module, id);
@@ -141,7 +144,7 @@ void EXTI0_1_IRQHandler(void) {
QK_ISR_ENTRY(); // inform QK about entering an ISR
static QEvt const testEvt = QEVT_INITIALIZER(TEST_SIG);
- QACTIVE_POST(AO_Table, &testEvt, (void *)0);
+ QACTIVE_POST(AO_Table, &testEvt, &l_EXTI0_1_IRQHandler);
QK_ISR_EXIT(); // inform QK about exiting an ISR
}
@@ -156,7 +159,7 @@ void EXTI0_1_IRQHandler(void) {
void USART2_IRQHandler(void); // prototype
void USART2_IRQHandler(void) { // used in QS-RX (kernel UNAWARE interrutp)
// is RX register NOT empty?
- if ((USART2->ISR & (1U << 5)) != 0) {
+ if ((USART2->ISR & (1U << 5U)) != 0U) {
uint32_t b = USART2->RDR;
QS_RX_PUT(b);
}
@@ -176,6 +179,7 @@ void QF_onContextSw(QActive *prev, QActive *next) {
}
#endif // QF_ON_CONTEXT_SW
+
//============================================================================
// BSP functions...
@@ -357,6 +361,7 @@ void QF_onStartup(void) {
//............................................................................
void QF_onCleanup(void) {
}
+
//............................................................................
void QK_onIdle(void) {
// toggle an LED on and then off (not enough LEDs, see NOTE2)
@@ -383,18 +388,7 @@ void QK_onIdle(void) {
// 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.
- //
- // !!!CAUTION!!!
- // The WFI instruction stops the CPU clock, which unfortunately disables
- // the JTAG port, so the ST-Link debugger can no longer connect to the
- // board. For that reason, the call to __WFI() has to be used with CAUTION.
- //
- // NOTE: If you find your board "frozen" like this, strap BOOT0 to VDD and
- // reset the board, then connect with ST-Link Utilities and erase the part.
- // The trick with BOOT(0) is it gets the part to run the System Loader
- // instead of your broken code. When done disconnect BOOT0, and start over.
- //
- //__WFI(); // Wait-For-Interrupt
+ __WFI(); // Wait-For-Interrupt
#endif
}
@@ -463,7 +457,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000U) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/Makefile
index 18b53b48..08c567b3 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/README.txt
index d3fb3164..c3e5015c 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6/qv/bsp.c
index 6fa4deba..febd6381 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/bsp.c
@@ -1,6 +1,6 @@
//============================================================================
// Product: DPP example, NUCLEO-C031C6 board, QV kernel
-// Last updated for version 7.3.2
+// Last updated for version 7.3.3
// Last updated on 2023-12-13
//
// Q u a n t u m L e a P s
@@ -202,6 +202,10 @@ void BSP_init(void) {
__ISB();
__DSB();
+ // NOTE: SystemInit() has been already called from the startup code
+ // but SystemCoreClock needs to be updated
+ SystemCoreClockUpdate();
+
// enable GPIOA clock port for the LED LD4
RCC->IOPENR |= (1U << 0U);
@@ -335,7 +339,6 @@ void BSP_terminate(int16_t result) {
// QF callbacks...
void QF_onStartup(void) {
// set up the SysTick timer to fire at BSP_TICKS_PER_SEC rate
- SystemCoreClockUpdate();
SysTick_Config(SystemCoreClock / BSP_TICKS_PER_SEC);
// assign all priority bits for preemption-prio. and none to sub-prio.
@@ -371,7 +374,7 @@ void QV_onIdle(void) { // CATION: called with interrupts DISABLED, see NOTE0
QS_rxParse(); // parse all the received bytes
QF_INT_ENABLE();
- if ((USART2->ISR & (1U << 7U)) != 0U) { // is TXE empty?
+ if ((USART2->ISR & (1U << 7U)) != 0U) { // TXE empty?
QF_INT_DISABLE();
uint16_t b = QS_getByte();
QF_INT_ENABLE();
@@ -455,7 +458,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000U) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -469,7 +472,7 @@ void QS_onFlush(void) {
if (b != QS_EOD) {
while ((USART2->ISR & (1U << 7U)) == 0U) { // while TXE not empty
}
- USART2->TDR = b; // put into the DR register
+ USART2->TDR = b;
}
else {
break;
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/Makefile b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/Makefile
index c56a8b35..dee62003 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h
index 05234feb..bb382fbb 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h
@@ -113,7 +113,7 @@
// Maximum # event pools (QF_MAX_EPOOL)
// <0=>0 no event pools
-// <1=>1 <2=>2 <3=>3 (deafult) <4=>4 <5=>5
+// <1=>1 <2=>2 <3=>3 (default) <4=>4 <5=>5
// <6=>6 <7=>7 <8=>8 <9=>9 <10=>10 <11=>11
// <12=>12 <13=>13 <14=>14 <15=>15
// Maximum # Event Pools <1..15>
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h.base@7.3.0 b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h.base@7.3.2
similarity index 100%
rename from examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h.base@7.3.0
rename to examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/RTEF/qp_config.h.base@7.3.2
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-dbg/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-dbg/RTE_Components.h
index 77e89473..7527fab1 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-dbg/RTE_Components.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-dbg/RTE_Components.h
@@ -16,6 +16,12 @@
*/
#define CMSIS_device_header "stm32c0xx.h"
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Event Processor&qep@7.3.2 */
+#define RTE_RTEF_QPC_QEP /* QP/C QEP */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Framework&qf@7.3.2 */
+#define RTE_RTEF_QPC_QF /* QP/C QF */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Real-Time Kernel&qv@7.3.2 */
+#define RTE_RTEF_QPC_QV /* QP/C QV kernel */
#endif /* RTE_COMPONENTS_H */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-rel/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-rel/RTE_Components.h
deleted file mode 100644
index 7e14a38c..00000000
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-rel/RTE_Components.h
+++ /dev/null
@@ -1,21 +0,0 @@
-
-/*
- * Auto generated Run-Time-Environment Configuration File
- * *** Do not modify ! ***
- *
- * Project: 'dpp-qv'
- * Target: 'dpp-rel'
- */
-
-#ifndef RTE_COMPONENTS_H
-#define RTE_COMPONENTS_H
-
-
-/*
- * Define the Device Header File:
- */
-#define CMSIS_device_header "stm32c0xx.h"
-
-
-
-#endif /* RTE_COMPONENTS_H */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-spy/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-spy/RTE_Components.h
deleted file mode 100644
index 597d7502..00000000
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/RTE/_dpp-spy/RTE_Components.h
+++ /dev/null
@@ -1,21 +0,0 @@
-
-/*
- * Auto generated Run-Time-Environment Configuration File
- * *** Do not modify ! ***
- *
- * Project: 'dpp-qv'
- * Target: 'dpp-spy'
- */
-
-#ifndef RTE_COMPONENTS_H
-#define RTE_COMPONENTS_H
-
-
-/*
- * Define the Device Header File:
- */
-#define CMSIS_device_header "stm32c0xx.h"
-
-
-
-#endif /* RTE_COMPONENTS_H */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvoptx b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvoptx
index 031936b5..b123511e 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvoptx
@@ -135,7 +135,7 @@
0ST-LINKIII-KEIL_SWO
- -U-O206 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BC11477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32C0x_32.FLM -FS08000000 -FL08000 -FP0($$Device:STM32C031C6Tx$CMSIS\Flash\STM32C0x_32.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2
+ -U-O206 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BC11477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32C0x_32.FLM -FS08000000 -FL08000 -FP0($$Device:STM32C031C6Tx$CMSIS\Flash\STM32C0x_32.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 -WK00
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvprojx b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvprojx
index 4487d232..a00b0820 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu-pack/dpp-qv.uvprojx
@@ -1021,32 +1021,32 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -1055,10 +1055,10 @@
-
+ RTE\RTEF\qp_config.h
-
-
+
+
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu/Makefile
index c56a8b35..dee62003 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h
index 9e4c86ab..ac7dfd1e 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h
@@ -1,5 +1,5 @@
//============================================================================
-// QP configuration file (QK on ARM Cortex-M)
+// QP configuration file (QXK on ARM Cortex-M)
// Last updated for version: 7.3.0
// Last updated on: 2023-10-30
//
@@ -113,7 +113,7 @@
// Maximum # event pools (QF_MAX_EPOOL)
// <0=>0 no event pools
-// <1=>1 <2=>2 <3=>3 (deafult) <4=>4 <5=>5
+// <1=>1 <2=>2 <3=>3 (default) <4=>4 <5=>5
// <6=>6 <7=>7 <8=>8 <9=>9 <10=>10 <11=>11
// <12=>12 <13=>13 <14=>14 <15=>15
// Maximum # Event Pools <1..15>
@@ -226,7 +226,7 @@
//
//..........................................................................
-// QK Preemptive Non-Blocking Kernel
+// QXK Preemptive Dual-Mode Kernel
// Preemptive non-blocking/blocking RTOS kernel.
// Context switch callback (QF_ON_CONTEXT_SW)
@@ -242,9 +242,9 @@
// Context switch callback WITH QS
// Enable context switch callback QF_onContextSw()
// When Q_SPY is defined.
-#ifdef Q_SPY
-#define QF_ON_CONTEXT_SW
-#endif
+//#ifdef Q_SPY
+//#define QF_ON_CONTEXT_SW
+//#endif
//
//
@@ -255,13 +255,13 @@
//#define QF_MEM_ISOLATE
//
-// Use IRQ handler for QK return-from-preemption
+// Use IRQ handler for QXK return-from-preemption
// Enable this option only if the NMI handler is used in the project.
-// If enabled, provide the otherwise unused IRQ number (QK_USE_IRQ_NUM)
-// and the corresponding IRQ handler name (QK_USE_IRQ_HANDLER)
+// If enabled, provide the otherwise unused IRQ number (QXK_USE_IRQ_NUM)
+// and the corresponding IRQ handler name (QXK_USE_IRQ_HANDLER)
// in the "Text Editor" mode.
-//#define QK_USE_IRQ_NUM 31
-//#define QK_USE_IRQ_HANDLER Reserved31_IRQHandler
+//#define QXK_USE_IRQ_NUM 31
+//#define QXK_USE_IRQ_HANDLER Reserved31_IRQHandler
//
//
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.0 b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.2
similarity index 95%
rename from examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.0
rename to examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.2
index 6f4e1d1a..5cb75eea 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.0
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/RTEF/qp_config.h.base@7.3.2
@@ -1,5 +1,5 @@
//============================================================================
-// QP configuration file (QK on ARM Cortex-M)
+// QP configuration file (QXK on ARM Cortex-M)
// Last updated for version: 7.3.0
// Last updated on: 2023-10-30
//
@@ -226,7 +226,7 @@
//
//..........................................................................
-// QK Preemptive Non-Blocking Kernel
+// QXK Preemptive Dual-Mode Kernel
// Preemptive non-blocking/blocking RTOS kernel.
// Context switch callback (QF_ON_CONTEXT_SW)
@@ -255,13 +255,13 @@
//#define QF_MEM_ISOLATE
//
-// Use IRQ handler for QK return-from-preemption
+// Use IRQ handler for QXK return-from-preemption
// Enable this option only if the NMI handler is used in the project.
-// If enabled, provide the otherwise unused IRQ number (QK_USE_IRQ_NUM)
-// and the corresponding IRQ handler name (QK_USE_IRQ_HANDLER)
+// If enabled, provide the otherwise unused IRQ number (QXK_USE_IRQ_NUM)
+// and the corresponding IRQ handler name (QXK_USE_IRQ_HANDLER)
// in the "Text Editor" mode.
-//#define QK_USE_IRQ_NUM 31
-//#define QK_USE_IRQ_HANDLER Reserved31_IRQHandler
+//#define QXK_USE_IRQ_NUM 31
+//#define QXK_USE_IRQ_HANDLER Reserved31_IRQHandler
//
//
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-dbg/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-dbg/RTE_Components.h
index 5c092ae7..151da46e 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-dbg/RTE_Components.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-dbg/RTE_Components.h
@@ -16,11 +16,11 @@
*/
#define CMSIS_device_header "stm32c0xx.h"
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Event Processor:qep:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Event Processor&qep@7.3.2 */
#define RTE_RTEF_QPC_QEP /* QP/C QEP */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Framework:qf:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Framework&qf@7.3.2 */
#define RTE_RTEF_QPC_QF /* QP/C QF */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Real-Time Kernel:qxk:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Real-Time Kernel&qxk@7.3.2 */
#define RTE_RTEF_QPC_QXK /* QP/C QXK kernel */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-rel/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-rel/RTE_Components.h
index a7576c23..c0fe2db6 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-rel/RTE_Components.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-rel/RTE_Components.h
@@ -16,11 +16,11 @@
*/
#define CMSIS_device_header "stm32c0xx.h"
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Event Processor:qep:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Event Processor&qep@7.3.2 */
#define RTE_RTEF_QPC_QEP /* QP/C QEP */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Framework:qf:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Framework&qf@7.3.2 */
#define RTE_RTEF_QPC_QF /* QP/C QF */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Real-Time Kernel:qxk:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Real-Time Kernel&qxk@7.3.2 */
#define RTE_RTEF_QPC_QXK /* QP/C QXK kernel */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-spy/RTE_Components.h b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-spy/RTE_Components.h
index d9db596f..77868fa4 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-spy/RTE_Components.h
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/RTE/_dpp-spy/RTE_Components.h
@@ -16,13 +16,13 @@
*/
#define CMSIS_device_header "stm32c0xx.h"
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Event Processor:qep:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Event Processor&qep@7.3.2 */
#define RTE_RTEF_QPC_QEP /* QP/C QEP */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Framework:qf:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Framework&qf@7.3.2 */
#define RTE_RTEF_QPC_QF /* QP/C QF */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Real-Time Kernel:qxk:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Real-Time Kernel&qxk@7.3.2 */
#define RTE_RTEF_QPC_QXK /* QP/C QXK kernel */
-/* QuantumLeaps.Quantum Leaps QP/C::RTEF:Software tracing:qs:7.3.0 */
+/* QuantumLeaps::RTEF&QuantumLeaps QP/C:Software tracing&qs@7.3.2 */
#define RTE_RTEF_QPC_QS /* QP/C QS */
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvoptx b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvoptx
index 8ea1edcc..68dea58a 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvoptx
@@ -75,7 +75,7 @@
10
- 1
+ 018
@@ -467,7 +467,7 @@
10
- 0
+ 118
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvprojx b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvprojx
index 4d912517..5c6498c8 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/arm-pack/dpp-qxk.uvprojx
@@ -10,7 +10,7 @@
dpp-dbg0x4ARM-ADS
- 6190000::V6.19::ARMCLANG
+ 6210000::V6.21::ARMCLANG1
@@ -465,7 +465,7 @@
dpp-rel0x4ARM-ADS
- 6190000::V6.19::ARMCLANG
+ 6210000::V6.21::ARMCLANG1
@@ -920,7 +920,7 @@
dpp-spy0x4ARM-ADS
- 6190000::V6.19::ARMCLANG
+ 6210000::V6.21::ARMCLANG1
@@ -1376,32 +1376,32 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -1410,10 +1410,10 @@
-
+ RTE\RTEF\qp_config.h
-
-
+
+
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6/qxk/bsp.c
index 34e3431d..6a846e53 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/bsp.c
@@ -1,6 +1,6 @@
//============================================================================
// Product: DPP example, NUCLEO-C031C6 board, QXK kernel
-// Last updated for version 7.3.2
+// Last updated for version 7.3.3
// Last updated on 2023-12-13
//
// Q u a n t u m L e a P s
@@ -47,14 +47,17 @@ Q_DEFINE_THIS_FILE // define the name of this file for assertions
// Button pins available on the board (just one user Button B1 on PC.13)
#define B1_PIN 13U
+// Local-scope objects -----------------------------------------------------
static uint32_t l_rndSeed;
#ifdef Q_SPY
+
QSTimeCtr QS_tickTime_;
QSTimeCtr QS_tickPeriod_;
// QSpy source IDs
static QSpyId const l_SysTick_Handler = { 0U };
+ static QSpyId const l_EXTI0_1_IRQHandler = { 0U };
enum AppRecords { // application-specific trace records
PHILO_STAT = QS_USER,
@@ -86,12 +89,14 @@ Q_NORETURN Q_onError(char const * const module, int_t const id) {
NVIC_SystemReset();
}
//............................................................................
+// assertion failure handler for the STM32 library, including the startup code
void assert_failed(char const * const module, int_t const id); // prototype
void assert_failed(char const * const module, int_t const id) {
Q_onError(module, id);
}
-// ISRs used in the application ==========================================
+// ISRs used in the application ============================================
+
void SysTick_Handler(void); // prototype
void SysTick_Handler(void) {
QXK_ISR_ENTRY(); // inform QXK about entering an ISR
@@ -139,7 +144,7 @@ void EXTI0_1_IRQHandler(void) {
QXK_ISR_ENTRY(); // inform QXK about entering an ISR
static QEvt const testEvt = QEVT_INITIALIZER(TEST_SIG);
- QACTIVE_POST(AO_Table, &testEvt, (void *)0);
+ QACTIVE_POST(AO_Table, &testEvt, &l_EXTI0_1_IRQHandler);
QXK_ISR_EXIT(); // inform QXK about exiting an ISR
}
@@ -154,7 +159,7 @@ void EXTI0_1_IRQHandler(void) {
void USART2_IRQHandler(void); // prototype
void USART2_IRQHandler(void) { // used in QS-RX (kernel UNAWARE interrutp)
// is RX register NOT empty?
- if ((USART2->ISR & (1U << 5)) != 0) {
+ if ((USART2->ISR & (1U << 5U)) != 0U) {
uint32_t b = USART2->RDR;
QS_RX_PUT(b);
}
@@ -174,6 +179,7 @@ void QF_onContextSw(QActive *prev, QActive *next) {
}
#endif // QF_ON_CONTEXT_SW
+
//============================================================================
// BSP functions...
@@ -288,7 +294,7 @@ void BSP_start(void) {
void BSP_displayPhilStat(uint8_t n, char const *stat) {
Q_UNUSED_PAR(n);
- if (stat[0] == 'h') {
+ if (stat[0] == 'e') {
GPIOA->BSRR = (1U << LD4_PIN); // turn LED on
}
else {
@@ -323,7 +329,7 @@ void BSP_randomSeed(uint32_t seed) {
//............................................................................
uint32_t BSP_random(void) { // a very cheap pseudo-random-number generator
- QSchedStatus lockStat = QXK_schedLock(N_PHILO);
+ QSchedStatus lockStat = QXK_schedLock(N_PHILO); // N_PHILO prio. ceiling
// "Super-Duper" Linear Congruential Generator (LCG)
// LCG(2^32, 3*7*11*13*23, 0, seed)
//
@@ -334,11 +340,11 @@ uint32_t BSP_random(void) { // a very cheap pseudo-random-number generator
return (rnd >> 8U);
}
//............................................................................
-void BSP_ledOn() {
+void BSP_ledOn(void) {
GPIOA->BSRR = (1U << LD4_PIN); // turn LED on
}
//............................................................................
-void BSP_ledOff() {
+void BSP_ledOff(void) {
GPIOA->BSRR = (1U << (LD4_PIN + 16U)); // turn LED off
}
//............................................................................
@@ -353,10 +359,11 @@ void QF_onStartup(void) {
SysTick_Config(SystemCoreClock / BSP_TICKS_PER_SEC);
// assign all priority bits for preemption-prio. and none to sub-prio.
+ // NOTE: this might have been changed by STM32Cube.
NVIC_SetPriorityGrouping(0U);
// set priorities of ALL ISRs used in the system, see NOTE1
- NVIC_SetPriority(USART2_IRQn, 0); // kernel UNAWARE interrupt
+ NVIC_SetPriority(USART2_IRQn, 0U); // kernel UNAWARE interrupt
NVIC_SetPriority(EXTI0_1_IRQn, QF_AWARE_ISR_CMSIS_PRI + 0U);
NVIC_SetPriority(SysTick_IRQn, QF_AWARE_ISR_CMSIS_PRI + 1U);
// ...
@@ -371,9 +378,10 @@ void QF_onStartup(void) {
//............................................................................
void QF_onCleanup(void) {
}
+
//............................................................................
void QXK_onIdle(void) {
- // toggle an LED on and then off (not enough LEDs, see NOTE02)
+ // toggle an LED on and then off (not enough LEDs, see NOTE2)
//QF_INT_DISABLE();
//GPIOA->BSRR = (1U << LD4_PIN); // turn LED[n] on
//GPIOA->BSRR = (1U << (LD4_PIN + 16U)); // turn LED[n] off
@@ -383,32 +391,21 @@ void QXK_onIdle(void) {
QF_INT_DISABLE();
QS_rxParse(); // parse all the received bytes
QF_INT_ENABLE();
- QF_CRIT_EXIT_NOP();
- QF_INT_DISABLE();
- if ((USART2->ISR & (1U << 7U)) != 0U) { // is TXE empty?
+ if ((USART2->ISR & (1U << 7U)) != 0U) { // TXE empty?
+ QF_INT_DISABLE();
uint16_t b = QS_getByte();
+ QF_INT_ENABLE();
+
if (b != QS_EOD) { // not End-Of-Data?
USART2->TDR = b; // put into the DR register
}
}
- QF_INT_ENABLE();
#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.
- //
- // !!!CAUTION!!!
- // The WFI instruction stops the CPU clock, which unfortunately disables
- // the JTAG port, so the ST-Link debugger can no longer connect to the
- // board. For that reason, the call to __WFI() has to be used with CAUTION.
- //
- // NOTE: If you find your board "frozen" like this, strap BOOT0 to VDD and
- // reset the board, then connect with ST-Link Utilities and erase the part.
- // The trick with BOOT(0) is it gets the part to run the System Loader
- // instead of your broken code. When done disconnect BOOT0, and start over.
- //
- //__WFI(); // Wait-For-Interrupt
+ __WFI(); // Wait-For-Interrupt
#endif
}
@@ -474,10 +471,10 @@ void QS_onCleanup(void) {
}
//............................................................................
QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
- if ((SysTick->CTRL & 0x00010000) == 0) { // COUNT no set?
+ if ((SysTick->CTRL & 0x00010000U) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -491,7 +488,7 @@ void QS_onFlush(void) {
if (b != QS_EOD) {
while ((USART2->ISR & (1U << 7U)) == 0U) { // while TXE not empty
}
- USART2->TDR = b; // put into the DR register
+ USART2->TDR = b;
}
else {
break;
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile
index bd91c5e8..07d37d19 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -184,7 +184,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/README.txt
index 99a5d743..85b07eb6 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-c031c6/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/dpp_mpu.qm b/examples/arm-cm/dpp_nucleo-c031c6_mpu/dpp_mpu.qm
index 1b2c85ad..b47f94d0 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/dpp_mpu.qm
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/dpp_mpu.qm
@@ -319,7 +319,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/armclang/README.txt
index 946a6967..93065fc2 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/armclang/README.txt
@@ -23,7 +23,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size.
+numerical value of the heap size.
Selecting QK Exception
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/bsp.c
index 5283d5da..d54e6e92 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/bsp.c
@@ -780,7 +780,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000) == 0) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/gnu/Makefile
index b5eb1e6a..973e4dcb 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/bsp.c
index e9cf94d2..415abcd7 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/bsp.c
@@ -770,7 +770,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000U) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/gnu/Makefile
index b3f50e9f..446e3017 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvoptx b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvoptx
index 68861eed..927085cf 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvoptx
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvoptx
@@ -75,7 +75,7 @@
10
- 0
+ 118
@@ -474,7 +474,7 @@
10
- 1
+ 018
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvprojx b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvprojx
index 5249789c..75bbd658 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvprojx
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/armclang/dpp-qxk.uvprojx
@@ -10,7 +10,7 @@
dpp-dbg0x4ARM-ADS
- 6190000::V6.19::ARMCLANG
+ 6210000::V6.21::ARMCLANG1
@@ -1302,7 +1302,7 @@
dpp-spy0x4ARM-ADS
- 6190000::V6.19::ARMCLANG
+ 6210000::V6.21::ARMCLANG1
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/bsp.c
index ab4a3ae6..c7cdd95f 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/bsp.c
@@ -867,7 +867,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000) == 0) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/Makefile
index 283c3512..4422a360 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -182,7 +182,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/README.txt
index 99a5d743..85b07eb6 100644
--- a/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-c031c6_mpu/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/dpp.qm b/examples/arm-cm/dpp_nucleo-h743zi/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/dpp.qm
+++ b/examples/arm-cm/dpp_nucleo-h743zi/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qk/bsp.c b/examples/arm-cm/dpp_nucleo-h743zi/qk/bsp.c
index 48d2cc65..4f67f693 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qk/bsp.c
@@ -431,7 +431,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/Makefile
index 8cdabe24..42dd5390 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -191,7 +191,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/README.txt
index 29af98f5..4450a7f9 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qv/bsp.c b/examples/arm-cm/dpp_nucleo-h743zi/qv/bsp.c
index d8e84080..f44900fa 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qv/bsp.c
@@ -421,7 +421,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -492,7 +492,7 @@ void QS_onCommand(uint8_t cmdId,
//
// NOTE3:
// The User LED is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/Makefile
index c7bdeb43..b8ec4d8e 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -191,7 +191,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/README.txt b/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/README.txt
index 29af98f5..4450a7f9 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-h743zi/qxk/bsp.c
index f834070a..651f4dd5 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qxk/bsp.c
@@ -457,7 +457,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/Makefile
index 991af12d..bf6c640f 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -196,7 +196,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/README.txt
index 29af98f5..4450a7f9 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-h743zi/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-h743zi/stm32h7xx_hal_msp.c b/examples/arm-cm/dpp_nucleo-h743zi/stm32h7xx_hal_msp.c
index a37af714..46847423 100644
--- a/examples/arm-cm/dpp_nucleo-h743zi/stm32h7xx_hal_msp.c
+++ b/examples/arm-cm/dpp_nucleo-h743zi/stm32h7xx_hal_msp.c
@@ -88,11 +88,11 @@
//!
// NOTE:
-// STM32Cube's initialization calls the weakly defiend HAL_InitTick(), which
+// STM32Cube's initialization calls the weakly defined HAL_InitTick(), which
// by default configures and starts the Systick interrupt. This is TOO EARLY,
-// because the system os NOT ready yet to handle interrutps.
+// because the system os NOT ready yet to handle interrupts.
// To avoid problems, a dummy definition for HAL_InitTick() is provided
-// in the fiel stm32l5xx_hal_msp.c. The SystTick is configured and
+// in the file stm32l5xx_hal_msp.c. The SystTick is configured and
// started later in QF_onStartup().
//
HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) {
@@ -162,7 +162,7 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
// this is delayed till QF_onCleanup()
}
-// dummy legacy callacks for STM32CubeH7
+// dummy legacy callbacks for STM32CubeH7
void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart) {
(void)huart; // unused parameter
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/dpp.qm b/examples/arm-cm/dpp_nucleo-l053r8/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/dpp.qm
+++ b/examples/arm-cm/dpp_nucleo-l053r8/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qk/armclang/README.txt
index a54a1ba3..8351c9be 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/armclang/README.txt
@@ -23,7 +23,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size.
+numerical value of the heap size.
Selecting QK Exception
@@ -75,7 +75,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
index 2c11e1af..6b698a4e 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/bsp.c
@@ -463,7 +463,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
index 7cbded4e..2e6dcd67 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/Makefile
@@ -56,7 +56,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -176,7 +176,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/README.txt
index 7dae1b3c..332178d4 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -93,7 +93,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qv/armclang/README.txt
index f5453372..3c312c7a 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/armclang/README.txt
@@ -24,7 +24,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size.
+numerical value of the heap size.
Startup Code
@@ -58,7 +58,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
index 281a85d9..d8226a1e 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/bsp.c
@@ -455,7 +455,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
index ec70675e..580eb364 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/README.txt
index cce0e5f7..0745590d 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qxk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qxk/armclang/README.txt
index f5453372..3c312c7a 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qxk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qxk/armclang/README.txt
@@ -24,7 +24,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size.
+numerical value of the heap size.
Startup Code
@@ -58,7 +58,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.c
index acad530f..45f019ee 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qxk/bsp.c
@@ -477,7 +477,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000) == 0) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/Makefile
index 32f169b3..5e4be95f 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -182,7 +182,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/README.txt
index cce0e5f7..0745590d 100644
--- a/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l053r8/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/dpp.qm b/examples/arm-cm/dpp_nucleo-l152re/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/dpp.qm
+++ b/examples/arm-cm/dpp_nucleo-l152re/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qk/armclang/README.txt
index a6979622..87697dbc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/armclang/README.txt
@@ -24,7 +24,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
@@ -59,7 +59,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l1xx_pll.c provides an example
+system_stm32l1xx.c. The file system_stm32l1xx_pll.c provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
index df3ec0b3..7808fa65 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/bsp.c
@@ -456,7 +456,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000U) == 0U) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
index c55ba5e9..7f44b910 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -178,7 +178,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/README.txt
index 18d8340e..6cd286bc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qv/armclang/README.txt
index 2484477d..0173c80d 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/armclang/README.txt
@@ -24,7 +24,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
@@ -67,7 +67,7 @@ SystemCoreClock variable to 32000000 (32MHz). However, the NUCLEO-L152RE
board appears to run actually only at 16MHz. As a quick fix, the
projects in the qpc\examples directory set the HSE_VALUE to only 4MHz
(HSE_VALUE=4000000) in the command-line options to the compiler, to match
-the reporeted SystemCoreClock to the actual speed of the clock (16MHz).
+the reported SystemCoreClock to the actual speed of the clock (16MHz).
At this point it is not clear why the CPU clock is set to only half of the
expected speed.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
index 3e2e90c2..21e266d5 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/bsp.c
@@ -452,7 +452,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000U) == 0U) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
index 8445cd62..ba375edc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -178,7 +178,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/README.txt
index 18d8340e..6cd286bc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qxk/armclang/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qxk/armclang/README.txt
index a6979622..87697dbc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qxk/armclang/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qxk/armclang/README.txt
@@ -24,7 +24,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
@@ -59,7 +59,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l1xx_pll.c provides an example
+system_stm32l1xx.c. The file system_stm32l1xx_pll.c provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-l152re/qxk/bsp.c
index 07f7d4c2..68cc086f 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l152re/qxk/bsp.c
@@ -479,7 +479,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & 0x00010000) == 0) { // COUNT no set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/Makefile
index b266d288..ccfdd59e 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -183,7 +183,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/README.txt b/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/README.txt
index 18d8340e..6cd286bc 100644
--- a/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_nucleo-l152re/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M projects, due to the support for the hardware FPU
(float-abi=hard).
***
@@ -82,7 +82,7 @@ Adjusting the CPU Clock Speed
=============================
The current setting is to run at 2MHz from the MSI (internal oscillator),
but the CPU clock speed can be modified by editing the file
-system_stm32l1xx.c. Ther file system_stm32l0xx.c.pll provides an example
+system_stm32l1xx.c. The file system_stm32l0xx.c.pll provides an example
of clock setting using the PLL driven from the MSE.
***
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/dpp.qm b/examples/arm-cm/dpp_nucleo-l552ze/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/dpp.qm
+++ b/examples/arm-cm/dpp_nucleo-l552ze/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qk/bsp.c b/examples/arm-cm/dpp_nucleo-l552ze/qk/bsp.c
index 3c66db5d..75705287 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qk/bsp.c
@@ -470,7 +470,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l552ze/qk/gnu/Makefile
index ba1eebb3..cb957da9 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -201,7 +201,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qv/bsp.c b/examples/arm-cm/dpp_nucleo-l552ze/qv/bsp.c
index ca00e92c..07e046b6 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qv/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qv/bsp.c
@@ -458,7 +458,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qv/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l552ze/qv/gnu/Makefile
index 28dac4a2..9d3b8917 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -201,7 +201,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qxk/bsp.c b/examples/arm-cm/dpp_nucleo-l552ze/qxk/bsp.c
index c9302751..a8fddddb 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qxk/bsp.c
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qxk/bsp.c
@@ -484,7 +484,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/qxk/gnu/Makefile b/examples/arm-cm/dpp_nucleo-l552ze/qxk/gnu/Makefile
index 75ad7c8e..dd57b3f2 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_nucleo-l552ze/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -206,7 +206,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_nucleo-l552ze/stm32l5xx_hal_msp.c b/examples/arm-cm/dpp_nucleo-l552ze/stm32l5xx_hal_msp.c
index d9dd69d2..7a40e2be 100644
--- a/examples/arm-cm/dpp_nucleo-l552ze/stm32l5xx_hal_msp.c
+++ b/examples/arm-cm/dpp_nucleo-l552ze/stm32l5xx_hal_msp.c
@@ -84,11 +84,11 @@ void HAL_MspInit(void)
}
// NOTE:
-// STM32Cube's initialization calls the weakly defiend HAL_InitTick(), which
+// STM32Cube's initialization calls the weakly defined HAL_InitTick(), which
// by default configures and starts the Systick interrupt. This is TOO EARLY,
-// because the system os NOT ready yet to handle interrutps.
+// because the system os NOT ready yet to handle interrupts.
// To avoid problems, a dummy definition for HAL_InitTick() is provided
-// in the fiel stm32l5xx_hal_msp.c. The SystTick is configured and
+// in the file stm32l5xx_hal_msp.c. The SystTick is configured and
// started later in QF_onStartup().
//
HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) {
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/dpp.qm b/examples/arm-cm/dpp_stm32f4-discovery/dpp.qm
index ac9f2bc9..b2b8aea4 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/dpp.qm
+++ b/examples/arm-cm/dpp_stm32f4-discovery/dpp.qm
@@ -257,7 +257,7 @@ for (uint8_t n = 0U; n < N_PHILO; ++n) {
- // give permissions to eat...
+ // give permissions to eat...
for (uint8_t n = 0U; n < N_PHILO; ++n) {
if (me->isHungry[n]
&& (me->fork[left(n)] == FREE)
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/armclang/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qk/armclang/README.txt
index 9542fe4a..1f7cfb27 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qk/armclang/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/armclang/README.txt
@@ -18,7 +18,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.c b/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.c
index 5f97ce69..7f3a15c6 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.c
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/bsp.c
@@ -497,7 +497,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/Makefile b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/Makefile
index 6998cae1..dbeb1162 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/Makefile
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -183,7 +183,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/README.txt
index 63d84598..99ca75ab 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/flash.bat b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/flash.bat
index 60694ebc..2ea7836b 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/flash.bat
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qk/gnu/flash.bat
@@ -1,7 +1,7 @@
::============================================================================
:: Batch file to load the DPP program to the flash of STM32 boards
::
-:: NOTE: requires the ST-LINK utlity from ST, see:
+:: NOTE: requires the ST-LINK utility from ST, see:
:: http://www.st.com/en/embedded-software/stsw-link004.html
::
@echo off
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/armclang/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qv/armclang/README.txt
index 9542fe4a..1f7cfb27 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qv/armclang/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/armclang/README.txt
@@ -18,7 +18,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.c b/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.c
index 9d682a4b..7db0d76a 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.c
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/bsp.c
@@ -493,7 +493,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/Makefile b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/Makefile
index 1d14d399..1c866846 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/Makefile
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -182,7 +182,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/README.txt
index 63d84598..99ca75ab 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/flash.bat b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/flash.bat
index 60694ebc..2ea7836b 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/flash.bat
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qv/gnu/flash.bat
@@ -1,7 +1,7 @@
::============================================================================
:: Batch file to load the DPP program to the flash of STM32 boards
::
-:: NOTE: requires the ST-LINK utlity from ST, see:
+:: NOTE: requires the ST-LINK utility from ST, see:
:: http://www.st.com/en/embedded-software/stsw-link004.html
::
@echo off
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/armclang/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qxk/armclang/README.txt
index 9542fe4a..1f7cfb27 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/armclang/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/armclang/README.txt
@@ -18,7 +18,7 @@ command-line options for the ARM assembler (see the Asm tab in
the "Options for Target" dialog box in uVision). Specifically,
you should define symbols: Stack_Size=xxx Heap_Size=yyy, where
xxx represents a numerical value of stack size and yyy the
-numberical value of the heap size (for most embedded projects
+numerical value of the heap size (for most embedded projects
yyy should be 0, as the using the heap is not recommended).
\ No newline at end of file
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.c b/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.c
index 6a41a9c2..02912145 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.c
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/bsp.c
@@ -518,7 +518,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0U) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/Makefile b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/Makefile
index aea06e43..413f5d52 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/Makefile
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := dpp-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -188,7 +188,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/README.txt b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/README.txt
index 63d84598..99ca75ab 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/README.txt
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/flash.bat b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/flash.bat
index 60694ebc..2ea7836b 100644
--- a/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/flash.bat
+++ b/examples/arm-cm/dpp_stm32f4-discovery/qxk/gnu/flash.bat
@@ -1,7 +1,7 @@
::============================================================================
:: Batch file to load the DPP program to the flash of STM32 boards
::
-:: NOTE: requires the ST-LINK utlity from ST, see:
+:: NOTE: requires the ST-LINK utility from ST, see:
:: http://www.st.com/en/embedded-software/stsw-link004.html
::
@echo off
diff --git a/examples/arm-cm/game_efm32-slstk3401a/README.md b/examples/arm-cm/game_efm32-slstk3401a/README.md
index 82697911..4d9f7425 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/README.md
+++ b/examples/arm-cm/game_efm32-slstk3401a/README.md
@@ -44,9 +44,9 @@ Please check the Device Manager to find the COM port number.
# Win32-GUI Emulation
-The directory `qpc\examples\workstation\game-gui` conatins the emulation
+The directory `qpc\examples\workstation\game-gui` contains the emulation
of the "Fly 'n' Shoot" game on Windows GUI, either single-threaded (win32-qv)
-or multithreded (win32). This sub-directory contains the Visual Studio
+or multithreaded (win32). This sub-directory contains the Visual Studio
solution file (game-gui.sln) for Visual C++.
The Win32-GUI emulation is based on the QWin™ GUI Prototyping Toolkit, see:
diff --git a/examples/arm-cm/game_efm32-slstk3401a/game.qm b/examples/arm-cm/game_efm32-slstk3401a/game.qm
index 55b3cc32..d6bca299 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/game.qm
+++ b/examples/arm-cm/game_efm32-slstk3401a/game.qm
@@ -341,7 +341,7 @@ me->blink_ctr = 0U; // init the blink counter
QTimeEvt_disarm(&me->screenTimeEvt);
- me->blink_ctr ^= 1U; // toggle the blink cunter
+ me->blink_ctr ^= 1U; // toggle the blink counter
@@ -653,7 +653,7 @@ sev = Q_NEW(ScoreEvt, SCORE_SIG);
sev->score = me->score;
QACTIVE_POST(AO_Tunnel, (QEvt *)sev, me);
-// lauch the ship from the initial position
+// launch the ship from the initial position
me->x = GAME_SHIP_X;
me->y = (GAME_SHIP_Y << 2);
@@ -1392,7 +1392,7 @@ $define ${AOs::Missile}
#define SHIP_WIDTH 5
#define SHIP_HEIGHT 3
-// encapsulated delcaration of the Ship active object ----------------------
+// encapsulated declaration of the Ship active object ----------------------
$declare ${AOs::Ship}
// Public-scope objects ----------------------------------------------------
@@ -1428,7 +1428,7 @@ $define ${AOs::Tunnel}
Q_DEFINE_THIS_FILE
-// encapsulated delcaration of the Mine1 HSM -------------------------------
+// encapsulated declaration of the Mine1 HSM -------------------------------
$declare ${AOs::Mine1}
// helper macro to provide the ID of this mine
@@ -1446,7 +1446,7 @@ $define ${AOs::Mine1}
Q_DEFINE_THIS_FILE
-// encapsulated delcaration of the Mine2 HSM -------------------------------
+// encapsulated declaration of the Mine2 HSM -------------------------------
$declare ${AOs::Mine2}
// helper macro to provide the ID of this mine
diff --git a/examples/arm-cm/game_efm32-slstk3401a/mine1.c b/examples/arm-cm/game_efm32-slstk3401a/mine1.c
index 58f1964e..5ab87652 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/mine1.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/mine1.c
@@ -34,7 +34,7 @@
Q_DEFINE_THIS_FILE
-// encapsulated delcaration of the Mine1 HSM -------------------------------
+// encapsulated declaration of the Mine1 HSM -------------------------------
//$declare${AOs::Mine1} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//${AOs::Mine1} ..............................................................
diff --git a/examples/arm-cm/game_efm32-slstk3401a/mine2.c b/examples/arm-cm/game_efm32-slstk3401a/mine2.c
index 79e80c9d..c074435d 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/mine2.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/mine2.c
@@ -34,7 +34,7 @@
Q_DEFINE_THIS_FILE
-// encapsulated delcaration of the Mine2 HSM -------------------------------
+// encapsulated declaration of the Mine2 HSM -------------------------------
//$declare${AOs::Mine2} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//${AOs::Mine2} ..............................................................
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.c b/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.c
index b49a63fb..9f92b9b6 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/qk/bsp.c
@@ -570,14 +570,14 @@ bool BSP_doBitmapsOverlap(uint8_t bmp_id1, uint8_t x1, uint8_t y1,
//............................................................................
bool BSP_isWallHit(uint8_t bmp_id, uint8_t x, uint8_t y) {
Bitmap const *bmp = &l_bitmap[bmp_id];
- uint32_t shft = (x & 0x1FU);
+ uint32_t shift = (x & 0x1FU);
uint32_t *walls = &l_walls[y][x >> 5];
for (y = 0; y < bmp->height; ++y, walls += (BSP_SCREEN_WIDTH >> 5)) {
- if (*walls & ((uint32_t)bmp->bits[y] << shft)) {
+ if (*walls & ((uint32_t)bmp->bits[y] << shift)) {
return true;
}
- if (shft > 24U) {
- if (*(walls + 1) & ((uint32_t)bmp->bits[y] >> (32U - shft))) {
+ if (shift > 24U) {
+ if (*(walls + 1) & ((uint32_t)bmp->bits[y] >> (32U - shift))) {
return true;
}
}
@@ -635,11 +635,11 @@ void BSP_randomSeed(uint32_t seed) {
//............................................................................
static void paintBits(uint8_t x, uint8_t y, uint8_t const *bits, uint8_t h) {
uint32_t *fb = &l_fb[y][x >> 5];
- uint32_t shft = (x & 0x1FU);
+ uint32_t shift = (x & 0x1FU);
for (y = 0; y < h; ++y, fb += (BSP_SCREEN_WIDTH >> 5)) {
- *fb |= ((uint32_t)bits[y] << shft);
- if (shft > 24U) {
- *(fb + 1) |= ((uint32_t)bits[y] >> (32U - shft));
+ *fb |= ((uint32_t)bits[y] << shift);
+ if (shift > 24U) {
+ *(fb + 1) |= ((uint32_t)bits[y] >> (32U - shift));
}
}
}
@@ -648,17 +648,17 @@ static void paintBitsClear(uint8_t x, uint8_t y,
uint8_t const *bits, uint8_t h)
{
uint32_t *fb = &l_fb[y][x >> 5];
- uint32_t shft = (x & 0x1FU);
- uint32_t mask1 = ~((uint32_t)0xFFU << shft);
+ uint32_t shift = (x & 0x1FU);
+ uint32_t mask1 = ~((uint32_t)0xFFU << shift);
uint32_t mask2;
- if (shft > 24U) {
- mask2 = ~(0xFFU >> (32U - shft));
+ if (shift > 24U) {
+ mask2 = ~(0xFFU >> (32U - shift));
}
for (y = 0; y < h; ++y, fb += (BSP_SCREEN_WIDTH >> 5)) {
- *fb = ((*fb & mask1) | ((uint32_t)bits[y] << shft));
- if (shft > 24U) {
+ *fb = ((*fb & mask1) | ((uint32_t)bits[y] << shift));
+ if (shift > 24U) {
*(fb + 1) = ((*(fb + 1) & mask2)
- | ((uint32_t)bits[y] >> (32U - shft)));
+ | ((uint32_t)bits[y] >> (32U - shift)));
}
}
}
@@ -668,7 +668,7 @@ void QF_onStartup(void) {
// set up the SysTick timer to fire at BSP_TICKS_PER_SEC rate
SysTick_Config(SystemCoreClock / BSP_TICKS_PER_SEC);
- // assing all priority bits for preemption-prio. and none to sub-prio.
+ // assign all priority bits for preemption-prio. and none to sub-prio.
NVIC_SetPriorityGrouping(0U);
// set priorities of ALL ISRs used in the system, see NOTE1
@@ -821,7 +821,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -890,7 +890,7 @@ void QS_onCommand(uint8_t cmdId,
//
// NOTE2:
// The User LED is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/Makefile b/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/Makefile
index a443198c..69b46659 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/Makefile
+++ b/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := game-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -191,7 +191,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M4F
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/README.txt b/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/README.txt
index 35b38dda..c44c609e 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/README.txt
+++ b/examples/arm-cm/game_efm32-slstk3401a/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.c b/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.c
index cbdd88f7..b451ce8c 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/qv/bsp.c
@@ -563,14 +563,14 @@ bool BSP_doBitmapsOverlap(uint8_t bmp_id1, uint8_t x1, uint8_t y1,
//............................................................................
bool BSP_isWallHit(uint8_t bmp_id, uint8_t x, uint8_t y) {
Bitmap const *bmp = &l_bitmap[bmp_id];
- uint32_t shft = (x & 0x1FU);
+ uint32_t shift = (x & 0x1FU);
uint32_t *walls = &l_walls[y][x >> 5];
for (y = 0; y < bmp->height; ++y, walls += (BSP_SCREEN_WIDTH >> 5)) {
- if (*walls & ((uint32_t)bmp->bits[y] << shft)) {
+ if (*walls & ((uint32_t)bmp->bits[y] << shift)) {
return true;
}
- if (shft > 24U) {
- if (*(walls + 1) & ((uint32_t)bmp->bits[y] >> (32U - shft))) {
+ if (shift > 24U) {
+ if (*(walls + 1) & ((uint32_t)bmp->bits[y] >> (32U - shift))) {
return true;
}
}
@@ -624,11 +624,11 @@ void BSP_randomSeed(uint32_t seed) {
//............................................................................
static void paintBits(uint8_t x, uint8_t y, uint8_t const *bits, uint8_t h) {
uint32_t *fb = &l_fb[y][x >> 5];
- uint32_t shft = (x & 0x1FU);
+ uint32_t shift = (x & 0x1FU);
for (y = 0; y < h; ++y, fb += (BSP_SCREEN_WIDTH >> 5)) {
- *fb |= ((uint32_t)bits[y] << shft);
- if (shft > 24U) {
- *(fb + 1) |= ((uint32_t)bits[y] >> (32U - shft));
+ *fb |= ((uint32_t)bits[y] << shift);
+ if (shift > 24U) {
+ *(fb + 1) |= ((uint32_t)bits[y] >> (32U - shift));
}
}
}
@@ -637,17 +637,17 @@ static void paintBitsClear(uint8_t x, uint8_t y,
uint8_t const *bits, uint8_t h)
{
uint32_t *fb = &l_fb[y][x >> 5];
- uint32_t shft = (x & 0x1FU);
- uint32_t mask1 = ~((uint32_t)0xFFU << shft);
+ uint32_t shift = (x & 0x1FU);
+ uint32_t mask1 = ~((uint32_t)0xFFU << shift);
uint32_t mask2;
- if (shft > 24U) {
- mask2 = ~(0xFFU >> (32U - shft));
+ if (shift > 24U) {
+ mask2 = ~(0xFFU >> (32U - shift));
}
for (y = 0; y < h; ++y, fb += (BSP_SCREEN_WIDTH >> 5)) {
- *fb = ((*fb & mask1) | ((uint32_t)bits[y] << shft));
- if (shft > 24U) {
+ *fb = ((*fb & mask1) | ((uint32_t)bits[y] << shift));
+ if (shift > 24U) {
*(fb + 1) = ((*(fb + 1) & mask2)
- | ((uint32_t)bits[y] >> (32U - shft)));
+ | ((uint32_t)bits[y] >> (32U - shift)));
}
}
}
@@ -657,7 +657,7 @@ void QF_onStartup(void) {
// set up the SysTick timer to fire at BSP_TICKS_PER_SEC rate
SysTick_Config(SystemCoreClock / BSP_TICKS_PER_SEC);
- // assing all priority bits for preemption-prio. and none to sub-prio.
+ // assign all priority bits for preemption-prio. and none to sub-prio.
NVIC_SetPriorityGrouping(0U);
// set priorities of ALL ISRs used in the system, see NOTE00
@@ -811,7 +811,7 @@ QSTimeCtr QS_onGetTime(void) { // NOTE: invoked with interrupts DISABLED
if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == 0) { // not set?
return QS_tickTime_ - (QSTimeCtr)SysTick->VAL;
}
- else { // the rollover occured, but the SysTick_ISR did not run yet
+ else { // the rollover occurred, but the SysTick_ISR did not run yet
return QS_tickTime_ + QS_tickPeriod_ - (QSTimeCtr)SysTick->VAL;
}
}
@@ -886,7 +886,7 @@ void QS_onCommand(uint8_t cmdId,
//
// NOTE02:
// The User LED is used to visualize the idle loop activity. The brightness
-// of the LED is proportional to the frequency of invcations of the idle loop.
+// of the LED is proportional to the frequency of invocations of the idle loop.
// Please note that the LED is toggled with interrupts locked, so no interrupt
// execution time contributes to the brightness of the User LED.
//
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/Makefile b/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/Makefile
index a25d41f3..21bd41df 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/Makefile
+++ b/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := game-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -191,7 +191,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M4F
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/README.txt b/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/README.txt
index 35b38dda..c44c609e 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/README.txt
+++ b/examples/arm-cm/game_efm32-slstk3401a/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/game_efm32-slstk3401a/ship.c b/examples/arm-cm/game_efm32-slstk3401a/ship.c
index c626dc1c..ec12902a 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/ship.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/ship.c
@@ -37,7 +37,7 @@
#define SHIP_WIDTH 5
#define SHIP_HEIGHT 3
-// encapsulated delcaration of the Ship active object ----------------------
+// encapsulated declaration of the Ship active object ----------------------
//$declare${AOs::Ship} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//${AOs::Ship} ...............................................................
@@ -169,7 +169,7 @@ static QState Ship_flying(Ship * const me, QEvt const * const e) {
sev->score = me->score;
QACTIVE_POST(AO_Tunnel, (QEvt *)sev, me);
- // lauch the ship from the initial position
+ // launch the ship from the initial position
me->x = GAME_SHIP_X;
me->y = (GAME_SHIP_Y << 2);
status_ = Q_HANDLED();
diff --git a/examples/arm-cm/game_efm32-slstk3401a/tunnel.c b/examples/arm-cm/game_efm32-slstk3401a/tunnel.c
index b0852647..2ee6206f 100644
--- a/examples/arm-cm/game_efm32-slstk3401a/tunnel.c
+++ b/examples/arm-cm/game_efm32-slstk3401a/tunnel.c
@@ -381,7 +381,7 @@ static QState Tunnel_demo(Tunnel * const me, QEvt const * const e) {
}
//${AOs::Tunnel::SM::active::demo::BLINK_TIMEOUT}
case BLINK_TIMEOUT_SIG: {
- me->blink_ctr ^= 1U; // toggle the blink cunter
+ me->blink_ctr ^= 1U; // toggle the blink counter
status_ = Q_HANDLED();
break;
}
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/Makefile b/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/Makefile
index b73ec70c..1caca009 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/Makefile
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := low-power-qk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/README.txt b/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/README.txt
index 3ba6f924..18bf7307 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/README.txt
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/Makefile b/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/Makefile
index 9fb23194..b6509199 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/Makefile
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := low-power-qv
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -177,7 +177,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/README.txt b/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/README.txt
index 3ba6f924..18bf7307 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/README.txt
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qv/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/Makefile b/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/Makefile
index 57f1bd7e..f38168ee 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/Makefile
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/Makefile
@@ -57,7 +57,7 @@ PROJECT := low-power-qxk
# project directories
#
-# location of the QP/C framework (if not provided in an environemnt var.)
+# location of the QP/C framework (if not provided in an environment var.)
ifeq ($(QPC),)
QPC := ../../../../..
endif
@@ -180,7 +180,7 @@ RM := rm
# build options for various configurations for ARM Cortex-M
#
-# combine all the soruces...
+# combine all the sources...
C_SRCS += $(QP_SRCS)
ASM_SRCS += $(QP_ASMS)
diff --git a/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/README.txt b/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/README.txt
index 3ba6f924..18bf7307 100644
--- a/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/README.txt
+++ b/examples/arm-cm/low-power_ek-tm4c123gxl/qxk/gnu/README.txt
@@ -31,7 +31,7 @@ to be adjusted in the provided Makefile, by editing the symbol: GNU_ARM.
As described in the comment for this symbol, the GNU-ARM toolset is taken
from: http://gnutoolchains.com/arm-eabi
-It is highly recommened to use the same GNU-ARM distribution, especially
+It is highly recommended to use the same GNU-ARM distribution, especially
for ARM Cortex-M4F projects, due to the support for the hardware FPU
(float-abi=hard).
***
diff --git a/examples/arm-cm/real-time_nucleo-l053r8/README.md b/examples/arm-cm/real-time_nucleo-l053r8/README.md
index 0f10c560..5af54f13 100644
--- a/examples/arm-cm/real-time_nucleo-l053r8/README.md
+++ b/examples/arm-cm/real-time_nucleo-l053r8/README.md
@@ -41,7 +41,7 @@ The example QP application consists of 2 periodic threads (Active Objects) and t
- directory `qv-tt`: cooperative run-to-completion QV kernel with time-triggered tasks
-# Builing the Examples
+# Building the Examples
## ARM/KEIL MDK
- Open one of the provided KEIL uVision projects (e.g., `rt-qk.uvprojx`) in Keil uVision IDE. Build/Debug/Download to the board from the IDE.
@@ -58,7 +58,7 @@ The NUCLEO-L053R8 needs to be conntected to a logic analyzer as shown in the pic
-The logic analyzer needs to be configured as follwos:
+The logic analyzer needs to be configured as follows:
- sampling rate: several MHz (e.g., 24MHz)
- trigger: Sporadic (PC.13 on the NUCLEO-L053R8), falling edge
- pre-trigger capture ratio: 20%
diff --git a/examples/arm-cr/blinky_launchxl2-tms57012/README.md b/examples/arm-cr/blinky_launchxl2-tms57012/README.md
index 34ada591..7f84df1a 100644
--- a/examples/arm-cr/blinky_launchxl2-tms57012/README.md
+++ b/examples/arm-cr/blinky_launchxl2-tms57012/README.md
@@ -1,5 +1,61 @@
-![LAUNCHXL2-TMS57012](../../../doxygen/images/bd_LAUNCHXL2-TMS57012.jpg)
+> **NOTE**
+This file is best viewed in a **markdown viewer**, such as the one built into GitHub. Markdown viewers are also available as plug-ins to popular Internet browsers.
+
+# Blinky on LAUNCHXL2-TMS57012 board
+This example implements the simple [Blinky application](https://www.state-machine.com/qpc/tut_blinky.html) on the LAUNCHXL2-TMS57012 board (ARM Cortex-R4F). The example blinks the LED
+on the LAUNCHXL2-TMS57012 board at 1Hz (0.5 seconds on, 0.5 seconds off).
+
+
+
+LAUNCHXL2-TMS57012 board
+
+
+## Features Demonstrated
+- cooperative QV kernel
+ + with IAR-ARM toolchain
+ + with TI-ARM toolchain (in Code Composer Studio)
+- preemptive run-to-completion QK kernel
+ + with IAR-ARM toolchain
+ + with TI-ARM toolchain (in Code Composer Studio)
+
+## Build Configurations
+- Debug
+- Release
+- Spy - NOT supported for the simple Blinky example
+
+# Code Organization
+```
+examples\arm-cr\blinky_launchxl2-tms57012
+|
++---qk // preemptive QK kernel
+| +---iar // IAR EWARM
+| | blinky-qk.eww // IAR EW-ARM workspace
+| \---ti // TI CCS
+| \---targetConfigs // CCS project (target config)
+| .ccsproject // CCS project
+| .cproject // CCS project
+| .project // CCS project
+|
+\---qv // cooperative QV kernel
+| +---iar // IAR EWARM
+| | blinky-qv.eww // IAR EW-ARM workspace
+| \---ti // TI CCS
+| \---targetConfigs // CCS project (target config)
+| .ccsproject // CCS project
+| .cproject // CCS project
+| .project // CCS project
+```
+
+# Building the example
+
+### IAR EWARM
+- Open the provided IAR EWARM workspace (either `blinky-qk.eww` or `blinky-qv.eww`)
+in IAR EWARM IDE. Build/Debug/Download to the board from the IDE.
+- Change the build configuration in the "Project Configuration" drop-down menu.
+
+### TI CCS
+- Import the provided CCS project (either `examples\arm-cr\blinky_launchxl2-tms57012\qk\ti`
+or `examples\arm-cr\blinky_launchxl2-tms57012\qv\ti`).
+- Change the build configuration in the "Build" drop-down menu.
-Documentation for this example is available in the QP/C Manual at:
-- https://www.state-machine.com/qpc/arm-cr_blinky_launchxl2-tms57012.html
diff --git a/examples/arm-cr/blinky_launchxl2-tms57012/launchxl2-tms57012.png b/examples/arm-cr/blinky_launchxl2-tms57012/launchxl2-tms57012.png
new file mode 100644
index 0000000000000000000000000000000000000000..04766ae75bfb3eed3b8f778aebfed384af2f23a1
GIT binary patch
literal 136290
zcmcFqV|Qjvu#N4BZQHhOPi)&0+s?!jCr|7rwr$(i#F^ygy=&c{a6j}~r~BjXt~#}M
z?TS)XltP5Vg#!TrL6ngeR|Nq9Ck6ol?S}#XJ|XV<`SyJPqAag2@%8nE4ht6@9TONB
z*vP|Gq0`J?&Ef_
zzFF?-IoQ^-I!Zy6cD{R
zzdGAL%32gdhJA@^2h$vE-Iel982CM7Wjm-v<
zQY)h4BxTf=42&17?W@9~GgC9Pv9Kz51TQxhU8Q9ke+92j&6{!aPWBEpYU&*?wDs9I
zR27uqqoJn?h!%%Mb+~zk{R;Sd^LIKcCskT8R9C-&TVPU47a*fp862LChVy>E6%UDE
zTeap!P9+~&Cn~0}GCZC_Ld}kg*Pib4@bJFg*R{HJ(NM=zY6M_xhuaBIK(S8%6-%963!Xl$IQS79k7eUpM}@B01zWXqte
z;^ETzVq-%T4AOw6uDGNMJvmjA%tv`bq&&XJfO)qSAG5KRYPcjM(@p1+`Q}bS@6Q
zzF)!RnK=tSzowE?Geg5Bc?EI|^w-2BfyrrYS-G3zliWXk*iuqU@r(RDTIkf!i4_n{
zvbKvQp&D`XoTNJUAV#?uu-RyzRj<*24lJ8k?(y%Ofhx6<$H78W#1}uOqWe8
zZszOO{qWC!<~4WcHAHB)F9aHykl*X}|Lep50h^}U?p7-ZIw1fudVYAN`!X-pB)@O_;&K)~zPi)ckQOgLS#eBKw4;djUe*>TE2yQU(VODbW)KFKyl#rCKH(`0<_*}nz
z`F$WuQ?GB#VYz6FrlMq!UJaAL#i)_jS`i^ORAm>|Bg`+@eY$h;Ws|1CK>LEjwU3Mq
zt>3rNf70IGZbK)BSo&th@{agPdiU}>`9QYtR$e(BZEDS`RY=$?%nK=)m;%s76?<27yX#bF--!yB18s#>l`)SfO;XTqNHJ-_S|uIj*Hj
zBK^4f$I|}Yo$O&r+)AMhTTYG3E5)$Dv=O~uO-rS%mU+)Ic}0W9)m9qNMZydq2bXL*
zw9EE^ad21P7bjdmuJ;FAyQ_CE
zGh@w12+Co!J*g!~Nbn(L`uC3wv{?iF7Apo&K1PLb-1XE@EeoT-v=1^wz6ZI
zcWXH<)Yo^R&!3@6sVOENtu1?ap*~PG9%9l1cA4Rxl}5#h_9aj=&;}WGRo2$md+}NSuA17uBDMSiG#vB!J^j=+Kbvp
zEMglhG8|^33{jAn2tNwBV5Lg!H*OWoTrRe*Ok&i?9h`weNaRos7iM0`
zk##GjFpi#k>oc^Eu+(yDCTqeMsLgRmuw1!hyDb0bkcwRdH*l`RL8#N03pWA$Y*yGM
z(2_Z5aE=&J9ux6JWG|5gY|Z);?ct@)q__#SPIn0-tRsB^vqfO+3X#jh-93u!$2KUx
z4nP|)n%cDN7EANS)y_kV3^5C*fN~lkY3bCVl0^(NY{U%W0n#|s29VW2NJNo50D}mU
zZjV&^Fh9O4kU!M=V9k^dWyol70+-w~{pyfj|JM
zL2UZ7yOJ+Z!KFP8uGUjf7(<>#lET5x#^xM>+rsmF=`3;$pWu#4tyjH7H4vXYrRrV@
zpiU7WXvxg%90Cf>-&>-}e}?-rlwmef`oRZ
znoQO@M{J*45%z+@ekqLNHf>zCo}Ht
z38s}cK7T0+W@1$NW;4WsLAe$Q>mU~^zO+g!!B)-)If({+7$Sm-byQm(x~Of46|xgZ
zanh_B-%n#L)FCwo+N})RqmPrWj5|GqQlk(N7OJn$+-K-TNE9w^pdDYMUc$NRe;oX$
zf8Clv8J0eLQ*&+6%u$!ukU$}3-nx=wi|jl>1-}m@2n0gppbbCX=~dhuD32%{`pDY9
zhf4Ja)IqJs?4k-?%O@k97gS*xLt;IQS!5JBQCw6#`Sh4cFk#2BDdUMzs@g_nNO#>1
z0P7s=?X0F&v`VOktXlK);o#r^G&}mLcSJptQ-ULJ00%KSh72J$#m5P5tY#opr`MaP!lHVr0tbmV|NdXwtBs5XAf3g?>VV;E={diikJpT4Q6DwHbj
zJ&Mqg8{1QmZop#oooRA$yqvna8KvHvf?9duy}p)O#;=O@sbbAaHqvI^!k+z9*^=xD
ztQz8IzS8)e*9Rp6?)!F=;KCe(M8@9L{8q<8XBmX8MV}H(5fJduSrgFXKrOlx%aa`T
zAYvNaD5?ixf9gSrTeU8J|1YPZ8zr-EfI(x)FfHv>+>?`Azi%~H9*U>ObpDC~
z%ekqnjM>iF@03DK&FnBIVKwv!!+^cATEh#Qw+qvamMxy6)NPPU5OkbYrnMb#`J)SS
zSWwVzaP8Xf%jMXy<3KapcOWH%CWYwvsfu!W5`fR|pZ{n57P@1}+P05rH2rVLZ^6Ox
ze&oChfB+Vu4fC>Ef*N89Kz#AAa{8zkDMCsXw&-y379D>^-TB~epHw`-`&nB_K@X4D
zZGL!8ykRPVrn!annO`QsNe1fyaYW?6i5No86v3R-35n40OzV|Cz7r`s;(ZM0$i&AV
zQJMakFKMrj?a=tKv^2Z(U^#+{{q|?g$=VnUvUHL|POHkdtWHIWj?z}ZI%
zlv=YNGyD4b)>Q0P|5A>=Af(VXlBu`Y$@l{@Ms6VAoUm2A`>r{bkpOm0s()n-q|M&mkh#-oPxUM1w2nt@-K9U9)1rOU1SqOiDb&|7n#ZCF8IYu6
z(2zmtanXZHw+X{48rBhR7Or1&V#TsZQlE4_$6oQTJsUx9~i@O&u
zUG9dW&nO^V^W62e_PAevs6F#9rF!p5|BL@+?Cf2gLqQ@U-O_17jg(E5SWT>`;wa(w
zj*iH(CnF4->I8`@E6mgUPgg1uj)b`EL5Pg-OGNsG3k;`{SAdVy*xq5F#_8n63+S{}
zIr1R4KU`8WKK-jyT1@ot3a1-=;Gli+t3xjXyvd1VR{y9x2iEKXfEO`P7TDqe@c`+~0zJmn^%4Mh{rqQv0OOy&P!mx_;aKtJt7&
zq=|uH-cRsk`D_zvrq|$g_&mmP#?tE(tBGclwG+-{-Nq
z+jZBs>v6pAg6dh1>t{MJ)r
z*X6!@Z$hWspFLOJgdGM(3U&WAQQC1p!?pESG|`QHwrhKHDfD~R8(|uqD5YHKRrG$i
z_#qn|K7s->?_wf2SYNTxzr7~tC_F1%9zU;VOTExW)UmS)rDsK&^(kHQ=8d$^fge&g
zet&NCuiDnv+uzSA@u&N4HCZs}wa~S~2XIJ^z}`a0VMSPloF3!2;$ux#l^d`-&@c!L
z$sa=w4Uy{v=U|r@3`7QEw