diff options
| -rw-r--r-- | docs/faq_build.md | 15 |
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 | ``` |
| 121 | brew rm avr-gcc | 121 | brew rm avr-gcc |
| 122 | brew rm avr-gcc@8 | ||
| 122 | brew rm dfu-programmer | 123 | brew rm dfu-programmer |
| 123 | brew rm dfu-util | 124 | brew rm dfu-util |
| 124 | brew rm gcc-arm-none-eabi | 125 | brew rm gcc-arm-none-eabi |
| 126 | brew rm arm-gcc-bin@8 | ||
| 125 | brew rm avrdude | 127 | brew rm avrdude |
| 126 | brew install avr-gcc | 128 | brew install avr-gcc@8 |
| 127 | brew install dfu-programmer | 129 | brew install dfu-programmer |
| 128 | brew install dfu-util | 130 | brew install dfu-util |
| 129 | brew install gcc-arm-none-eabi | 131 | brew install arm-gcc-bin@8 |
| 130 | brew install avrdude | 132 | brew install avrdude |
| 133 | brew link --force avr-gcc@8 | ||
| 134 | brew 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 | ||
| 135 | If you updated your avr-gcc to above 7 you may see errors involving LUFA. For example: | 140 | If 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 | ||
| 139 | For now, you need to rollback avr-gcc to 7 in brew. | 144 | For now, you need to rollback `avr-gcc` to 8 in Homebrew. |
| 140 | 145 | ||
| 141 | ``` | 146 | ``` |
| 142 | brew uninstall --force avr-gcc | 147 | brew uninstall --force avr-gcc |
