A port of FreeRTOS to the raspberry pi 2B. With USB+Ethernet+TCP/IP. logo

A port of FreeRTOS to the raspberry pi 2B. With USB+Ethernet+TCP/IP.

Free

FreeRTOS port for Raspberry Pi 2B with USB+Ethernet+TCP/IP

FreeFree tier
Type
Open Source

About A port of FreeRTOS to the raspberry pi 2B. With USB+Ethernet+TCP/IP.

A port of FreeRTOS to the Raspberry Pi 2B, forked from James Walmsley's Raspberry Pi 1 FreeRTOS build and modified for framebuffer support and the RPi2B. This project integrates USB and Ethernet support via a port of the USPi driver for the LAN9514, along with the official FreeRTOS TCP/IP stack (with compatibility modifications). It has been tested to run a simple echo server with one client. Known limitations include debug statements left in, inability to accept sockets, and occasional hangs due to interrupts being disabled within critical sections. The project is a work in progress, with further development recommended.

Key Features

Port of FreeRTOS to Raspberry Pi 2B
Framebuffer support
USB support via USPi driver (LAN9514)
Ethernet support
TCP/IP stack from FreeRTOS (FreeRTOS+TCP)
Simple echo server implementation
Open source (MIT license implied by GitHub fork)

Pros & Cons

Pros
  • Provides real-time operating system capabilities on Raspberry Pi 2B
  • Includes USB and Ethernet networking
  • Framebuffer support for display output
  • Based on well-established FreeRTOS and USPi projects
  • Open source and free to use
Cons
  • Sockets cannot be accepted in current state
  • Interrupts may become disabled, causing hangs
  • Only ARP packets have been tested to work reliably
  • Debug statements still present in code
  • Unexpected packet types can cause the system to hang
  • Limited to one client tested (echo server)

Best For

Running real-time tasks on Raspberry Pi 2BEmbedded networking experiments with FreeRTOSLearning FreeRTOS on ARM Cortex-A7 hardwarePrototyping IoT devices with USB and Ethernet

FAQ

What hardware is this FreeRTOS port designed for?
The port is specifically for the Raspberry Pi 2B, using the ARM Cortex-A7 processor.
Does it support networking?
Yes, it includes USB and Ethernet support via a port of the USPi driver (for the LAN9514) and the FreeRTOS TCP/IP stack. However, only ARP packets have been reliably tested, and sockets cannot be accepted in the current state.
Is this project stable for production use?
No, the project is a work in progress with known issues such as debug statements, interrupt disabling, and limited testing. It is not recommended for production deployments.