Toolchain

  • Download and prepare binary of each toolchain files in a centralized folder.

  • Edit environment varialbe PATH to include those folder or it's /bin folder.

  • ST Link tools are obtained by installing STM32CCubeIDE. Then, you will be able to find it in the installaiton folder.

path

Essential Toolchain:

  1. ARM GNU

  2. CMake

  3. Ninja

  4. ST Link GDB Server (From CubeIDE Installation).

    Example Location:

    C:\ST\STM32CubeIDE_$YOUR_VERSION_NUMBER$\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.0.100.202109301221

  5. STM32_Programmer_CLI (From CubeIDE Installation)

    Example Location:

    C:\ST\STM32CubeIDE_$YOUR_VERSION_NUMBER$\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.100.202110141430

  6. Side Note: ST Link for Linux https://github.com/stlink-org/stlink

Test Your Toolchain Installation:

Run below commands in CMD to check toolchain installation.

arm-none-eabi-gcc --version
STM32_Programmer_CLI --version
ST-LINK_gdbserver --version
cmake --version
ninja --version