aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshela <shelaf@users.noreply.github.com>2020-01-04 15:57:59 +0900
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-03 22:57:59 -0800
commit6e520a721dc093244473bb786a1058d655f75406 (patch)
tree1cc81e63d3a7dfc3db0640014df89bc7971e2aa0
parent8b80cf853bd8896dd7f86f8c80290826583abccc (diff)
downloadqmk_firmware-6e520a721dc093244473bb786a1058d655f75406.tar.gz
qmk_firmware-6e520a721dc093244473bb786a1058d655f75406.zip
[Docs] fix installation commands for macos (#7785)
* [Docs] fix installation commands for macos * Update docs/getting_started_build_tools.md
-rw-r--r--docs/getting_started_build_tools.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/getting_started_build_tools.md b/docs/getting_started_build_tools.md
index 2721a9a03..95f17e4b2 100644
--- a/docs/getting_started_build_tools.md
+++ b/docs/getting_started_build_tools.md
@@ -43,7 +43,7 @@ Debian / Ubuntu example:
43Fedora / Red Hat example: 43Fedora / Red Hat example:
44 44
45 sudo dnf install gcc unzip wget zip dfu-util dfu-programmer avr-gcc avr-libc binutils-avr32-linux-gnu arm-none-eabi-gcc-cs arm-none-eabi-binutils-cs arm-none-eabi-newlib 45 sudo dnf install gcc unzip wget zip dfu-util dfu-programmer avr-gcc avr-libc binutils-avr32-linux-gnu arm-none-eabi-gcc-cs arm-none-eabi-binutils-cs arm-none-eabi-newlib
46 46
47Arch / Manjaro example: 47Arch / Manjaro example:
48 48
49 pacman -S base-devel gcc unzip wget zip avr-gcc avr-binutils avr-libc dfu-util arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib git dfu-programmer dfu-util 49 pacman -S base-devel gcc unzip wget zip avr-gcc avr-binutils avr-libc dfu-util arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib git dfu-programmer dfu-util
@@ -57,16 +57,17 @@ By default, this will download compilers for both AVR and ARM. If you don't need
57 nix-shell --arg arm false 57 nix-shell --arg arm false
58 58
59## macOS 59## macOS
60If you're using [homebrew,](http://brew.sh/) you can use the following commands: 60If you're using [Homebrew](http://brew.sh/), you can use the following commands:
61 61
62 brew tap osx-cross/avr 62 brew tap osx-cross/avr
63 brew tap PX4/homebrew-px4 63 brew tap osx-cross/arm
64 brew update 64 brew update
65 brew install avr-gcc@8 65 brew install avr-gcc@8
66 brew link --force avr-gcc@8 66 brew link --force avr-gcc@8
67 brew install dfu-programmer 67 brew install dfu-programmer
68 brew install dfu-util 68 brew install dfu-util
69 brew install gcc-arm-none-eabi 69 brew install arm-gcc-bin@8
70 brew link --force arm-gcc-bin@8
70 brew install avrdude 71 brew install avrdude
71 72
72This is the recommended method. If you don't have homebrew, [install it!](http://brew.sh/) It's very much worth it for anyone who works in the command line. Note that the `make` and `make install` portion during the homebrew installation of `avr-gcc@8` can take over 20 minutes and exhibit high CPU usage. 73This is the recommended method. If you don't have homebrew, [install it!](http://brew.sh/) It's very much worth it for anyone who works in the command line. Note that the `make` and `make install` portion during the homebrew installation of `avr-gcc@8` can take over 20 minutes and exhibit high CPU usage.