Преглед изворни кода

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.
Will Jiang пре 7 година
родитељ
комит
0ce45eb0b7
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      docs/getting_started_build_tools.md

+ 4 - 1
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.