Tested with NXP LPC1768 board on Linux.
Set CROSS_COMPILE environment variable.
mkdir Build && cd Build
cmake -DBOARD=NXP/LPC1768mbed -DAPPLICATION=LabAPart/CMSIS_RTOS_Conformance
make
make install
More information here
Add CMake, MinGW to your PATH and set CROSS_COMPILE environment variable.
mkdir Build
cd Build
cmake -G "MinGW Makefiles" -DAPPLICATION=<application_vendor/application_name> -DBOARD=<board_vendor/board_name> ..
mingw32-make
Copy Application\LabAPart\CMSIS_RTOS_Conformance\CMSIS_RTOS_Conformance.bin
to your development board.
More information here
Results should be printed on the default board UART.
You should see something like that:
(...)
- Test osMessagePut() (3) : PASS
- Test osMessagePut() when there is no space : PASS
# Test osMailCreate() / osMailAlloc() / osMailCAlloc() / osMailPut() / osMailGet() / osMailFree()
- Test osMailAlloc() when out of resource : PASS
- Test osMailPut() when out of resource : PASS
- Test osMailFree() with message which has not been removed from the mailbox (status != osOK) : FAIL
- Test osMailGet() : PASS
- Test osMailFree() (status == osOK) : FAIL
- Test osMailFree() with message already freed : PASS
=> Test completed - pass:90 fail:3
- Latest ARM RTX / CMSIS RTOS results
- Latest FreeRTOS results
To run the CMSIS RTOS on FreeRTOS add the arguments -DSUPPORT_RTOS=FreeRTOS
to your CMake command line.
For instance:
cmake -DBOARD=NXP/LPC1768mbed -DAPPLICATION=LabAPart/CMSIS_RTOS_Conformance -DSUPPORT_RTOS=FreeRTOS ..
make
make install