Giter Site home page Giter Site logo

tak256real / toppers_ev3rt_et Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 2.0 33.66 MB

C 79.87% HCL 4.46% C++ 7.18% Assembly 0.54% Makefile 1.43% Objective-C 2.32% Python 0.76% TeX 0.14% CSS 0.04% Shell 0.05% Java 0.61% Arduino 0.12% M4 0.07% Logos 0.03% Mathematica 0.03% HTML 2.04% Perl 0.28% Pawn 0.02%

toppers_ev3rt_et's Introduction

Build Status

toppers_ev3_et

ビルドの仕組み

  1. workspace/Makefile で ターゲットの指定(以下 target とする)
  2. workspace/target/Makefile.inc を include し、 configure のパラメータを設定する
  3. ディレクトリ workspace/OBJ を 作成し、 作成した OBJ を カレントディレクトリにする
  4. OBJ/ 内で configureを実行、Makefileを⽣成
    • workspace/target をパスに含めて,2の設定を使⽤
    • make app=xxx の場合のテンプレートは Makefile.app
  5. OBJ/ で 4. で⽣成した Makefile を make
  6. スタンドアローン版の場合は,objcopy で ELF形式のモジュールからバイナリ形式の hrp2.bin を⽣成し、mkimage コマンドで hrp2.bin から uImage を⽣成
    • uboot がロードするためのファイル形式に変換
  7. workspace/ に app or uImage をコピー
    • appは動的ローディング形式のアプリケーションモジュール

新規プロジェクトの作成

  1. 始めに既存のプロジェクトをコピーすると楽
    • cp –a old-target new-terget
  2. 不要なソースコードを削除し、必要なファイルを追加する
    • app.c / app.cpp / app.cfg あたりはデフォルトだと必要なファイルなので削除はしない事
    • 上記、 app から名称を変更する場合は workspase/Makefile の修正が必要
  3. Makefile.inc でアプリケーションの設定
    • APPL_COBJS += xxx.o として gcc のビルド対象を追加
    • APPL_CXXOBJS += xxx.o として g++ のビルド対象を追加
    • SRCLANG := c | c++ で C か C++ もありかを設定する

toppers_ev3rt_et's People

Contributors

muraryu avatar reinasaito avatar tak256real avatar ouchitakaaki avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.