STM32F411RE Nucleo implementation of an example use case of the MUI.
- download STM32CubeMX
- install STM32Cube under root into the default directory (
/usr/local)
sudo ./SetupSTM32CubeMX-6.2.0- run STM32Cube
/usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX- install the latest software pack for the STM32F4
they will appear under ~/STM32Cube/Repository/STM32Cube_FW_F4_* - copy the software pack under /usr/local
sudo cp -r ~/STM32Cube/Repository/STM32Cube_FW_F4_* /usr/localInstall STM tools for flashing and debugging:
sudo apt-get -y install stlink-tools stm32flashFor debugging over STLink using arm-none-eabi-gdb, install:
sudo apt-get -y install gdb-multiarchYouCompleteMe has a problem with stdlib in C. Install this:
sudo apt-get -y install gcc-multilib./compile.shFlash using the STLink:
./flash.sh- UART1
- RX = PA10
- TX = PA9
- UART6
- RX = PC7
- TX = PC6