在STM32CubeIDE中配置FreeRTOS中间层时需要选择interface,其中有三个选项:Disable、CMSIS_V1和CMSIS_V2,在之前的学习过程中我只移植过FreeRTOS的源码,并没用使用过CMSIS-RTOS接口,因此我在网上搜集了资料,凭借自己的理解再次记录。
CubeIDE FreeRTOS配置界面
CMSIS
ARM官方定义:
English:
The CMSIS is a vendor-independent hardware abstraction layer for microcontrollers that are based on Arm® Cortex® processors. The CMSIS defines generic tool interfaces and enables consistent device support. It provides simple software interfaces to the processor and the peripherals, simplifying software re-use, reducing the learning curve for microcontroller developers, and reducing the time to market for new devices.
The CMSIS is defined in close cooperation with various silicon a