Renesas Community
Search Community
User
Join or sign in
Site
Search Community
User
Renesas Engineering Community
FAQ
HELP
More
Cancel
がじぇっとるねさすコミュニティ
その他・過去ファイル
GR-KURUMI e2studio(V3)用スケッチ環境 V1.05
Forums
Files
がじぇっとるねさす ゆーざー会 - Wiki
Tags
More
Cancel
New
Upload/Edit File
GR-KURUMI e2studio(V3)用スケッチ環境 V1.05
File or Website
Upload a file or enter a website address.
Upload file
Remove file
Name
GR-KURUMI e2studio(V3)用スケッチ環境 V1.05
Description
<p><a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/2.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/2.png" border="0" alt=" " /></a></p> <p>※V4用をアップしました。<a href="/gr_user_forum_japanese/m/mediagallery/230.aspx">こちら</a></p> <p>GR-KURUMIのスケッチも通常はWebコンパイラを使いますが、ネットワークの関係で遅くイラッとする場合に備えて統合開発環境e2studioでもスケッチできます。Windows限定となってしまいますが、ご了承ください。</p> <p><span style="color:#ff0000;">注意:日本語版ではカスタムリンカーファイルの指定(-T)だと、不具合があり正常にビルドできません。インストールディレクトリ eclipse\下の、e2studio.exeがあるディレクトリにある、e2studio.iniファイルを編集し、-Duser.language=enを追加して起動する必要があります(英語環境になってしまいます)。</span></p> <h1>ローカルビルド環境の構築方法</h1> <p>適用するツールのバージョン、および、入手先はそれぞれ以下になります。</p> <ul> <li>e2studio</li> </ul> <ul> <li>入手先:<a href="http://japan.renesas.com/products/tools/ide/e2studio/downloads.jsp">http://japan.renesas.com/products/tools/ide/e2studio/downloads.jsp</a></li> </ul> <ul> <li>KPIT GNU tools</li> </ul> <ul> <li>KPIT GNU tools入手先:<a href="http://www.kpitgnutools.com/index-ja.php">http://www.kpitgnutools.com/index-ja.php</a></li> </ul> <h1><a class="anchor"></a>ローカルビルド環境のセットアップ</h1> <ol> <li>e2studio をダウンロードします。(ダウンロードするには My Renesasへの登録が必要です)</li> <li>KPIT GNU Toolsをダウンロードします。(ダウンロードするには ユーザー登録が必要です)</li> <li>まずはじめに、e2stduioをインストールします。インストールフォルダはデフォルト(C:\Renesas\e2studio)で行います。</li> <li>次に、KPIT GNU Toolsをインストールします。</li> </ol> <p>※必ず、e2studio ⇒ KPIT GNU Tools の順番でインストールしてください。間違ってしまった場合は、C:/Renesas/e2studioフォルダにGNU RL78をそのままコピーしてください。</p> <h1><a class="anchor"></a>プロジェクトのインポート/ビルド手順</h1> <ol> <li>添付ファイルを解凍します。RLduino78フォルダで解凍されます。</li> <li>e2studioを起動してメニューより「File」⇒「Import」を選択します。</li> <li>「Import」ダイアログで「General」⇒「Existing Projects into Workspaceを」選択し、「Next」ボタンを押します。</li> <li>「Select archive file:」を選択し、「Browse」ボタンを押し、解凍したフォルダRLduino78を選択し、「Finish」ボタンを押します。<ol> <li><a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/1.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/1.png" border="0" alt=" " /></a></li> </ol></li> <li>プロジェクトが生成されます。あとはビルドやデバッグなど行うだけです。</li> </ol> <p></p> <h1>小ネタ</h1> <p> <a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png" border="0" alt=" " width="14" height="14" /></a>E1やE20との接続について → <a href="/gr_user_forum_japanese/b/weblog/archive/2013/06/09/gr-kurumi-e1-e20.aspx">こちら</a></p> <p> <a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png" border="0" alt=" " width="14" height="14" /></a>インポートやエクスポートについて</p> <p> インポートではアーカイブ(zipとかファイルの集合体)のままできますので楽ですが、このときプロジェクト名は変えられません。</p> <p> でも、プロジェクトツリーで名前を変更すればプロジェクト名を変更できます。ちなみに、エクスポートでアーカイブ出力するときに名前を付けられます。例えば、「KURUMIchan」で作っていたものを他の方でも使えるように「KURUMI_Channel」とかにリネームできます。</p> <p> </p> <p> <a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png" border="0" alt=" " width="14" height="14" /></a>コンパイラのバージョンを変える</p> <p> ツールの設定のほとんどは、<a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/e2setting.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/e2setting.png" border="0" alt=" " /></a>のボタンから行います。コンパイラのバージョンはchange tool versionから行うのですが、KURUMIではWebコンパイラ上の環境に合わせるということもあって、スタートアップ用のオブジェクト(crtなんとか.o)などは、バージョン固定でパス指定してます。でもどうしても変えたいときは、setting→linker→Inputから変えられます。</p> <p> <a href="/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png"><img src="/resized-image.ashx/__size/550x0/__key/communityserver-components-userfiles/00-00-01-43-52-attached+files/4718.032_5F00_05.png" border="0" alt=" " width="14" height="14" /></a>なんか虫のマークがたくさん出る。</p> <p> これは私の環境でもそうなるのですが、インラインでのマクロ定義(#define)以外のmake時にしているマクロ定義(setting→compiler→Macro Defines)は、なんだかエディタのプラグインから無視されてしまうようです。このために、関数の参照先がないとか色々整合が取れなくなって虫がたくさん湧いてしまいます。でもbuildが完了すれば別に問題ないです。</p>
Tags
Search Engine Optimization
Title
Adjust the title exposed to search engines and facebook. If not set, the post’s title will be used. Custom titles should be 55 characters or less for bst results.
Keywords
Comma-separated list of words that uniquely relate to this content. These can be used by search engines to improve search results.
Description
If specified, search engines and facebook will use this description to provide an excerpt of this post. For best results this should be 150 characters or less.
Image
An image to respresent this post which will be used by sites that can read Open Graph tags such as facebook.
Upload file
Remove file
Post
Delete