Giter Site home page Giter Site logo

stateos / intros-attiny817-xplained-mini Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 3.0 376 KB

Free cooperative operating system (OS). Template for ATtiny817-Xplained-Mini board.

License: MIT License

C++ 11.94% C 8.44% Shell 61.35% CMake 18.28%
avr avr8 attiny817 attiny817-xplained-mini

intros-attiny817-xplained-mini's Introduction

StateOS

StateOS is free, extremely simple and very fast real-time operating system (RTOS) designed for deeply embedded applications.

Targets

ARM Cortex-M, STM8.

Inspiration

StateOS was inspired by the concept of a state machine. Procedure executed by the task (task state) doesn't have to be noreturn-type. It will be executed into an infinite loop. There's a dedicated function for immediate change the task state (task function).

Documentation

All documentation is contained within source files, in particular header files.

Gettin started

Building an application for a specific compiler is realised using the appropriate makefile script.

Features

  • kernel can operate in preemptive or cooperative mode
  • kernel can operate with 16, 32 or 64-bit timer counter
  • kernel can operate in tick-less mode
  • implemented basic protection using MPU (use nullptr, stack overflow)
  • implemented functions for asynchronous communication with unmasked interrupt handlers
  • spin locks
  • once flags
  • events
  • signals with protection mask
  • flags (any, all, protect, ignore)
  • barriers
  • semaphores (binary, limited, counting)
  • mutexes with configurable type, protocol and robustness
  • fast mutexes (error checking)
  • condition variables
  • read/write locks
  • memory pools
  • raw buffers
  • message queues
  • mailbox queues
  • event queues
  • job queues
  • timers (one-shot, periodic)
  • hierarchical state machine
  • cmsis-rtos api
  • cmsis-rtos2 api
  • nasa-osal support
  • c++ wrapper
  • support for std::thread
  • all documentation is contained within source files, in particular header files
  • examples and templates are in separate repositories on GitHub
  • archival releases on sourceforge

Supported stdc++ features

  • std::thread, std::jthread, std::stop_callback, std::this_thread, ...
  • std::mutex, std::shared_mutex, std::condition_variable, ...
  • std::binary_semaphore, std::counting_semaphore, ...
  • std::lock_guard, std::unique_lock, std::shared_lock, ...
  • std::future, std::promise, std::assync, ...
  • std::barrier, std::latch, ...
  • std::chrono, ...
  • thread local storage (thread_local)
  • and more ...

License

This project is licensed under the terms of the MIT License (MIT).

intros-attiny817-xplained-mini's People

Contributors

rajszym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.