<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > STM32學(xué)習(xí)記錄16 ucosii+UCGUI

          STM32學(xué)習(xí)記錄16 ucosii+UCGUI

          作者: 時(shí)間:2016-11-13 來源:網(wǎng)絡(luò) 收藏
          主要介紹下UCGUI的修改:
          1:GUI_X_ucos.c文件夾,第80行,修改為:
          /*
          *********************************************************************************************************
          * GUI_X_ExecIdle()
          *********************************************************************************************************
          */
          void GUI_X_ExecIdle (void)
          {
          // OS_X_Delay(1);
          OSTimeDly(50);//自己修改的
          }
          2:GUI_X_ucos.c最后添加以下函數(shù),從GUI_X.c文件拷貝的,工程中不需要添加GUI_X
          //下面是從GUI_X拷貝的
          /*********************************************************************
          *
          * Logging: OS dependent
          Note:
          Logging is used in higher debug levels only. The typical target
          build does not use logging and does therefor not require any of
          the logging routines below. For a release build without logging
          the routines below may be eliminated to save some space.
          (If the linker is not function aware and eliminates unreferenced
          functions automatically)
          */
          void GUI_X_Log (const char *s) { GUI_USE_PARA(s); }
          void GUI_X_Warn (const char *s) { GUI_USE_PARA(s); }
          void GUI_X_ErrorOut(const char *s) { GUI_USE_PARA(s); }
          工程文件截圖如下:


          評(píng)論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();