Skip to content

Commit 8912ada

Browse files
committed
Clean up crates for release.
1 parent 35810b3 commit 8912ada

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
*/target
22
target/
33
/Cargo.lock
4+
/neotron-bmc-protocol/Cargo.lock
5+
/neotron-bmc-command/Cargo.lock

neotron-bmc-commands/Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[package]
2+
description = "Commands that are supported by the Neotron BMC"
3+
edition = "2021"
4+
license = "BlueOak-1.0.0"
25
name = "neotron-bmc-commands"
6+
repository = "https://github.com/neotron-compute/neotron-bmc"
37
version = "0.1.0"
4-
edition = "2021"
8+
homepage = "https://github.com/neotron-compute"
9+
readme = "README.md"
510

611
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7-
812
[dependencies]
9-
num_enum = { version = "0.5", default-features=false }
13+
num_enum = { version = "0.5", default-features = false }

neotron-bmc-protocol/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
2-
name = "neotron-bmc-protocol"
3-
version = "0.1.0"
2+
description = "The SPI protocol supported by the Neotron BMC"
43
edition = "2021"
54
license = "BlueOak-1.0.0"
5+
name = "neotron-bmc-protocol"
66
repository = "https://github.com/neotron-compute/neotron-bmc"
7+
version = "0.1.0"
8+
homepage = "https://github.com/neotron-compute"
79
readme = "README.md"
810

911
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

neotron-bmc-protocol/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Neotron-BMC-Protocol
22

3-
Protocol code for communication with the Neotron Board Management Controller (NBMC).
3+
The SPI protocol for communication with the Neotron Board Management Controller
4+
(NBMC).
45

56
## Introduction
67

@@ -13,7 +14,7 @@ soft power button, and it also ensures that all power rails come up before the
1314
system is taken out of reset.
1415

1516
The NBMC sits on the SPI bus, receives *Requests* and sends *Responses* in
16-
reply. It can also raise an IRQ line.
17+
reply. It can also activate an IRQ line.
1718

1819
This crate describes the protocol run over the SPI bus and provides some basic
1920
helper code for implementing the protocol in Rust.
@@ -66,7 +67,7 @@ the `nCS` signal in-between.
6667

6768
* `0xC0`: Read
6869
* `0xC1`: Read (alternate)
69-
* `0xC2`: Short Write
70+
* `0xC2`: Short Write
7071
* `0xC3`: Long Write
7172

7273
### Response Results

0 commit comments

Comments
 (0)