Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
stm32f4-hal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Lindgren
stm32f4-hal
Commits
e9ac8ba6
Commit
e9ac8ba6
authored
7 years ago
by
homunkulus
Browse files
Options
Downloads
Plain Diff
Auto merge of #5 - japaric:rt, r=japaric
add "rt" feature None
parents
1a2b392c
768bdfb7
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Cargo.toml
+3
-0
3 additions, 0 deletions
Cargo.toml
Xargo.toml
+6
-0
6 additions, 0 deletions
Xargo.toml
ci/script.sh
+1
-0
1 addition, 0 deletions
ci/script.sh
src/lib.rs
+9
-1
9 additions, 1 deletion
src/lib.rs
with
19 additions
and
1 deletion
Cargo.toml
+
3
−
0
View file @
e9ac8ba6
...
@@ -17,3 +17,6 @@ stm32f30x = "0.6.0"
...
@@ -17,3 +17,6 @@ stm32f30x = "0.6.0"
[dependencies.
cast
]
[dependencies.
cast
]
default-features
=
false
default-features
=
false
version
=
"0.2.2"
version
=
"0.2.2"
[features]
rt
=
[
"stm32f30x/rt"
]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Xargo.toml
0 → 100644
+
6
−
0
View file @
e9ac8ba6
[dependencies.core]
stage
=
0
[dependencies.compiler_builtins]
features
=
[
"mem"
]
stage
=
1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ci/script.sh
+
1
−
0
View file @
e9ac8ba6
...
@@ -9,6 +9,7 @@ main() {
...
@@ -9,6 +9,7 @@ main() {
;;
;;
*
)
*
)
xargo check
--target
$TARGET
xargo check
--target
$TARGET
xargo check
--target
$TARGET
--features
rt
;;
;;
esac
esac
...
...
This diff is collapsed.
Click to expand it.
src/lib.rs
+
9
−
1
View file @
e9ac8ba6
...
@@ -5,11 +5,19 @@
...
@@ -5,11 +5,19 @@
//!
//!
//! [`embedded-hal`]: https://github.com/japaric/embedded-hal
//! [`embedded-hal`]: https://github.com/japaric/embedded-hal
//!
//!
//! # Usage
//!
//! To build applications (binary crates) using this crate follow the [cortex-m-quickstart]
//! instructions and add this crate as a dependency in step number 5 and make sure you enable the
//! "rt" Cargo feature of this crate.
//!
//! [cortex-m-quickstart]: https://docs.rs/cortex-m-quickstart/~0.2.3
//!
//! # Examples
//! # Examples
//!
//!
//! Examples of *using* these abstractions can be found in the documentation of the [`f3`] crate.
//! Examples of *using* these abstractions can be found in the documentation of the [`f3`] crate.
//!
//!
//! [`f3`]: https://docs.rs/f3/0.5.
0/f3/
//! [`f3`]: https://docs.rs/f3/
~
0.5.
1
#![deny(missing_docs)]
#![deny(missing_docs)]
#![deny(warnings)]
#![deny(warnings)]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment