摘要: 两个静态task idle_TCB Timer_TCB FreeRTOSConfig.h 配置文件 #define configUSE_PREEMPTION 1 支持抢占,即的中断中切换任务(不用等其他任务调用taskYIELD 函数) #define configSUPPORT_STATIC_AL 阅读全文
posted @ 2022-02-13 17:04 张志伟122 阅读(317) 评论(0) 推荐(0) 编辑
摘要: previous: https://www.cnblogs.com/zhangzhiwei122/p/15889718.html osStatus_t osKernelInitialize (void) { osStatus_t stat; if (IS_IRQ()) { stat = osErro 阅读全文
posted @ 2022-02-13 17:03 张志伟122 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 上传一个使用stm32cubemx-lwip-freertos的demo step by step 一步步的使用stm32 cubemx 生成项目,添加lwip 支持, 添加freertos 支持,使用 tcp 通信 https://github.com/zhiwei122126/steps 阅读全文
posted @ 2022-02-13 15:39 张志伟122 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 原文 : https://arm-software.github.io/CMSIS_5/RTOS2/html/rtos_api2.html 相关文档: https://arm-software.github.io/CMSIS_5/RTOS2/html/cmsis__os2_8h.html Funct 阅读全文
posted @ 2022-02-13 15:35 张志伟122 阅读(455) 评论(0) 推荐(0) 编辑
摘要: from : https://www.freertos.org/a00111.html FreeRTOS keeps the memory allocation API in its portable layer. The portable layer is outside of the sourc 阅读全文
posted @ 2022-02-13 15:22 张志伟122 阅读(221) 评论(0) 推荐(0) 编辑
摘要: from : https://www.freertos.org/vTaskStepTick.html 1 系统idle 状态 the Idle task is the only task able to execute idle 任务是 唯一任务时,系统进入idle 状态。 2 configUSE_ 阅读全文
posted @ 2022-02-13 14:43 张志伟122 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/Qrsleizhipeng/article/details/83377340 相关文档 freertos taskXXX_CRITICAL 的文档: https://www.freertos.org/taskENTER_CRITICAL_task 阅读全文
posted @ 2022-02-13 13:35 张志伟122 阅读(612) 评论(0) 推荐(0) 编辑
摘要: task.c 中,关于调度器的 启用和关闭 1 uxSchedulerSuspended 定义: PRIVILEGED_DATA static volatile UBaseType_t uxSchedulerSuspended = ( UBaseType_t ) pdFALSE; /* Contex 阅读全文
posted @ 2022-02-13 13:26 张志伟122 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 1、包含两个标准头文件 stddef.h stdint.h 参考:GCC 对C语言标准的的支持情况 https://www.cnblogs.com/zhangzhiwei122/p/15758274.html freestanding implemantion需要提供 <float.h> <limi 阅读全文
posted @ 2022-02-13 09:40 张志伟122 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为CSDN博主「诺亚方包」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/weixin_40973138/article/details/89044372 STM32CubeMX 教程 简介: S 阅读全文
posted @ 2022-02-13 09:02 张志伟122 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://www.cnblogs.com/iot-dev/p/11681067.html 准备 在移植之前,我们首先要获取到FreeRTOS的官方的源码包。这里我们提供两个下载链接: 一个是官网:http://www.freertos.org/ 另外一个是代码托管网站:https:/ 阅读全文
posted @ 2022-02-13 08:51 张志伟122 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 原文链接: https://blog.csdn.net/weixin_43610939/article/details/109614753 最近在安装qt时突然无情出现登录注册界面,还没有跳过的按钮,如下图: 解决方法: 先退出安装,断开网络,再重新进入安装,这个界面就没有啦。 阅读全文
posted @ 2022-02-13 08:40 张志伟122 阅读(1135) 评论(0) 推荐(0) 编辑
摘要: 推荐-本科2011年左右时看的 - windows MFC 程序开发经典图书。书里面的vc 版本和 mfc版本已经很老了,但是对机制的讲解依然是经典。 MFC:Microsoft Foundation Classes,微软公司提供的一个类库(class libraries),以C++类的形式封装了W 阅读全文
posted @ 2022-02-13 08:36 张志伟122 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 上本科时候(2011年左右)时看的,非常经典的视频教程。 现在B站上面还有,真好! 对于学习了解windows 图形界面程序运转机制非常合适 https://www.bilibili.com/video/BV1JJ411u7X2 搭配图书: 深入浅出MFC 作者-侯俊杰 https://baike. 阅读全文
posted @ 2022-02-13 08:21 张志伟122 阅读(190) 评论(0) 推荐(0) 编辑