Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 707 Bytes

File metadata and controls

41 lines (30 loc) · 707 Bytes

Place Where I Can Tweak STM32

Using C++ and CMake to make it all work.

Build

Configure:

cmake --preset debug

Build:

cmake --build --preset debug --target blinky

Flash:

cmake --build --preset debug --target flash

USART Communication

To read output from the board you need this package:

sudo pacman -S uucp

And then run a command like this:

cu -l /dev/ttyACM0 -s 115200

You might need to use another tty, check which one with:

ls -lt /dev/tty*

Configuration VSCode

In .vscode you will find some sample configs that you can use to quickly start building and debugging the project from the VSCode itself.