This Software Pack contains a pre-built example that shows how to use the validation suite together with uVision Simulator.
Software Setup
Using Pack Installer, copy the example project CMSIS-RTOS Validation for the uVision Simulator to your machine.
- Choose one of the Available Targets and build the project.
- Start a debug session and run the test using the simulator.
Enable Test Cases
In the Manage Run-Time Environment window it is possible to add or remove software components.
Some software components are mandatory for this project:
- CMSIS:RTOS (API):Keil RTX
- Compiler:I/O:STDOUT, variant ITM or User if your hardware does not support ITM.
- CMSIS:CMSIS RTOS Validation:Framework
The groups of test cases may be enabled or disabled at will:
- Note
- Use this example project to test your own CMSIS compliant RTOS. Simply disable the component CMSIS:RTOS (API):Keil RTX and select your implementation in the Manage Run-Time Environment window. This implies that you have created a Software Pack for your component.
Configure RV_Config.h
The RV_Config.h
is located under the CMSIS RTOS Validation group in the Project window.
The common test settings help you to choose the output format of the test:
- The Print Output Format lets you select if you wish to create the output as plain text or as styled XML.
- The Buffer size for assertions results determines the size of the buffer that can be observed in the Watch window.
Available Targets
The project contains two targets:
- Create XML: Test results and statistics are printed to the file
TestReport\TestReport.xml
. Open the file in a web browser of your choice.
- Debug: Results and statistics are printed to the Debug (printf) Viewer window through the ITM output. You can also examine the results in the test_report buffer structure which is accessible through the Watch window.