Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


How to use lwip

Posted by Bill Yang on July 8, 2009
Hi, I've used FreeRTOS v5.0.3 with the demo of CORTEX_LM3Sxxxx_Kail. This demo has used uIP as webserver application. I also see there is another application lwIP under the Common/ethernet folder. Please pardon me for below questions that I want to a shortcut to learn the lwIP stuffs.

I wonder if I can replace the lwIP application to uIP application in LM3Sxxxx_Kail demo. But I don't know how to do. Does some one have done already? so can I get a sample?

Also I wonder if there is any document like user manual or readme file regarding how to use lwIP. I only saw a couple FILES for describing a file tree. Is there document online?

Third, there is SNMP folder with files under the core folder. Does this mean the lwIP is supporting SNMP implementation? Because my project has a Ethernet switch controller by LM3S6965, the application needs to run SNMP.

Bill Yang

RE: How to use lwip

Posted by Richard on July 9, 2009
I have an lwIP Stellaris example sent by a third party that I can send to you as a starting point. Write to me at r (dot) barry [at] freertos.org.


RE: How to use lwip

Posted by Patrick DEFLANDRE on July 9, 2009
The best place for an lwIP online help is here :


I don't know about uIP, but lwIP use three kind of API :
- a raw API, which is useful an OS less system,
- netconn API, which is specific to lwIP an is use with an OS
- a BSD like socket API

If your uIP example use socket, then you could certainly adapt it to lwIP without pain.
But if this uIP use a specific API like a raw or netconn API, then you will probably find more problems to adapt it to lwIP.

As for SNMP, I don't have use it for now. But as far as I know, it is supported by lwIP.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists