aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-12-31 06:33:54 -0800
committerJoel Challis <git@zvecr.com>2019-12-31 14:33:54 +0000
commita52e55ec09c587ca58a156a6c174d51e0ad228b4 (patch)
treefb27eab0e96f817504c40f45e9ed2774654c5ca1
parentd1ed98f58b67909af2425690dd11d0a85621d098 (diff)
downloadqmk_firmware-a52e55ec09c587ca58a156a6c174d51e0ad228b4.tar.gz
qmk_firmware-a52e55ec09c587ca58a156a6c174d51e0ad228b4.zip
[Docs] Update macOS related issues in docs (#7744)
* [Docs] Update macOS related issues in docs * Update faq_build.md * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> Co-authored-by: fauxpark <fauxpark@gmail.com>
-rw-r--r--docs/faq_build.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md
index 618ae40f3..70a16afea 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -119,24 +119,29 @@ The solution is to remove and reinstall all affected modules.
119 119
120``` 120```
121brew rm avr-gcc 121brew rm avr-gcc
122brew rm avr-gcc@8
122brew rm dfu-programmer 123brew rm dfu-programmer
123brew rm dfu-util 124brew rm dfu-util
124brew rm gcc-arm-none-eabi 125brew rm gcc-arm-none-eabi
126brew rm arm-gcc-bin@8
125brew rm avrdude 127brew rm avrdude
126brew install avr-gcc 128brew install avr-gcc@8
127brew install dfu-programmer 129brew install dfu-programmer
128brew install dfu-util 130brew install dfu-util
129brew install gcc-arm-none-eabi 131brew install arm-gcc-bin@8
130brew install avrdude 132brew install avrdude
133brew link --force avr-gcc@8
134brew link --force arm-gcc-bin@8
135
131``` 136```
132 137
133### avr-gcc 8.1 and LUFA 138### `avr-gcc` and LUFA
134 139
135If you updated your avr-gcc to above 7 you may see errors involving LUFA. For example: 140If you updated your `avr-gcc` and you see errors involving LUFA, for example:
136 141
137`lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h:380:5: error: 'const' attribute on function returning 'void'` 142`lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h:380:5: error: 'const' attribute on function returning 'void'`
138 143
139For now, you need to rollback avr-gcc to 7 in brew. 144For now, you need to rollback `avr-gcc` to 8 in Homebrew.
140 145
141``` 146```
142brew uninstall --force avr-gcc 147brew uninstall --force avr-gcc