-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cortex-m crate into cortex-m directory
- Loading branch information
Showing
48 changed files
with
106 additions
and
300 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,8 +1,4 @@ | ||
*.org | ||
*.rs.bk | ||
.#* | ||
Cargo.lock | ||
bin/*.after | ||
bin/*.before | ||
bin/*.o | ||
target |
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,41 +1,7 @@ | ||
[package] | ||
authors = [ | ||
"The Cortex-M Team <[email protected]>", | ||
"Jorge Aparicio <[email protected]>", | ||
] | ||
categories = ["embedded", "hardware-support", "no-std"] | ||
description = "Low level access to Cortex-M processors" | ||
documentation = "https://docs.rs/cortex-m" | ||
keywords = ["arm", "cortex-m", "register", "peripheral"] | ||
license = "MIT OR Apache-2.0" | ||
name = "cortex-m" | ||
readme = "README.md" | ||
repository = "https://github.com/rust-embedded/cortex-m" | ||
version = "0.7.4" | ||
edition = "2021" | ||
rust-version = "1.59" | ||
links = "cortex-m" # prevent multiple versions of this crate to be linked together | ||
|
||
[dependencies] | ||
critical-section = "1.0.0" | ||
volatile-register = "0.2.0" | ||
bitfield = "0.13.2" | ||
embedded-hal = "0.2.4" | ||
|
||
[dependencies.serde] | ||
version = "1" | ||
features = [ "derive" ] | ||
optional = true | ||
|
||
[features] | ||
cm7 = [] | ||
cm7-r0p1 = ["cm7"] | ||
linker-plugin-lto = [] | ||
std = [] | ||
critical-section-single-core = ["critical-section/restore-state-bool"] | ||
|
||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"cortex-m", | ||
"cortex-m-rt", | ||
"cortex-m-semihosting", | ||
"panic-itm", | ||
|
@@ -45,14 +11,3 @@ members = [ | |
"testsuite/minitest/macros", | ||
"xtask", | ||
] | ||
|
||
[package.metadata.docs.rs] | ||
targets = [ | ||
"thumbv8m.main-none-eabihf", | ||
"thumbv6m-none-eabi", | ||
"thumbv7em-none-eabi", | ||
"thumbv7em-none-eabihf", | ||
"thumbv7m-none-eabi", | ||
"thumbv8m.base-none-eabi", | ||
"thumbv8m.main-none-eabi" | ||
] |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[package] | ||
authors = [ | ||
"The Cortex-M Team <[email protected]>", | ||
"Jorge Aparicio <[email protected]>", | ||
] | ||
categories = ["embedded", "hardware-support", "no-std"] | ||
description = "Low level access to Cortex-M processors" | ||
documentation = "https://docs.rs/cortex-m" | ||
keywords = ["arm", "cortex-m", "register", "peripheral"] | ||
license = "MIT OR Apache-2.0" | ||
name = "cortex-m" | ||
readme = "README.md" | ||
repository = "https://github.com/rust-embedded/cortex-m" | ||
version = "0.7.4" | ||
edition = "2021" | ||
rust-version = "1.59" | ||
links = "cortex-m" # prevent multiple versions of this crate to be linked together | ||
|
||
[dependencies] | ||
critical-section = "1.0.0" | ||
volatile-register = "0.2.0" | ||
bitfield = "0.13.2" | ||
embedded-hal = "0.2.4" | ||
|
||
[dependencies.serde] | ||
version = "1" | ||
features = [ "derive" ] | ||
optional = true | ||
|
||
[features] | ||
cm7 = [] | ||
cm7-r0p1 = ["cm7"] | ||
linker-plugin-lto = [] | ||
std = [] | ||
critical-section-single-core = ["critical-section/restore-state-bool"] | ||
|
||
[package.metadata.docs.rs] | ||
targets = [ | ||
"thumbv8m.main-none-eabihf", | ||
"thumbv6m-none-eabi", | ||
"thumbv7em-none-eabi", | ||
"thumbv7em-none-eabihf", | ||
"thumbv7m-none-eabi", | ||
"thumbv8m.base-none-eabi", | ||
"thumbv8m.main-none-eabi" | ||
] |
Oops, something went wrong.