Code Monkey home page Code Monkey logo

lankuaker / trampoline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trampolinertos/trampoline

0.0 2.0 0.0 102.55 MB

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.1 standards.

License: GNU General Public License v2.0

C 72.03% Objective-C 1.69% C++ 22.10% Makefile 0.08% Python 0.33% Groff 0.01% Batchfile 0.01% Smarty 0.01% Shell 0.02% Assembly 2.84% Arduino 0.56% Logos 0.05% HTML 0.27%

trampoline's Introduction

Trampoline

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.1 standards.

5 platforms are supported by now :

  • cortex: ARM Cortex-M (M0+ and M4 for now) instruction set
  • ppc: PowerPC 32bits instruction set
  • posix: virtual platform for POSIX systems (tested on Linux and OS X)
  • avr: AVR 8 bits microcontrollers
  • ARM: ARM 32 bits instruction set

And we welcome external contributors to extend this list.

Some examples have been added (check examples):

  • Cortex M4 with µC stm32f407: cortex/armv7/stm32f407/stf32f4discovery
    • blink. Blinks a LED using an alarm and a task.
    • readButton. The example polls the button to start an alarm that activates a task to blink a LED
    • readButton_isr. Same but the button triggers an ISR.
    • alarms. It is the same example than readButton_isr but we test the return value of SetRelAlarm for return parameters when in kernel (system call) mode.
    • timer. ISR2 trigered by timer TIM2.
  • Cortex M4 with µC mk20dx256 : cortex/armv7/mk20dx256/teensy31
    • blink. Blinks the Teensy 3.1 LED using an alarm and a task.
    • startStopBlink. The example polls a button connected to pin 8 to start an alarm that activates a task to blink a LED.
    • liquidCrystal. startStopBlink extended. In addition the periodic task prints a value on a LCD.
    • isr2onPIT. Use the PIT channel 0 to trigger an ISR2.
    • isr1onFTM. Use the FTM0 to trigger an ISR1 and generate a variable width pulse.
  • Cortex M0+ with µC samd21: cortex/armv6m/samd21/XPlainedPro.
    • blink. Blinks a LED using an alarm and a task.
    • readButton. The example polls the button to start an alarm that activates a task to blink a LED
    • readButton_isr. Same but the button triggers an ISR.
  • avr: 3 examples for Arduino Uno (ATMega328p chip) and Arduino Mega (ATMega2560 chip)
    • blink. Blinks a LED using an alarm and a task.
    • serial. improve 'blink': use the standard Arduino serial API.
    • extInterrupt. improve 'serial': add 2 ISRs to change the alarm period.
  • arm: 1 example for Olimex lpc2294 board
    • lonely. Blinks a led, 3 tasks, ISR category 1 or 2, counts interrupts from the push button.

More examples are coming.

Precompiled binaries of goil, the OIL compiler

Updated to version 2.1.26

Useful links

trampoline's People

Contributors

jlbirccyn avatar mbriday avatar sefau avatar kamelhacene avatar liberh avatar lmg avatar

Watchers

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