-
Notifications
You must be signed in to change notification settings - Fork 205
/
Copy pathCargo.toml
67 lines (54 loc) · 1.3 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
66
67
[package]
name = "trinket_m0"
version = "0.11.1"
authors = ["Ben Bergman <ben@benbergman.ca>"]
description = "Board Support crate for the Adafruit Trinket M0"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"]
categories = ["embedded", "hardware-support", "no-std"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/atsamd-rs/atsamd"
readme = "README.md"
[dependencies]
bitbang-hal = "0.3"
apa102-spi = "0.3"
smart-leds = "0.3"
[dependencies.cortex-m-rt]
version = "0.7"
optional = true
[dependencies.atsamd-hal]
version = "0.14"
default-features = false
[dependencies.usb-device]
version = "0.2"
optional = true
[dev-dependencies]
cortex-m = "0.7"
usbd-serial = "0.1"
panic-halt = "0.2"
[features]
# ask the HAL to enable atsamd21e support
default = ["rt", "atsamd-hal/samd21e"]
rt = ["cortex-m-rt", "atsamd-hal/samd21e-rt"]
unproven = ["atsamd-hal/unproven"]
usb = ["atsamd-hal/usb", "usb-device"]
use_semihosting = []
# for cargo flash
[package.metadata]
chip = "ATSAMD21E18A"
[[example]]
name = "blinky_basic"
[[example]]
name = "eic"
[[example]]
name = "pwm"
required-features = ["unproven"]
[[example]]
name = "watchdog"
required-features = ["unproven"]
[[example]]
name = "usb_serial"
required-features = ["usb"]
[[example]]
name = "dotstar"
required-features = ["unproven"]