-
Notifications
You must be signed in to change notification settings - Fork 198
/
Cargo.toml
44 lines (36 loc) · 993 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
36
37
38
39
40
41
42
43
44
[package]
name = "serpente"
version = "0.7.1"
authors = ["Jens Andersen <[email protected]>"]
description = "Board Support crate for the Serpente board"
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.panic-semihosting]
version = "0.6"
optional = true
[dependencies.cortex-m-rt]
version = "0.7"
optional = true
[dependencies.atsamd-hal]
version = "0.14"
default-features = false
[dev-dependencies]
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"]
use_semihosting = ["panic-semihosting"]
# for cargo flash
[package.metadata]
chip = "ATSAMD21E18A"
[[example]]
name = "blinky_basic"
[[example]]
name = "pwm"
required-features = ["unproven"]