您当前的位置: 首页 >  CodeAllen嵌入式编程 stm32

STM32CubeMX学习使用(配置freeRTOS 问题)

CodeAllen嵌入式编程 发布时间:2019-06-18 07:51:02 ,浏览量:4

1 vTaskDelayUntil 未定义
之前移植完系统一直说没有定义,原来是没有使能

2
//#include “mxconstants.h” //现版本是在main.h

3 内存分配

4 时基选择
添加操作系统之后需要改变时基,不能继续选择systik
WARNINGS:
it is strongly recommende dto use a timebase source other than the systick when freertos is userd.
the timebase source can be changed from the pinout tab under sys

问题原因:
就是不要选择systick而是选择其他时基
因为freertos工作时会调用systick,防止其他进程干扰系统

关注
打赏
查看更多评论
  • 4浏览

    0关注

    770博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录