Compare commits

...
2 Commits
Author SHA1 Message Date
Jorge Aparicio 7cb137968b v0.3.1 2018-05-13 13:41:59 +02:00
Jorge Aparicio 7ae7245956 document the no #![no_main] issue 2018-05-13 12:02:37 +02:00
3 changed files with 23 additions and 3 deletions
+6 -1
View File
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] ## [Unreleased]
## [v0.3.1] - 2018-05-13
- Document the standard `main` interface issue in the troubleshooting guide.
## [v0.3.0] - 2018-05-12 ## [v0.3.0] - 2018-05-12
### Changed ### Changed
@@ -168,7 +172,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Initial release - 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.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.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 [v0.2.6]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.5...v0.2.6
+1 -1
View File
@@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
name = "cortex-m-quickstart" name = "cortex-m-quickstart"
repository = "https://github.com/japaric/cortex-m-quickstart" repository = "https://github.com/japaric/cortex-m-quickstart"
version = "0.3.0" version = "0.3.1"
[dependencies] [dependencies]
cortex-m = "0.5.0" cortex-m = "0.5.0"
+16 -1
View File
@@ -135,13 +135,28 @@
//! //!
//! # Examples //! # Examples
//! //!
//! Check the [examples module](./examples/index.html) //! Check the [examples module][examples]
//!
//! [examples]: ./examples/index.html
//! //!
//! # Troubleshooting //! # Troubleshooting
//! //!
//! This section contains fixes for common errors encountered when the //! This section contains fixes for common errors encountered when the
//! `cortex-m-quickstart` template is misused. //! `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 //! ## Forgot to launch an OpenOCD instance
//! //!
//! Error message: //! Error message: