Skip to content

Latest commit

 

History

History

README.md

MUI - STM32F411RE Nucleo implementation

STM32F411RE Nucleo implementation of an example use case of the MUI.

Setting up the resources for STM32F411RE Nucleo

  1. download STM32CubeMX
  2. install STM32Cube under root into the default directory (/usr/local)
sudo ./SetupSTM32CubeMX-6.2.0
  1. run STM32Cube
/usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX
  1. install the latest software pack for the STM32F4 image they will appear under ~/STM32Cube/Repository/STM32Cube_FW_F4_*
  2. copy the software pack under /usr/local
sudo cp -r ~/STM32Cube/Repository/STM32Cube_FW_F4_* /usr/local

Installing dependencies for compilation, debugging and flashing toolchain

Install STM tools for flashing and debugging:

sudo apt-get -y install stlink-tools stm32flash

For debugging over STLink using arm-none-eabi-gdb, install:

sudo apt-get -y install gdb-multiarch

YouCompleteMe has a problem with stdlib in C. Install this:

sudo apt-get -y install gcc-multilib

Compiling

./compile.sh

Flashing

Flash using the STLink:

./flash.sh

Pins

To gatherer

  • UART1
  • RX = PA10
  • TX = PA9

To MiniPIX

  • UART6
  • RX = PC7
  • TX = PC6