mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Rename RTFM to RTIC
This commit is contained in:
parent
4a0393f756
commit
602a5b4374
129 changed files with 454 additions and 454 deletions
|
|
@ -82,7 +82,7 @@ impl Priority {
|
|||
}
|
||||
}
|
||||
|
||||
// these two methods are used by `lock` (see below) but can't be used from the RTFM application
|
||||
// these two methods are used by `lock` (see below) but can't be used from the RTIC application
|
||||
#[inline(always)]
|
||||
fn set(&self, value: u8) {
|
||||
self.inner.set(value)
|
||||
|
|
|
|||
16
src/lib.rs
16
src/lib.rs
|
|
@ -1,16 +1,16 @@
|
|||
//! Real Time For the Masses (RTFM) framework for ARM Cortex-M microcontrollers
|
||||
//! Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
|
||||
//!
|
||||
//! **HEADS UP** This is an **beta** pre-release; there may be breaking changes in the API and
|
||||
//! semantics before a proper release is made.
|
||||
//!
|
||||
//! **IMPORTANT**: This crate is published as [`cortex-m-rtfm`] on crates.io but the name of the
|
||||
//! library is `rtfm`.
|
||||
//! **IMPORTANT**: This crate is published as [`cortex-m-rtic`] on crates.io but the name of the
|
||||
//! library is `rtic`.
|
||||
//!
|
||||
//! [`cortex-m-rtfm`]: https://crates.io/crates/cortex-m-rtfm
|
||||
//! [`cortex-m-rtic`]: https://crates.io/crates/cortex-m-rtic
|
||||
//!
|
||||
//! The user level documentation can be found [here].
|
||||
//!
|
||||
//! [here]: https://rtfm.rs
|
||||
//! [here]: https://rtic.rs
|
||||
//!
|
||||
//! Don't forget to check the documentation of the `#[app]` attribute (listed under the reexports
|
||||
//! section), which is the main component of the framework.
|
||||
|
|
@ -50,8 +50,8 @@ use cortex_m::{
|
|||
};
|
||||
#[cfg(all(not(feature = "heterogeneous"), not(feature = "homogeneous")))]
|
||||
use cortex_m_rt as _; // vector table
|
||||
pub use cortex_m_rtfm_macros::app;
|
||||
pub use rtfm_core::{Exclusive, Mutex};
|
||||
pub use cortex_m_rtic_macros::app;
|
||||
pub use rtic_core::{Exclusive, Mutex};
|
||||
|
||||
#[cfg(armv7m)]
|
||||
pub mod cyccnt;
|
||||
|
|
@ -152,7 +152,7 @@ pub trait Monotonic {
|
|||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// This function will be called *exactly once* by the RTFM runtime after `#[init]` returns and
|
||||
/// This function will be called *exactly once* by the RTIC runtime after `#[init]` returns and
|
||||
/// before tasks can start; this is also the case in multi-core applications. User code must
|
||||
/// *never* call this function.
|
||||
unsafe fn reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue