Skip to content

Commit b48db26

Browse files
committed
Update primary README with current documentation
1 parent 75c434e commit b48db26

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

README

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,20 @@ IF YOU HAVE AN STLINKv2
3535

3636
You're ready to go :)
3737

38-
To run the gdb server, do (you do not need sudo if you have set up
39-
permissions correctly):
38+
COMPILING
39+
~~~~~~~~~
40+
This project was converted to Autotools by a well meaning individual. The
41+
following steps will build the project for you.
42+
43+
$ ./autogen.sh
44+
$ ./configure
45+
$ make
46+
47+
USING THE GDBSERVER
48+
~~~~~~~~~~~~~~~~~~~
49+
To run the gdb server: (you do not need sudo if you have set up
50+
permissions correctly)
51+
4052
$ make && [sudo] ./st-util
4153

4254
There are a few options:
@@ -52,8 +64,21 @@ There are a few options:
5264
-p 4242, --listen_port=1234
5365
Set the gdb server listen port. (default port: 4242)
5466

55-
Then, in gdb: (remember, you need to run an _ARM_ gdb, not an x86 gdb)
56-
(gdb) target remote :4242
67+
Then, in your project directory, someting like this...
68+
(remember, you need to run an _ARM_ gdb, not an x86 gdb)
69+
70+
$ arm-none-eabi-gdb fancyblink.elf
71+
...
72+
(gdb) tar extended-remote :4242
73+
...
74+
(gdb) load
75+
Loading section .text, size 0x458 lma 0x8000000
76+
Loading section .data, size 0x8 lma 0x8000458
77+
Start address 0x80001c1, load size 1120
78+
Transfer rate: 1 KB/sec, 560 bytes/write.
79+
(gdb)
80+
...
81+
(gdb) continue
5782

5883
Have fun!
5984

0 commit comments

Comments
 (0)