-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #328 from arkedge/feature/build_option_docs
C2A User 開発者のための簡易なドキュメントを追加
- Loading branch information
Showing
7 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Architecture | ||
|
||
## 概要 | ||
C2A が想定する,アーキテクチャについてまとめる (TBW). | ||
|
||
|
||
## OBC | ||
通信機と接続され衛星の全体を司る MOBC (Main On-Board Computer) と,MOBC の配下に接続される sub OBC (AOCS OBC など) が存在する. | ||
そして,コンポーネントの中心に MOBC があり, sub OBC を含む各コンポーネントは MOBC と接続される. | ||
|
||
デフォルトは sub OBC 向けの実装となっており, MOBC を開発するときは,`C2A_MOBC_FEATURES` を `ON` にし有効化する. | ||
https://github.com/arkedge/c2a-core/blob/4472ef1a5670c2674f10b6b72b088d616367bd86/CMakeLists.txt#L24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# CMake | ||
## CMake Options | ||
C2A User から利用するビルドオプションは, [`/CMakeLists.txt`](/CMakeLists.txt) で定義される. | ||
https://github.com/arkedge/c2a-core/blob/4472ef1a5670c2674f10b6b72b088d616367bd86/CMakeLists.txt#L5-L31 | ||
|
||
|
||
### `stdint.h` | ||
C89 ターゲットでビルドする際に `C2A_USE_STDINT_WRAPPER` を `ON` にすることで,コンパイラが提供するものではなく,ユーザ定義の `stdint.h` を使うことができる. | ||
その場合, `src_user/library/stdint_impl.h` にユーザー定義の `stdint.h` を配置すること. | ||
https://github.com/arkedge/c2a-core/blob/4472ef1a5670c2674f10b6b72b088d616367bd86/CMakeLists.txt#L14 |