首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > If you are running this example, will the PC emulation window, the first 1,2,3

If you are running this example, will the PC emulation window, the first 1,2,3

  • 资源大小:109.94 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 嵌入式芯片 c++

资 源 简 介

这个例子如果运行,将在仿真的PC窗口中的第1,2,3行显示一些信息后,在随机位置显示 1 ~ 5 .由于keil c51默认不支持重入函数,它的重入函数使用仿真的重入栈而不使用系统栈,而Small RTOS 51没有进行重入栈管理,所以在TaskA~TaskE虽然及其相似,但不能合并. (2)编译时会有5个警告,其中一个是因为没有使用一个系统函数OSSendSignal引起,它可以忽略.另4个是禁止任务间变量覆盖分析引起,必须忽略.感谢网友John X. Liu,在这个例子中我使用了他编写的仿真(dllPc51Emu.dll),这个dll原来是为他移植的Ucos-ii for keil c51的例子编写.-If you are running this example, will the PC emulation window, the first 1,2,3-line display some information, at random locations show " 1 " ~ " 5" . Keil c51 as the default does not support the re-entry function, which re- into the function of the weight stack instead of using the simulation using the system stack, while the Small RTOS 51 not been re-stack management, and so TaskA ~ TaskE though its similar, but not combined. (2) compile-time there will be five warnings, One of them is because there is no cause to use a system function OSSendSignal, it can be ignored. The other four are prohibited between the variables covered analyze the task to be ignored. thank User

文 件 列 表

P89V51
h
KEILC51
OS
reentrant
SerialIn
SerialOut
TaskDel
UserTask
VIP VIP
0.240925s