@@ -35,8 +35,20 @@ IF YOU HAVE AN STLINKv2
35
35
36
36
You're ready to go :)
37
37
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
+
40
52
$ make && [sudo] ./st-util
41
53
42
54
There are a few options:
@@ -52,8 +64,21 @@ There are a few options:
52
64
-p 4242, --listen_port=1234
53
65
Set the gdb server listen port. (default port: 4242)
54
66
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
57
82
58
83
Have fun!
59
84
0 commit comments