add avr support

This commit is contained in:
sodo
2023-12-10 01:45:24 +09:00
parent 83138ce68e
commit 58d503a77d
5 changed files with 84 additions and 1 deletions

View File

@ -55,6 +55,7 @@ critical-section = { version = "1.1", features = ["std"] }
# Architecture
_arch = [] # some arch was picked
arch-avr = ["_arch", "dep:portable-atomic"]
arch-std = ["_arch", "critical-section/std"]
arch-cortex-m = ["_arch", "dep:cortex-m"]
arch-riscv32 = ["_arch", "dep:portable-atomic"]