Skip to content

Commit 6b8ad9f

Browse files
committed
doc(port_arm_m): fix broken intra-doc links
1 parent 9a16a61 commit 6b8ad9f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/r3_port_arm_m/src/lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The interrupt numbers `0..16` are mapped to non-external interrupts, and most op
1313

1414
The availability of timer sources varies greatly between MCUs and there's no one-size-fits-all solution. For this reason, [`use_port!`] does not implement [`PortTimer`] on your kernel trait type. The Arm-M architecture defines SysTick, an optional timer integrated with a processor core and most Arm-M-based MCUs are equipped with those. This crate provides an implementation of `PortTimer` that utilizes SysTick.
1515

16-
[`PortTimer`]: r3::kernel::PortTimer
16+
[`PortTimer`]: r3_kernel::PortTimer
1717

1818
## Tickful SysTick
1919

src/r3_port_arm_m/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#[doc = include_str!("../CHANGELOG.md")]
2121
pub mod _changelog_ {}
2222

23-
/// The [`r3::kernel::PortThreading`] implementation.
23+
/// The [`r3_kernel::PortThreading`] implementation.
2424
#[doc(hidden)]
2525
pub mod threading {
2626
pub mod cfg;
@@ -36,7 +36,7 @@ pub mod rt {
3636
pub mod imp;
3737
}
3838

39-
/// The tickful [`r3::kernel::PortTimer`] implementation based on SysTick.
39+
/// The tickful [`r3_kernel::PortTimer`] implementation based on SysTick.
4040
#[doc(hidden)]
4141
pub mod systick_tickful {
4242
pub mod cfg;

src/r3_port_arm_m/src/rt/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/// and [`KernelTraits`] to be implemented.**
33
///
44
/// [`EntryPoint`]: crate::EntryPoint
5-
/// [`KernelTraits`]: r3::kernel::KernelTraits
5+
/// [`KernelTraits`]: r3_kernel::KernelTraits
66
///
77
/// This macro registers the following items:
88
///

src/r3_port_arm_m/src/systick_tickful/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub trait SysTickOptions {
3737
/// Attach the tickful implementation of [`PortTimer`] that is based on SysTick
3838
/// to a given kernel trait type.
3939
///
40-
/// [`PortTimer`]: r3::kernel::PortTimer
40+
/// [`PortTimer`]: r3_kernel::PortTimer
4141
/// [a tickful scheme]: crate#tickful-systick
4242
///
4343
/// You should also do the following:

src/r3_port_arm_m/src/threading/cfg.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub trait ThreadingOptions {
2020
/// The lower bound of [`MANAGED_INTERRUPT_PRIORITY_RANGE`] is bound to this
2121
/// value.
2222
///
23-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
23+
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3_kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
2424
///
2525
/// Must be `0` on Armv6-M and Armv8-M Baseline because they don't support
2626
/// `BASEPRI`.
@@ -81,8 +81,8 @@ pub unsafe trait EntryPoint {
8181
/// See [the crate-level documentation](crate#kernel-timing) for possible
8282
/// options.
8383
///
84-
/// [`PortThreading`]: r3::kernel::PortThreading
85-
/// [`PortTimer`]: r3::kernel::PortTimer
84+
/// [`PortThreading`]: r3_kernel::PortThreading
85+
/// [`PortTimer`]: r3_kernel::PortTimer
8686
///
8787
/// # Safety
8888
///

0 commit comments

Comments
 (0)