筆者阿緯我最近拜讀了李無言所寫的"一步步寫嵌入式操作系統-ARM的編程方法與實踐"一書

在試著依照第一章所述建構開發環境的過程當中,發現原作者所提供的網站已經不復存在

同時,在查詢解決方案之時發現許多中國大陸的網友也和阿緯我遇到了許多相同的問題(據說很多人因為這些問題卡關很久)

這些問題不搞定,就只能在這本書中看理論的部份

少了動手實作,成就感就少了很多啊

awe31402 發表在 痞客邦 留言(0) 人氣()

首先,按照這篇文章的 Cross Compiling 部份作過一遍

這樣在Raspberry Pi 裡就會有新版本的核心

http://www.raspberrypi.org/documentation/linux/kernel/building.md

接著,在linux的工作目錄中執行以下指令:

mkdir ../modules

awe31402 發表在 痞客邦 留言(0) 人氣()

Screenshot from 2014-06-14 14:31:18

組合語言程式碼 boot.asm

    org    07c00h        ;tell compiler the load address
    mov    ax, cs
    mov    ds, ax
    mov    es, ax

awe31402 發表在 痞客邦 留言(1) 人氣()

訓練程式

#include<stdio.h>
#include<math.h>
#include<time.h>
#include<stdlib.h>

awe31402 發表在 痞客邦 留言(0) 人氣()

#include<iostream>
#include"AQueue.h"
#include<iomanip>
using namespace std;
#define MAZESIZE 8

awe31402 發表在 痞客邦 留言(0) 人氣()

Dictionary.h

#ifndef DICTIONARY_H
#define DICTIONARY_H
template<typename Key ,typename E>
class Dictionary

awe31402 發表在 痞客邦 留言(0) 人氣()

Opencv角落偵測

#include<opencv2/opencv.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<stdlib.h>
using namespace std;

awe31402 發表在 痞客邦 留言(0) 人氣()

Queue.h 佇列ADT

#ifndef QUEUE_H
#define QUEUE_H
template <typename E>
class Queue

awe31402 發表在 痞客邦 留言(0) 人氣()

Queue.h 佇列ADT

#ifndef QUEUE_H
#define QUEUE_H
template <typename E>
class Queue

awe31402 發表在 痞客邦 留言(0) 人氣()

Link.h 節點定義

#ifndef LINK_H
#define LINK_H
template<typename E>
class Link

awe31402 發表在 痞客邦 留言(0) 人氣()

1. 安裝 ibus  鍵盤管理工具

 sudo apt-get install ibus ibus-gtk ibus-gtk3 ibus-qt4

2. 安裝 新酷音輸入法

 sudo apt-get install ibus-chewing

3.轉換成  ibus 鍵盤管理

awe31402 發表在 痞客邦 留言(0) 人氣()

#ifndef LINK_H
#define LINK_H
template<typename E>
class Link
{

awe31402 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。