1
0
Fork 0

[Docs] fix installation commands for macos (#7785)

* [Docs] fix installation commands for macos

* Update docs/getting_started_build_tools.md
This commit is contained in:
shela 2020-01-04 15:57:59 +09:00 committed by James Young
parent 8b80cf853b
commit 6e520a721d

View file

@ -57,16 +57,17 @@ By default, this will download compilers for both AVR and ARM. If you don't need
nix-shell --arg arm false nix-shell --arg arm false
## macOS ## macOS
If you're using [homebrew,](http://brew.sh/) you can use the following commands: If you're using [Homebrew](http://brew.sh/), you can use the following commands:
brew tap osx-cross/avr brew tap osx-cross/avr
brew tap PX4/homebrew-px4 brew tap osx-cross/arm
brew update brew update
brew install avr-gcc@8 brew install avr-gcc@8
brew link --force avr-gcc@8 brew link --force avr-gcc@8
brew install dfu-programmer brew install dfu-programmer
brew install dfu-util brew install dfu-util
brew install gcc-arm-none-eabi brew install arm-gcc-bin@8
brew link --force arm-gcc-bin@8
brew install avrdude brew install avrdude
This is the recommended method. If you don't have homebrew, [install it!](http://brew.sh/) It's very much worth it for anyone who works in the command line. Note that the `make` and `make install` portion during the homebrew installation of `avr-gcc@8` can take over 20 minutes and exhibit high CPU usage. This is the recommended method. If you don't have homebrew, [install it!](http://brew.sh/) It's very much worth it for anyone who works in the command line. Note that the `make` and `make install` portion during the homebrew installation of `avr-gcc@8` can take over 20 minutes and exhibit high CPU usage.