Skip to content

STM32_INSTALL_WINDOWS

spielhuus edited this page Aug 2, 2019 · 14 revisions

Prepare Linux Host

on linux the arm compiler has to be installed.

install the ARM compiler

The gcc compiler contains tools for compiling, linking and building building code for MCU. Install these three packeges:

  • gcc-arm-none-eabi
  • binutils-arm-none-eabi
  • libnewlib-arm-none-eabi

archlinux

sudo pacman -Sy community/arm-none-eabi-binutils community/arm-none-eabi-gcc community/arm-none-eabi-gdb community/arm-none-eabi-newlib debian/ubuntu

sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi

Prepare Windows Host

Install Software

  • STM32CubeMX is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors.

  • Eclipse IDE Install the Eclipse IDE for C/C++ Developers

  • STM32CubeMx Eclipse plugin install the file with the eclipse software manager.

    You must then create a new update site, to be able to install System Workbench for STM32 - Bare Metal Edition:

  • STSW-LINK009 This USB driver (STSW-LINK009) is for ST-LINK/V2 and ST-LINK/V2-1 boards and derivatives (STM32 discovery boards, STM32 evaluation boards, STM32 Nucleo boards).

  • ST-LINK-SERVER The ST-LINK server is an application to share the debug interface of a single ST-LINK board among several host applications, typically a debugging tool and a monitoring tool. Of course, two debugging tools cannot simultaneously control the same target, but both may have access to it, if appropriate connection settings are chosen.

  • STSW-LINK004 STM32 ST-LINK Utility (STSW-LINK004) is a full-featured software interface for programming STM32 microcontrollers.