/freertos_linux_devl

Dev FreeRTOS with LwIP under Linux made easy

Primary LanguageC

FreeRTOS development environment in Linux

Build Status

Inspiration

For IoT, if it cannot run Linux, then should use FreeRTOS + lwIP (?).

This work is based on the the original work of William Davy on Posix/Linux Simulator for FreeRTOS, and megakilo fork.

Start

Clone with --recursive

Get the tool

Get the FreeRTOS v9.0.0 with make -f Makefile.tools
if you didn't clone with --recursive git clone https://github.com/peterzos/lwip.git
git clone https://github.com/peterzos/lwip-contrib.git

Run the first example

Under examples/freertos-demo, run make, then ./main.out to see output.

Run the second example

cd examples/freertos-lwip_ppp/lwip_obj/
make
cd ..
make
./demo

For debugging use examples/freertos-lwip_ppp/.gdbinit

See demo makefile to create your own program.