veecle_freertos_integration/
lib.rs

1//! # Veecle FreeRTOS Integration
2//!
3//! Rust wrapper for [FreeRTOS](http://www.freertos.org/).
4//!
5//! Requires dynamic memory allocation backed by the operating system.
6//!
7//! Be sure to check the [FreeRTOS documentation](http://www.freertos.org/RTOS.html).
8
9#![no_std]
10#![allow(non_upper_case_globals)]
11#![allow(non_camel_case_types)]
12#![allow(non_snake_case)]
13#![allow(missing_docs)]
14#![cfg_attr(docsrs, feature(doc_auto_cfg))]
15
16extern crate alloc;
17
18mod allocator;
19pub mod hooks;
20mod isr;
21mod queue;
22pub mod scheduler;
23pub mod task;
24mod timers;
25mod units;
26
27pub use veecle_freertos_sys::bindings::{
28    BaseType_t, QueueHandle_t, TaskHandle_t, TickType_t, TimerHandle_t, UBaseType_t, eNotifyAction,
29    vPortGetHeapStats,
30};
31pub use veecle_freertos_sys::error::FreeRtosError;
32
33pub use crate::allocator::*;
34pub use crate::isr::*;
35pub use crate::queue::*;
36#[doc(inline)]
37pub use crate::task::*;
38pub use crate::timers::*;
39pub use crate::units::Duration;