-
Notifications
You must be signed in to change notification settings - Fork 199
/
Cargo.toml
65 lines (53 loc) · 1.39 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "arduino_mkrzero"
version = "0.12.1"
authors = ["Wez Furlong <wez@wezfurlong.org>", "David McGillicuddy <contact@djmcgill.co.uk>"]
description = "Board Support crate for the Arduino MKRZERO"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal", "arduino"]
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.16"
default-features = false
[dependencies.usb-device]
version = "0.2"
optional = true
[dependencies.embedded-sdmmc]
version = "0.3"
optional = true
[dev-dependencies]
cortex-m = "0.7"
usbd-serial = "0.1"
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", "usb"]
rt = ["cortex-m-rt", "atsamd-hal/samd21g-rt"]
usb = ["atsamd-hal/usb", "usb-device"]
unproven = ["atsamd-hal/unproven"]
use_semihosting = []
rtic = ["atsamd-hal/rtic"]
# for cargo flash
[package.metadata]
chip = "ATSAMD21G18A"
[dependencies]
embedded-hal = "0.2.7"
[[example]]
name = "blinky_basic"
[[example]]
name = "blinky_rtic"
required-features = ["rtic", "unproven"]
[[example]]
name = "usb_logging"
required-features = ["usb"]
[[example]]
name = "pwm"
required-features = ["unproven"]