Freertos posix Development

From OpenCircuits
Revision as of 00:50, 31 August 2009 by Tcwden (talk | contribs)
Jump to navigation Jump to search

This wiki describes the development of freertos_posix - a POSIX wrapper for FreeRTOS. The wrapper has been used for deploying the dsPic33 development board.

Architecture

  • Refer to software architecture from here


Source Code

  • The most up-to-date development can be found at repository freertos_posix


POSIX Threads Scheduler

  • The task scheduler is based on FreeRTOS incorporating coroutine developed by Simon Tatham. The scheduler API is wrapped by the POSIX Thread API.
    • e.g. pthread_create(), usleep(), etc.


POSIX Driver Development

  • Software drivers are developed to allow users at Application Level to use the hardware (e.g. ADC, DAC, UART, NVM etc) through the POSIX System call API.
    • e.g. open(), write(), read(), ioctl(), lseek(), etc.
  • An example of how to develop drivers for Microchip dsPic33 devices can be found here


Power Management

  • to be added