summaryrefslogtreecommitdiffstats
path: root/src/doc/embedded-book/src/intro/install/macos.md
blob: 9a797563ac2341fda5835819a9d64e1deafa98c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# macOS

All the tools can be installed using [Homebrew] or [MacPorts]:

[Homebrew]: http://brew.sh/
[MacPorts]: https://www.macports.org/

## Install tools with [Homebrew]

``` text
$ # GDB
$ brew install armmbed/formulae/arm-none-eabi-gcc

$ # OpenOCD
$ brew install openocd

$ # QEMU
$ brew install qemu
```

> **NOTE** If OpenOCD crashes you may need to install the latest version using: 
```text
$ brew install --HEAD openocd
```

## Install tools with [MacPorts]

``` text
$ # GDB
$ sudo port install arm-none-eabi-gcc

$ # OpenOCD
$ sudo port install openocd

$ # QEMU
$ sudo port install qemu
```



That's all! Go to the [next section].

[next section]: verify.md