Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,16 @@ Having this in your .gdbinit boils down the flashing/debugging process to:

### ST-Link (st-util)

This example uses the st-util by texane that you can find on [GitHub](https://github.com/texane/stlink).
This example uses the st-util GDB server by texane that you can find on [GitHub](https://github.com/texane/stlink). Remember to start it by running

st-util

# you should see output like this:
st-util
2021-08-12T16:20:15 INFO common.c: F42x/F43x: 256 KiB SRAM, 2048 KiB flash in at least 16 KiB pages.
2021-08-12T16:20:15 INFO gdb-server.c: Listening at *:4242...

After you've started your GDB server, flash *in a separate terminal*:

cd examples/stm32/f1/stm32vl-discovery/miniblink
arm-none-eabi-gdb miniblink.elf
Expand Down