首页> 中文期刊> 《液晶与显示》 >基于 STM32的μC/OS_II 与μC/GUI 整合移植与显示优化

基于 STM32的μC/OS_II 与μC/GUI 整合移植与显示优化

         

摘要

In order to create an efficient,intuitionistic and multi-mission embedded development plat-form,the embedded experimental environment was designed based on the μC/OS _ II,μC/GUI, STM32 MCU and ILI9320 LCD.Research was done to explore the migration method of the μC/OS_II and μC/GUI and to optimize the μC/GUI on the lack of the Chinese and low rate of the screen re-fresh.The organizational structure of the μC/OS_II and μC/GUI were studied,and the files that were closely associated with stm32 mcu were rewritten.At the same time,the operation of the μC/GUI transplantation was done based on the success of the transplantation of the μC/OS_II including the modification of the files related to the μC/OS _ II and the adaptation of the μC/GUI bottom-driven functions.And Chinese font library was added to the system based on the successful transplantation of the μC/GUI.The μC/GUI functions of drawing pixel,line and rectangle were rewritten to increase the screen refresh rate.The experimental results show that the four created tasks run regular services, and the Chinese character displayed normally.The screen refresh rate increased from 996 080 to 1 629 060 pixel/s.The μC/OS_II and μC/GUI worked cooperatively and the optimization of the μC/GUI functions improved the screen's performance.%为了创建一个高效、直观、支持多任务的嵌入式图像开发平台,建立了基于μC/OS_II、μC/GUI、STM32、ILI9320液晶屏的嵌入式实验环境,对μC/OS_II 和μC/GUI 的整合移植方法进行研究,并针对μC/GUI 的中文支持欠缺和屏幕刷新率低等不足进行优化.研究了μC/OS_II、μC/GUI 的组织架构,针对μC/OS_II 与 CPU 任务切换密切相关的文件进行改写,同时在μC/OS_II 成功移植的基础上对μC/GUI 进行进一步的移植操作,包括修改与μC/OS_II 相关的文件,改写μC/GUI 底层与 LCD 驱动密切联系的函数.在μC/GUI 成功移植的基础上对其字库文件进行改写,加入中文字库;对μC/GUI 的画点、画线、矩形填充函数进行修改,提高液晶屏的屏幕刷新效率.实验结果表明,所创建的4个任务切换正常,中文正常显示,同时像素填充率由之前的996080/s 上升到优化后的1629060/s.μC/OS_II 与μC/GUI 能正常地协同工作,优化带来了μC/GUI 性能的提升.

著录项

  • 来源
    《液晶与显示》 |2014年第6期|950-956|共7页
  • 作者单位

    河南理工大学 计算机科学与技术学院;

    河南 焦作 454000;

    河南理工大学 计算机科学与技术学院;

    河南 焦作 454000;

    河南理工大学 计算机科学与技术学院;

    河南 焦作 454000;

    河南理工大学 计算机科学与技术学院;

    河南 焦作 454000;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 实时操作系统;
  • 关键词

    μC/OS_II; μC/GUI; 整合; 优化;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号