-
Notifications
You must be signed in to change notification settings - Fork 206
/
Copy pathCargo.toml
35 lines (30 loc) · 874 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "samd21_mini"
version = "0.10.1"
authors = ["Ze'ev Klapow <[email protected]>"]
description = "Board Support crate for the Sparkfun SAMD21 Mini Breakout"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"]
categories = ["embedded", "hardware-support", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/atsamd-rs/atsamd"
readme = "README.md"
edition = "2021"
[dependencies.cortex-m-rt]
version = "0.7"
optional = true
[dependencies.atsamd-hal]
version = "0.14"
default-features = false
[dev-dependencies]
panic-halt = "0.2"
panic-semihosting = "0.5"
cortex-m-rtic = "1.0"
[features]
# ask the HAL to enable atsamd21g support
default = ["rt", "atsamd-hal/samd21g"]
rt = ["cortex-m-rt", "atsamd-hal/samd21g-rt"]
unproven = ["atsamd-hal/unproven"]
use_semihosting = []
# for cargo flash
[package.metadata]
chip = "ATSAMD21G18A"