From 0ce45eb0b7ad0af28de4418906543c51dbc505cc Mon Sep 17 00:00:00 2001 From: Will Jiang <20015jjw@users.noreply.github.com> Date: Wed, 6 Sep 2017 10:36:47 -0700 Subject: [PATCH] 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. --- docs/getting_started_build_tools.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/getting_started_build_tools.md b/docs/getting_started_build_tools.md index e46b7f2e53..10c0b6984d 100644 --- a/docs/getting_started_build_tools.md +++ b/docs/getting_started_build_tools.md @@ -40,8 +40,11 @@ Debian/Ubuntu example: If you're using [homebrew,](http://brew.sh/) you can use the following commands: 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 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.