st-util
Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller. More information: <https://github.com/texane/stlink>.
Install
- All systems
-
curl cmd.cat/st-util.sh
- Debian
-
apt-get install stlink-tools
- Ubuntu
-
apt-get install stlink-tools
- Alpine
-
apk add stlink
- Arch Linux
-
pacman -S stlink
- Kali Linux
-
apt-get install stlink-tools
- Fedora
-
dnf install stlink
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install stlink-tools
- OS X
-
brew install stlink
- Dockerfile
- dockerfile.run/st-util
- Docker
-
docker run cmd.cat/st-util st-util
powered by Commando
Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller. More information: <https://github.com/texane/stlink>.
-
Run GDB server on port 4500:
st-util -p 4500
-
Connect to GDB server:
(gdb) target extended-remote localhost:4500
-
Write firmware to device:
(gdb) load firmware.elf
© tl;dr; authors and contributors