概要
Mac OS High SierraでEnergia 1.6.10でLaunchpadにプログラムを書き込むとエラーが出る対策。
環境
- Mac OS High Sierra 10.13.4
- Energia 18 aka Energia 1.6.10E18
状況
-
インストールしたままで出るエラー
failed MSpanList_Insert 0x30d000 0x504f9a602be9 0x0
fatal error: MSpanList_Insert
# 手順
1. Energia 18 aka Energia 1.6.10E18を[http://energia.nu/download/](http://energia.nu/download/)からインストール
2. Arduino Builderを入れ替える
1. arduino-builder-macosx-...を[https://github.com/arduino/arduino-builder/releases](https://github.com/arduino/arduino-builder/releases
)からダウンロードする。
現在の最新版はarduino-builder-macosx-1.3.25.tar.bz2でした。
2. ダウンロードしたファイルをダブルクリックして展開する。
3. Energiaをコントロールを押しながらクリックし、パッケージの内容を表示を選ぶ。
4. 展開して出来たarduino-builderをContents/Javaに移動する。
3. mspdebugを入れ替える
1. mspdebug.zipを[https://github.com/energia/Energia/files/595237/mspdebug.zip](https://github.com/energia/Energia/files/595237/mspdebug.zip)からダウンロードする。
2. ダウンロードしたファイルをダブルクリックして展開する。
3. Energiaをコントロールを押しながらクリックし、パッケージの内容を表示を選ぶ。
4. 展開して出来たmspdebugをContents/Java/hardware/tools/msp430/bin/に移動する。
# 参考
1. https://forum.43oh.com/topic/13041-energia-ide-fails-with-fatal-error-mspanlist_insert/
2. https://github.com/energia/Energia/issues/938