-
Notifications
You must be signed in to change notification settings - Fork 42
[JA] Added wolfTPM Appendix for build with bare-metal #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -396,3 +396,361 @@ cd .. | |||||
| #### Windows上での実行 | ||||||
|
|
||||||
| マシン上でのTPMの存在とその状態を確認する為には"tpm.msc"を実行してください。 | ||||||
|
|
||||||
| ### ベアメタル環境向けのビルド | ||||||
|
|
||||||
| wolfTPMは、OSが存在しないベアメタルの組み込み環境向けにもビルドできます。 | ||||||
| このセクションでは、wolfTPMをユーザのプロジェクトへ導入し、autotoolsやCMakeを使用してコンパイルするまでの手順を解説します。 | ||||||
|
|
||||||
| このセクションで示す手順は、ARM Cortex-MやRISC-V、UltraScale+/Versal、Microbrazeのような一般的なマイコンボードに適用できます。 | ||||||
|
||||||
| このセクションで示す手順は、ARM Cortex-MやRISC-V、UltraScale+/Versal、Microbrazeのような一般的なマイコンボードに適用できます。 | |
| このセクションで示す手順は、ARM Cortex-MやRISC-V、UltraScale+/Versal、Microblazeのような一般的なマイコンボードに適用できます。 |
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
サンプル関数内の(void)os;は、この関数スコープでosが定義されていないため、そのままだとコンパイルできません。未使用変数抑止が目的なら、実際に未使用の引数/変数に対して行うか、この行自体を削除してください。
| (void)os; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このセクションの説明が「autotoolsやCMakeを使用してコンパイル」となっていますが、後続の手順はソースファイルをプロジェクトに取り込んで直接ビルドする流れになっています(autotools/CMakeを使わない手順)。内容と矛盾するので、文言を「autotools/CMakeを使用せず(ソースを直接コンパイルして)」のように修正した方がよいです。