c++ -o out.exe srf1.cpp srcf2.cpp ...
Bus 003 Device 006: ID 0483:374b STMicroelectronics ST-LINK/V2.1
Bus 003 Device 005: ID 0483:374e STMicroelectronics STLINK-V3
❯ openocd -f interface/stlink.cfg -f target/stm32f3x.cfg
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Info : STLINK V2J37M26 (API v2) VID:PID 0483:374B
Info : Target voltage: 2.902491
Info : [stm32f3x.cpu] Cortex-M4 r0p1 processor detected
Info : [stm32f3x.cpu] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f3x.cpu on 3333
Info : Listening on port 3333 for gdb connections
STATE_ONLINE
and STATE_DEMOPLAYBACK
as ingame.
Closes #7178.