ucosiii 移植

最近想在 f429 上面使用 mdk526 版本的 IDE,配合 HAL 和ucosiii。考虑到的方法是对比 v7 开发板的 ucosiii 和裸机程序,找出需要修改的地方,然后对比 v6 开发板的 ucosiii 和 裸机程序,然后把相应的修改融合起来即可。

ucosiii 学习笔记

OSTaskCreate 的参数中有一个 void *p_ext,这个参数用来传递额外的信息,可以用来传递数组,结构体等等。 AppTaskStart --> CPU_Init --> CPU_TS_Init --> CPU_TS_TmrInit --> BS...

gentoo rtthread scons error: unknown type name 'fd_set

手动在rtconfig.h中加人 #define HAVE_SYS_SELECT_H 就能编译过了

gentoo rt-thread pkgs --update except Exception, e:

使用 rt-thread pkgs --update 时候, 提示出错,信息如下: Traceback (most recent call last): File "/home/ptz/.env/tools/scripts/env.py", line 31, in <module&g...

gentoo rt-thread scons --menuconfig libs/lxdialog/util.o: undefined reference to symbol 'nodelay'

今天在另外一台电脑上面使用 rt-thread 的 env 工具,scons --menuconfig 出现错误,提示如下: scons: Reading SConscript files ... scons: Entering directory `/home/ptz/workspace/r...

atomthread 在 iar-stm8中编译错误

今天使用 iar-stm8 编译 atomthread 出错,出错提示为: Error[Lc036]: no block or place matches the pattern "ro code section .text in atomport-asm-iar.o" 经...

sdcard 调试问题

在使用rtthread调试sdcard是出现了一下问题,总结如下。 在FindSCR 函数中死循环。 解决方法: 在FindSCR函数的 while循环中,增加跳出即可。 在index++; 下面增加 if (index >= 2) break; 写入出错,总是提醒 write f...

非抢占式,有优先级的简易OS

os_cfg.h #include "reg51.h" #define TIME_PER_SEC 200 //定义任务时钟频率,200Hz #define CLOCK 22118400 //定义时钟晶振,单位Hz #define MAX_TASK 4 //...