This is the repo for the firmware from the PRoMo project.
ST provides a bundle of command line utilities necessary to compile and debug a cmake project: STM32CubeCLT.
At the moment, the HAL library needs to be manually added to the project.
- Reference Manuel for the micro-controler: RM0383 -Reference manual. Usefull for a detailed description of the HW modules.
- Datasheet of the uc : STM32F411xE Datasheet. You can found the list of the pins alternate functions here.
- You can also found the HAL User Manual with the STM32CubeF4 in //STM32Cube/Repository/STM32Cube_FW_F4_V1.21.0/Drivers/STM32F4xx_HAL_Driver/STM32F411xE_User_Manual.chm. You can see the details of every HAL functions and a list of the structures fields and possible values.
Install from package manager (choco for windows works)
openocd.exe -f ./tools/stlink.cfg -f ./tools/stm32f4x.cfg
Needs to be arm-none-eabi-gdb
. Should come with the arm-none-eabi-
toolchain.
arm-none-eabi-gdb.exe {BUILD_FOLDER}/{TARGET}.elf -x ./tools/.gdbinit
Use STM32 VSCode extension
https://www.st.com/content/st_com/en/campaigns/stm32-vs-code-extension-z11.html
python .\pyqt_plotter.py -p COM8 --auto-connect -n Left Right