44 lines
992 B
Plaintext
44 lines
992 B
Plaintext
|
---
|
||
|
title: Requirements & Setup
|
||
|
description: A reference page in my new Starlight docs site.
|
||
|
---
|
||
|
|
||
|
import { Steps, Tabs, TabItem } from "@astrojs/starlight/components";
|
||
|
|
||
|
## Rust Installation
|
||
|
|
||
|
If your using Windows, check out the guide [here](https://rustup.rs/#).
|
||
|
Otherwise:
|
||
|
|
||
|
<Steps>
|
||
|
|
||
|
1. Run the following in your terminal, then follow the onscreen instructions.
|
||
|
|
||
|
```bash
|
||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||
|
```
|
||
|
|
||
|
1. Get the `adafruit-nrfutil` from [here](https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/update-bootloader-use-command-line). Follow the installation guide on their website.
|
||
|
|
||
|
1. Install `arm-none-eabi-objcopy` on your device.
|
||
|
|
||
|
On macOS you can get it from Homebrew:
|
||
|
|
||
|
```bash
|
||
|
brew install arm-none-eabi-gcc
|
||
|
```
|
||
|
|
||
|
On Ubuntu install it with apt:
|
||
|
|
||
|
```bash
|
||
|
sudo apt install gcc-arm-none-eabi
|
||
|
```
|
||
|
|
||
|
Use scoop on Windows:
|
||
|
|
||
|
```bash
|
||
|
scoop install gcc-arm-none-eabi
|
||
|
```
|
||
|
|
||
|
</Steps>
|