Skip to content

Commit 1b8a534

Browse files
committed
[docs] Update macOS install instructions
1 parent 834adfd commit 1b8a534

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/src/guide/installation.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ to `~/.bashrc`:
8282
export PATH="/opt/doxypress:$PATH"
8383

8484
!!! warning "OpenOCD for recent targets"
85-
The latest OpenOCD release v0.10.0 (as of May 2020) is too old for some targets
85+
The latest OpenOCD release v0.10.0 (as of Jan 2021) is too old for some targets
8686
(STM32G0, STM32G4, STM32F7). To program these targets you need to compile the
8787
[HEAD version of OpenOCD from source][openocd-source], install it and add it to
8888
the beginning of your `$PATH`.
@@ -104,13 +104,15 @@ to `~/.bashrc`:
104104

105105
We will use [Homebrew](http://brew.sh/) to install the minimal build system:
106106

107+
brew update
107108
brew install python3 scons git doxygen
108109
pip3 install modm
109110

110111
Install the [AVR toolchain from source](https://github.com/osx-cross/homebrew-avr):
111112

112113
brew tap osx-cross/avr
113-
brew install avr-gcc
114+
brew install avr-gcc@10
115+
brew link --force avr-gcc@10
114116

115117
And the [pre-built ARM toolchain](https://github.com/osx-cross/homebrew-arm) as
116118
well:

0 commit comments

Comments
 (0)