diff options
| author | Evan Travers <evantravers@gmail.com> | 2018-07-07 20:37:37 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-07-07 17:37:37 -0700 |
| commit | 0d5a8b048a62aebdf5a699cae367dc0dd063d4e7 (patch) | |
| tree | 8011aee4ea47c50939c598a7d82fe92f45f0464b /docs/faq_build.md | |
| parent | 978fa700d8dc7e857518be4af30ff06d1469ccd3 (diff) | |
| download | qmk_firmware-0d5a8b048a62aebdf5a699cae367dc0dd063d4e7.tar.gz qmk_firmware-0d5a8b048a62aebdf5a699cae367dc0dd063d4e7.zip | |
Instruct macos users to use avr-gcc@7 (#3337)
If you run `brew install avr-gcc`, you get a version that has
compatibility issues with LUFA. I updated the getting started guide for
osx, the qmk_install setup script, and added a section to the FAQ for
folks like me who accidentally updated avr-gcc past 7.
Diffstat (limited to 'docs/faq_build.md')
| -rw-r--r-- | docs/faq_build.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md index 2d1b91b60..7d17df074 100644 --- a/docs/faq_build.md +++ b/docs/faq_build.md | |||
| @@ -104,3 +104,17 @@ brew install dfu-programmer | |||
| 104 | brew install gcc-arm-none-eabi | 104 | brew install gcc-arm-none-eabi |
| 105 | brew install avrdude | 105 | brew install avrdude |
| 106 | ``` | 106 | ``` |
| 107 | |||
| 108 | ### avr-gcc 8.1 and LUFA | ||
| 109 | |||
| 110 | If you updated your avr-gcc to above 7 you may see errors involving LUFA. For example: | ||
| 111 | |||
| 112 | `lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h:380:5: error: 'const' attribute on function returning 'void'` | ||
| 113 | |||
| 114 | For now, you need to rollback avr-gcc to 7 in brew. | ||
| 115 | |||
| 116 | ``` | ||
| 117 | brew uninstall --force avr-gcc | ||
| 118 | brew install avr-gcc@7 | ||
| 119 | brew link avr-gcc@7 | ||
| 120 | ``` | ||
