1
0
Fork 0

Update mac guide (#1665)

`avr-libc` is no longer, and it's called `avr-gcc` now. https://github.com/osx-cross/homebrew-avr

Also you need `gcc-arc-none-eabi` to be able to compile in my experience.
This commit is contained in:
Will Jiang 2017-09-06 10:36:47 -07:00 committed by skullydazed
parent 85c3c5926c
commit 0ce45eb0b7

View file

@ -40,8 +40,11 @@ Debian/Ubuntu example:
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 install avr-libc brew tap PX4/homebrew-px4
brew update
brew install avr-gcc
brew install dfu-programmer brew install dfu-programmer
brew install gcc-arm-none-eabi
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-libc 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-libc can take over 20 minutes and exhibit high CPU usage.