kopia lustrzana https://github.com/stlink-org/stlink
26 wiersze
306 B
Plaintext
26 wiersze
306 B
Plaintext
|
INSTALL
|
||
|
=======
|
||
|
|
||
|
1) Load the sg kernel module:
|
||
|
|
||
|
$ modprobe sg
|
||
|
|
||
|
2) On Ubuntu you need to install the package libsgutils2-dev:
|
||
|
|
||
|
$ sudo apt-get install libsgutils2-dev
|
||
|
|
||
|
3) Make:
|
||
|
|
||
|
$ make -C build
|
||
|
|
||
|
4) Install or reinstall
|
||
|
|
||
|
$ sudo make install -C build
|
||
|
|
||
|
5) Run:
|
||
|
|
||
|
$ st-util <port> [/dev/sgX]
|
||
|
|
||
|
6) Have fun!
|
||
|
|