-
Notifications
You must be signed in to change notification settings - Fork 205
/
Copy pathCargo.toml
55 lines (45 loc) · 1.15 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
[package]
name = "circuit_playground_express"
version = "0.11.1"
authors = ["Paul Sajna <[email protected]>"]
description = "Board Support crate for the Adafruit Circuit Playground Express"
keywords = ["no-std", "arm", "cortex-m", "embedded-hal"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/atsamd-rs/atsamd"
readme = "README.md"
edition = "2018"
[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"
panic-halt = "0.2"
panic-semihosting = "0.5"
usbd-serial = "0.1"
smart-leds = "0.3.0"
[dev-dependencies.ws2812-timer-delay]
features = ["slow"]
version = "0.3.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"]
usb = ["atsamd-hal/usb", "usb-device"]
use_semihosting = []
# for cargo flash
[package.metadata]
chip = "ATSAMD21G18A"
[[example]]
name = "blinky_basic"
[[example]]
name = "uart"
[[example]]
name = "usb_serial"
required-features = ["usb"]