From d62c02a35d2bd5bec708587871bbc0b71e95a4c0 Mon Sep 17 00:00:00 2001 From: Haobo Gu Date: Thu, 25 Jan 2024 17:03:12 +0800 Subject: [PATCH] chore(rmk): make eeprom default feature Signed-off-by: Haobo Gu --- boards/rp2040/Cargo.toml | 5 +---- boards/stm32f4/Cargo.toml | 5 +---- boards/stm32h7/Cargo.toml | 5 +---- rmk/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/boards/rp2040/Cargo.toml b/boards/rp2040/Cargo.toml index 5bd464e4..9270f963 100644 --- a/boards/rp2040/Cargo.toml +++ b/boards/rp2040/Cargo.toml @@ -10,10 +10,7 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -rmk = { version = "0.1.2", path = "../../rmk", features = [ - "eeprom", - "col2row", -] } +rmk = { version = "0.1.2", path = "../../rmk" } embassy-time = { version = "0.3", features = ["defmt"] } embassy-rp = { version = "0.1", features = [ "defmt", diff --git a/boards/stm32f4/Cargo.toml b/boards/stm32f4/Cargo.toml index 4345fcad..b3a8e3df 100644 --- a/boards/stm32f4/Cargo.toml +++ b/boards/stm32f4/Cargo.toml @@ -10,10 +10,7 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -rmk = { version = "0.1.2", path = "../../rmk", features = [ - "eeprom", - "col2row", -] } +rmk = { version = "0.1.2", path = "../../rmk" } cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] } cortex-m-rt = "0.7.3" embassy-time = { version = "0.3", features = ["tick-hz-32_768", "defmt"] } diff --git a/boards/stm32h7/Cargo.toml b/boards/stm32h7/Cargo.toml index c3a9b7f6..51bb931e 100644 --- a/boards/stm32h7/Cargo.toml +++ b/boards/stm32h7/Cargo.toml @@ -10,10 +10,7 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -rmk = { version = "0.1.2", path = "../../rmk", features = [ - "eeprom", - "col2row", -] } +rmk = { version = "0.1.2", path = "../../rmk" } cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] } cortex-m-rt = "0.7.3" embassy-time = { version = "0.3", features = ["tick-hz-32_768", "defmt"] } diff --git a/rmk/Cargo.toml b/rmk/Cargo.toml index 380b48e2..4ee78897 100644 --- a/rmk/Cargo.toml +++ b/rmk/Cargo.toml @@ -31,6 +31,6 @@ packed_struct = { version = "0.10", default-features = false } byteorder = { version = "1.4", default-features = false } [features] -default = ["col2row"] +default = ["eeprom", "col2row"] col2row = [] eeprom = []