...
Code Block |
---|
# to build project make all # to open a serial port (make sure /dev/tty0/ACM0 exists first) minicom -b 115200 -o -D /dev/ttyACM0 # to flash STM board with Raspberry Pi Probe (WIP) openocd -f interface/cmsis-dap.cfg -f target/stm32f4x.cfg -c "adapter speed 5000" -c "program ./build/cerberus.elf verify reset exit" |
Old:
List of STM tools to download (lowkey might not even need to download them):
https://www.st.com/en/development-tools/stm32cubeclt.html
https://www.st.com/en/development-tools/stm32cubemx.html
https://www.st.com/en/development-tools/st-mcu-finder-pc.html#get-software
https://www.st.com/en/development-tools/stm32cubeide.html#get-software
Then install the “STM32 VS Code Extension” in VS Code. Now you have the full functionality of STM Cube IDE in VSCode!
Windows
sudo port install openocd