Windows
arm-none-eabi-gdb
ARMはWindows向けに.exeインストーラを提供しています。hereから1つを入手して、手順に従って下さい。 インストールプロセスが終了する直前に“環境変数にパスを追加”オプションを選択します。 その後、ツールが%PATH%にあることを確認します。
$ arm-none-eabi-gdb -v
GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 8.1.0.20180315-git
(..)OpenOCD
There’s no official binary release of OpenOCD for Windows but if you’re not in the mood to compile it yourself, the xPack project provides a binary distribution, here. Follow the provided installation instructions. Then update your %PATH% environment variable to include the path where the binaries were installed. (C:\Users\USERNAME\AppData\Roaming\xPacks\@xpack-dev-tools\openocd\0.10.0-13.1\.content\bin\, if you’ve been using the easy install)
Verify that OpenOCD is in your %PATH% with:
$ openocd -v
Open On-Chip Debugger 0.10.0
(..)QEMU
QEMU公式サイトからQEMUを入手します。
ST-LINK USBドライバ
USBドライバもインストールする必要があります。そうでなければOpenOCDは動きません。インストーラの手順に従って下さい。 そして、正しいドライバのバージョン(32ビットか64ビット)をインストールすることを確認して下さい。
以上です!次のセクションに進んで下さい。