aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/cli.md9
-rw-r--r--docs/faq_build.md16
-rw-r--r--docs/newbs_getting_started.md5
-rwxr-xr-xutil/macos_install.sh7
4 files changed, 12 insertions, 25 deletions
diff --git a/docs/cli.md b/docs/cli.md
index 01641bd8b..8684479d0 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -13,18 +13,17 @@ QMK requires Python 3.6 or greater. We try to keep the number of requirements sm
13If you have installed [Homebrew](https://brew.sh) you can tap and install QMK: 13If you have installed [Homebrew](https://brew.sh) you can tap and install QMK:
14 14
15``` 15```
16brew tap qmk/qmk 16brew install qmk/qmk/qmk
17brew install qmk
18export QMK_HOME='~/qmk_firmware' # Optional, set the location for `qmk_firmware` 17export QMK_HOME='~/qmk_firmware' # Optional, set the location for `qmk_firmware`
19qmk setup # This will clone `qmk/qmk_firmware` and optionally set up your build environment 18qmk setup # This will clone `qmk/qmk_firmware` and optionally set up your build environment
20``` 19```
21 20
22### Install Using easy_install or pip :id=install-using-easy_install-or-pip 21### Install Using pip :id=install-using-easy_install-or-pip
23 22
24If your system is not listed above you can install QMK manually. First ensure that you have python 3.6 (or later) installed and have installed pip. Then install QMK with this command: 23If your system is not listed above you can install QMK manually. First ensure that you have Python 3.6 (or later) installed and have installed pip. Then install QMK with this command:
25 24
26``` 25```
27pip3 install qmk 26python3 -m pip install qmk
28export QMK_HOME='~/qmk_firmware' # Optional, set the location for `qmk_firmware` 27export QMK_HOME='~/qmk_firmware' # Optional, set the location for `qmk_firmware`
29qmk setup # This will clone `qmk/qmk_firmware` and optionally set up your build environment 28qmk setup # This will clone `qmk/qmk_firmware` and optionally set up your build environment
30``` 29```
diff --git a/docs/faq_build.md b/docs/faq_build.md
index 70a16afea..2f1a4dd7f 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -113,26 +113,16 @@ OPT_DEFS += -DBOOTLOADER_SIZE=2048
113``` 113```
114 114
115## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS 115## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS
116
116This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled. 117This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled.
117 118
118The solution is to remove and reinstall all affected modules. 119The solution is to remove and reinstall all affected modules.
119 120
120``` 121```
121brew rm avr-gcc 122brew rm avr-gcc avr-gcc@8 dfu-programmer dfu-util gcc-arm-none-eabi arm-gcc-bin@8 avrdude qmk
122brew rm avr-gcc@8 123brew install qmk/qmk/qmk
123brew rm dfu-programmer
124brew rm dfu-util
125brew rm gcc-arm-none-eabi
126brew rm arm-gcc-bin@8
127brew rm avrdude
128brew install avr-gcc@8
129brew install dfu-programmer
130brew install dfu-util
131brew install arm-gcc-bin@8
132brew install avrdude
133brew link --force avr-gcc@8 124brew link --force avr-gcc@8
134brew link --force arm-gcc-bin@8 125brew link --force arm-gcc-bin@8
135
136``` 126```
137 127
138### `avr-gcc` and LUFA 128### `avr-gcc` and LUFA
diff --git a/docs/newbs_getting_started.md b/docs/newbs_getting_started.md
index a3022f15e..13b25bf86 100644
--- a/docs/newbs_getting_started.md
+++ b/docs/newbs_getting_started.md
@@ -57,10 +57,9 @@ You may be asked to close and reopen the window. Do this and keep running the ab
57 57
58You will need to install Homebrew. Follow the instructions on the [Homebrew homepage](https://brew.sh). 58You will need to install Homebrew. Follow the instructions on the [Homebrew homepage](https://brew.sh).
59 59
60After Homebrew is installed run these commands: 60After Homebrew is installed run this command:
61 61
62 brew tap qmk/qmk 62 brew install qmk/qmk/qmk
63 brew install qmk
64 63
65### Linux 64### Linux
66 65
diff --git a/util/macos_install.sh b/util/macos_install.sh
index a4037cce9..9c19aeac2 100755
--- a/util/macos_install.sh
+++ b/util/macos_install.sh
@@ -21,11 +21,10 @@ if ! brew --version >/dev/null 2>&1; then
21 done 21 done
22fi 22fi
23 23
24brew tap osx-cross/avr 24# All macOS dependencies are managed in the homebrew package:
25brew tap osx-cross/arm 25# https://github.com/qmk/homebrew-qmk
26brew update 26brew update
27brew install avr-gcc@8 arm-gcc-bin@8 dfu-programmer avrdude clang-format dfu-util python3 27brew install qmk/qmk/qmk
28brew install --HEAD https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb
29brew link --force avr-gcc@8 28brew link --force avr-gcc@8
30brew link --force arm-gcc-bin@8 29brew link --force arm-gcc-bin@8
31 30