H8S用のファームウェア(OSはNORTi)をHEWでビルドしたらリンカがwarning出した。解決にちょっと手間取ったので備忘録メモ。 ターゲットCPUはルネサスのH8Sファミリ。 OSはミスポのNORTiをライブラリリンクしています。 まずリンカの出力メッセージ。 Phase OptLinker starting L1502 (W) Stack size in "os_core" conflicts with that in another file Phase OptLinker finished Build Finished 0 Errors, 1 Warningスタックサイズが "os_core" と他のファイルで矛盾してる。。うーん、作成されたmapファイルを見たけど特に怪しいところはない。STACKセクションもちゃんと定義してるし。 os_coreなんて名前のファイル私は作っ
![H8SでNORTiのライブラリリンク時にL1502のwarningが出た時の対処方法 - yeast’s blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/7a7c4c2c1e4e06cebd544373b5f7b37c4a316867/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fh%2Fh_east%2F20131030%2F20131030120918.png)