This commit is contained in:
Pascal Engélibert 2023-08-21 23:27:37 +02:00
commit 8dda09689d
6 changed files with 67 additions and 9 deletions

View file

@ -10,12 +10,11 @@ edition = "2021"
arrayvec = { version = "0.7.4", default_features = false }
atsamd-hal = { version = "0.15.1", default_features = false, features = ["samd21g", "samd21g-rt", "usb"] }
cfg-if = "1.0.0"
cortex-m-rt = "0.7.1"
embedded-graphics = "0.7.1"
embedded-text = "0.5.0"
embedded-sdmmc = { version = "0.5.0", default_features = false }
epd-waveshare = "0.5.0"
#maduino_zero_4g = { git = "https://github.com/ZettaScript/atsamd", branch = "maduino-zero-4g" }
maduino_zero_4g = { git = "https://github.com/ZettaScript/atsamd", branch = "maduino-zero-4g", features = ["usb"] }
panic-halt = "0.2.0"
tinybmp = "0.4.0"
tinytga = "0.4.1"
@ -26,12 +25,12 @@ tzdb = { version = "0.5.7", optional = true }
embedded-graphics-simulator = { version = "0.4.1", optional = true }
[features]
default = ["simulator"]
#default = ["simulator"]
simulator = ["embedded-graphics-simulator", "tzdb"]
[profile.release]
lto = "fat"
#[patch."https://github.com/ZettaScript/atsamd"]
#maduino_zero_4g = { path = "../atsamd" }
[patch."https://github.com/ZettaScript/atsamd"]
maduino_zero_4g = { path = "../atsamd/boards/maduino_zero_4g" }