Coder Social home page Coder Social logo

dalalsunil1986 / tachyos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fritzprix/tachyos

0.0 1.0 0.0 5.27 MB

Embedded OS for IoT

License: GNU Lesser General Public License v3.0

Makefile 0.03% C 5.46% Assembly 0.30% Dockerfile 0.01% C++ 94.20% Shell 0.01%

tachyos's Introduction

TachyOS

Build Status Codacy Badge

Note

This project is subjected to serious HOMEBREWING and still in INFANCY. So any experimental change can be made without any notice.

About

TachyOS is the RTOS based on microkernel architecture which includes only minimal components like thread / synchronization, memory management, inter-thread communication while supporting execution context / address space isolation(protection) and extensible modular interface. Name of this project comes from the hypothetical particle called 'tachyon' [t챈ki.�뭤], whose speed increases as its energy decreases theoretically, is thought to be the ideal of the real time application which runs in very constrained environment.

Motivation

  • Build modular architecture which supports both static linked(kernel mode) and dynamic-linked module(user mode).
  • Provides dynamic loading and dependency management of an application through network.
  • Provides secure runtime environment and fault isolation for user application using memory protection facility which is generally available in low-cost hardware.

Features

  • provide runtime scalablility with various dynamic modules. (Not Supported Yet)
  • Provides application loading and debugging over the network. (Not Supported Yet)
  • Provides autonomous dependency (dynamic module) management over the network. (Not Supported Yet)
  • Support multi-threading
    • The number of threads is limited only by available memory
    • Context-switch overhead is less than 5us in ARM CM4 (STM)
  • Preemptive scheduler with 6 execution priorities
  • Various lightweight synchronization
    • Monitor (mutex / condition variable)
    • Event (blocking pub / sub)
    • Semaphore
    • Barrier
  • Various Inter-thread communication
    • Message Queue
    • Mail Queue
  • HAL (as static module) [UART / I2C / SPI / TIMER / RTC / GPIO]

Target Supported

  • STM32F40x (ARM Cortex-M4)
  • STM32F41x (ARM Cortex-M4)
  • STM32F20x (ARM Cortex-M3)

Build Environment

project is developed with eclipse IDE with ARM Cross compile tool (toolchain and plugin)

  • arm gcc cross compiler link : [GCC ARM Embedded in Launchpad] (https://launchpad.net/gcc-arm-embedded)

    $ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
    $ sudo apt-get update
    $ sudo apt-get install gcc-arm-embedded
  • Install clang to build dependent library

    make sure clang / llvm-ar command is available

    $ sudo apt-install clang
  • python2.7 & pip for configuration utility (jconfigpy)

    $ sudo apt-get install python-dev python-pip  
  • gnu arm eclipse plug-in (optional) link : [GNU ARM Eclipse Plug-ins ] (http://gnuarmeclipse.livius.net/blog/)

  • For Windows user, MinGW or Cygwin should be installed (might be included in GCC ARM toolchain installation)

Build in Ubuntu

  1. get source code from repository

    $ git clone https://github.com/fritzprix/TachyOS.git
    $ cd TachyOS
  2. initiate project configuration and make your own configuration

    $ make config
  3. or you can use predefined configuration

     $ make config ARCH=ARM DEFCONF=stm32f4_def.conf
  4. build project

    $ make all
  5. (Optional) if you want reconfigure project

    $ make config_clean

To-Do

  • Add SDIO HAL Implementation (~Apr.2016)
  • Add virtual file system (~May.2016)

License

LGPL V3.0

tachyos's People

Contributors

fritzprix avatar zhcubgvlqhnrlmnvbsak avatar

Watchers

 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.