Coder Social home page Coder Social logo

hb9chm / oosmos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oosmos/oosmos

0.0 1.0 0.0 53.2 MB

OOSMOS - The Object Oriented State Machine Operating System.

Home Page: https://www.oosmos.com

License: GNU General Public License v2.0

C 95.80% Python 4.19% JavaScript 0.01%

oosmos's Introduction

OOSMOS

The Object-Oriented State Machine Operating System

  1. Draw a hierarchical state machine.

  2. Run the OOSMOS code generator to generate C code into an OOSMOS object.

  3. Compile

  4. Run

Key Features

  • Accepts hierarchical state machines drawn using the open source UML drawing package UMLet.

  • Generates object-oriented C code from UMLet drawings. Generated code is concise and easy to read.

  • Powerful state thread feature gives you an instant thread of execution within each state.

  • Dual Licenses

    • Open Source -- GPLv2
    • Commercial open source license without the GPLv2 restrictions. Note: Code generator source code available to commercial licensees only.
  • Superior event management:

    • Event codes are managed locally within each object's class.
    • Events support argument passing.
    • Events are delivered in a Publish/Subscribe fashion.
    • Each object has its own event queue (if the object uses events).
  • Supports orthogonal regions (also known as "and" states).

  • OOSMOS's simple object structure promotes superior object-oriented encapsulation and information hiding.

  • Very small footprint. Core code is comprised of only oosmos.h and oosmos.c which, together, are under 1700 cloc.

  • Portable c99 code runs on Windows, Linux, ST Micro, Arduino, ESP32, PIC32, and more.

  • A core set of OOSMOS classes, such as pin (GPIO), sw (switch), btn (button) and toggle provided.

  • Many time management capabilities and APIs.

  • Extremely fast, constant-time memory allocation scheme, ideal for DO-178B/C.

  • Code fully LINT'd using PC-LINT. An oosmos-user.lnt file is provided to allow you to cleanly lint your code that uses OOSMOS.

Initial Set Up

Once you've cloned OOSMOS, some of the example directories for embedded devices may be incomplete. In order to fully populate the Examples directories, you must first run the Python script populate.py while in the top-level directory.

Support

  • Report bugs and feature requests here on GitHub.

oosmos's People

Contributors

markjglenn avatar oosmos avatar hb9chm avatar

Watchers

James Cloos 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.