Skip to content

SoftengPoliTo/ascot-firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ascot Library

This Rust library contains a series of APIs and interfaces to:

  • Create and manage HTTP Rest routes
  • Define a device and its methods
  • Associate some hazards to a device

It can even run on an embedded system since it is a no_std library.

The ascot-axum and ascot-esp32c3 are two Rust libraries which make use of the ascot-library as dependency to define the APIs for their respective architectures.

The ascot-axum library is thought for firmware which run on operating systems. In the ascot-axum/examples directory, two different device firmware have been implemented as examples: a light and a fridge.

The ascot-esp32c3 library is thought for firmware which run on a ESP32-C3 board. In the ascot-esp32c3/devices directory, a simple device firmware has been implemented as example: a light.

Building

To build this crate with a debug profile run:

cargo build

To build this crate with a release profile which enables all time and memory optimizations run:

cargo build --release

About

A firmware library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages