aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: b2be98456323e967ed50fd17a66b746a1923d003 (plain)
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
[package]
name = "atsamd-usb-host"
description = "usb-host driver support for Atmel SAMD* microcontrollers."
version = "0.1.0"
authors = ["Brian Cully <bjc@kublai.com>"]
edition = "2018"
license = "LGPL-3.0-or-later"
categories = ["no-std", "embedded", "hardware-support"]
keywords = ["usb", "usb-host", "hal", "peripheral"]
repository = "https://github.com/bjc/atsamd-21-host.git"
readme = "README.md"

[dependencies]
usb-host = "~0.1"
starb = "~0.2"
log = "~0.4"
embedded-hal = "~0.2"
atsamd-hal = "~0.5"

[dev-dependencies]
bootkbd = "~0.1"
clint = "~0.2"
cortex-m = "~0.6"
cortex-m-rt = "~0.6"
nb = "~0.1"
trinket_m0 = "~0.3"

[patch.crates-io]
atsamd-hal = { git = "https://github.com/atsamd-rs/atsamd.git" }
trinket_m0 = { git = "https://github.com/atsamd-rs/atsamd.git" }

# Need to re-export features from atsamd-hal. If there were a
# compelling reason to merge this into there, this is it.
[features]
samd21g18a = ["atsamd-hal/samd21g18a"]
samd21e18a = ["atsamd-hal/samd21e18a"]
samd51 = [] # Convenience feature for shared configuration of samd51 chips.
samd51g19a = ["atsamd-hal/samd51g19a"]
samd51j19a = ["atsamd-hal/samd51j19a"]
samd51j20a = ["atsamd-hal/samd51j20a"]