FunkOS

FunkOS is a real-time operating system (RTOS) developed by Funkenstein Software Consulting, targeting a variety of microcontroller architectures. It is free to use in any project - commercial or otherwise - with few conditions. If the kernel is ported to a new target, that code must also be made available for inclusion in future releases. Also, if used in commercial projects, an attribution statement must be included in some form of product documentation.

FunkOS
DeveloperFunkenstein Software Consulting
OS familyCustom
Working stateCurrent
Source modelFree for all purposes, with some conditions
Initial release2009
Latest releaseR3 - Cactrot[1] / March 20, 2010
Marketing targetEmbedded system, Microcontroller, Real-time systems
Available inEnglish
PlatformsAVR, ARM, Texas Instruments MSP430
Kernel typeReal-time Microkernel
Default user interfaceFooey
LicenseOpen Source Software, (Modified Sleepycat License)
Official websitefunkos.sourceforge.net

Description

FunkOS is a fully preemptive multi-tasking environment, capable of running on a variety of modern microcontroller architectures.

The kernel supports an unlimited number of program "tasks" running from up to 255 different priority levels.

Tasks are independent programs, each with their own stack. At each RTOS tick, the highest-priority task is chosen for execution, with round-robin scheduling used when multiple tasks from the same priority level are ready to run.

An idle task must be defined for every application, and can be used to invoke power-saving functionality of the hardware platform.

Key features in the kernel include:

  • Semaphores
  • Mutex objects with Priority Inheritance
  • Periodic lightweight threads
  • Inter-process communications
  • Task time quantum support for round-robin tasks
  • Event queues
  • Fixed-block dynamic memory allocation
  • "Core Services" including a software real-time clock, and distributed computing support based on the concept of The Plumber
  • Device driver HAL
  • Task deadline monitoring (watchdog) module
  • 2D display driver library supporting software rendering and hardware-acceleration
  • GUI framework and widget library
  • FAT16/32 read-only file system support
  • Alternate C++ kernel (FunkOS++)
  • Alternate round-robin only kernel (Pipsqueak)

The kernel is highly customizable, allowing the developer to include or eliminate kernel features based on the application requirements. FunkOS is very lightweight as a result - the smallest useful kernel and application compiles to under 2 kilobytes of code space and 400 bytes of RAM on an AVR microcontroller.

The FunkOS++ kernel is currently the only open-source, preemptive RTOS for 8-bit microcontrollers written in C++. It is supported by popular SSL/TLS libraries such as wolfSSL.

Ports

Atmel:

  • AVR (ATmega, ATxmega) (ATmega328P, ATmega644, ATxmega256A1)

Texas Instruments:

ARM:

  • Cortex-M3 [untested]

Ports for other modern microcontrollers are planned for future releases.

Roadmap

Future releases will include the following features:

  • Virtual machine to enable hybrid native/virtual tasks
  • Support for PIC24 and dsPIC architectures
  • Stabilize the ARM Cortex-M3 port
  • Bitmap font librarian application
gollark: I do kind of wonder, sometimes, how credit card payment, well, doesn't run into horrible problems constantly.
gollark: Neat.
gollark: Oh, so you're doing software stuff for them and also designing... retail-y hardware a bit?
gollark: Well, I have somewhat working backups, so probably "wipe server, reinstall from USB stick, reload important stuff but probably keep external network access down for a bit".
gollark: I mostly just try and keep software up to date, shove sandboxes on network-facing services, and hope vulnerability-scanning botnets or something don't catch up fast enough.

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.