Skip to content

Commit 6553ba1

Browse files
bors[bot]Disasm
andcommitted
Merge #173
173: Minor Linux guide fixes r=japaric a=Disasm Co-authored-by: Vadim Kaushan <[email protected]>
2 parents 468fe20 + d5a893f commit 6553ba1

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/03-setup/linux.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Here are the installation commands for a few Linux distributions.
44

55
## REQUIRED packages
66

7-
- Ubuntu 18.04 or newer / Debian stretch or newer
7+
### Ubuntu 18.04 or newer / Debian stretch or newer
88

99
> **NOTE** `gdb-multiarch` is the GDB command you'll use to debug your ARM
1010
> Cortex-M programs
@@ -24,7 +24,7 @@ $ sudo apt-get install \
2424
openocd
2525
```
2626

27-
- Ubuntu 14.04 and 16.04
27+
### Ubuntu 14.04 and 16.04
2828

2929
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
3030
> Cortex-M programs
@@ -40,7 +40,7 @@ $ sudo apt-get install \
4040
openocd
4141
```
4242

43-
- Fedora 23 or newer
43+
### Fedora 23 or newer
4444

4545
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
4646
> Cortex-M programs
@@ -52,9 +52,9 @@ $ sudo dnf install \
5252
openocd
5353
```
5454

55-
- Arch Linux
55+
### Arch Linux
5656

57-
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug ARM
57+
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
5858
> Cortex-M programs
5959
6060
``` console
@@ -63,7 +63,7 @@ $ sudo pacman -S \
6363
minicom
6464
```
6565

66-
`openocd` is not available in the official Arch repositories, but can be installed from the [AUR](https://aur.archlinux.org/packages/openocd/) or can be compiled from source as follows:
66+
`openocd` is not available in the official Arch repositories, but can be installed from the AUR ([openocd-git](https://aur.archlinux.org/packages/openocd-git/) package) or can be compiled from source as follows:
6767

6868
``` console
6969
git clone git://git.code.sf.net/p/openocd/code openocd-code
@@ -73,7 +73,10 @@ cd openocd-code
7373
make && make install
7474
```
7575

76-
- `arm-none-eabi-gdb` for other distros
76+
### Other distros
77+
78+
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
79+
> Cortex-M programs
7780
7881
For distros that don't have packages for [ARM's pre-built
7982
toolchain](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads),
@@ -94,23 +97,23 @@ PATH=$PATH:$HOME/local/gcc-arm-none-eabi-7-2017-q4-major/bin
9497

9598
## Optional packages
9699

97-
- Ubuntu / Debian
100+
### Ubuntu / Debian
98101

99102
``` console
100103
$ sudo apt-get install \
101104
bluez \
102105
rfkill
103106
```
104107

105-
- Fedora
108+
### Fedora
106109

107110
``` console
108111
$ sudo dnf install \
109112
bluez \
110113
rfkill
111114
```
112115

113-
- Arch Linux
116+
### Arch Linux
114117

115118
``` console
116119
$ sudo pacman -S \

0 commit comments

Comments
 (0)