mirror of
https://github.com/nkbai/book.git
synced 2026-09-02 12:47:53 +08:00
initial fix
This commit is contained in:
@@ -8,7 +8,7 @@ subroutines executed in response to the signal that triggered the event.
|
||||
The `cortex-m-rt` crate provides an [`exception`] attribute to declare exception
|
||||
handlers.
|
||||
|
||||
[`exception`]: https://rust-embedded.github.io/cortex-m-rt/0.6.1/cortex_m_rt_macros/fn.exception.html
|
||||
[`exception`]: https://docs.rs/cortex-m-rt-macros/latest/cortex_m_rt_macros/attr.exception.html
|
||||
|
||||
``` rust,ignore
|
||||
// Exception handler for the SysTick (System Timer) exception
|
||||
|
||||
@@ -129,7 +129,7 @@ to mark the entry point of the program. As we are not using the standard `main`
|
||||
interface we need another way to indicate the entry point of the program and
|
||||
that'd be `#[entry]`.
|
||||
|
||||
[`#[entry]`]: https://rust-embedded.github.io/cortex-m-rt/0.6.1/cortex_m_rt_macros/fn.entry.html
|
||||
[`#[entry]`]: https://docs.rs/cortex-m-rt-macros/latest/cortex_m_rt_macros/attr.entry.html
|
||||
[`cortex-m-rt`]: https://crates.io/crates/cortex-m-rt
|
||||
|
||||
`fn main() -> !`. Our program will be the *only* process running on the target
|
||||
|
||||
Reference in New Issue
Block a user