Skip to content

Commit

Permalink
[Docs] Update macOS related issues in docs (qmk#7744)
Browse files Browse the repository at this point in the history
* [Docs] Update macOS related issues in docs

* Update faq_build.md

* Apply suggestions from code review

Co-Authored-By: fauxpark <[email protected]>

Co-authored-by: fauxpark <[email protected]>
  • Loading branch information
2 people authored and zvecr committed Dec 31, 2019
1 parent d1ed98f commit a52e55e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/faq_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,24 +119,29 @@ The solution is to remove and reinstall all affected modules.

```
brew rm avr-gcc
brew rm avr-gcc@8
brew rm dfu-programmer
brew rm dfu-util
brew rm gcc-arm-none-eabi
brew rm arm-gcc-bin@8
brew rm avrdude
brew install avr-gcc
brew install avr-gcc@8
brew install dfu-programmer
brew install dfu-util
brew install gcc-arm-none-eabi
brew install arm-gcc-bin@8
brew install avrdude
brew link --force avr-gcc@8
brew link --force arm-gcc-bin@8
```

### avr-gcc 8.1 and LUFA
### `avr-gcc` and LUFA

If you updated your avr-gcc to above 7 you may see errors involving LUFA. For example:
If you updated your `avr-gcc` and you see errors involving LUFA, for example:

`lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h:380:5: error: 'const' attribute on function returning 'void'`

For now, you need to rollback avr-gcc to 7 in brew.
For now, you need to rollback `avr-gcc` to 8 in Homebrew.

```
brew uninstall --force avr-gcc
Expand Down

0 comments on commit a52e55e

Please sign in to comment.