1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Low level core functionality for [`pros-rs`](https://crates.io/crates/pros).
//! The core crate is used in all other crates in the pros-rs ecosystem.
//!
//! Included in this crate:
//! - Global allocator: [`pros_alloc`]
//! - Errno handling: [`error`]
//! - Serial terminal printing: [`io`]
//! - No-std [`Instant`](time::Instant)s: [`time`]
//! - Synchronization primitives: [`sync`]
//! - FreeRTOS task management: [`task`]

#![no_std]
#![feature(error_in_core)]

extern crate alloc;

pub mod allocator;
pub mod error;
pub mod io;
pub mod sync;
pub mod task;
pub mod time;