Skip to content

Commit 0258ed5

Browse files
NickLarsenNZRahix
authored andcommitted
docs: add macos dependency instructions
1 parent 1aacefb commit 0258ed5

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ Hardware Abstraction Layer for AVR microcontrollers and common boards (for examp
77
## Quickstart
88
You need a nightly Rust compiler for compiling Rust code for AVR. The correct version will be installed automatically due to the `rust-toolchain.toml` file.
99

10-
On Ubuntu, you'll need to install dependencies:
11-
12-
```bash
13-
sudo apt install avr-libc gcc-avr pkg-config avrdude
14-
```
15-
10+
Install dependencies:
11+
12+
- Ubuntu
13+
```bash
14+
sudo apt install avr-libc gcc-avr pkg-config avrdude
15+
```
16+
- Macos
17+
```bash
18+
xcode-select --install # if you haven't already done so
19+
brew tap osx-cross/avr
20+
brew install avr-gcc avrdude
21+
```
22+
1623
Next, install ["ravedude"](./ravedude), a tool which seamlessly integrates flashing your board into the usual cargo workflow:
1724

1825
```bash

0 commit comments

Comments
 (0)