ARM Unity

Open-source method for SW component testing. Perform Unit Test on target (SUT) sending feedback report to execution environment (PC)
Improved

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;

Arm Unity setup

Enhance test quality/relevance using same environment (compiler + uC) of the production

10/31/22
Relationships with other web-repo artefacts
Improvement Classification
Effort needed for test
Open source - Goals
Yes
Cybersecurity, Safety, Functional Requirements
Contents

There are currently no items in this folder.