Skip to content

Commit b735568

Browse files
committed
[docs] Update AVR toolchain install instruction
1 parent 78308b0 commit b735568

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/src/guide/installation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,17 @@ sudo apt install openocd
115115
Download and extract the [pre-built AVR toolchain][modm-avr-gcc]:
116116

117117
```sh
118-
wget -O- https://github.com/modm-io/avr-gcc/releases/download/v10.2.0/avr-gcc.tar.bz2 | sudo tar xj -C /opt
118+
wget -O- https://github.com/modm-io/avr-gcc/releases/download/v11.2.0/modm-avr-gcc.tar.bz2 | sudo tar xj -C /opt
119119
```
120120

121-
Add the `bin` directories to your `PATH` variable in `~/.bashrc`:
121+
!!! warning "AVR toolchain install directory"
122+
It is unfortunately not possible to install the AVR toolchain into a
123+
directory other than directly into `/opt`.
124+
125+
Add the `bin` directory to your `PATH` variable in `~/.bashrc`:
122126

123127
```sh
124-
export PATH="/opt/avr-gcc/avr-gcc/bin:/opt/avr-gcc/avr-binutils/bin:$PATH"
128+
export PATH="/opt/avr-gcc/bin:$PATH"
125129
```
126130

127131
Install the AvrDude tool:

0 commit comments

Comments
 (0)