1.点击 Middleware -> 选择 FreeRTOS -> 下拉框选择 V2 版本 CMSIS
2.Config paramenters
3.Tasks and Queues : STACK SIZE
Queues:Queue Size
4. /* creation of QueueMasterToMonitor */
osMessageQueueId_t osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr)
/* creation of defaultTask */
osThreadId_t osThreadNew (osThreadFunc_t func, void *argument, const osThreadAttr_t *attr)
5.