Crate bern_kernel[][src]

Expand description

Bern RTOS kernel for microcontroller.

Documentation

Refer to the kernel book kernel.bern-rtos.org.

Semantic Versioning

This project follows Semantic Versioning 2.0.0.

Currently the version is below 1.0.0 meaning that everything is very much unstable and the API could change completely.

Cargo features

  • time-slicing: A task runs at max for one system tick period if there are other tasks of equal priority

Re-exports

pub use crate::syscall::*;
pub use bern_arch;

Modules

mem

Data structures.

sched

Scheduler.

stack

Task stack management.

sync

Synchronization primitives.

syscall

System calls.

task

Task creation and control.

time

System time.

Macros

alloc_static_stack

Allocate a static stack with given size in bytes.