Skip to content

kscalelabs/kos-kbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-Scale OS - K-Bot

Welcome to the K-Scale OS build for the K-Bot!

Building

Prerequisites

  • cross toolchain

Native build

Native build with stub features:

cargo build

Cross build

Cross build for kbot:

cross build --release --target aarch64-unknown-linux-gnu

Running

RUST_LOG=debug cargo run

You can specify logging levels for individual modules by adding module_name=log_level to the RUST_LOG environment variable. For example:

RUST_LOG=debug,krec=warn cargo run

Contributing

  • Use cargo fmt --all to format the code.
  • Use cargo clippy to check for lint errors.
  • Use cargo test to run the tests.
  • Use tracing for logging.
  • Use eyre to handle errors.
  • No unwrap() or expect().

License

This project is licensed under the MIT License. See the LICENSE file for details.