mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 04:31:30 +11:00
Rename directory of pimoroni_badger2040 crate
The directory name should match the crate name.
This commit is contained in:
parent
de389d1fca
commit
0846d2ecca
|
@ -8,7 +8,7 @@ members = [
|
|||
"boards/adafruit-qt-py-rp2040",
|
||||
"boards/adafruit-trinkey-qt2040",
|
||||
"boards/arduino_nano_connect",
|
||||
"boards/pimoroni-badger2040",
|
||||
"boards/pimoroni_badger2040",
|
||||
"boards/pimoroni-pico-explorer",
|
||||
"boards/pimoroni-pico-lipo-16mb",
|
||||
"boards/pimoroni-plasma-2040",
|
||||
|
|
|
@ -166,7 +166,7 @@ RP2040 chip according to how it is connected up on the Trinkey.
|
|||
[Adafruit-Trinkey-QT2040]: https://github.com/rp-rs/rp-hal-boards/tree/main/boards/adafruit-trinkey-qt2040
|
||||
[adafruit trinkey qt2040]: https://www.adafruit.com/product/5056
|
||||
|
||||
### [pimoroni-badger2040] - Board Support for the [Pimoroni Badger2040]
|
||||
### [pimoroni_badger2040] - Board Support for the [Pimoroni Badger2040]
|
||||
|
||||
You should include this crate if you are writing code that you want to run on
|
||||
a [Pimoroni Badger2040] - a conference-style badge built around an e-paper
|
||||
|
@ -176,7 +176,7 @@ This crate includes the [rp2040-hal], but also configures each pin of the
|
|||
RP2040 chip according to how it is connected up on the Badger2040.
|
||||
|
||||
[Pimoroni Badger2040]: https://shop.pimoroni.com/products/badger-2040
|
||||
[pimoroni-badger2040]: https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni-badger2040
|
||||
[pimoroni_badger2040]: https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni_badger2040
|
||||
|
||||
### [pimoroni-pico-explorer] - Board Support for the [Pimoroni Pico Explorer]
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ name = "pimoroni_badger2040"
|
|||
version = "0.4.0"
|
||||
authors = ["9names", "The rp-rs Developers"]
|
||||
edition = "2018"
|
||||
homepage = "https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni-badger2040"
|
||||
homepage = "https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni_badger2040"
|
||||
description = "Board Support Package for the Pimoroni Badger2040"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/rp-rs/rp-hal-boards.git"
|
|
@ -1,4 +1,4 @@
|
|||
# [pimoroni-badger2040] - Board Support for the [Pimoroni Badger2040]
|
||||
# [pimoroni_badger2040] - Board Support for the [Pimoroni Badger2040]
|
||||
|
||||
You should include this crate if you are writing code that you want to run on
|
||||
a [Pimoroni Badger2040] - a conference-style badge built around an e-paper
|
||||
|
@ -8,7 +8,7 @@ This crate includes the [rp2040-hal], but also configures each pin of the
|
|||
RP2040 chip according to how it is connected up on the Badger2040.
|
||||
|
||||
[Pimoroni Badger2040]: https://shop.pimoroni.com/products/badger-2040/
|
||||
[pimoroni-badger2040]: https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni-badger2040
|
||||
[pimoroni_badger2040]: https://github.com/rp-rs/rp-hal-boards/tree/main/boards/pimoroni_badger2040
|
||||
[rp2040-hal]: https://github.com/rp-rs/rp-hal/tree/main/rp2040-hal
|
||||
[Raspberry Silicon RP2040]: https://www.raspberrypi.org/products/rp2040/
|
||||
|
||||
|
@ -17,7 +17,7 @@ RP2040 chip according to how it is connected up on the Badger2040.
|
|||
To use this crate, your `Cargo.toml` file should contain:
|
||||
|
||||
```toml
|
||||
pimoroni-badger2040 = "0.4.0"
|
||||
pimoroni_badger2040 = "0.4.0"
|
||||
```
|
||||
|
||||
In your program, you will need to call `pimoroni_badger2040::Board::take().unwrap()` to create
|
||||
|
@ -31,7 +31,7 @@ devices and configure common clocks. See the [examples](./examples) folder for m
|
|||
To compile an example, clone the _rp-hal-boards_ repository and run:
|
||||
|
||||
```console
|
||||
rp-hal-boards/boards/pimoroni-badger2040 $ cargo build --release --example <name>
|
||||
rp-hal-boards/boards/pimoroni_badger2040 $ cargo build --release --example <name>
|
||||
```
|
||||
|
||||
You will get an ELF file called
|
||||
|
@ -45,7 +45,7 @@ USB drive exported by the RP2040 bootloader, simply boot your board into
|
|||
bootloader mode and run:
|
||||
|
||||
```console
|
||||
rp-hal-boards/boards/pimoroni-badger2040 $ cargo run --release --example <name>
|
||||
rp-hal-boards/boards/pimoroni_badger2040 $ cargo run --release --example <name>
|
||||
```
|
||||
|
||||
If you get an error about not being able to find `elf2uf2-rs`, try:
|
Loading…
Reference in a new issue