2017年10月30日 星期一

海賊王 對 團隊精神 以及 夥伴 的解釋


海賊王 對 團隊精神 的解釋


海賊王 對 相信夥伴 的解釋


2017年10月24日 星期二

使用 IAR 小技巧 (加入 AStyle, Eclipse)

IAR compiler 雖然效能最好, 但 IDE 真的不好用.
使用2個小技巧, 可以讓開發變得友善, 容易一些
一是加入排版工具AStyle. 二是可使用 Eclipse IAR 外掛


1. 加入 AStyle, 作排版
http://blog.csdn.net/lidingtian/article/details/52187548

2. 使用 Eclipse IAR 外掛
http://eclipse-update.iar.com/
https://read01.com/zh-tw/gL3K.html#.We8FklWWbIW
http://blog.csdn.net/u011408697/article/details/50098625





2017年10月10日 星期二

Word 新增註解 字體變小問題 解決方法

在新版Word 編輯之後, 再由Word 2007 開啟編輯 -> 存檔 -> 關閉檔案之後, 再開啟文件. 會產生新增註解字體變小問題. 此為Word 相容性問題.

以下步驟為解決方法:
1. 選擇到 [檢視] 頁面 -> 巨集 -> 檢視巨集, 按下 [檢視巨集]
2. 按下 [組合管理]
3. 選擇到 [樣式] 頁簽, 往下到 [註解方塊文字], 按下 [刪除]
4. 按下 [是]
 5. 關閉對話框, 新增註解字體大小 即可回復正常

2017年7月19日 星期三

ARMv8-A Data types

ARM Cortex-A Series Programmer’s Guide for ARMv8-A

Data types

In many programming environments for C and C-derived languages on 64-bit machines, int variables are still 32 bits wide, but long integers and pointers are 64 bits wide. These are described as having an LP64 data model. This chapter assumes LP64, though other data models are available, see Table 5.1. The ARM ABI defines a number of basic data types for LP64. Some of these can vary between architectures, and are included in the following:



參考: http://infocenter.arm.com/help/index.jsp?topic=%2Fcom.arm.doc.den0024a%2Fch08s02.html

2017年7月2日 星期日

C 語言學習資源

這兩天看到大陸的教學視頻,C语言从菜鸟到高手,記錄一下幾個 C 語言學習資源

C语言从菜鸟到高手 传智播客 尹成
共有340集視頻
http://www.bilibili.com/video/av5120945/?from=search&seid=17388912961331436624

100条经典C语言笔试题目
https://wenku.baidu.com/view/9364c269b84ae45c3b358c7c.html

<<C和指針>> 筆記66條
https://forum.mianbaoban.cn/t/c-66/44480?utm_source=EETC%20Forum%20Alert&utm_medium=Email&utm_campaign=2017-07-03

Simen 大大的 slideshare 深入淺出 C語言
https://www.slideshare.net/simenli/c-49341309

還有就是 Jserv 大大的「你所不知道的 C 語言」系列講座
http://hackfoldr.org/dykc/


2016年12月10日 星期六

MinGW 64 bit & Eclipse 安裝 與 freertos simulator on Windows

看到 freertos 教學影片 使用 Eclipse IDE, 也找了資料來裝裝看.


step 1: 安裝 gcc
step 2. 安裝 Java JDK
step 3: 安裝 Eclipse
step 4. 新建專案, 測試
step 5. 下載 freertos
step 6. 開啟 freertos windows simulator 專案

step 1: 這邊裝的是 tdm gcc
http://tdm-gcc.tdragon.net/download
選擇 64 bit 版本: tdm64-gcc-5.1.0-2.exe

[開始] --> [執行] --> [cmd] 在指令視窗 [gcc -v] 和 [gdb] 看是否正常執行。

step 2: 安裝 Java SE Development Kit, 找到最新版本
http://www.oracle.com/technetwork/java/javase/downloads/index.html

step 3: 安裝 Eclipse IDE for C/C++
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplersr2

step 4: 新建 Hello 專案. 測試 compiler 是否成功.
這裡會遇到 compiler error, 需將 \bin\mingw32-make.exe 檔名改成make.exe

step 5: 下載 freertos V9.0.0
http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html#UsingEclipseMingW

step 6: 開啟 freertos windows simulator 專案
\FreeRTOSv9.0.0\FreeRTOS\Demo\WIN32-MingW


即可以在 windows 環境下使用 Eclipse / gcc 學習 freertos.



2016年11月4日 星期五

快速學習法之費曼技巧 - 發表是最好的記憶

看到一則朋友的分享連結: https://www.zhihu.com/question/20576786
討論的是費曼的快速學習法~ 費曼技巧。

大意是透過向他人清楚的說明一件事,來確認自己真的理解了這件事。

常常我們閱讀過或學習過後,其實還是似懂非懂,只理解其中的一部分。透過將想法寫下或與他人分享,教學的過程,可以釐清自己不懂的地方,因為只有將資訊組織架構之後才能夠讓人容易了解。

讓我想到了候捷先生與 Jserv 大神常提到的,胡適先生的名句:[ 發表是最好的記憶 ]。

費曼技巧 步驟重點整理為:

1. 找一個想要理解的主題,學習過後,在白紙上最上方寫下這個主題。
2. 假設一個場景,是要向另個人傳授這個主題概念。
3. 如果無法順利解說,表示還有不清楚的地方;再回去查找資料,重新學習。
4. 最後,以自己的語句解釋這個主題。表現這個主題概念已經在大腦中產生了更多的連結。

費曼技巧可以幫助我們
1. 認清目標。
2. 理清思路。
3. 深入完善知識。

[ 用眼睛看,都是別人的。 ]
[ 只有親身經歷,才能深刻體會。 ]