blob: 2ea48ee29bf4114f95bce768a08152f09cf3b057 (
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
|
[package]
name = "clint"
version = "0.2.0"
description = "CLosure INTerrupt handlers."
categories = ["no-std", "embedded", "hardware-support", "asynchronous"]
keywords = ["interrupt", "peripheral"]
license = "LGPL-3.0-or-later"
authors = ["Brian Cully <bjc@kublai.com>"]
repository = "https://github.com/bjc/clint"
edition = "2018"
[dev-dependencies]
cortex-m = "~0.6"
compiletest_rs = "~0.3"
[dev-dependencies.cortex-m-rt]
version = "~0.6"
[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
cortex-m = "~0.6"
[features]
default = ["isr-32"]
# Number of ISR closures to hold in a HandlerTable. This is pretty
# clumsy, but doesn't require const generics.
isr-8 = []
isr-16 = []
isr-32 = []
isr-64 = []
isr-128 = []
isr-256 = []
|