blob: a18f45630de02533930ed434fceea927790b3ba4 [file] [log] [blame]
#![feature(asm, alloc_error_handler, lang_items, naked_functions)]
#![cfg_attr(any(target_arch = "arm", target_arch = "riscv32"), no_std)]
pub mod adc;
pub mod ble_composer;
pub mod ble_parser;
pub mod buttons;
pub mod callback;
pub mod console;
pub mod debug;
pub mod electronics;
pub mod futures;
pub mod gpio;
pub mod leds;
pub mod memop;
pub mod result;
pub mod rng;
pub mod sensors;
pub mod shared_memory;
pub mod simple_ble;
pub mod temperature;
pub mod timer;
pub mod unwind_symbols;
#[cfg(any(target_arch = "arm", target_arch = "riscv32"))]
pub mod entry_point;
#[cfg(any(target_arch = "arm", target_arch = "riscv32"))]
mod lang_items;
pub mod syscalls;
pub use libtock_codegen::main;
pub(crate) mod drivers;
pub use drivers::*;
/// Dummy structure to force importing the panic_handler and other no_std elements when nothing else
/// is imported.
pub struct LibTock;