This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from esp-rs/cpu-configurations
Move CPU configs behind features, add features for lx6 and lx106
- Loading branch information
Showing
5 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
[package] | ||
name = "xtensa-lx6" | ||
version = "0.2.0" | ||
description = "Low level access for xtensa lx6 processors and peripherals" | ||
name = "xtensa-lx" | ||
version = "0.3.0" | ||
description = "Low level access for xtensa lx processors and peripherals" | ||
categories = ["embedded", "hardware-support", "no-std"] | ||
keywords = ["xtensa", "lx6", "register", "peripheral"] | ||
keywords = ["xtensa", "lx", "register", "peripheral"] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
repository = "https://github.com/esp-rs/xtensa-lx6" | ||
repository = "https://github.com/esp-rs/xtensa-lx" | ||
authors = ["Scott Mabin <[email protected]>", "Arjan Mels <[email protected]>"] | ||
edition = "2018" | ||
links = "xtensa-lx6" # prevent multiple versions of this crate to be linked together | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
links = "xtensa-lx" # prevent multiple versions of this crate to be linked together | ||
|
||
[dependencies] | ||
r0 = "1.0.0" | ||
bare-metal = { version = "0.2.0", features = ["const-fn"] } | ||
spin = "0.5.2" | ||
mutex-trait = "0.2" | ||
|
||
[features] | ||
lx6 = ["ccompare0", "ccompare1", "ccompare2", "ccount"] | ||
lx106 = ["ccompare0", "ccount"] | ||
|
||
# CPU configurations, taken from: https://github.com/espressif/xtensa-overlays | ||
|
||
# Timers up to 4 | ||
ccompare0 = [] | ||
ccompare1 = [] | ||
ccompare2 = [] | ||
ccompare3 = [] | ||
|
||
# ccount | ||
ccount = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters