随笔分类 -  STM32F429I-DISC1

摘要:目標 因為對 device tree 不是很熟悉, 所以就將 device tree, 設為學習目標。 啟動 注意, 這篇隨筆的解說都放在最下面,會標 Explanation_XX,只要搜尋 Explanation_XX 往上找,就可以看到 source code 要解說的點, 總之就是多找幾遍,如 阅读全文
posted @ 2017-07-13 19:46 wangchangruei 阅读(7688) 评论(0) 推荐(0) 编辑
摘要:為 device node 取 label name, 可以在其它位置使用 &label 存取 device node。 Ex ./arch/arm/boot/dts/stm32f429.dtsi ./arch/arm/boot/dts/stm32f429 disco.dts 阅读全文
posted @ 2017-06-24 22:37 wangchangruei 阅读(831) 评论(0) 推荐(0) 编辑
摘要:device tree source Example1 Example2 Example3 阅读全文
posted @ 2017-06-21 15:56 wangchangruei 阅读(612) 评论(0) 推荐(0) 编辑
摘要:device tree source Example1 Example2 Example3 Example4 阅读全文
posted @ 2017-06-19 22:13 wangchangruei 阅读(2552) 评论(0) 推荐(1) 编辑
摘要:Creating .config file 以上命令是 將變數 ARCH=arm,CROSS_COMPILE=arm none eabi 傳進 Makefile 裡使用, 在 ./arch/arm/configs下有一隻給 stm32 board 使用的設定檔 stm32_defconfig 使用 阅读全文
posted @ 2017-06-18 18:36 wangchangruei 阅读(289) 评论(0) 推荐(0) 编辑
摘要:command Makefile content output 阅读全文
posted @ 2017-06-18 18:04 wangchangruei 阅读(268) 评论(0) 推荐(0) 编辑
摘要:也就是 Usage: dtc [options] <input file + I, in format <arg Input formats are: dts device tree source text dtb device tree blob fs /proc/device tre 阅读全文
posted @ 2017-05-14 21:43 wangchangruei 阅读(2465) 评论(0) 推荐(0) 编辑
摘要:This is for Devicetree Specification Release 0.1 Interrupt Mapping Example p19 在講解前,先帶進一些 PCI 的基礎觀念 pci device 的 其中一種 type address 由下方組成 為什麼 硬體要連成這樣子呢 阅读全文
posted @ 2017-04-24 11:42 wangchangruei 阅读(1602) 评论(0) 推荐(0) 编辑