2021-12-07 00:31:51 +01:00
|
|
|
[package]
|
|
|
|
name = "simple_examples"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
cortex-m-rt = "0.7"
|
|
|
|
panic-rtt-target = { version = "0.1.3" }
|
|
|
|
rtt-target = { version = "0.5" }
|
|
|
|
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
|
2024-09-11 20:44:10 +02:00
|
|
|
rtic-sync = { version = "1.3", features = ["defmt-03"] }
|
2021-12-07 00:31:51 +01:00
|
|
|
embedded-hal = "1"
|
|
|
|
embedded-hal-nb = "1"
|
|
|
|
nb = "1"
|
|
|
|
embedded-io = "0.6"
|
|
|
|
panic-halt = "0.2"
|
|
|
|
accelerometer = "0.12"
|
2024-07-19 06:19:28 +02:00
|
|
|
|
|
|
|
[dependencies.va416xx-hal]
|
|
|
|
path = "../../va416xx-hal"
|
|
|
|
|
|
|
|
[dependencies.vorago-peb1]
|
|
|
|
path = "../../vorago-peb1"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
va41630 = ["va416xx-hal/va41630", "has-adc-dac"]
|
|
|
|
va41629 = ["va416xx-hal/va41629", "has-adc-dac"]
|
|
|
|
va41628 = ["va416xx-hal/va41628"]
|
|
|
|
has-adc-dac = []
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "peb1-accelerometer"
|
|
|
|
required-features = ["vorago-peb1"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "dac-adc"
|
|
|
|
required-features = ["has-adc-dac"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "adc"
|
|
|
|
required-features = ["has-adc-dac"]
|