bern-kernel 0.3.1

Preemptive real-time kernel for microcontrollers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Allocator collection.

pub mod allocator;
pub mod bump;
pub mod const_pool;
pub mod heap;
pub mod pool;
pub mod wrapper;

use crate::alloc::wrapper::Wrapper;

#[allow(unused)]
#[cfg_attr(target_os = "none", global_allocator)]
static ALLOCATOR: Wrapper = Wrapper::new();