25 files changed, 14 insertions(+), 9 deletions(-)
R .cargo/config.toml => firmware/.cargo/config.toml
R .gitignore => firmware/.gitignore
R Cargo.lock => firmware/Cargo.lock
R Cargo.toml => firmware/Cargo.toml
R README.md => firmware/README.md
R avr-specs/avr-atmega1280.json => firmware/avr-specs/avr-atmega1280.json
R avr-specs/avr-atmega168.json => firmware/avr-specs/avr-atmega168.json
R avr-specs/avr-atmega2560.json => firmware/avr-specs/avr-atmega2560.json
R avr-specs/avr-atmega328p.json => firmware/avr-specs/avr-atmega328p.json
R avr-specs/avr-atmega32u4.json => firmware/avr-specs/avr-atmega32u4.json
R avr-specs/avr-atmega48p.json => firmware/avr-specs/avr-atmega48p.json
R avr-specs/avr-atmega8.json => firmware/avr-specs/avr-atmega8.json
R avr-specs/avr-attiny85.json => firmware/avr-specs/avr-attiny85.json
R avr-specs/avr-attiny88.json => firmware/avr-specs/avr-attiny88.json
R rust-toolchain.toml => firmware/rust-toolchain.toml
R src/animation.rs => firmware/src/animation.rs
R src/button.rs => firmware/src/button.rs
R src/entrypoint.rs => firmware/src/entrypoint.rs
R src/filled_seven_segment.rs => firmware/src/filled_seven_segment.rs
R src/filled_sipo.rs => firmware/src/filled_sipo.rs
R src/led_matrix.rs => firmware/src/led_matrix.rs
R src/rng.rs => firmware/src/rng.rs
R src/seven_segment.rs => firmware/src/seven_segment.rs
R src/sipo.rs => firmware/src/sipo.rs
D main.rs
R .cargo/config.toml => firmware/.cargo/config.toml +0 -0
R .gitignore => firmware/.gitignore +0 -0
R Cargo.lock => firmware/Cargo.lock +14 -5
@@ 12,17 12,21 @@ dependencies = [
[[package]]
name = "avr-device"
-version = "0.4.0"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "deb45711b7227cb3f799c40c4e0e8beea1765acff8d06a14bb3479c1a549d8b0"
dependencies = [
"avr-device-macros",
"bare-metal",
- "cfg-if",
+ "cfg-if 1.0.0",
"vcell",
]
[[package]]
name = "avr-device-macros"
-version = "0.4.0"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87c428a2384981d8460668c48c766ff18e7e91d2d467f7b103151984ee952d38"
dependencies = [
"proc-macro2",
"quote",
@@ 34,7 38,7 @@ name = "avr-hal-generic"
version = "0.1.0"
dependencies = [
"avr-device",
- "cfg-if",
+ "cfg-if 0.1.10",
"embedded-hal",
"embedded-storage",
"nb 0.1.3",
@@ 57,6 61,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
name = "embedded-hal"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ 77,7 87,6 @@ name = "guess-the-number"
version = "0.1.0"
dependencies = [
"atmega-hal",
- "avr-device",
"avr-hal-generic",
"nb 0.1.3",
"panic-halt",
R Cargo.toml => firmware/Cargo.toml +0 -4
@@ 15,10 15,6 @@ panic-halt = "0.2.0"
ufmt = "0.1.0"
nb = "0.1.2"
-[dependencies.avr-device]
-path = "../avr-device"
-features = ["rt","atmega8"]
-
[dependencies.atmega-hal]
path = "../avr-hal/mcu/atmega-hal"
features = ["rt","atmega8"]
R README.md => firmware/README.md +0 -0
R avr-specs/avr-atmega1280.json => firmware/avr-specs/avr-atmega1280.json +0 -0
R avr-specs/avr-atmega168.json => firmware/avr-specs/avr-atmega168.json +0 -0
R avr-specs/avr-atmega2560.json => firmware/avr-specs/avr-atmega2560.json +0 -0
R avr-specs/avr-atmega328p.json => firmware/avr-specs/avr-atmega328p.json +0 -0
R avr-specs/avr-atmega32u4.json => firmware/avr-specs/avr-atmega32u4.json +0 -0
R avr-specs/avr-atmega48p.json => firmware/avr-specs/avr-atmega48p.json +0 -0
R avr-specs/avr-atmega8.json => firmware/avr-specs/avr-atmega8.json +0 -0
R avr-specs/avr-attiny85.json => firmware/avr-specs/avr-attiny85.json +0 -0
R avr-specs/avr-attiny88.json => firmware/avr-specs/avr-attiny88.json +0 -0
R rust-toolchain.toml => firmware/rust-toolchain.toml +0 -0
R src/animation.rs => firmware/src/animation.rs +0 -0
R src/button.rs => firmware/src/button.rs +0 -0
R src/entrypoint.rs => firmware/src/entrypoint.rs +0 -0
R src/filled_seven_segment.rs => firmware/src/filled_seven_segment.rs +0 -0
R src/filled_sipo.rs => firmware/src/filled_sipo.rs +0 -0
R src/led_matrix.rs => firmware/src/led_matrix.rs +0 -0
R src/rng.rs => firmware/src/rng.rs +0 -0
R src/seven_segment.rs => firmware/src/seven_segment.rs +0 -0
R src/sipo.rs => firmware/src/sipo.rs +0 -0
D main.rs => main.rs +0 -0