-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme for firmware building, update case for final pcb
- Loading branch information
1 parent
04cd90a
commit 1ec882b
Showing
3 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Building the firmware | ||
This is a small document for setting up a development environment to build the firmware. You'll need a couple things to get started. | ||
|
||
1. (Linux only) Install the [RPi Pico udev rules](https://github.com/raspberrypi/picotool/blob/master/udev/99-picotool.rules). Add the following rules: | ||
``` | ||
SUBSYSTEM=="usb", \ | ||
ATTRS{idVendor}=="2e8a", \ | ||
ATTRS{idProduct}=="000c", \ | ||
TAG+="uaccess" \ | ||
MODE="660", \ | ||
GROUP="plugdev" | ||
``` | ||
|
||
2. Install the appropriate target toolchain: `rustup target add thumbv6m-none-eabi`. | ||
3. Install cmake for tool compilation. | ||
4. (Linux only) Install libudev-dev. | ||
5. Install tools: `cargo install flip-link`. | ||
5. Install tools: `cargo install --locked probe-rs-tools`. This is for installing firmware over Pico probe. | ||
6. Run `cargo run` to install. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters