ARM UnityOpen-source method for SW component testing. Perform Unit Test on target (SUT) sending feedback report to execution environment (PC)https://repo.valu3s.eu/tools/improved-developed-tool/arm-unityhttps://repo.valu3s.eu/@@site-logo/logo_valu3s_green_transparent.png
ARM Unity
Open-source method for SW component testing. Perform Unit Test on target (SUT) sending feedback report to execution environment (PC)
The tool uses the software component test framework 'Unity' and integrates the semihosting debugging feature for ARM Cortex microcontroller.
Debugging an ARM Cortex Mx microcontroller via serial wire debug (SWD) port and exploiting the serial wire output (SWO) pin for semihosting, which allows the target CPU to redirect the standard output of stdio C library via UART or Manchester protocol on PC. This enables to execute software component testing with Unity framework directly on microcontroller, collecting the test results on PC.
The tool is the software component test framework that has to be integrated with software under test; the linker file should be modified to place the framework code in a dedicated non-volatile memory area to limit hte impact to software under test execution; the code is then compiled for the target microcontroller; the test execution has to be supported by a debugger tha support the semihosting feature; the output can be redirect on PC file or in a PC terminal;