Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cb137968b | ||
|
|
7ae7245956 |
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [v0.3.1] - 2018-05-13
|
||||
|
||||
- Document the standard `main` interface issue in the troubleshooting guide.
|
||||
|
||||
## [v0.3.0] - 2018-05-12
|
||||
|
||||
### Changed
|
||||
@@ -168,7 +172,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- Initial release
|
||||
|
||||
[Unreleased]: https://github.com/japaric/cortex-m-quickstart/compare/v0.3.0...HEAD
|
||||
[Unreleased]: https://github.com/japaric/cortex-m-quickstart/compare/v0.3.1...HEAD
|
||||
[v0.3.1]: https://github.com/japaric/cortex-m-quickstart/compare/v0.3.0...v0.3.1
|
||||
[v0.3.0]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.7...v0.3.0
|
||||
[v0.2.7]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.6...v0.2.7
|
||||
[v0.2.6]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.5...v0.2.6
|
||||
|
||||
@@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
name = "cortex-m-quickstart"
|
||||
repository = "https://github.com/japaric/cortex-m-quickstart"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.5.0"
|
||||
|
||||
17
src/lib.rs
17
src/lib.rs
@@ -135,13 +135,28 @@
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
//! Check the [examples module](./examples/index.html)
|
||||
//! Check the [examples module][examples]
|
||||
//!
|
||||
//! [examples]: ./examples/index.html
|
||||
//!
|
||||
//! # Troubleshooting
|
||||
//!
|
||||
//! This section contains fixes for common errors encountered when the
|
||||
//! `cortex-m-quickstart` template is misused.
|
||||
//!
|
||||
//! ## Used the standard `main` interface
|
||||
//!
|
||||
//! Error message:
|
||||
//!
|
||||
//! ``` text
|
||||
//! $ cargo build
|
||||
//! Compiling demo v0.1.0 (file:///home/japaric/tmp/demo)
|
||||
//!
|
||||
//! error: requires `start` lang_item
|
||||
//! ```
|
||||
//!
|
||||
//! Solution: Use `#![no_main]` and `entry!` as shown in the [examples].
|
||||
//!
|
||||
//! ## Forgot to launch an OpenOCD instance
|
||||
//!
|
||||
//! Error message:
|
||||
|
||||
Reference in New Issue
Block a user