Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 4 months ago.
GR-PEACH mbed_blinky コンパイルエラーについて
mbed環境初心者です。
GR-PEACHのボードを使用し、Getting Startedを参考にmbed_blinkyのサンプルプログラムを動作させようとしています。 Getting StartedのURL:<https://os.mbed.com/teams/Renesas/wiki/GR-PEACH-Getting-Started>
ところが、プログラムをインポートしコンパイルを実行すると、以下のエラーとなってしまい、 コンパイルが正常終了できません。
<エラー内容> Error: "/tmp/4Khlhw", line 9: Error: #5: cannot open source input file "mem_RZ_A1H.h": No such file or directory Error: #include "mem_RZ_A1H.h" Error: ^ Error: /tmp/4Khlhw: 0 warnings, 1 error Error: Pre-processor step failed for '/extras/mbed/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/MBRZA1H.sct' Error: Image needs at least one load region. Error: Not enough information to list the image map. Info: Unable to download. Fix the reported errors...
何が原因なのか、また解決方法がわかる方、ご教示頂きたく、宜しくお願い致します。
1 Answer
7 years, 4 months ago.
Hello Shinpei,
The mbed_blinky program you are trying to compile uses Mbed 2. Try importing the latest version which uses Mbed 5 found here:
https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-blinky/
I was able to successfully compile this program for the GR-PEACH. Hope this helps!
-Karen, team Mbed