- git diff
 
- kill $timer -->自動自殺
 - grep "tesintg ! " * --> 如果有驚嘆號 必須改成 -> grep "tesing \!" *
 
- FreeRTOS uses its list structure to keep track of tasks for scheduling, and also to implement queues
 - 此作業重點在於要將TCB (Task Control Block)找出來
 
- 由rtenv porting to RTOS
 
- ls -lh xxxxx --> 檔案詳細資訊
 - RTOS 已經將現有的檔案存取做好了 ,其中包括fio_open , fio_close , fio_write , fio_seek等等
 
- fio_write(1, buf, count); // Write buffer to fd 1 (stdout, through uart)
 
- 首先要先移植如下功能至FreeRTOS:
 
          htoa --> ok  (與itoa共用一個helper function)    
          int2str  -> ok
          str2int  -> ok 
          strlen -> ok
          strcmp -> ok
sprintf -> ok
printf -> ok
sprintf -> ok
printf -> ok
- xQueueCreate usage: (from queue.h)
 
         refer to http://www.freertos.org/a00116.html
- stdarg.h --> for the printf and sprintf need to used.
 
http://zh.wikipedia.org/zh-tw/Stdarg.h
- 實作printf中,遇到一個問題:
 
沒有留言:
張貼留言