diff --git a/Cargo.lock b/Cargo.lock index 59269aa7..fa455ad7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1270,7 +1270,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "rmk" -version = "0.1.1" +version = "0.1.2" dependencies = [ "byteorder", "embassy-futures", @@ -1289,7 +1289,7 @@ dependencies = [ [[package]] name = "rmk-rp2040" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cortex-m", "cortex-m-rt", @@ -1311,7 +1311,7 @@ dependencies = [ [[package]] name = "rmk-stm32h7" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cortex-m", "cortex-m-rt", diff --git a/boards/rp2040/Cargo.toml b/boards/rp2040/Cargo.toml index 28f5faf5..60b2aeae 100644 --- a/boards/rp2040/Cargo.toml +++ b/boards/rp2040/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "rmk-rp2040" -version = "0.1.1" +version = "0.1.2" authors = ["Haobo Gu "] description = "Keyboard firmware written in Rust" homepage = "https://github.com/haobogu/rmk" @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" # forced-target = "thumbv6m-none-eabi" [dependencies] -rmk = { version = "0.1.1", path = "../../rmk", features = [ +rmk = { version = "0.1.2", path = "../../rmk", features = [ "eeprom", "col2row", ] } diff --git a/boards/stm32f4/Cargo.toml b/boards/stm32f4/Cargo.toml index 22440cb0..cad1f1ef 100644 --- a/boards/stm32f4/Cargo.toml +++ b/boards/stm32f4/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "rmk-stm32f4" -version = "0.1.1" +version = "0.1.2" authors = ["Haobo Gu "] description = "Keyboard firmware written in Rust" homepage = "https://github.com/haobogu/rmk" @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" # forced-target = "thumbv7em-none-eabihf" [dependencies] -rmk = { version = "0.1.1", path = "../../rmk", features = [ +rmk = { version = "0.1.2", path = "../../rmk", features = [ "eeprom", "col2row", ] } diff --git a/boards/stm32h7/Cargo.toml b/boards/stm32h7/Cargo.toml index dd2694cb..69e7df20 100644 --- a/boards/stm32h7/Cargo.toml +++ b/boards/stm32h7/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "rmk-stm32h7" -version = "0.1.1" +version = "0.1.2" authors = ["Haobo Gu "] description = "Keyboard firmware written in Rust" homepage = "https://github.com/haobogu/rmk" @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" # forced-target = "thumbv7em-none-eabihf" [dependencies] -rmk = { version = "0.1.1", path = "../../rmk", features = [ +rmk = { version = "0.1.2", path = "../../rmk", features = [ "eeprom", "col2row", ] } diff --git a/boards/stm32h7/src/main.rs b/boards/stm32h7/src/main.rs index 7955e89a..dd249439 100644 --- a/boards/stm32h7/src/main.rs +++ b/boards/stm32h7/src/main.rs @@ -103,7 +103,7 @@ async fn main(_spawner: Spawner) { let f = Flash::new_blocking(p.FLASH); let keymap = MY_KEYMAP.init(RefCell::new(KeyMap::new( crate::keymap::KEYMAP, - None, + Some(f), eeprom_storage_config, None, ))); diff --git a/rmk/Cargo.toml b/rmk/Cargo.toml index 6991ba70..1a3f7ca3 100644 --- a/rmk/Cargo.toml +++ b/rmk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rmk" -version = "0.1.1" +version = "0.1.2" authors = ["Haobo Gu "] description = "Keyboard firmware written in Rust" homepage = "https://github.com/haobogu/rmk"