This commit is contained in:
Pascal Engélibert 2023-10-07 13:33:14 +02:00
commit 865599e059
64 changed files with 6448 additions and 1221 deletions

48
samd/Cargo.toml Normal file
View file

@ -0,0 +1,48 @@
[package]
name = "rustphone"
version = "0.1.0"
authors = ["tuxmain <tuxmain@zettascript.org>"]
repository = "https://git.txmn.tk/tuxmain/rustphone"
license = "AGPL-3.0-only"
edition = "2021"
[dependencies]
#arrayvec = { version = "0.7.4", default_features = false }
atsamd-hal = { git = "https://github.com/ZettaScript/atsamd", branch = "maduino-zero-4g", default_features = false, features = ["dma", "samd21g", "samd21g-rt", "usb"] }
#cfg-if = "1.0.0"
cortex-m = "0.7.7"
#embedded-graphics = "0.8.1"
#embedded-layout = "0.4.1"
#embedded-text = "0.7.0"
#embedded-sdmmc = { version = "0.3.0", default_features = false }
#epd-waveshare = "0.5.0"
#epd-waveshare = { git = "https://github.com/caemor/epd-waveshare.git" }
#epd-waveshare = { path = "../../epd-waveshare" }
futures = { version = "0.3.30", default-features = false, features = ["async-await"] }
lilos = { version = "1.2.0" }
maduino_zero_4g = { git = "https://github.com/ZettaScript/atsamd", branch = "maduino-zero-4g", features = ["dma", "usb"] }
nb = "1.1.0"
panic-halt = "0.2.0"
#static_assertions = "1.1.0"
#tz-rs = { version = "0.6.14", default_features = false, features = ["const"] }
#tzdb = { version = "0.6.1", optional = true }
usbd-serial = "0.2"
usb-device = "0.3.1"
# simulator
#embedded-graphics-simulator = { version = "0.6.0", optional = true }
[features]
#default = ["simulator"]
#simulator = ["embedded-graphics-simulator", "tzdb"]
[profile.release]
panic = "abort"
lto = "fat"
opt-level = 3
debug = 0
[patch."https://github.com/ZettaScript/atsamd"]
atsamd-hal = { path = "../../atsamd/hal" }
maduino_zero_4g = { path = "../../atsamd/boards/maduino_zero_4g" }