Forums: Help (Thread #1729)

AKIH8のメイクファイル (2003-01-09 00:34 by tk303 #3378)

はじめましてTK303です。

h4_100.lzh(シフトJIS版)をダウンロードして秋月のコンパイラでメイク
してみましたが、ini_cyc.c, sta_cyc.c, stp_cyc.c のメイクファイル中の
パス指定が違うみたいです。

メイクファイル(akih8.mak)中には $(KNLTIMDIR) (= $(KERNELDIR)\tim)
とありますが、実際には上記ファイルは $(KERNELDIR)\cyc にあります。

一応メイクファイルを修正したらメイクできました。

gcc版とhtc版ではメイクファイルを見る限りはちゃんとなっているようです。
(メイクした後で気付きました)

ご報告まで。

p.s.
秋月のH8/3664FのキットでHOSを動かしたいと思っていますが、
そのままで動作するんでしょうか?

Reply to #3378×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: AKIH8のメイクファイル (2003-01-09 01:16 by hamayan #3379)

おおそうです。リリースファイルの秋月のMAKEFILEは、
幾つか修正が有ります。
手元にパッチが有るのに、一体どこから入手したんだっ
け?

リリースファイルに不明点が有る時は、ソースコードリ
ポジトリから、CVSリポジトリの参照で、最新の情報
が入手できますよ。

あと、H8/3664Fには、そのままでは動かせません。
lib\h8がTiny相当のフォルダーになるはずですが、ペン
ディングされています。
H8のアドバンスドモードとは、アドレッシングが異なる
ので、そのCPU依存の所を作成せねばなりません。

有志求む!
Reply to #3378

Reply to #3379×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

3664対応(但しgcc) (2003-01-09 05:09 by m-arai #3380)

https://sourceforge.jp/tracker/index.php?func=detail&aid=1006&group_id=183&atid=780

かなり昔動かしたのを引っ張り出して現状合わせした
だけなので、完全かどうかは分かりませんし、チュー
ニングの余地があります。

#秋月コンパイラに手を出しかねる最大の理由は、
#-DEFがないこと
Reply to #3379

Reply to #3380×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

秋月Cでも3664対応 (2003-01-09 13:16 by m-arai #3383)

秋月C用も入れておきました。同じようにsampleの
動作しか確認してませんが。

吐き出すオブジェクトはgccよりもだいぶ小さくなって
います。3534:4650

やはり*が正しく2byteになるのと、古くてもメーカ
純正の実力?
Reply to #3380

Reply to #3383×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 秋月Cでも3664対応 (2003-01-09 22:54 by tk303 #3386)

TK303です。すばやい対応ありがとうございます。

hamayanさんの返事を見て半分あきらめてましたが、やる気がでてきました。

今度マイクロマウスを作るので、その制御(ステッピングモーター、光センサー、
液晶ディスプレイ、スイッチ類等)にHOSを使えたらいいなぁと思っています。

すぐには試せませんが、そのうち報告したいと思います。
("動かない報告"含む)

# それより私はi-TRON触ったことないのでした。勉強せねば。
Reply to #3383

Reply to #3386×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 秋月Cでも3664対応 (2003-01-10 01:24 by hamayan #3391)

ううう、残念ながら秋月で動かないのです。
HOSだけ表示して終わってしまいました。
パッチ当てるの失敗したのかなあ。

hos-v4の上のディレクトリでパッチを当てるんですよね。
途中、sample/h83n/akih8n.makを作る辺りから、全然
進まなくなるので、途中でやめて、diffを編集して必要
なファイルを生成したのがいけないんだな、多分。

もう、今日は限界なので、寝ます。チャレンジは明日以降。
Reply to #3383

Reply to #3391×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 秋月Cでも3664対応 (2003-01-10 08:26 by m-arai #3394)

何故か私のところでも例のCVSのパッケージ付属のpatch
ではうまくいきません。

仕方ないので、変更、追加ファイルのみそのままの
ディレクトリ構成でアーカイブしたものを、Patchesに
上げました。これを上書きして試してみてください。
Reply to #3391

Reply to #3394×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 秋月Cでも3664対応 (2003-01-11 16:47 by tk303 #3434)

TK303です。

私のところでもパッチ当てがうまく行きませんでした。
(cygwinのpatchコマンドを使用)
m-arayさんのディレクトリ構成でアーカイブしたものを上書きして試してみました。
なんとかサンプルをビルドして、「HOS」と表示するところまで動作しました。

Task1が1秒毎に時間を表示してます。
すばらしい!(初めてリアルタイムOSを動かしたのでちょっと感激)

これでHOS-V4をH8-Tinyで使用する目処が立ちました。ありがとうございました。

p.s.
サンプルをビルドするまでいろいろ試行錯誤が必要でした。
これは秋月の開発環境に依存する問題だと思われるので、別スレッドで投稿します。
Reply to #3394

Reply to #3434×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login